Has anyone integrated phpadsnew with magnus's AdColumns1.0 ?
I want to add a sidebar that rotates the display order on my forum on every refresh. I already have the zone and ads setup, just not sure how to deliver it with this script. |
Hi,
I've struck a slight problem which I can't workout. I have tested the following on my internal test site which works flawlessly following the instructions on page 1 however no matter what I do it doesn't show the banner. My phpinclude_start is as follows Quote:
Quote:
Any ideas would be great. Cheers Darren |
I'm using Max Media Manager 0.1x (same as PAN2.1) but I can't make it work. The phpinclude_start has this:
PHP Code:
Quote:
|
Quote:
Also, is you're ad server on the same machine as your vbulletin? If not that would explain the SQL error, which appears to be caused by the SQL server you're talking to not having the appropriate table. |
Michael,
Thanks for the information. It works great. Oddly enough, on my first site, it gives me the option to use local invocation, but on the second, only javascript. This is probably due to the fact the second site is on a different webserver, but alas, it works. Thanks again |
i have a logout problem whit this code...some1 test if can logout whit this code on?
|
For the life of me, I can't get this to work. Here is my phpinclude_start template:
PHP Code:
And here is a snippet from my footer template showing two different zones, one with local invocation and the other with javascript: PHP Code:
Any ideas as to why I can't get local invocation to work? EDIT: As a test, I tried local invocation on a non-forum page at the same site, and it works fine. You can see this on http://www.bigblueball.com/index.php (it's serving the 120x90 ad in in the right column). Still can't get it to work in the forums though. EDIT: After re-pasting the invocation code a second time, it seems to be working now. Nevermind..... :) |
I am experiencing a strange problem when using this script.
To begin with, I originally added the banner to my page with the ob method described on the vbulletin website. When I found this thread, I removed those methods and added the php code directly to the include file as described here. The banners work fine. Unfortunately, I have a "shoutbox" module (CMPS) which is not working now that I added the phpadsnew script to my header. The shoutbox has not displayed properly with either method of calling the phpadsnew script. The reason that I know these two are related, is that in the shoutbox module window, I get the following error message: Table 'bannerads.adv_shoutbox' doesn't exist So obviously, phpadsnew is changing the database from "forum" to "bannerads", running the script, and then for some reason not going back to the original database. I am guessing that it needs to do a USE FORUM sql statement in order to get the default database back into the focus. So, do you think it is the phpadsnew or the shoutbox that needs the tweak? Any ideas on what could be causing this? Thanks. |
Quote:
Ideas? I'm using vBulletin 3.0.7 and phpAdsNew 2.0.5. I did try both with and without "Use database compatibility mode". |
Thanks for a brill tutorial Michael!
Can I just ask you to check what I'm doing is ok please? (It all seems to be working ok) I have two zones on the same page and this is how I've set it up: My phpinclude star file contains: HTML Code:
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) $phpAds_raw[html] -where I want the first zones ads to show, and, $phpAds_raw2[html] -where I want zone two ads to show. It all seems to be working fine, but just wondered if I have done it right or not! Thanks for looking. |
This mod works great for me with no problems... thanks!
|
I haven't used the script in this thread at all to use phpAdsNew. I've set it up as if phpadsnew were residing on a separate computer all together and simply called it using the invocation code generated in phpAdsNew for each publication location. This works fine and i'm using it on several sites.
http://www.bostonlove.org uses it for several spots on the site include the top the middle and the bottom. http://www.yyzlifestyle.com uses it for the stuff at the bottom. I've tied it into the vbaffiliates hack so that it counts each link in the affiliates module each time someone clicks on the appropriate affiliate's banner - all of this with just using phpadsnew without customisation for vbulletin. I'm even using it to track who clicks on my paypal donation buttons. - Sid |
Quote:
http://forum.phpadsnew.com/index.php?showtopic=8281 Jason |
Quote:
For Example: PHP Code:
|
Quote:
Thanks!!! This is what I've been looking for. |
Quote:
I don't know how, but I'd like to do the same thing.. :squareeyed: After trying this numerous times, I still can't get it to work... |
Will this work on 3.5.0 vb?
|
i upgrate to phpAdsNew 2.0.5 and the logout function inst work.
When reload the site...the user still there. Didt work :( |
Hey Michael, not sure if you're still paying attention to this thread or not, but....
I tried setting up the Maintenance.php to be run via the Scheduled Tasks Manager. I'm receiving errors when running it: Warning: Cannot modify header information - headers already sent by (output started at /var/www/mysitename.com/html/forums/includes/adminfunctions.php:222) in /var/www/mysitename.com/html/phpads/libraries/lib-cache.inc.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mysitename.com/html/forums/includes/adminfunctions.php:222) in /var/www/mysitename.com/html/phpads/libraries/lib-cache.inc.php on line 17 Warning: Cannot modify header information - headers already sent by (output started at /var/www/mysitename.com/html/forums/includes/adminfunctions.php:222) in /var/www/mysitename.com/html/phpads/libraries/lib-cache.inc.php on line 18 Done What could this be attributed to, and does this mean the maintenance script is NOT running? |
Quote:
|
Quote:
thanks Jsharper...i dont understand in first place...now just comment the line and work. Thanks |
Does anyone know if there is a 3rd party script for phpadsnew that would allow automated signup for advertisers and possibly paypal integration to automate billing?
|
Quote:
Mine weren't working either. However, I discovered I did not have the Publishers & Zones setup correctly. Then only one of the two banners was showing up. It turns out that one of the banners was not 468x60 as I specified... it was off by one pixel. Once I correctly created the Zone (I'm only using one banner location, and it's on all my pages... hence only one Zone) and linked the banners, and corrected that one banner's size, everything worked fine. The phpAdsNew interface isn't the most intuitive. I had to read *gasp* the manual to get it correctly setup. Read the documentation, double-check the banner dimensions, and review the instructions on this thread. All should work. Best of luck! |
Quote:
(Has personally been moving away from PHPadsnew) |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showpost....3&postcount=59 Any idea on that problem? And I'd also be interested in what ad solution you're moving towards as well. |
would you care to try and do this with cute news?
|
Does anyone know how to implement the Maintenance script into the Scheduled Tasks menu in vB as explained in this post? I've followed the installation instructions but it's not being run daily as I have it set up to do. When I run it manually I'm receiving errors. The errors I'm receiving are posted here:
https://vborg.vbsupport.ru/showpost....3&postcount=59 If anyone can help me fix this, I'd appreciate it. I'm running the 3.01 version of vb. |
I am investigating replacing my banner serving scripts integrated with vBulletin with PHPAdsNew.
My script has a lot of features (geotargetting, limited impressions per ip, advertiser updatable adverts) but I'm wondering whether PHPAdsNew will do the job better. I have read the instructions at the top of this thread but I don't think it will work in my case. Unless I am missing something. I serve 3 or 4 banners on each page : Very top Run of Site 468x60 which is invoked from the page header, Forum-specific header Forum-specific skyscraper (not shown in thread view when there is only 1 post) Forum-specific footer. I invoke my ad serving script with a zoneid. There are some 'custom' zones like 'ROST' for run of site 468x60 top banner or 'ROSASIANT' for the Run of Site Asian DVD reviews top banner, but most banners are in specific forums. The zone id is made up of the forum id number (originally generated and used by vbulletin) and a letter - H,S or F for header, skyscraper or footer. It's called from FORUMDISPLAY and SHOWTHREAD php scripts and then displayed in the FORUMDISPLAY and SHOWTHREAD templates. The skyscraper invocation only happens when there is more than one post in a thread as otherwise the page looks rubbish with a large skyscraper on the right. Given that I need the forum id and in showthread the number of posts, I don't see how putting the invocation code in the headinclude script is going to work. Please help. |
I integrated as instructed but the ads only work in firefox. In IE the links are dead on mouseover.
Any ideas? Nevermind, I figured it out. Slight syntax problem in my header template |
Is there a manual to do this in 3.5 with the hook system? The phpinclude_start is not in the vbulletin 3.5 version, but I cant get it to work with hook > global_start.
|
This appears to be broken now with phpAdsNew v 2.0.6 and vBulletin 3.0.7
Get errors regarding .. Quote:
|
I get the following error with vb 3.5.0 RC3
Code:
Database error in vBulletin 3.5.0 Release Candidate 3: |
That used to happen to me too. The fix is found goin to Settings > Main Settings > In Database optimisations, check the option that reads: "Use database compatibility mode"
|
Quote:
|
Quote:
|
So how do I run 2 zones on one page? I have set up the 2nd zone and put the invocation code in phpincludes_start...but what tag do I put on the page (footer)? Right now I have the same tag on both places and so the zone 1 ad shows in both places.
|
Just put $phpAds_raw2[html] in any template ;)
|
question:
Right now I have the '$phpAds_raw[html]' in my navbar template. How come when vbulletin message comes up (you just logged out, or you dont have permission to this page) the banner disappears? What do I edit so that it's visible there too? Thanks. |
PHP Code:
Please advise. Thank you |
All times are GMT. The time now is 09:40 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:
|