vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   How to get Adlinks below the forum in forumdisplay page (https://vborg.vbsupport.ru/showthread.php?t=265627)

rmani84 06-22-2011 05:37 AM

How to get Adlinks below the forum in forumdisplay page
 
I am looking to place adlinks below the forum as seen below... The red box is where i want the adlinks to be displayed. I have seen a few 3.x forums using it. Can someone give pointers as to how to do this in 4.x. Thanks

https://vborg.vbsupport.ru/

Below's the screenshot of the forum where i saw this in 3.x ... This should give a clear idea of what am looking for.

https://vborg.vbsupport.ru/

Am sure this will be very useful for all those using 4.x

BirdOPrey5 06-26-2011 04:14 PM

In VB 4.x (where this thread will get moved to soon)

For FORUMDISPLAY:

Edit your FORUMDISPLAY template.

Find the code:
Code:

<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                                        </vb:if>
                                        </p>
                                </div>
                        </vb:if>
                </div>
                <hr />

Below it Add:
Code:

<div class="threadlisthead table">
                                <div align="center">
                                <span class="threadinfo">
                                        GOOGLE LINK UNIT CODE HERE
                                </span>               
                                </div>
</div>

And/or in SHOWTHREAD:

Edit your postbit or postbit_legacy template.

At the VERY BOTTOM of the template add the code:

Code:

<vb:if condition="$post[islastshown]">
<div class="blockhead">
                                <div align="center">
                                <span class="threadinfo">
                                        GOOGLE LINK UNIT CODE HERE
                                </span>               
                                </div>
</div>
</vb:if>

This should work, looks good on my 4.x test forum.

rmani84 06-28-2011 07:42 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2213075)
In VB 4.x (where this thread will get moved to soon)

For FORUMDISPLAY:

Edit your FORUMDISPLAY template.

Find the code:
Code:

<span class="understated">{vb:rawphrase try_controls_below_for_older_posts}</span>
                                        </vb:if>
                                        </p>
                                </div>
                        </vb:if>
                </div>
                <hr />

Below it Add:
Code:

<div class="threadlisthead table">
                                <div align="center">
                                <span class="threadinfo">
                                        GOOGLE LINK UNIT CODE HERE
                                </span>               
                                </div>
</div>

And/or in SHOWTHREAD:

Edit your postbit or postbit_legacy template.

At the VERY BOTTOM of the template add the code:

Code:

<vb:if condition="$post[islastshown]">
<div class="blockhead">
                                <div align="center">
                                <span class="threadinfo">
                                        GOOGLE LINK UNIT CODE HERE
                                </span>               
                                </div>
</div>
</vb:if>

This should work, looks good on my 4.x test forum.

Wonderful ! works :)


All times are GMT. The time now is 03:58 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.01000 seconds
  • Memory Usage 1,730KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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