vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advertisement System V2.6 Aka Ad Management (https://vborg.vbsupport.ru/showthread.php?t=179083)

mystic10 07-19-2008 05:09 PM

how can i enable slideshow below navbar instead of header

UaECasher 07-19-2008 05:17 PM

Guyz please help me. I'm using a custom style and when i open the header template i can't find the following code:

Code:

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>

can any one tell me what should i do.


Thank you

karim004 07-19-2008 09:59 PM

Quote:

Originally Posted by mystic10 (Post 1579182)
how can i enable slideshow below navbar instead of header

open your header and remove the code :
Code:

<td align="$stylevar[left]"><if condition="$ad_headerLogo">$ad_headerLogo<else />&nbsp;</if>
open navbar and change :
Code:

$ad_navbarBelow
with
Code:

$ad_headerLogo
Quote:

Originally Posted by UaECasher (Post 1579188)
Guyz please help me. I'm using a custom style and when i open the header template i can't find the following code:

Code:

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>

can any one tell me what should i do.


Thank you

UaECasher send me your header

karim004 07-19-2008 10:07 PM

Quote:

Originally Posted by michmomsquad (Post 1579079)
I just upgraded to 2.4 (auto-refresh) and things are not working properly. I have the slideshow turned on, and it shows the first banner just fine, but then when it's time for the next banner to slide in, the whole thing goes crazy and they all try to slide in at once, in a seizure-inducing mess! This only happens in firefox -- it doesn't show up at all in IE. I'm not sure what went wrong, as I have not had problems with this mod in the past. All template edits have been made, and I have adjusted the settings of the slideshow to no avail.

Help?

check the link for your 2 nd image

karim004 07-19-2008 10:10 PM

Quote:

Originally Posted by mystic10 (Post 1579176)
not working for me either..i tried the right column below navbar but nothing is showing this is what i put..is it correct

<a href="http://www.yc-spicy.com/showthread.php?p=28#post28" target="_blank"> <????http://i35.tinypic.com/2qn4bgo.jpg" width="225" height="151" alt="CoNTRaCT NEw Released" /> </a>

wrong code ! try this one
Code:

<a href="http://www.yc-spicy.com/showthread.php?p=28#post28" target="_blank"> <img src="http://i35.tinypic.com/2qn4bgo.jpg" width="225" height="151" alt="CoNTRaCT NEw Released" /> </a>
after that enable the rightcolumn& leftcolumn (if you want use just the rightcolumn leave the Left column random advertisement code empty )

UaECasher 07-20-2008 03:02 AM

Here are the codes for my header and footer (i found out that also footer have some codes missing)

Code:

<!-- logo -->
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td rowspan="4" class="ps3-logo">&nbsp;</td>
    <td class="nav"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/home.gif" alt="home" width="74" height="23" style="border: 0px;" /></a><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/members.gif" alt="$vbphrase[members_list]" width="119" height="23" style="border: 0px;" /></a><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/profile.gif" alt="$vbphrase[user_cp]" width="109" height="23" style="border: 0px;" /></a><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" id="navbar_search"><img src="$stylevar[imgdir_misc]/search.gif" style="border: 0px;" alt="$vbphrase[search]" width="110" height="23" /></a><script type="text/javascript">vbmenu_register("navbar_search",true); </script><a id="usercptools" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/quicklinks.gif" alt="$vbphrase[quick_links]" width="138" height="23" style="border: 0px;" /></a><script type="text/javascript">vbmenu_register("usercptools",true);</script><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/register.gif" alt="$vbphrase[register]" width="117" height="23" style="border: 0px;" /></a><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/logout.gif" alt="$vbphrase[log_out]" height="23" style="border: 0px;" /></a></if></td>
  </tr>
  <tr>
    <td class="header-bg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
  </tr>
  <tr>
    <td><if condition="!$show['member']">
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
                <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl">     
          <input type="text" class="forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /><input type="password" class="forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /><input type="image" class="go" src="$stylevar[imgdir_misc]/go.gif" tabindex="104" accesskey="s" /><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label>   
        </td>
        <td class="header-tr">&nbsp;</td>
      </tr>
    </table><input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                <input type="hidden" name="do" value="login" />               
                <input type="hidden" name="vb_login_md5password" />
                <input type="hidden" name="vb_login_md5password_utf" />
                </form><else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl2"><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>
               
                        <if condition="$show['notifications']">
                            <span><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a>
                            <strong>$notifications_total</strong></span></span>
                            <script type="text/javascript"> vBmenu.register("notifications"); </script>
                        <else /><if condition="$show['pmstats']">
                            <span><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></span>
                        </if></if>

                        <if condition="$show['pmwarning']"><span><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></span></if>
</td><td class="header-tr">&nbsp;</td>
</tr></table></if>
</td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-bl"></td>
        <td class="header-br">Welcome to Casherz Forums, the best place to spend your time</td>
      </tr>
    </table></td>
  </tr>
</table>
<div class="page-bg">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$ad_location[ad_header_end]

and the here is the footer code:

Code:

<if condition="THIS_SCRIPT != register"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="content-b-mid">
  <tr>
    <td class="content-b2-l"><a href="#"><img src="$stylevar[imgdir_misc]/top.gif" alt="top" width="22" height="20" border="0" style="float: left;" /></a></td>
        <td class="content-b-l"><a href="#">Go to Top</a></td>
    <td class="content-b-bg"><!-- Do not remove this copyright notice -->
        $vbphrase[all_times_are_gmt_x_time_now_is_y] Forum skin by <a href="http://www.forummonkeys.com" target="new" title="VBulletin and phpBB forum styles">ForumMonkeys</a>
        <!-- Do not remove this copyright notice -->
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
       
        </td>
    <td class="content-b-r"></td>
  </tr>
</table></if>
$ad_location[ad_footer_start]
<div align="center" class="smallfont"><br />
  $vbphrase[powered_by_vbulletin] $vboptions[copyrighttext]<br /><br /></div>
</div>
$spacer_close
<form action="$vboptions[forumhome].php" method="get">
       
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="tfoot" align="center">
<tr>
        <td align="$stylevar[left]" style="padding-left: 25px;">
                <div class="smallfont">
                        <strong>
                                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
                                <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>

        <if condition="$show['quickchooser']">
                <td>
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <if condition="$show['languagechooser']">
                <td>
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
<td class="footer-logo"></td>
</tr>
</table>
</form>

$ad_location[ad_footer_end]

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
        <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
        var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
        var utcOffset = new Date().getTimezoneOffset() / 60;
        if (Math.abs(tzOffset + utcOffset) == 1)
        {        // Dst offset is 1 so its changed
                document.forms.dstform.submit();
        }
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>


karim004 07-20-2008 08:23 AM

for UaECasher
Code:

<!-- logo -->
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td rowspan="4" class="ps3-logo">&nbsp;</td>
    <td class="nav"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/home.gif" alt="home" width="74" height="23" style="border: 0px;" /></a><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/members.gif" alt="$vbphrase[members_list]" width="119" height="23" style="border: 0px;" /></a><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/profile.gif" alt="$vbphrase[user_cp]" width="109" height="23" style="border: 0px;" /></a><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" id="navbar_search"><img src="$stylevar[imgdir_misc]/search.gif" style="border: 0px;" alt="$vbphrase[search]" width="110" height="23" /></a><script type="text/javascript">vbmenu_register("navbar_search",true); </script><a id="usercptools" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/quicklinks.gif" alt="$vbphrase[quick_links]" width="138" height="23" style="
border: 0px;" /></a><script type="text/javascript">vbmenu_register("usercptools",true);</script><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/register.gif" alt="$vbphrase[register]" width="117" height="23" style="border: 0px;" /></a><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/logout.gif" alt="$vbphrase[log_out]" height="23" style="border: 0px;" /></a></if></td>
  </tr>
  <tr>
    <td class="header-bg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td><td align="$stylevar[right]"><if condition="$ad_headerLogo">$ad_headerLogo</center><else />&nbsp;</if>

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>
       
                <td align="$stylevar[right]">
                &nbsp;
</td>


  </tr>
  <tr>
    <td><if condition="!$show['member']">
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl">   
          <input type="text" class="forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /><input type="password" class="forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /><input type="image" class="go" src="$stylevar[imgdir_misc]/go.gif" tabindex="104" accesskey="s" /><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label>   
        </td>
        <td class="header-tr">&nbsp;</td>
      </tr>
    </table><input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
        <input type="hidden" name="do" value="login" />     
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        </form><else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl2"><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>
     
                        <if condition="$show['notifications']">
                            <span><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a>
                            <strong>$notifications_total</strong></span></span>
                            <script type="text/javascript"> vBmenu.register("notifications"); </script>
                        <else /><if condition="$show['pmstats']">
                            <span><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></span>
                        </if></if>

                        <if condition="$show['pmwarning']"><span><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></span></if>
</td><td class="header-tr">&nbsp;</td>
</tr></table></if>
</td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-bl"></td>
        <td class="header-br">Welcome to Casherz Forums, the best place to spend your time</td>
      </tr>
    </table></td>
  </tr>
</table>
<div class="page-bg">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$ad_location[ad_header_end]


UaECasher 07-20-2008 09:02 AM

Quote:

Originally Posted by karim004 (Post 1579661)
for UaECasher
Code:

<!-- logo -->
<a name="top"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td rowspan="4" class="ps3-logo">&nbsp;</td>
    <td class="nav"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img src="$stylevar[imgdir_misc]/home.gif" alt="home" width="74" height="23" style="border: 0px;" /></a><a href="memberlist.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/members.gif" alt="$vbphrase[members_list]" width="119" height="23" style="border: 0px;" /></a><a href="usercp.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/profile.gif" alt="$vbphrase[user_cp]" width="109" height="23" style="border: 0px;" /></a><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow" id="navbar_search"><img src="$stylevar[imgdir_misc]/search.gif" style="border: 0px;" alt="$vbphrase[search]" width="110" height="23" /></a><script type="text/javascript">vbmenu_register("navbar_search",true); </script><a id="usercptools" href="$show[nojs_link]#usercptools"><img src="$stylevar[imgdir_misc]/quicklinks.gif" alt="$vbphrase[quick_links]" width="138" height="23" style="
border: 0px;" /></a><script type="text/javascript">vbmenu_register("usercptools",true);</script><a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/register.gif" alt="$vbphrase[register]" width="117" height="23" style="border: 0px;" /></a><if condition="$show['member']"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><img src="$stylevar[imgdir_misc]/logout.gif" alt="$vbphrase[log_out]" height="23" style="border: 0px;" /></a></if></td>
  </tr>
  <tr>
    <td class="header-bg"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td><td align="$stylevar[right]"><if condition="$ad_headerLogo">$ad_headerLogo</center><else />&nbsp;</if>

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>
       
                <td align="$stylevar[right]">
                &nbsp;
</td>


  </tr>
  <tr>
    <td><if condition="!$show['member']">
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl">   
          <input type="text" class="forms" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /><input type="password" class="forms" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /><input type="image" class="go" src="$stylevar[imgdir_misc]/go.gif" tabindex="104" accesskey="s" /><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label>   
        </td>
        <td class="header-tr">&nbsp;</td>
      </tr>
    </table><input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
        <input type="hidden" name="do" value="login" />     
        <input type="hidden" name="vb_login_md5password" />
        <input type="hidden" name="vb_login_md5password_utf" />
        </form><else />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-tl2"><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>
     
                        <if condition="$show['notifications']">
                            <span><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a>
                            <strong>$notifications_total</strong></span></span>
                            <script type="text/javascript"> vBmenu.register("notifications"); </script>
                        <else /><if condition="$show['pmstats']">
                            <span><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></span>
                        </if></if>

                        <if condition="$show['pmwarning']"><span><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></span></if>
</td><td class="header-tr">&nbsp;</td>
</tr></table></if>
</td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="header-bl"></td>
        <td class="header-br">Welcome to Casherz Forums, the best place to spend your time</td>
      </tr>
    </table></td>
  </tr>
</table>
<div class="page-bg">
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
$ad_location[ad_header_end]



EDIT: i installed every thing thanks for help
EDIT: NVM i fixed it and its working fine

Jan Klerks 07-20-2008 10:46 AM

My board is divided into regional section. It would be kinda cool if I could offer localized targeted adds management, as in ad x for forum a (and all subforums) and ad Y for forum b and google adds for the rest. Would such a thing be possible here?

mystic10 07-20-2008 06:42 PM

anyway for the slideshow to work below the navbar instead of at the header...kindly help this is what i want image below..but since i cant find it i want the slideshow to work below navbar

thanks in advance for ur time

Subah 07-20-2008 09:36 PM

Is ther any way to make it auto template edit ?

FalkinPro 07-21-2008 03:58 AM

Call me a n00b but I can't find the edit box in admin panel that corresponds to $ad_headerLogo.

The only box under "Advertisement System (Header & Footer) is "Header Advertisement Code" but that only displays code for $ad_headerEnd. Where is the box that corresponds to $ad_headerLogo?

EDIT: If I am correct the edit template box is under "Advertisement System (Settings & Slideshow) which means slideshow has to run through $ad_headerlogo? (ie is there no way to turn of slideshow and simply run several banners in rotation under headerlogo)?

Second question, I want to make $ad_headerEnd (or other locations) to 468 x 60 px instead of 729 x 90 px. How do I go about doing this?

UaECasher 07-21-2008 04:47 AM

Hello, I have installed every thing and added the codes to templates but when i add the Ad code it don't appear on my forums (here is my forums link Casherz Forums)

If any one can help please reply

Thank you

angusv 07-21-2008 05:11 PM

Hi,

I am trying to edit the header code and can't find:

Code:

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>

or:

Code:

<if condition="$show['dst_correction']">
All I have is:

Code:

<meta http-equiv="Page-Exit" content="BlendTrans(Duration=0)" />
<meta http-equiv="Page-Enter" content="BlendTrans(Duration=0)" />

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

Any help would be greatly appreciated!

karim004 07-21-2008 05:48 PM

Quote:

Originally Posted by FalkinPro (Post 1580330)

Second question, I want to make $ad_headerEnd (or other locations) to 468 x 60 px instead of 729 x 90 px. How do I go about doing this?

style manager , your style , edit templates , ad location , ad_headerEnd
and change 729 to 468 and 90 to 60
Quote:

Originally Posted by UaECasher (Post 1580343)
Hello, I have installed every thing and added the codes to templates but when i add the Ad code it don't appear on my forums (here is my forums link Casherz Forums)

If any one can help please reply

Thank you

check pm

imedic 07-21-2008 09:21 PM

I have install and edit the templates but I have 3 problems:

1. Header banner is lower then the logo taking more space (see here) Banner is " width="612" height="75" because it does not enter otherwise in line with the logo. I would like to be in line with the logo.

Header is:
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
       
<td align="$stylevar[left]"><center><div align="right"><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>

<td align="$stylevar[right]">
        &nbsp;
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_headerEnd

2. The banner in footer (sponsored links is working) does not want to show up (I have tested with the same banner as the top)
EDIT: It shows but after 1-2 min waiting, in all browsers. (it is a svf file)
Footer is:
Code:

$ad_footerStart
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
        <if condition="$show['quickchooser']">
                <td class="tfoot">
                        <select name="styleid" onchange="switch_id(this, 'style')">
                                <optgroup label="$vbphrase[quick_style_chooser]">
                                        $quickchooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <if condition="$show['languagechooser']">
                <td class="tfoot">
                        <select name="langid" onchange="switch_id(this, 'lang')">
                                <optgroup label="$vbphrase[quick_language_chooser]">
                                        $languagechooserbits
                                </optgroup>
                        </select>
                </td>
        </if>
        <td class="tfoot" align="$stylevar[right]" width="100%">
                <div class="smallfont">
                        <strong>
                                <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow" accesskey="9">$vbphrase[contact_us]</a> -</if>
                                <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
                                <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
                                <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
                                <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
                                <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
                                <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
                        </strong>
                </div>
        </td>
</tr>
</table>

<br />

<div align="center">
        <div class="smallfont" align="center">
        <!-- Do not remove this copyright notice -->
        $vbphrase[powered_by_vbulletin]
        <!-- Do not remove this copyright notice -->
        </div>

        <div class="smallfont" align="center">
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
        $cronimage
        <!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

        $vboptions[copyrighttext]
        </div>
</div>
<!--/Start Trafic.ro/-->
<script type="text/javascript">t_rid="eugenol";</script>
<script type="text/javascript" src="http://storage.trafic.ro/js/trafic.js"
></script><noscript><a href="http://www.trafic.ro/top/?rid=eugenol"
 target="_blank"><img border="0" alt="trafic ranking"
 src="http://log.trafic.ro/cgi-bin/pl.dll?rid=eugenol"/></a>
<a href="http://www.trafic.ro">Statistici web</a>
</noscript>
<!--/End Trafic.ro/-->
</form>


$ad_footerEnd


<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
        <input type="hidden" name="s" value="$session[sessionhash]" />
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
        <input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
        var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
        var utcOffset = new Date().getTimezoneOffset() / 60;
        if (Math.abs(tzOffset + utcOffset) == 1)
        {        // Dst offset is 1 so its changed
                document.forms.dstform.submit();
        }
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>

3. Top banner does not show in forum announcements (like after logout) But it shows on registration page where I understand it is suppose not to show.

I use VB 3.7.0 on the site.
Problems appear on IE and Opera. Firefox I have a problem with it and I am not shure how it is.
Any ideas what is wrong... Thanks
PS Nice work ... please consider adding a link below all ads How to remove this add directing to join a specific group. It was in the previous mod and it was usefull.

wyllomoon 07-21-2008 10:21 PM

Been working with phpBB for years, but I'm fairly new to vBulletin. I can't seem to get this working at all. I'm using 3.7.2 and I can't find the right lines of code in the header file of the cutsom or default styles. I've been working at it for days, but I'm getting no where fast.

Could be just me, but I find the instructions for this a little difficult to understand. I do appreciate all the work that's been done on this mod and I understand that all of your time is offered freely, but I think I'm going to have to uninstall for now.

I really just want a simple script for rotating ad banners under my navbar and above my photoplog thumb gallery. Can anyone point me in the right direction?

karim004 07-22-2008 12:32 AM

Quote:

Originally Posted by imedic (Post 1580912)
I have install and edit the templates but I have 3 problems:

1. Header banner is lower then the logo taking more space (see here) Banner is " width="612" height="75" because it does not enter otherwise in line with the logo. I would like to be in line with the logo.

Header is:


2. The banner in footer (sponsored links is working) does not want to show up (I have tested with the same banner as the top)
EDIT: It shows but after 1-2 min waiting, in all browsers. (it is a svf file)
Footer is:


3. Top banner does not show in forum announcements (like after logout) But it shows on registration page where I understand it is suppose not to show.

I use VB 3.7.0 on the site.
Problems appear on IE and Opera. Firefox I have a problem with it and I am not shure how it is.
Any ideas what is wrong... Thanks
PS Nice work ... please consider adding a link below all ads How to remove this add directing to join a specific group. It was in the previous mod and it was usefull.


for header try this
Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> &nbsp; &nbsp; &nbsp; $ad_headerEnd</td>
       


<td align="$stylevar[right]">
        &nbsp;
        </td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

for registration page go to admincp , vbulletin options , Advertisement System (Settings & Slideshow) , Do NOT display advertisements for scripts and enter :
register|search|login

i will include remove advertisements in v2.5 .

karim004 07-22-2008 12:52 AM

Quote:

Originally Posted by wyllomoon (Post 1580948)

I really just want a simple script for rotating ad banners under my navbar and above my photoplog thumb gallery. Can anyone point me in the right direction?

install simple rotation after that go to style manager , your style , navbar
at the end of your template add :
Code:

ad_navbarBelow
template header
after
Code:

$_phpinclude_output
add
Code:

$ad_headerEnd
footer
before
Code:

ad_footer_start
add
Code:

ad_footerStart
before
Code:

ad_footer_end
add
Code:

ad_footerEnd
go now to vbulletin option :
1=Advertisement System (Settings & Slideshow) ,
Enable advertisements system in your forum? yes
2=Advertisement System (Header & Footer)
Enable header advertisements in the main forum? yes
Enable header advertisements in the archives? yes if you want add advert in archieve
* add Header advertisement code If you want to use random rotations, enter your ad codes here separated by |
example :

Code:

<a href="http://www.link1.com" target="_blank"><img src="http://www.link1.com/banner.jpg"></a> |
<a href="http://www.link2.com" target="_blank"><img src="http://www.link1.com/banne2r.jpg"></a>

do samething for navbar & footer

imedic 07-22-2008 06:09 AM

Thx Karim
It did not work either with you suggestion. I have moved $ad_headerEnd to the next td looking like this :

Code:

<td align="$stylevar[right]">
        &nbsp; $ad_headerEnd
        </td>

Works like a charm , hope it didnt mess smting else because my knowledge on coding is very limited (close to ) :D)
Hope it helps others.
Many thanks

