vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Adsense Within first post (https://vborg.vbsupport.ru/showthread.php?t=118480)

firstbase 06-13-2006 04:16 PM

Adsense Within first post
 
Hello,

I am looking to do something like this, http://forums.fedoraforum.org/showth...7&page=1&pp=15 .
As you can see, there is adsense within the first post, before the main post itself, and I want to show it only for guests. How to do that?

FB.

Princeton 06-13-2006 08:27 PM

add this line in the postbit template

FIND IN postbit and/or postbit_legacy:
HTML Code:

                <!-- message -->
REPLACE WITH:
HTML Code:

                <!-- message -->
                <if condition="$post['postcount'] AND $show['guest']">THIS IS FIRST POST</if>


The Chief 06-28-2006 10:20 PM

That actually doesn't seem to work, I've replaced the

Code:

<!-- message -->
like you said to do with this:

Code:

<!-- message -->
                <if condition="$post['postcount'] AND $show['guest']">THIS IS FIRST POST</if>

but inside I put another ad script, not Google, so it appears on all posts, how can we make it appear only on the first post, also how do we make it on the side(like on the right side)?

Thanks!

letsjoy 07-02-2006 03:37 AM

thanx Princeton

cobpo 07-13-2006 11:35 AM

thank you.

mangel.ajo 07-17-2007 11:35 AM

This shows on the first post of every thread.

Any idea about how to get it show on the first post of every page?

I have done it modifying the SHOWTHREAD template, but I would like to put it inside the message, not outside.


Thank you!! :)


All times are GMT. The time now is 12:32 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.00965 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete