Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #2  
Old 04-01-2006, 03:51 AM
nivert nivert is offline
 
Join Date: Dec 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good, installing
Reply With Quote
  #3  
Old 04-01-2006, 05:55 AM
BoYagoob BoYagoob is offline
 
Join Date: Jan 2005
Location: Doha
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
Reply With Quote
  #4  
Old 04-01-2006, 12:07 PM
mat64's Avatar
mat64 mat64 is offline
 
Join Date: Dec 2005
Location: York, England
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, Seems abit of a hastle having to edit the template everytime you want to change though. I'm sure theres a way round this?
Reply With Quote
  #5  
Old 04-01-2006, 03:09 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mat640
Interesting, Seems abit of a hastle having to edit the template everytime you want to change though. I'm sure theres a way round this?
Working on it. It'll be done through the vBulletin Options setting when I finish.

@BoYagoob, think you missed the button :P
Reply With Quote
  #6  
Old 04-01-2006, 03:37 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daniel
Working on it. It'll be done through the vBulletin Options setting when I finish.
Ah, sounds much better. When that's done, I'll be installing for sure.
Reply With Quote
  #7  
Old 04-01-2006, 04:24 PM
Cky47's Avatar
Cky47 Cky47 is offline
 
Join Date: Feb 2006
Location: PA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed, but nothing showed up. Probably jsut a little compatibility error on my site. I will give it a day or two i guess and re-install.
Reply With Quote
  #8  
Old 04-01-2006, 05:43 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is your FORUMHOME template heavily modded?

If so, find this in the FORUMHOME template:
Code:
<!-- what's going on box -->
and above 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>
Reply With Quote
  #9  
Old 04-01-2006, 06:01 PM
yinyang's Avatar
yinyang yinyang is offline
 
Join Date: May 2004
Location: Los Angeles
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way (i think there's a mod out there) to track how many clicks on each link?
Reply With Quote
  #10  
Old 04-01-2006, 06:15 PM
Daniel's Avatar
Daniel Daniel is offline
 
Join Date: Jul 2005
Location: USA
Posts: 707
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yinyang
is there a way (i think there's a mod out there) to track how many clicks on each link?
Not with this mod, sorry. Possibly a future feature.
Reply With Quote
Reply


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 01:37 PM.


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.05590 seconds
  • Memory Usage 2,314KB
  • Queries Executed 23 (?)
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
  • (8)bbcode_code
  • (3)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_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