vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Advertisement Box Under Forums (https://vborg.vbsupport.ru/showthread.php?t=130013)

Win2k3xp 10-25-2006 10:00 PM

Advertisement Box Under Forums
 
This Mod Will Ad a advertisement box under the forums.
There is a live preview Here just above the whos online box or ive attached a screenshot.

Install
In Template FORUMHOME search for:
Code:

$forumhome_markread_script
Under This Add:
Code:

<!-- Adverts: -->
      <table width="100%" height="100" border="0" align="center" cellpadding="6" cellspacing="1" class="tborder">
        <thead>
          <tr>
            <td height="20" colspan="2" align="center" class="thead">Advertisements
          </tr>
        </thead>
     
        <tbody>
          <tr>
            <td colspan="2" align="center" class="alt2"> 

INSERT AD CODE HERE

</td>
          </tr>
        </tbody>
     
 
      </table>
      <br />
<!-- Adverts: -->

Where it says INSERT AD CODE HERE place the add code or image there

Remember Click https://vborg.vbsupport.ru/

Win2k3xp 10-26-2006 02:08 PM

Reserved!

Zowners 10-26-2006 10:33 PM

very nice simple mod!

Hornstar 10-27-2006 04:39 AM

Thanks simple but effective.

Win2k3xp 10-27-2006 07:34 AM

Thanks Guys! :laugh:

dnclub.org 10-27-2006 08:02 PM

installed !

smoknz28 10-29-2006 07:23 PM

Installed....thanks for sharing. ;)

tekstylez 11-03-2006 08:06 PM

can this be conditioned to certain usergroups?

Win2k3xp 11-04-2006 04:30 PM

To display adds to certain user groups use this code

Code:

<if condition="!is_member_of($bbuserinfo, 6,7,7)">
<!-- Adverts: -->
      <table width="100%" height="100" border="0" align="center" cellpadding="6" cellspacing="1" class="tborder">
        <thead>
          <tr>
            <td height="20" colspan="2" align="center" class="thead">Advertisements
          </tr>
        </thead>
     
        <tbody>
          <tr>
            <td colspan="2" align="center" class="alt2"> 

INSERT AD CODE HERE

</td>
          </tr>
        </tbody>
     
 
      </table>
      <br />
<!-- Adverts: -->
</if>

Replace the numbers in BOLD with the usergroups you DO NOT want to see the ads

kollam003 05-25-2007 10:17 AM

thanks installed


All times are GMT. The time now is 03:48 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.00996 seconds
  • Memory Usage 1,733KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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