pablo 07-22-2008 01:27 PM

Is there any plans to add conditionals support to this ? Like I would like to be able to use the conditionals to have certain forums show certain banners, and all the rest a default one.

has anyone had problems using this on the archives ? i.e. the code for the header ad , being outputted before the the start of the HTML code.

RedGTiVR6 07-22-2008 01:31 PM

Quote:

Originally Posted by pablo (Post 1581408)
Is there any plans to add conditionals support to this ? Like I would like to be able to use the conditionals to have certain forums show certain banners, and all the rest a default one.

This would be really nice to have. For instance, for sponsored forums...

joyceleong 07-23-2008 08:41 AM

Hi,

Can this hack could track statistics for each of the banners?

Thanks.

imedic 07-23-2008 05:19 PM

Aren't we taking the whole hand of the guy :)
I have a suggestion too (and agree with the above suggestions)
In Navbar left and right columns you can condition usergroup for the whole banners (navbar, left and right banner) It will be nice to have group conditionals for each banner.
Thanks.

verino 07-25-2008 02:09 AM

Quote:

Originally Posted by Turbe (Post 1573103)
OK, I had the same issue, I just went into ad_headerEnd and changed the size on this line:

Code:

<iframe src="autorefresh_header.php" width=728 height=90 frameborder=0 scrolling=no>
Do the same for the footer as well to match your banner size.

