![]() |
Hey guys,
Im really having a tough time trying to get the ads to display on my site.. Can someone help me with this. Can you post the simple code to just display an ad from a specific zone2? And If I want to have the add show up on top of my forums (Header) where do I put this code. Thanks |
<ad what="zone:1" />
<ad what="zone:2" /> <ad what="zone:3" /> and so on. So if you want to have zone 2 in your header, place the second example in tha are you want zone 2 ads to display. |
hmmm, I can get it to work with java but not with the <ad...> code
|
Quote:
|
Depends on where you want it. Why not post the link to your forum, then and I'll look at the code. Explain where you want it to show.
|
Link to my site is www.seekingadultfriends.com/forums
|
Quote:
|
Conditions:
vB + phpAdsNew 2.0.8 + phpAdsNew Integration 1.0.4 for vBulletin 3.5.x Path for phpAdsNew in vBulletin panel (here - ./admincp/options.php?do=options&dogroup=server) - correct. Optinons of phpAdsNew 2.0.8: Added another one HTML banner with same following code: PHP Code:
Option "Allow PHP expressions to be executed from within a HTML banner" - enabled. This option $phpAds_config['compatibility_mode'] set to true in phpAdsNew config file. In FOUMHOME template was added (keyword the same sa for added in phpAdsNew) HTML Code:
<ad what="banner" /> HTML Code:
<!-- BEGIN ad 126277454 --><!-- END ad 126277454 --> I read thread two times. The same problems was report but answers are..... apsent. PS Another banners are works fine, but this ..... |
Does anybody use externals text banners?
When i set in Banner properties - Target - this url http://notmyhost.com/link/banner2.htm, the story with empty banner code repeated :(. Someone help me please..... |
First off, this is probably the most useful vB hack I have installed. It helps me run my ad campaigns efficiently and with the minimum of fuss. This is how I have set up the hack:
1. In your global.php file for vBulletin, search for: Code:
// templates to be included in every single page... Code:
// ADSERVER TEMPLATE ADDITION Code:
<div style="position: absolute; top: 10px; right: 80px; padding: 1px; border: 2px #C0C0C0 solid;"> Finally, in your NAVBAR template in vb, add the following to the top of your template: Code:
$adserver I hope this helps someone - made it very easy for me when I update my vbulletin versions. |
Does this (1.0.4) integration work for vbulletin 3.6 or just 3.5.x?
|
Quote:
|
Ah - apologies - you were asking about the phpadsnew integration, not my mini hack.
|
Quote:
http://www.irishwebmasterforum.com/ |
Works fine on my 3.6.0 install. No problems at all.
|
wow, it works... phpAdsnew is really powerful :D
|
Has anyone gotten this to work using two database? My vB forum is one one database and PAN is in another. No ads show up for me.
|
Quote:
Make sure that you've followed instructions about integrating the two properly. |
Quote:
HTML Code:
<!-- BEGIN ad 12345 --><!-- END ad 12345 --> I then have in my templates: <ad what="zone:1" />, and the comments appear where this shows up, but not the ad. I am using local mode. Any idea what's up? I tried tracing through the code and running it through a debugger, but couldn't find anything that caught my eye. |
You may need to refer to the phpadsnew documentation .....
|
Sorry, but can you be a bit more explicit? Compatability mode is turned on in PAN and it will deliver ads perfectly fine outside of vB. :)
|
Quote:
Ads with PHP code shows fine in non vB and in admincp in phpAdsNew 2.0.8, but not shows in vB. Others ads (like HTML and pics) displays without problems. |
This system seems to be very flakey to me. Can someone recommend a different solution?
|
Quote:
|
Does this work with 3.6.0? If not, does anyone know an alternative? I don't need anything overly sophisticated.
|
This PHP Add thing isnt that user friendly.
I have made an SWF banner and saved it. How can i get this to display at either the footer or the header? Also can it do a random grab from the banners created? thanks for sharing the Modification |
How do I Integration this into VB. I know noob Question any help please
root/Forums root/phpadsnews I understand I have to create a db for it or can it be added to the vb db. what I need is the root structure for it. I downloaded this from http://www.phpadsnew.com and downloaded this from https://vborg.vbsupport.ru/showt...=100229&page=2 Thanks if anyone else uses this with vBulletin I use Version 3.6.1 |
I will be putting this on my 3.6 board real soon...
Edit: All done and she works great... I need to learn how to use the base script but the integration worked awsome... http://www.timeshareforums.com/forums/ |
I have to ask this again b/c i can't find the answer...
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 vb 3.5.4 |
I put the invocation code in the index.php and this mod to modify it. I've gotten this to work before but for some reason it sin't working this time around.
Any suggestions? I'm using: "<td align="$stylevar[right]" valign="center" height="62"> <ad what="zone:1" /> </td> " In the header template... |
I am having the same problem Mauu was having... I get:
<!-- BEGIN ad 11111111 --><!-- END ad 1111111111 --> (numbers replaced w/ 1) instead of the banner coming up. I've done everything correctly, twice now. What gives? :( |
can we get this to work with 3.6.1?
|
Thanks for this hack. Works perfectly for me after a little messing.
I installed it on VB3.6 and there are no problems after upgrading to VB3.61 On initial set up i tried using it to access PAN on a remote server but no matter what i tried it would not work. As my MySQL is on another remote server. I just installed the PAN files on my forums server. After that local mode worked perfectly. If the load gets to great i will try using the remote setup then. |
So we don't use the original invocation code anywhere?
|
I must be a complete imbecile.
I cannot figure out how to do this. Loaded PAN. But nothing done to vB just yet. Do I install this module then? Or do I have to mess with some templates first? There are several references to a thread here which says place the "invocation code" into "PHPINCLUDE_START" template. There is no such template in vB 3.5.4. So where does that invocation code need to be placed? From what I understand PHPINCLUDE_START was replaced by a "Hook" in the Module system as "global_start". Do I add the invocation code in there? The above step is where I am stuck. Will installing this mod replace the step of adding the invocation code, or still require it? If it does not require it, then I have an issue. Once I installed it (no invocation code in global_start hook), when trying to edit a template to include <a .../>, the save process just seems to hang and returns a blank page after editing the template. When refreshing the edit page, the changes to include the <a... /> code is not there. |
I too am completely stuck and thus can't launch this site. I might have to go with a pay system instead of this free thing.
I can only generate "remote invocation for javascript" and not local for some reason. I too have NO idea where too add this invocation code. I wish this free syetm had more support. Sorry, I'm just venting, very frustrating. |
I had the missing "local invocation" from the drop down box in phpAdsNew too. After reading here and at the PAN forums i discovered it was because i did not have the correct exact url in my config.inc.php file.
Before i corrected that i would just get the <!-- BEGIN ad 12345678 --><!-- END ad 12345678 --> in the soruce code of my web page. As soon as i corrected the URL in the config file i had local invocation and the banners displayed fine. |
Quote:
I have local code now. Banners aren't showing. I still get the <!-- BEGIN ad 12345678 --><!-- END ad 12345678 --> error. |
Quote:
The fact you are getting the code above i would say the addon is working ok its just not getting the correct info from PAN. So it either cannot find it or PAN is not returning the correct info. Have you verified your PAN is working normally outside of VB ? |
Nice works great
I need a how too to create a add block for this for the right side of my vba. can someone give me a step by step on inserting a banner on the right or left side in a block. Thanks in advance |
All times are GMT. The time now is 06:11 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:
|