![]() |
Quote:
i used the soap thing vb 3.5.4 phpadsnew 2.0.8 |
what code do i use when i want to deliver the banner in forumdisplay only to forum 13 ??
<ad what="ug$bbuserinfo['usergroupid']" /> (same technique can be applied to deliver forum-specific ads) thanks |
although i have this error (not every time the banner is called)
Quote:
|
Thanks, it works
i had the compability on false, while i thought iot was true !!!! |
Quote:
any ideas anyone? :banana: |
Great, I need this
|
Does it work with 3.6 ?
|
seems to work with 3.6 :D
|
How can I get the banners to show up right under the navbar?
I know this is basic but I can not write code so if anyone has done this and can help me out... I would REALLY appreciate it! Joe |
Can someone please help me, I installed this add-on but im really confused on how to add the actual script into the template to call the ads, i need it to show right under the navbar, im really new with php, scripts etc, so if someone could be very specific and show me how to do this...
Thank you so much. |
Ok I've seen alot of folks asking but did not see anyone respond. I got this working tonight and on 3.6 RC1 (weee)
To make them forum specific here is what I did: Add this to the bottom of the navbar template <center><ad what="fid$foruminfo['forumid']" /></center> In the keywords field of the banner in phpadsnew I put: fid2 (This make is display on the page when forum ID 2 is the one I'm viewing) I also have this in header: <ad what="header" /> and in the keywords for the banner I want I have: Header (on my test banner for the forum ID2 I put this in the header: fid2, header (and it displays on both locations) I also noticed a bug in either the code or documentation in the server settings where it says use the "path" or if using xml-rpc to use the "url" I had to use the URL even though I'm not using xml-rpc or it would not work at all. Hope this helps.. |
dwbro you are AWESOME! Thanks so much for posting that! I had the exact same question.
So, can I ask you a couple of things? I've just gotten a little ways into figuring this whole thing out. I haven't gotten nearly as far as you. But I'm not sure if maybe I'm wasting my time. I would like to be able to run a specific set of ads on a specific forum AND all topics and threads that are started in that forum. But for the life of me I can't figure out how you'd do that with this. For instance let's just say you had 3 forums and they were called 1 2 and 3. And let's say you had ads from 3 different customers and you wanted to run ads from customer 1 ONLY in forum 1 - and so on. Can you tell - in your advanced state ! if that is something that can be easily done with this? THANKS for your info! OH, AND one other question. How did you figure this out? Was it in some documentation somewhere??? Thanks! |
Quote:
Take this and add it to your vb template Quote:
Quote:
Quote:
Quote:
Hope that makes sense. |
You know, actually I'm not sure I totally understand, but I'll take your word for it for now and when I get around to actually trying to implement it and try it out then maybe it will all become clear! Anyway, thanks so much for the info - looks like you're the first person to post info on how to do this. I might hit you up with a few more questions when I try to implement it myself. But you've given me the "courage" to move forward! I.e. showing me it's possible.
|
Well, I've had a chance to play around with this a bit and I'm having trouble putting your code into the template file.
When I put: <ad what="fid$foruminfo['forumid']" /> anywhere into the "forumdisplay" template I get an error message when I try to save it. The error basically says: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING Am I right that the code you gave is supposed to go into whatever page you want the ads to show up on? |
Ooops! Nevermind. My stupid web page editor actually changed the code to reformat it to its liking. No more error.
|
Hey! It worked! It actually put an ad on a page! Very cool!
And it seems to have worked exactly as you said. I copied your same code to the "showthread" template and the ad I had planned for that forum did indeed come up on the forumindex AND in the threads under that forum. Thing is though. I don't understand how it knows to come up in all the threads under a particular forum. But it seems to work. I guess although you can't tell by the URL what forum you're in when you're looking at a thread, I guess it is in the vb database so it just knows to pull up the ad from there. Anyway, very cool that it works! And thanks so much for your help dwbro1. By the way, I wonder if you've played around with inserting ads inbetween posts in a thread? I wonder if that's possible? |
Now that I've had a day to play around with it everything seems very good. But my experiments have brought up a new question. What if I want to run more than one ad per page. Like say I have 3 advertisers and I want to put them all on the same pages. I don't see how you can put more than one ad at a time on a page. Oh, I'm using text ads so I don't know if that makes any difference.
Would you know how to do that dwbro? Thanks! |
First of alll, dwbro1, thank you so much for that post,
according to dwbro1's instructions, what would i put in the banner keywords for the banner to show in the main forum index(index.php)? |
I have my banners displayed under my navbar. Problem is the Flash banners sit ontop of the drop down menus then they display. Static image banners are fine - does anyone know how I can alter this so that drop down menus will sit on top of the banners? In CSS it would be a z-index: value but I don't know how this could be achieved on VB
For anyone who needs to see what I am on about, check http://www.yorkshire-divers.com/forums/ and then try the dropdown menus when a flash banner is displayed. Cheers |
Quote:
|
I have use this plug in and installed pan and it works great with the header banner that I have on the website. But when it comes to a tower banner that I have, sometimes it works fine, sometimes the tower banner duplicates itself and goes to the header
If what I said doesn't make sense, go to http://jobstories.com.au/ and have a look there. refresh the page several times and you will see Any idea why is doing this? help will be appreciated thanks, E |
Just wanted to say this is a killer hack, installed and worked fine, and very helpfull :)
|
Installed and testing
|
This is simply not working for me on 3.5.4. I have installed everything, from what I believe, from the instructions and I am able to deliver an advert outside of vBulletin. However, once I try to use this plugin, the only thing that outputs is: <!-- BEGIN ad 342734 --><!-- END ad 74323 -->. I did some debugging, and found that $ad['html'] in the view_ad() method is returning nothing for $ad['html'].
So, both systems are setup fine, but they can't talk. I have tried XML-RPC, but I cannot find lib-xmlrpc-class.inc.php in my PAN. Where is it? Anybody know what's going on? |
How do i setup the code to show ads only in a certain forum?
<if condition="$foruminfo['forumid']==3"><ad what="navbar" /></if> ...the above code only works for the main category 3...but not when a user is looking a a thread inside the category #3 |
I was about to ask a similar question :)
|
Does this work on 3.6?
|
Quote:
|
Hello,
Great add-on, thank you!:D When VB 3.6.0 would be supported? |
Quote:
|
When trying to download the attachment i get this error
<title>Serverumzug</title> <h1>Serverumzug</h1> <strong>Der Server zieht nach 85.25.135.48 um.</strong><br /> Sobald die NameservereintrĂge angepasst sind, stehen die Dienste wieder zur VerfĂgung. Anyone got the file they could re-post for me please |
Quote:
|
Quote:
|
Quote:
|
Maybe a dumb question here but do I need this mod installed in order to run phpadsnew on my forums?
|
No, but it makes it a heck of a lot easier to implement it.
|
Does this work with 3.6?
|
Yes, I have it running on 3.6 with no problems whatsoever.
|
clicking install and giving this a try.
I'm new to the phpadsnew thing, but this seems like a great plugin |
All times are GMT. The time now is 10:53 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|