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)

dssart 08-16-2006 01:08 AM

just re-installed under 3.6, using the tips from above..good work. click *install*

Is it possible to have the ads displayed when viewing the forum index, or when viewing the thread topics within a group as opposed to having the ads displayed when one views the messages within a thread as this does now?

Would also like to know if I could have two rows of ads appear instead of one..

webgroup 08-18-2006 02:42 AM

Quote:

Originally Posted by UK Jimbo
Sorry - I won't have a chance to till v3.6 is stable and I've installed it on visordown.com


Any new of the new version?
works in 3.6.0 but the table with the ads is not squeared with the post tables anymore.

Smoothie 08-18-2006 04:32 AM

Quote:

Originally Posted by webgroup
Any new of the new version?
works in 3.6.0 but the table with the ads is not squeared with the post tables anymore.

Works with 3.6, you just need to remove the space_open and spacer_closed.

Use this:
HTML Code:

<div style="padding:6px 0px 0px 0px">

webgroup 08-18-2006 04:41 AM

Quote:

Originally Posted by Smoothie
Works with 3.6, you just need to remove the space_open and spacer_closed.

Use this:
HTML Code:

<div style="padding:6px 0px 0px 0px">

thanks.

should I add that code or replace the spacer_closed and space_open with the code?

Smoothie 08-19-2006 05:50 AM

Quote:

Originally Posted by webgroup
thanks.

should I add that code or replace the spacer_closed and space_open with the code?

Here's what I use:
HTML Code:

<if condition="$GLOBALS['adsense_position'] == $post['postcount'] && $GLOBALS['adsense_position'] > 0">
<div style="padding:6px 0px 0px 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>
</if>


almukmin 08-20-2006 04:31 PM

Please read my previous post a page ago.

jklimczak 10-05-2006 11:10 AM

can some one help me fix my code I keep geting No post after i add this

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

<!-- BEGIN ADVERTPRO CODE BLOCK -->

<SCRIPT language="JavaScript" type="text/javascript">
document.write('<SCR'+'IPT src="http://216.27.135.253:8080/advertpro/servlet/view/banner/javascript/zone?zid=7&pid=4&random='+Math.floor(89999999*Math .random()+10000000)+'&millis=' +new Date().getTime()+'" language="JavaScript" type="text/javascript"></SCR'+'IPT>');
</SCRIPT>
<NOSCRIPT>
<A href="http://216.27.135.253:8080/advertpro/servlet/click/zone?zid=7&pid=4&lookup=true&position=1" target="_top">
<IMG src="http://216.27.135.253:8080/advertpro/servlet/view/banner/image/zone?zid=7&pid=4&position=1" height="60" width="468" hspace="0" vspace="0" border="0" alt="Click Here!">
</A>
</NOSCRIPT>

<!-- END ADVERTPRO CODE BLOCK -->

</td>
</tr>
</table>
</div>
</if>

curriertech 10-05-2006 01:49 PM

Installed and working on 3.6.2! I made one small change, being that it only shows the random ads for guests. :)

andewy3k 10-15-2006 07:03 AM

works great, thanks

just had to remove the spacer stuff for 3.6 and add the new div tag.

thanks again...

*installed*

Domenico 10-31-2006 08:47 PM

Removing spacer_closed and space_open and changing the div to <div style="padding:$stylevar[cellpadding]px 0px 0px 0px"> or <div style="padding:6px 0px 0px 0px"> doesn't work for me.

See -> http://www.webhostingtalk.nl/webhost...ders-bots.html

Any ideas?


All times are GMT. The time now is 12:58 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.01300 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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