I think this should be handled with variables as well. FEATURE?

Also, you are not supposed to Auto Refresh Adsense, that is against their rules. Disable that and enable ads rotation in header.


-Turbe

I agree with you. It would be better if we can put the size we want for the ads, rather than editing the ad_ template one by one for each styles we have. ;)

Maybe you can take a look (for example only) at Cyb-Flash Image banner rotator. It also has a hit count for the statistic.

Thank's again karim for your work :up:

RedGTiVR6 07-25-2008 01:25 PM

Any updates on the right column thing?

Zilvia 07-27-2008 05:53 PM

karim004, thanks for this awesome mod!

I was wondering if there is a way to separate the permissions for Threadbits, Forumsbits, and Navbar?

I want my guests to see forumbits, but I dont want logged in users to see them. Then I want registered members to see threadbits.

Any way to do this or is it planned to separate out the permissions?

Also, on the previous version for vB 3.6 there was a Remove Ads link which you could link to a premium members page to have ads removed, any way to add this again?
Thanks!

AzzidReign 07-27-2008 06:24 PM

Suggestion: Can you make it so there's an expiration date? That would really help those that sell their adspace out to other people so that we can just set and forget.

I'm not sure if that's been suggested yet, or if it's apart of it...but I looked at the features and didn't see this listed.

