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)

lsgworldl 11-04-2005 09:52 AM

add it where, I dont know where to add it, and I copied and pasted from this thread

lsgworldl 11-04-2005 09:52 AM

<if condition="$GLOBALS['adsense_position'] == $post['postcount'] && $GLOBALS['adsense_position'] > 0">
$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>

UK Jimbo 11-04-2005 11:07 AM

Install the plugin then at the end of the postbit or postbit_legacy template copy in the code as per the instructions at the top of this thread.

Info on how to edit templates and how to upload plugins is described in detail on the vBulletin site. http://www.vbulletin.com/

lohman 11-04-2005 11:41 PM

Brilliant! This is exactly the kind of ad placement that I was hoping to find. Tower and header/footer ads get ignored, and intrusive pop-over ads are just wrong. This is perfect!

Many Thanks!

lsgworldl 11-05-2005 01:43 PM

where in the end why isnt there a find this and add below it like most plugins?

Quote:

Originally Posted by UK Jimbo
Install the plugin then at the end of the postbit or postbit_legacy template copy in the code as per the instructions at the top of this thread.

Info on how to edit templates and how to upload plugins is described in detail on the vBulletin site. http://www.vbulletin.com/


ConqSoft 11-05-2005 02:41 PM

Quote:

Originally Posted by lsgworldl
where in the end why isnt there a find this and add below it like most plugins?

At the very end. After everything else. Very simple.

lsgworldl 11-06-2005 06:12 AM

Quote:

Originally Posted by ConqSoft
At the very end. After everything else. Very simple.

I did that and it didnt work, thats how simple it is

its only simple if you know what you are doing like anything is simple to ppl who know what they are doing, like I said why not have a find and put below that would make it simple

UK Jimbo 11-06-2005 08:44 PM

Quote:

Originally Posted by lsgworldl
I did that and it didnt work, thats how simple it is

its only simple if you know what you are doing like anything is simple to ppl who know what they are doing, like I said why not have a find and put below that would make it simple

The instructions I gave are dead simple. I suggest that you:
  • Read the instructions
  • Read them again
  • Read the instructions a third time
  • Install it

If you still don't get anywhere then I don't think this hack is for you. Maybe get someone else to help you out.

:)

The Chief 11-08-2005 05:07 AM

great addition, I hope this helps me out :D

Milez 11-08-2005 03:24 PM

This hack is brilliant, installed in 30 seconds. nice work!


All times are GMT. The time now is 02:22 AM.

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.01328 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)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