PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds How do I...? (http://www.photopost.com/forum/classifieds-how-do-i/)
-   -   Need help with 5.2 (http://www.photopost.com/forum/classifieds-how-do-i/148634-need-help-5-2-a.html)

WarDog August 23rd, 2012 06:00 PM

Need help with 5.2
 
Chuck,

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?

WD

Chuck S August 23rd, 2012 06: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.

WarDog August 23rd, 2012 06: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.

Chuck S August 23rd, 2012 07: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.

http://www.photopost.com/forum/photo...ystem-faq.html

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.

WarDog August 24th, 2012 11:01 AM

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

Code:

Content visible to verified customers only.
WD

Chuck S August 24th, 2012 11:10 AM

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.

WarDog August 24th, 2012 11:31 AM

That info has been sent to you.

Thanks Chuck

WD

Chuck S August 24th, 2012 12: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. ;)

WarDog August 24th, 2012 12: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

WD

Chuck S August 24th, 2012 01:37 PM

Line is php 5.32

I am doing some reading online seeing if there is something specific to php versions etc


All times are GMT -5. The time now is 05:12 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97