![]() |
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.
|
All times are GMT. The time now is 02:02 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:
|