Seerkan 07-28-2008 06:30 PM

Hi,

I followed the instructions but i find a txt archive called "new installation for vb3.7.txt" where invite me to modify my templates:

Quote:

1=upload the 4 files in folder upload to your forum folder

2= import the product-advertisementV2.3
*** Header : 2 edits

1= at the end add : $ad_headerEnd

2= before :
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
Add :
(...)
But in this thread i can read:

Quote:

installation :
you know in vb3.7 we already have a templates group for advertisement we gotta use them in this mod and make things easy for you because you dont have to edit any template just import the product
So, ?should i modificate the templates or not?

Notes: I used recently installed vbulletin 3.7.2 with the default style.
In my templates i have seen codes like "$ad_location[ad_header_end]" or "$ad_location[ad_footer_start]".
The only product i have installed is "Last x threats in forum home" and works perfects.

thanks :rolleyes:

MadK 07-28-2008 11:18 PM

The simple rotation is not working properly. It shows both ads at once!

I have seperated both ads with a comma, but no luck.

protoolers 07-29-2008 09:59 AM

Hello,
In Navbar left&rigth columns put "YES" in

"Enable left column advertisements in the main forum?"

But i dont show nothing.

Where i'm wrong?

Bye and Thanks

jlew24asu 07-29-2008 01:56 PM

