vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Info Box - Adsense, Register, and Donations Box (Working Quick Reply) (https://vborg.vbsupport.ru/showthread.php?t=112383)

Cky47 04-06-2006 10:00 PM

Info Box - Adsense, Register, and Donations Box (Working Quick Reply)
 
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!

ryancooper 04-07-2006 11:43 AM

Looks great Nice Work.

Cky47 04-07-2006 11:49 AM

Thanks!

If anyone needs help, or would like to see someting added, just post it here and I will get back to you.

This was my first mod so hopefully all goes well...

dazzlin 04-07-2006 01:44 PM

Looks promising. I've avoided the "adsense after the last post" thing before, because it messed up the quickreply box. Will try this and see if it solves that problem or not. Thanks.

Cky47 04-07-2006 04:21 PM

I wouldn't see why it would screw with the quick reply. Tell me your results once you install...

Thanks!

ryancooper 04-07-2006 06:19 PM

Could this be modded to show after the first post?

Like http://www.Talkdisney.com/forums

Cky47 04-07-2006 07:19 PM

Yes it could... I just liked it better at the bottom, becasue it wont throw off the users at first. This way they see it after reading your content, andit makes them want to see more.

Would you like me to try and develope it?

Snake 04-07-2006 07:43 PM

This is looking great. I shall install this tonight.

Cky47 04-07-2006 11:03 PM

Thanks... I am only 16, and I just started programming and freelance work a little bit ago. This was my first "Free" public peice... its sorta nice helping people out for once.

Cky47 04-08-2006 10:34 PM

Anyone need some help?

Later..


All times are GMT. The time now is 12:16 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.01125 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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