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 08:55 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:
|