<a href="https://vborg.vbsupport.ru/showthread.php?t=100229" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=100229</a>
phpAdsNew Integration 1.0.3 for vBulletin 3.5.x |
Anyone know how to place phpadsnew banners in one zone and rotate like this forum www.ls1tech.com
I picked "Don't show a banner from the same campaign again on the same page" And put my php generated local mode in global and put my banner code in right_column > $phpAds_raw2[html] > $phpAds_raw3[html] > $phpAds_raw4[html] > $phpAds_raw5[html] > $phpAds_raw6[html] > $phpAds_raw7[html] > $phpAds_raw8[html] > $phpAds_raw9[html] > $phpAds_raw10[html] > $phpAds_raw11[html] > $phpAds_raw12[html] I'm getting doubles still of my banners, there must be a setting in phpadsnew to fix this so I don't get doubles, anyone know? Here's my site www.sembmusclecarclub.com |
When I was using 3.0.6 I had phpds working real well it it. When I upgraded to 3.6 -- they disappeared. I added the phpinclude_start template -- but that didn't help.
COde in the phpinclude_start Code:
if (@include(getenv('DOCUMENT_ROOT').'/phpad/phpadsnew.inc.php')) { Code:
<!-- Add three phpad banners --> Is there a was to use php invocation code in a 3.6 template -- more simular to the way I did in 3.0.6? Quote:
|
Sure hoping that someone gets this figured out for vB 3.6.x.
I'd hate to throw away phpAdsNew. :( |
anyone got a fix for 3.6 ?
|
Hi i finally made it work by myself for vbulletin 3.6.0
1. Make a new plugin with the code phpAdsNew generates OMMITING the last echo command. ex PHP Code:
3. Save the plugin Now find the template you want and add: PHP Code:
Finished! it works ! (i tested it) (check www.pbzone.net) if you want more info email me onliner AT pbzone.net thanks |
Quote:
I don't see this working on your site with the link you provided. Also, I made my local mode code: ?php if (@include(getenv('DOCUMENT_ROOT').'/phpadsnew/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 23, '_blank', '', '0', $phpAds_context); echo $phpAds_raw['html']; } ?> Integrated it into the code you put out: ob_start(); if (@include(getenv('DOCUMENT_ROOT').'/phpadsnew/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 23, '_blank', '', '0', $phpAds_context); echo $phpAds_raw['html']; } ob_end_clean(); Added this code into my global_start. Then, added: {$phpAds_raw['html']} Into my forumhome template. Still not working, but then again, I'm using vB 3.6.1 Ideas? Thanks Thanks |
you need to delete the line
echo $phpAds_raw['html']; from your plugin!! check over the navbar http://www.pbzone.net/forum/index.php |
Quote:
http://www.f-bodyhideout.com/forums/forum.php The issue now is that it shows up in two different areas on the forumhome template......mmmm, when I click on any other forum or category....then it shows up only once, like it's suppose to do. Strange... Thoughts? Thanks, Mark |
you prolly have the same code somewhere else too? do a search mate ;)
|
All times are GMT. The time now is 09:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|