View Full Version : Need help with 5.2
August 23rd, 2012, 07:00 PM
I'm upgrading from 5.11 to 5.2 and I don't see anything to put your ads at.
Do I need to generate another xml file and install with overwrite?
August 23rd, 2012, 07:34 PM
I am not really sure what your trying to ask. I do not know what "I do not see anything to put your ads" means?
Upgrade instructions are in the announcement with specific changed files or you can follow the upgrade documentation in the documentations folder of the code and upload everything except the config files and run the upgrade script and select the 5.1x to 5.2 upgrade.
August 23rd, 2012, 07:43 PM
I was trying to say banner ads.
I uploaded all files as in your instructions, complete template folder, and ran upgrade script. When I go into admincp I don't see anything new. You said this version had a new plugin system, thought maybe I need to generate a new xml file to be able to see where to place info for banner ads etc.
August 23rd, 2012, 08:09 PM
No there is clearly a link in admin that says ADD/EDIT PLUGINS
I would suggest as noted in our release announcement you read the plugin FAQ thread.
There is an example of a random product block or a random html plugin.
I am sure you can figure out where to put your banner ad code in the random html plugin in the box middle.
August 24th, 2012, 12:01 PM
Okay Chuck I found it. There are a few of those Add/Edit's together and it kinda blended in. :o
I tried your test code putting it in the same spot and get this error listed about 8 or so times.
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/mysite/public_html/classified/index.php(319) : eval()'d code on line 1
$pphook[\\\'sidebar_top\\\'] .= "<div class=\\\'photoinfo\\\' style=\\\'align:center; width:100%\\\'>
<table class=\\\'tableborders\\\' border=\\\'0\\\' cellpadding=\\\'6\\\' cellspacing=\\\'1\\\' width=\\\'100%\\\' align=\\\'center\\\'>
<td width=\\\'100%\\\' align=\\\'center\\\'>
<div style=\\\'font-size:10pt; text-align:left;\\\'>New Plugin</div>
<li>Testing Plugin System</li>
August 24th, 2012, 12:10 PM
Your setup is a little strange there and I would need to look at it.
I have magic qoutes on in my server setup and we stripslashes.
I have no idea why you have 3 slashes on all your qoutes thats a bit strange. Your server is not adding slashes on double quotes but only single qoutes.
You can send server info for me to look at it through the contact us link in our site header. I would need to understand what is different with your setup and why you have so many slashes.
I have tried doing the plugins with magic qoutes on and off and works fine.
August 24th, 2012, 12:31 PM
That info has been sent to you.
August 24th, 2012, 01:19 PM
I fixed your error by adding another stripslashes but I can not understand what is causing that.
I mean your server's magic_quotes_gpc is OFF which means your server should not be adding slashes. Not sure if its a specific bug in your specific php version but thats what I found. Your server is adding slashes when it is not theoretically suppose to be. ;)
August 24th, 2012, 01:51 PM
Chuck I really appreciate that. :)
My php version is 5.2.17 --I dunno if that is different from yours or not or if it is even the most current version.
Again thanks so much for your help and I really like this new plugin you have added. :D
August 24th, 2012, 02:37 PM
Line is php 5.32
I am doing some reading online seeing if there is something specific to php versions etc
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.