Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Forum Home Advertisements Details »»
Forum Home Advertisements
Version: 1.00, by Daniel Daniel is offline
Developer Last Online: Jul 2022 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 03-31-2006 Last Update: 04-20-2006 Installs: 35
Template Edits
 
No support by the author.

Forum Home Advertising

Description: This will add a box above the "What's going on?" box on the FORUMHOME. Users may purchase an ad space through the vBulletin payments system (not intergrated - you must put the ad image and url there yourself by editing the template; see below.)

Additions:
  • File Edits: 0
  • Template Edits: 0
  • Phrase Additions: 0
  • Template Edits: 1
Steps:
  • Make a subscription for banner advertising at what ever cost you'd like. (ACP -> Paid Subscriptions -> Add New Subscription)
  • Do the one FORUMHOME template edit.
  • Customize your ads!
Template Edit:

Find:
Code:
<!-- what's going on box -->
Above it add:
Code:
<!-- SCROLL DOWN TO "CUSTIMAZATION START" TO CUSTIMZE ADS -->
<table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<thead>
    <tr>
        <td class="tcat">
            <a style="float: right;" href="#top" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="images/buttons/collapse_tcat.gif" alt="" border="0"></a>
            Advertisements (<a href="payments.php">Your Ad Here?</a>)<br />
        </td>
    </tr>
</thead>

<tbody id="collapseobj_ads" style="">
    <tr>
        <td class="alt1">
<table border="0" width="100%">
<tbody><tr>

<!-- CUSTOMIZATION START -->

<!-- AD 1 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 2 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 3 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 4 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>
</tr>

<tr>

<!-- AD 5 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 6 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 7 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- AD 8 -->
<td align="center">
<a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<br />
<a href="payments.php">More Information Here</a>
<br /><br />
</td>

<!-- CUSTOMIZATION FINISHED -->

</tbody></table>

</td> 
    </tr>
</tbody>
</table>
To edit a picture, replace the following text:
Code:
<img src="images/advert_blank.gif" border="0">
With your own image. For example...
Code:
<img src="images/MYIMAGE.gif" border="0">
To edit a link, replace the following text:
Code:
<a href="payments.php">More Information Here</a>
With your own link. For example...
Code:
<a href="http://google.com">Click Here to go to Google!</a>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 04-17-2006, 04:20 PM
digitalltv digitalltv is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just a question

how can put this for show in every pages? in the top or in bottom
Reply With Quote
  #23  
Old 04-17-2006, 04:46 PM
paulfletcher paulfletcher is offline
 
Join Date: Jan 2006
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you asking me how you do this in GAB?

Thanks,
Paul
Reply With Quote
  #24  
Old 04-17-2006, 11:24 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalltv
just a question

how can put this for show in every pages? in the top or in bottom
Add this to the very top of your footer (for the bottom)

PHP Code:
<!-- SCROLL DOWN TO "CUSTIMAZATION START" TO CUSTIMZE ADS -->
<
br />
<
table class="tborder" align="center" border="0" cellpadding="6" cellspacing="1" width="100%">
<
thead>
    <
tr>
        <
td class="tcat">
            <
a style="float: right;" href="#top" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="images/buttons/collapse_tcat.gif" alt="" border="0"></a>
            
Advertisements (<a href="payments.php">Your Ad Here?</a>)<br />
        </
td>
    </
tr>
</
thead>

<
tbody id="collapseobj_ads" style="">
    <
tr>
        <
td class="alt1">
<
table border="0" width="100%">
<
tbody><tr>

<!-- 
CUSTOMIZATION START -->

<!-- 
AD 1 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 2 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 3 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 4 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>
</
tr>

<
tr>

<!-- 
AD 5 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 6 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 7 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
AD 8 -->
<
td align="center">
<
a href="payments.php"><img src="images/advert_blank.gif" border="0"></a>
<
br />
<
a href="payments.php">More Information Here</a>
<
br /><br />
</
td>

<!-- 
CUSTOMIZATION FINISHED -->

</
tbody></table>

</
td
    </
tr>
</
tbody>
</
table
Reply With Quote
  #25  
Old 04-18-2006, 05:17 PM
digitalltv digitalltv is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ths is done

other thing can you setup this script for count the hits?
Reply With Quote
  #26  
Old 04-19-2006, 02:21 AM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, perhaps this hack may be more suitable for you: https://vborg.vbsupport.ru/showthread.php?t=104432
Reply With Quote
  #27  
Old 04-19-2006, 12:01 PM
paulfletcher paulfletcher is offline
 
Join Date: Jan 2006
Location: USA
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the solution I use (GAB - Geek Advertising Banner System). It costs a few dollars, but it really does a great job at an affordable price.

located at www.thevbgeek.com

GAB is located at http://www.thevbgeek.com/geeker.php?...ayproduct&id=9

Thanks,
Paul
Reply With Quote
  #28  
Old 04-19-2006, 03:33 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, we got it the first time...
Reply With Quote
  #29  
Old 04-21-2006, 08:36 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Moving to vb3.5 template mods section as requested by author.
Reply With Quote
  #30  
Old 04-21-2006, 06:20 PM
sc4r3d sc4r3d is offline
 
Join Date: Jan 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good one. Thanks
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07258 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete