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
Info Box - Adsense, Register, and Donations Box (Working Quick Reply) Details »»
Info Box - Adsense, Register, and Donations Box (Working Quick Reply)
Version: 1.00, by Cky47 Cky47 is offline
Developer Last Online: Nov 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-06-2006 Last Update: Never Installs: 15
Template Edits
 
No support by the author.

Nanofied Productions Presents - Info Box Template Mod

In my version of the whole adsense post hack series, I have included a modification that will allow the last post of every thread to be a box including information on things such as registering, donating, and a spot for your google adsense or other ads that is not breaking any TOS.

To do this, add the following code...
Code:
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="thead" align="left">Google Ads</td>
</tr>
<tr>
    <td class="alt1" align="center">
<ADS AND CONTENT GO HERE>
    </td>
</tr>
</table>
</div>
Below...
Code:
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_post
	</div>
</if>
$spacer_close
<if condition="$show['threadedmode'] OR $show['hybridmode']">
$threadlist
</if>
<div id="posts">$postbits<div id="lastpost"></div></div>
$spacer_open
In your SHOWTHREAD template.

Then, edit the <ADS AND CONTENT GO HERE> section, and ad anything you want to your info box

You can view an example at

http://www.boardingscene.com/music/8...ite-bands.html

I personally am using eminimalls in my info box.

If anyone has suggestions, I can try to use them in my product.

PLEASE CLICK INSTALL IF USED :banana:

Thanks!

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 04-13-2006, 03:11 PM
goodwillstacy goodwillstacy is offline
 
Join Date: Sep 2005
Location: Atlanta & Austin
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thank you! Works with no problems!
Reply With Quote
  #33  
Old 04-13-2006, 04:16 PM
Cky47's Avatar
Cky47 Cky47 is offline
 
Join Date: Feb 2006
Location: PA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am glad to you see guys enjoy it!
Reply With Quote
  #34  
Old 04-22-2006, 05:12 PM
Cky47's Avatar
Cky47 Cky47 is offline
 
Join Date: Feb 2006
Location: PA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone need anything?
Reply With Quote
  #35  
Old 04-22-2006, 07:17 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I suggest using this code:

HTML Code:
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="thead" align="left">Google Ads</td>
</tr>
<tr>
    <td class="alt1" align="center">

Not a Member Yet ?<br>
<a href="register.php">Register Now!</a><br>
<br>
Want to donate?<br>
<a href="donate.php">Click Here!</a>. <br>

<br>
<script type="text/javascript"><!--
google_ad_client = "pub-3631507085471760";
google_alternate_color = "0b1928";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "0B1928";
google_color_bg = "0B1928";
google_color_link = "FFFFFF";
google_color_url = "487D09";
google_color_text = "7D8FA2";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
    </td>
</tr>
</table>
</div>
It makes it so that they don't have to change any links unless they don't have a donate.php.
Reply With Quote
  #36  
Old 04-26-2006, 10:02 AM
Cky47's Avatar
Cky47 Cky47 is offline
 
Join Date: Feb 2006
Location: PA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HEy Thanks man, That is actually a good IDea.
Reply With Quote
  #37  
Old 05-07-2006, 07:31 PM
bizpro bizpro is offline
 
Join Date: Feb 2006
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed works great!

But one thing.

The box is bigger(wider) then my posts, I want it so it is the same size as my posts box.

See here:
http://www.mywebmasterforum.com/yaho...rk/77-ypn.html

Anyway to fix that?
Reply With Quote
  #38  
Old 05-08-2006, 01:46 AM
Cky47's Avatar
Cky47 Cky47 is offline
 
Join Date: Feb 2006
Location: PA
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Easy

It is your adsense box... just select a less less wide format, or maybe use a link bar instead.

Good Luck!
Reply With Quote
  #39  
Old 05-14-2006, 04:00 AM
Bro_Joey_Gowdy's Avatar
Bro_Joey_Gowdy Bro_Joey_Gowdy is offline
 
Join Date: May 2002
Location: Hickory Flat MS 38633
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, it works fine on vb3.5.3
Reply With Quote
  #40  
Old 05-24-2006, 02:27 PM
dodgechargerfan dodgechargerfan is offline
 
Join Date: Aug 2005
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any way to make this a plugin?

I'm going to test this out on my test board first and if we decide to go with ads on the site, this is the hack that I will use.

It's nice and clean and doesn't cram ads in the users' faces....

I'm thinking about how I could use this and some sort of revenue sharing hack but only to share the revenue amongst the admins as opposed to all of the user base.
Reply With Quote
  #41  
Old 05-24-2006, 03:46 PM
Hemanth's Avatar
Hemanth Hemanth is offline
 
Join Date: Nov 2005
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lot's of similiar hacks already there. But cool ..
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 10:43 PM.


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.08877 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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