how do I get my ads to go 90x728 instead of 728x90 ? I changed the code accordingly but its not changing....

https://vborg.vbsupport.ru/external/2008/07/11.jpg


also, I enbaled the ads to show up after x amount of posts but they are not.....

:(

nyunyu 07-29-2008 04:14 PM

Mark installed as I'm planning to install this mod.

lighthazard 07-29-2008 05:54 PM

It doesn't seem to be working on my forum. I have the tags already.

jlew24asu 07-30-2008 11:34 AM

bump

RedGTiVR6 07-30-2008 12:02 PM

I'm still waiting for a solution to the issues with the right column.....

Subah 07-30-2008 09:39 PM

I enable Forumbit Threadbit option but there is no change ?
everything else work fine

verino 07-31-2008 02:19 AM

Quote:

Originally Posted by RedGTiVR6 (Post 1587377)
I'm still waiting for a solution to the issues with the right column.....

me too ;)

Quote:

Originally Posted by Subah (Post 1587807)
I enable Forumbit Threadbit option but there is no change ?
everything else work fine

maybe you need to give the forum id ?

Quote:

Forumbit code with ForumIDs:
forumids with which you want to display the random advertisements, separated by |
Example :
4 | 10 | 25

lighthazard 07-31-2008 04:29 AM

display isn't working at all. anyone else have this problem?

you can check here for yourself: +++++coders[dot]com . do not register, it should show up.
everything is enabled for ads.

no change.

imedic 07-31-2008 01:03 PM

Quote:

Originally Posted by MadK (Post 1586307)
The simple rotation is not working properly. It shows both ads at once!

I have seperated both ads with a comma, but no luck.

You should separate it with | . Disregard what it says next to it in control panel.

But I have encountered a bug:
I have place left column add and is working. Upon saving the second code (separated by |) after save I get this error:
Quote:

The server encountered an internal error or misconfiguration and was unable to complete your request.
...
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6 Server at www.... Port 80
I mention that only in left column it doesn't function (right column I have not tested but header, footer, navbar ... are OK with second code)
I have 3.7.0 installed.


All times are GMT. The time now is 02:23 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02414 seconds
  • Memory Usage 2,019KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (26)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete