![]() |
@lsgworldl
Please use new version 1.0.1. This should solve the confusion concerning paths. |
How do I set this up so that in each forum there is a different zone shown?
Some of my forums are sponsored and in those forums I want only those ads shown, and in the unsponsored areas I want another zone shown. Thanks. |
Quote:
Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456"> Code:
<if condition="$foruminfo['forumid']==123 OR $foruminfo['forumid']==456"> |
Hi,
I'm trying to get to this work but nothing is showing up unfortunately. I tested out phpadnews on a .php page to make sure that was functioning and it was. I'm wondering if I've set the path wrong. My path I put was ../banners/ but the full path is /home/aussie/public_html/forums/banners/ Thankyou! |
Quote:
(Your "../banners" would point to "/home/aussie/public_html/forums/../banners" which translates to "/home/aussie/public_html/banners/") |
Ah great! :) It's working now. Amazing how much of a difference a . can make!
Thanks so much for the great plugin. |
Hi!
I'm still trying to get plugin working outside forum root, cause I want to manage ads also into another 3rd level domain, for now called www. While I ask forum pages, all runs ok. Ads are called from forum.dmn.tld/adv subdir. If i ask vbadvanced homepage into www, banners images (and links) are broken, cause theire called from www.dmn.tld/adv I've tried to edit "Replacements" adding adlog.php, adimage.php, adclick.php for vba in admincp, but seems not works. The /adv directory shown into templates still the same of domain where page was called. |
@tassoman:
First try to set the full path to phpAdsNew (instead of a relative one) in the settings of this product, to be sure that inclusion of phpadsnew.inc.php also works, when you're using the templating system in scripts outside of the forum's installation directory. Also check if your $phpAds_config['url_prefix'] setting in phpAdsNew's config.inc.php is a valid absolute URL (e.g. http://example.com/phpadsnew/). If this doesn't solve your problems, please be more precise and also post a link to your site (or show relevant parts of code (notably the HTML between <!-- BEGIN/END ad ...--> comments) and screenshots). |
Both fields are ok. in admincp there's full path from root to phpadsnew dir.
On config.inc.php there's full URI for phpadsnew. My filesystem is like this: / (ftproot)on forum.dmn.tld is called /adv and it's ok.wwwhtdocs on www.dmn.tld is called also /adv but there isnt' any dir here. So I solved for now with a symlink called /adv but I feel like a dirty hack. |
Please upload the files to our server as attachments. As stated in the forum rules.
Thank you. :) |
All times are GMT. The time now is 03:00 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:
|