![]() |
phpAdsnew
Can this software be run on 3.5 using local mode invocation? If so how do I go about this? I've been searching continiously between here, vbulletin.com, and phpads forums and found no answer.
|
I didn't try it, but as it was possible in 3.0 it should be possible in 3.5 as well - Hook global_start seems to be a good place.
|
1 Attachment(s)
Did you mean phpadsnew? I use this plugin and it works fine. Just edit your templates where you want the ads. (and if you have more zones you have to ad them)
|
I'm sorry but what code goes where?
When I import that plugin it comes back with an SQL error; Code:
MySQL Error : Table 'florida_phpads.session' doesn't exist |
I also get the "MySQL Error : Table 'XXXXX_phpads.session' doesn't exist" error.
In fact, i get 2 SQL on the same page. Before the upgrade to 3.5, it worked fine, and after the upgrade, I copied and pasted the exact code from the phpinclude_start template into a plugin with the global_start hook. This is the code Code:
if (@include('/var/vhosts/com/s/i/s/sistersofbreastfeeding/htdocs/_/adserver/phpadsnew.inc.php')) { Code:
Database error in vBulletin 3.5.0: Code:
Database error in vBulletin 3.5.0: |
Yeah I use it on my site, I just didn't do a plugin, I modified global.php to include the PHP.
|
Thanks acidburn0520, I tried that as well and get the same result as when i add it as a plugin.
|
Hmm... that's strange.
includes/affiliate_include PHP Code:
PHP Code:
|
Quote:
First i added it as a plugin wit hte global_start hook, then i tried adding it directly to global.php like you said. Does the mysql error give anyone any ideas? it seem to be looking for a db table that doesn't exist, what in the code would cause this? EDIT: I found the solution in another thread: https://vborg.vbsupport.ru/showpost....0&postcount=74 |
Ahh... never would've thought of that. I couldn't figure it out, but glad to hear that it's now working for you.
|
Can someone explain how to "upgrade" phpadsnew to use the new 3.5 modules/addon system? I have 3.0.7 with phpadsnew working fine, and I upgraded a test system to 3.5 and now my banner ad doesn't run.
I'm not too familiar with the 3.5 hooks so I was wondering if someone could explain what changes need to be done. Thanks! |
Quote:
Thanks |
Quote:
|
<a href="http://www.vbulletin.com/forum/showthread.php?t=156877" target="_blank">http://www.vbulletin.com/forum/showthread.php?t=156877</a>
|
|
You can place the invocation code anywhere it makes sense to place it. Do this via a hook. I place mine in the "global_start" hook.
Then, you place the variable created by the invocation code, wherever you like. Header is fine. If you user the variable within a template used by a function (like the postbit template), you'll first have to declare the variable as global, also via the appropriate hook. I explain all this in the link I provided. |
Forgive the ignorant question, however, is there a benefit to using local invocation versus remote? I have the remote version in my header and it works fine??
www.atvpros.net Thanks! |
Well, i don't get any errors, but no banners show up!! Please help!
|
Anyone willing to give any support on this?
I have one setup of this working great on a web host company for my website Boostaholic.org. I set it up correctly and tried what seemed every other possible way to configure it on my hosted computer that runs my large website Zilvia.net and I cant get it to display. Any ideas? Thanks! |
Hi,
if you still didn't know why it's not working when adding the code to global.php or as a plugin: Set $phpAds_config['compatibility_mode'] to true in your config.inc.php of your phpadsnew installation. |
Phpadsnew Problem !!
Yesterday I had a problem with the server. I completely restored the server (Cobalt Raq550) to a fresh install. After that I restored the Backup (Im lucky the backup was only a few ours old) from the website and mysql. The website works again. But there is a problem. When a user Reply on a post it goes wrong. I give you two examples. This was working fine before I restored the server. #1 Quick Reply > When clicking the send button Posting Quick Reply - Please Wait appears and noting else. When I refresh the page the post is made. So after the post is made the page will net refresh. #2 When ik use the button Post Reply I go to the page newreply.php?do= .. I type in a message and click Submit Reply then the next page cant be found? I get a IE error screen. Again if i go back to the tread the message is there. After a lot of searching I fond the problem. If I disable the phpadsnew plugin (post #3) it is working fine !! Can somebody please advice me. |
isthis going to work in 3.6.3?
|
Hi Guys,
SOrry I've been trying to get phpadsnew to work on my site for 2 days alreayd and I can't figure out why it doesn't display the threads. I followed the directions and uploaded the plugin with the folloing code: HTML Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> |
All times are GMT. The time now is 06:26 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:
|