Results 1 to 7 of 7

Thread: Showing Video Page Ads

  1. #1
    Join Date
    Oct 2008
    Posts
    4

    Default Showing Video Page Ads

    Tell me how to add ads code on video_right_single from admin panel.AS I add it ,it shows between playlist videos and thus overlaps it.
    SInce I am new I have added the ad code directly to the video_right_single tab by deleting the default code and that I think was the error.
    Can anyone give me that defaylt code and also tell me where(which page.tpl?) and how to edit the video page to create custom ad blocks?
    Thanks



    www.AirVids.Net
    http://www.AirVids.Net
    Aviation Video Channel

  2. #2
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Showing Video Page Ads

    The tag is:

    Code:
    {insert name=advertise adv_name='video_right_single'}
    And you add it to the view_video.tpl file. You can add it where you wish within that file. This file is what controls the video page so you can modify it however you need.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  3. #3
    Join Date
    Oct 2008
    Posts
    4

    Default Re: Showing Video Page Ads

    I think you couldn't get me.
    I mean what is the default code that is shown on video_right_single advertising menu from admin panel.
    Can anyone give me the default code that is shown on video_right_single, as I accidently deleted it and pasted my ad code there by replacing the default?
    Thanks
    http://www.AirVids.Net
    Aviation Video Channel

  4. #4
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Showing Video Page Ads

    Oh I see what you mean. Actually, the default code is just some text saying "ADV HERE."
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  5. #5
    Join Date
    Oct 2008
    Posts
    4

    Default Re: Showing Video Page Ads

    No,Its not that ,I am quite sure about that.
    That default code had 5-6 lines of codes.
    If you can give me I will be most happy.
    Also if anyone can tell me how to create custom adboxes on video page I will be thankful to him(giving any code) .
    Thanks
    http://www.AirVids.Net
    Aviation Video Channel

  6. #6
    Join Date
    Sep 2008
    Posts
    1,019

    Default Re: Showing Video Page Ads

    Yeah, it was 5 or 6 lines of code (a basic table) that said ADV HERE. It was nothing special. I don't have the original code anymore, but that is all that it said. You can easily recreate that if you know any HTML.
    vShare Solutions
    Custom vShare Modules and Services

    Now, your visitors can watch videos on your site using their mobile or tablet device with the Mobility Mod for vShare 2.8!

  7. #7

    Default Re: Showing Video Page Ads

    Here is the complete section you deleted...

    <div class="section bg2">
    <div class="hd">
    <div class="hd-l">Watch</div>
    </div>

    <table cellspacing=0 cellpadding=0 width=298 border=0 >
    <tr>

    <td align="middle" width="104" style="padding-left:5px;">

    {if $video_prev === ''}
    [img]{$baseurl}/templates/images/no_prev.gif[/img]
    &lt; PREV
    {else}
    <a href="{$baseurl}/view/{$related_videos[$video_prev].VID}/{$related_videos[$video_prev].seo_name}/">
    [img]{$tmburl}/1_{$related_videos[$video_prev].VID}.jpg[/img]</a>
    <div style="font-weight: bold; font-size: 10px; padding-top: 3px">
    &lt; PREV
    </div>
    {/if}
    </td>

    <td align="center" style="padding-top:10px;">
    {insert name=adv_status assign=status adv_name='video_right_single'}
    {if $status eq "Active"}
    {insert name=advertise adv_name='video_right_single'}
    {else}
    {if $smarty.request.id ne "" }
    [img]{$tmburl}/1_{$smarty.request.id}.jpg[/img]<div style="font-weight: bold; font-size: 10px; padding-top: 3px">NOW PLAYING</div>
    {/if}
    {/if}
    </td>

    <td align="center" style="padding-left:8px;">
    {if $video_next eq ""}
    [img]{$baseurl}/templates/images/no_next.gif[/img]
    NEXT &gt;
    {else}
    [img]{$tmburl}/1_{$related_videos[$video_next].VID}.jpg[/img]
    <div style="font-weight: bold; font-size: 10px; padding-top: 3px">
    NEXT &gt;
    </div>
    {/if}
    </td>

    </tr>
    </table>


    </div>

Similar Threads

  1. make other page with new video like in index page
    By cmedia in forum Template Modifications
    Replies: 4
    Last Post: 05-29-2008, 10:23 PM
  2. [BUG] username not showing on welcome page
    By grynmoors in forum Bug Reports
    Replies: 0
    Last Post: 05-11-2008, 04:22 AM
  3. [FIX] Username not showing on welcome page
    By grynmoors in forum Template Modifications
    Replies: 0
    Last Post: 05-11-2008, 04:07 AM
  4. Stars Rating not showing on main page
    By Meghwar in forum Installation Support
    Replies: 3
    Last Post: 03-31-2008, 12:01 PM
  5. Video not showing
    By tax in forum Installation Support
    Replies: 12
    Last Post: 12-11-2007, 12:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •