vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Randomly positioned ad in between postbits in showthread (https://vborg.vbsupport.ru/showthread.php?t=98057)

dieselpowered 12-07-2005 03:25 PM

UK, just wanted to let you know that this works with 3.5.2, incase you wanted to change the version at the top of the thread :)

Warrior 12-15-2005 04:28 PM

This is perfect - works with the click for quick reply too! Just what I needed...

gc1 12-15-2005 04:37 PM

Yes this is very nice, I have a Advertiser that pays 100 bucks a month for that spot :)

UK Jimbo 12-15-2005 09:28 PM

Quote:

Originally Posted by gc1
Yes this is very nice, I have a Advertiser that pays 100 bucks a month for that spot :)

I'll take 10% please ;)

Zilvia 12-16-2005 03:27 AM

Is there any way to have this display after the 1st post?

Cebby 12-18-2005 07:23 PM

Works Great! Thanks!!

*Installed*

UK Jimbo 12-18-2005 10:59 PM

Quote:

Originally Posted by Zilvia
Is there any way to have this display after the 1st post?

Yes - but you don't need to install the hack to do that. Just add the following (untested) to the end of the postbit and postbit_legacy templates:

PHP Code:

<if condition="$post['postcount'] == 1">
$spacer_open 
<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">Sponsored Links</td
</
tr
<
tr
    <
td class="alt1" align="center">

<!-- 
ad code goes here -->

    </
td
</
tr
</
table

</
div
$spacer_close 
</if> 


mikepmm 12-19-2005 12:07 AM

best adsense mod !!!

wedgey 12-27-2005 02:16 AM

This is great! Thank You!

I'm a newbie to vBulletin so it took me about 10 minutes to install. For other newbs, if it doesn't work the first time, try the other template (postbit OR postbit_legacy).

I have no idea what the difference is, but this plugin worked for me in v3.5.2 in the postbit_legacy template.

Thanks again!

http://forums.airlinepilotcentral.com

GamerJunk.net 01-01-2006 09:11 AM

Awesome thanks.


All times are GMT. The time now is 10:50 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.01189 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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