Quote:
I'm lost. How does this site: www.gearchatter.com, generate the zone on the left to diplay all his ads? |
I know whenever you help people with something like this -- you open a can of worms that keeps you busy putting out people's fires.
I followed your distructions and added 6 banners (six different invocation codes) to my 30+ styles at www.moparstyle.com -- and everything works great. 99.44% of the time when I use one of the hacks here -- everything works fine. When it doesn't -- I generally find a typo on my part when I reread. This is long way of saying all is well -- and I appreciate your help. Much faster than having the server running all of that Java code. |
Quote:
|
I'm trying to place more than one ad (different zones) on my templates. On the header template I placed the first one, then on the postbit template I want to place another. On other template, I want to place the last one. But I'm not able to display them. Just the first one displays. Here is the code I placed on the phpinclude_start template:
Code:
ob_start(); Note: I'm using MMM 0.1.x |
I have one spot in my header that I want to have 43 banners rotate in. I want them to rotate with each page change or refresh. I am using direct selection. I can get one banner to display... I can get two banners to display next to each other at the same time. How do I get them to rotate... one at a time? Code?
|
I cant get this to work even following the instructions on the first page of this thread.
Soes anyone have simple instructions to follow to get this running on VB 3.5.0?? Many thanks |
Does this work with vB 3.5.1?
|
Hey Guys and Gals, can you guys help me out.
I'm installing PHPadsnew and I appear to have everything working on my server and html site. I'm trying to finish the install/integration into my Vb 3.51 forums. The instructions say to modify the PHPINCLUDE_start template. For the life of me, I cannot find this template. I've looked through the templates and either I'm blind or its not there. Is this a template in vB 3.51? If so, where is it if, because apparently I'm blind, and running search in templates is not showing it to me. If it's not a template in 3.51; then what should I modify to get this hack to work? Thanks! |
Mark,
The phpinclude_start template is gone starting with 3.5. It is replaced with the plugins system. Try adding a new plugin with a hook location of global_start and put the phpAdsNew code in there. |
I have create a new plug-in (globalstart hook) and insert the code of the first post
in header the raw html, and just set the schedule task righ, but when I active the plug-in and try to open my page, it dont be able to connect to the database, why? my vbulletin version is 3.5.2 and using vba index in the root dir with forum in /forum dir |
I have the same problem. The error message is:
Code:
Datenbankfehler in vBulletin 3.5.1: Code:
Datenbankfehler in vBulletin 3.5.1: |
Quote:
|
Yes, great! With the 'compatibility mode (database)' it works flawlessly :)
|
Looking for help in setting up Phpadsnew with VB 3.5.4 so banners show in the header template.
Tried all ways and so far had no luck. HELP :) |
Quote:
I'm running locally to test and having no luck whatsoever. I'm also running 3.5.4 |
I have my phpadsnew on a seperate database. None of the local code would work until I used remote jscript. Seems to be working at the moment.
Found that the manuals are not very specific to vb at all. I'm not sure if I'm going to keep using this or not. I'm now having problems getting my header banner to center. It may not be worth all the trouble. |
k guyz, I got this working on 3.5.1 [woot]
I am using "$phpAds_raw" in my header template, what would I need to add to that code to have the banner centered, coz at the moment it is left aligned by default |
Brain fart here :(.. Where's the PHPINCLUDE_START template?... lol...
|
There is no phpinclude_start template in vB 3.5
|
That explains why I couldn't find it, hahaha.. Thanks Zachery. :(
|
<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 ;)
|
Quote:
Been looking in my forumhome template and only found one instance with phpAds in it and that was the code that I just added. Also, if I'd like to add more than one banner, would I just add the code from phpAdsNew into the plugin code just as I did to make the initial one appear? |
if you want to add a new banner you will probably have to make a new variable
for example.. a new plugin with the code PHP Code:
then anywhere in your template {$aNewVariable['html']} i havent tested this but i think it should work OK Jason |
In addition to the code i've posted here
https://vborg.vbsupport.ru/showpost....&postcount=106 I would like to add something else for the peeps that want it to work with vbAdvanced go to Admin CP -> vBA CMPS -> Default Settings -> Portal Output Global Variables and add PHP Code:
This will work with the latest phpAdsNew 2.0.8 and vBulletin 3.6.x if you have more than one ads then you need to externalize (ie write all variables into this textbox without the $ in front) all variables you have in your hooks.. but the above will work with one ad just fine as always check www.pbzone.net to see it working A big thanks to this community it keeps me learning new things all the time p.s. if anyone has benefited from this or has problems please email me :) |
Will this work for multiple banners?
|
having some difficulty here. if I were to put the code:
{$phpAds_raw['html']} into my header, would i place it inside a <td> or outside of it. OH MY GOD! So yeah I just took the javascript invocation code and plugged it into the bottom of the header. Everythign is fine now. God da$#$n't that was a lotta time wasted. Am I the only one who feels like an idiot at least 90 percent of the work day thanks to vbulletin? |
Quote:
Man, I had no idea that it was that simple until I started thinking about what I did with ubb Threads. After trying about 3 different hacks.... I had just tested out the Java invocation code....and whalla. ;) What I'd like to do however, is insert a table where I can put the java code to the right of my banner. Here's what my header currently looks like: www.f-bodyhideout.com/forums If someone knows how to do it....please PM me or post up here. Thanks... Glad you're up and running myplacidcasual. |
i dont have PHPINCLUDE_START
Quote:
|
I tried the instructions above, but it isn't working with my 3.6.2. When I add the plugin, I get a MySQL error:
Quote:
|
this has helped me a great deal - thank u so much.....
****installs**** |
Has anyone got this working without using the Java invocation code?
I am trying to get this to work with the local invocation code with 3.6.4. |
All times are GMT. The time now is 09:00 AM. |
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:
|