vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vB Ad Management 4 (https://vborg.vbsupport.ru/showthread.php?t=131150)

Tony_FPM 06-25-2007 09:23 PM

Hey all ,

I had this mod working on my default forum style but today i installed the redbar style and i cant get the header advertising working. Well i get it working but i want it on the right upper conner in the red section. The header template is totally different and i dont know where i have to put the $header_advertisement variabel to het it how i want.

See here how my header template is...Please help me!!!!!

Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><a href="index.php"><img src="redbar/elements/logo.jpg" border="0"></a></td>
</tr>
<tr>
<td background="redbar/elements/catsub.jpg" height="24" class="menu">
<a href="http://www.freakpyromaniacs.com">Main</a> &nbsp;&nbsp;
<a href="http://www.freakpyromaniacs.com/album/">Photos</a> &nbsp;&nbsp;
<a href="http://www.freakpyromaniacs.com/forum/forumdisplay.php?f=133">Movies</a>
&nbsp; &nbsp;
</td>
</tr>
<tr>
<td width="100%">
<!-- /logo -->
<!-- content table -->
$spacer_open
$_phpinclude_output

Tourmeister 06-26-2007 02:14 AM

Just curious if anyone has thoughts about server load issues using this Mod? I have mine setup so that there are two header images and two footer images, ALL randomizing independent of each other. (just copied the code and changed the variable names). So I am wondering if that might have a significant effect on the server load?

RedTyger 06-26-2007 08:07 AM

Quote:

Originally Posted by Tony_FPM (Post 1276439)
Hey all ,

I had this mod working on my default forum style but today i installed the redbar style and i cant get the header advertising working. Well i get it working but i want it on the right upper conner in the red section. The header template is totally different and i dont know where i have to put the $header_advertisement variabel to het it how i want.

See here how my header template is...Please help me!!!!!

You can put it wherever you like. If it doesn't look right, just move it again. :)


Quote:

Originally Posted by Tourmeister (Post 1276631)
Just curious if anyone has thoughts about server load issues using this Mod? I have mine setup so that there are two header images and two footer images, ALL randomizing independent of each other. (just copied the code and changed the variable names). So I am wondering if that might have a significant effect on the server load?

There are some quite sizable forums using the modification and it's gradually been made more efficient over the versions. There's not really much I can do to improve it by this point. I think it's quite effectively done. Certainly it should not have a significant effect and I'd be surprised if it had even a small effect to be honest.

cormee 06-26-2007 03:26 PM

Hi

I have this installed on my site and it appears to be working when I use simple html or plain text, but then I try used php AdsNew javascript it doesn't display the ads.

For an example of what I mean see http://www.newtotown.ie/forum/feedba...-site-401.html

here is the code I used:

<img src="http://www.newtotown.ie/gif/chauffeur.jpg

(This is the static image of the chauffeur which is displaying fine in that link)

<script language='JavaScript' type='text/javascript' src='http://www.xxxxxx.xxx/adx.js'></script>
<script language='JavaScript' type='text/javascript'>
<!--
if (!document.phpAds_used) document.phpAds_used = ',';
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
document.write ("http://www.xxxxxxxx.xx/adjs.php?n=" + phpAds_random);
document.write ("&amp;what=zone:1&amp;blockcampaign=1");
document.write ("&amp;exclude=" + document.phpAds_used);
if (document.referrer)
document.write ("&amp;referer=" + escape(document.referrer));
document.write ("'><" + "/script>");
//-->
</script>
<noscript>
<a href='http://www.xxx.xxx/adclick.php?n=ac7e96a4'><img src='http://www.xx.xxx/adview.php?what=zone:1&amp;n=ac7e96a4' alt='' border='0' class="imgborder"></a>
<br />
</noscript>

(This is the code that isnt working)

Does anyone know what might be causing this?

Thanks

ru55ian 06-26-2007 05:28 PM

i am missing something here, i have installed it, and it should be working, because "sponsored" table shows up in the postbit legacy as a second post as well as the last post, but no actual advertisement shows up inside that table, i am using Google adsense, and if i click refresh several times, then add will actually show up at random, but only on the last post, never shows up on the second post... is there a bug i am not aware of?

help needed.

RedTyger 06-26-2007 07:13 PM

That would be a problem at Google's end.

Tony_FPM 06-26-2007 08:53 PM

Quote:

Originally Posted by RedTyger (Post 1276773)
You can put it wherever you like. If it doesn't look right, just move it again. :)

Well i did that but we dont seem to get it where we want.
Somebody help me please!!!!!

ru55ian 06-27-2007 01:18 AM

thanks

cormee 06-27-2007 07:14 AM

Hi Redtyger

Do you know of anything that may be killing the php Adsnew javascript in my installation?

RedTyger 06-27-2007 08:14 AM

Quote:

Originally Posted by Tony_FPM (Post 1277241)
Well i did that but we dont seem to get it where we want.
Somebody help me please!!!!!

Well, keep moving it! It's difficult to help with a customised forum. Not least because you haven't actually said where you want it.

Quote:

Originally Posted by cormee (Post 1277466)
Hi Redtyger

Do you know of anything that may be killing the php Adsnew javascript in my installation?

I recall that someone else had the problem but I can't remember how they solved it. Try searching the thread and/or hoping that someone else will post back with the answer.


All times are GMT. The time now is 12:21 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.02349 seconds
  • Memory Usage 1,756KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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