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)
-   -   Adsense after first post (https://vborg.vbsupport.ru/showthread.php?t=96249)

ultranerds 02-14-2006 07:52 AM

Mmm.. I'm trying to get this to work based on which post they are on. i.e;



Code:

<if condition="$show['postcount'] == 2 OR $show['postcount']== 5">

$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">
ADSENSE CODE HERE
    </td>
</tr>
</table>

</div>
$spacer_close

</if>

..but it shows up on ALL of them. Any ideas?

TIA

Xplorer4x4 02-28-2006 08:05 PM

Quote:

Originally Posted by Griffin80
Anyone?

Could this problem be caused by VBSEO?

No this is a bug in firefox if you use the code in the first post. Remove the </if> condition right after <adsence code here>

pcoskat 04-03-2006 12:43 AM

Quote:

Originally Posted by amykhar
What's more fun and challenging - because of ajax issues, is adsense in the last post. ;) That really gets the ad right where the reader's eyes are.

http://www.eaforums.com/forums/364919-post1.html

Is there a way to limit this to specific forums? My members would kill me if I did this all over the board.

fcreature 04-04-2006 01:58 AM

How do you get the ads to display once in every thread with multiple pages of content?

Like say if one thread had 50 replies - that's 5 pages, so how would I go about doing that?

Danecookie 04-05-2006 10:27 AM

I have a question please reply :

I alread have that mod installed which shows the banner ad on top of every forum section and inside top of every thread. This one : https://vborg.vbsupport.ru/showthrea...adsense+banner

Now after adding this mod, (adsense after first post), the ads are not showing on the thread, but they are only showing in the forum section, where threads are listed.

When we open any thread, the top banner dosent show up but only this adsense after first post shows the ad and top one dosent. This problem is comming after i've installed this hack..

can anyone please tell me what to do? to bring back my top banner also.
Thanks

Danecookie 04-07-2006 09:43 AM

will someone reply?

RDX1 04-08-2006 12:31 AM

Nevermind, missplaced if statement

Hypocrisy 04-29-2006 04:57 PM

Hi, is there a way to go around the firefox bug, to not have a blank page after doing a quick reply?

Thanks :)

Freak0204 05-01-2006 03:07 AM

Thank you for this. :)

Titan85 05-29-2006 12:14 AM

I installed this and it works good, but right above the sponsored links box, there is this code showing up: if condition="1 == 1">. How do i fix this?


All times are GMT. The time now is 12:56 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.01428 seconds
  • Memory Usage 1,735KB
  • 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_code_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