PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   variable name changes in newer version? (http://www.photopost.com/forum/photopost-pro-installation-upgrades/113636-variable-name-changes-newer-version.html)

DavidMacLean April 23rd, 2005 08:03 PM

variable name changes in newer version?
 
Heads up vb webmasters. I found that the global variable name $useruploads has been changed to $User['uploads'].

(Some variable names are required or used in templates, please don't shunt us off to photopost dev)

It may even be this variable name was my own invention. After years of photopost, I have learned how to keep my hacks to the minimum. But some hacks are a fact of life. They are what makes my board better than yours, and vice versa of course.

But I did not track hacks in templates very serously. Big mistake. This latest release has so many template changes, a simple text compare produces too much information to be useful. I should have tagged all my template mods.

If anyone has list of other template variable name changes... or suggestions for cleaning this sort of thing up with a minimum of pain; spotting changes; or preventing future repeats... that would be cool.

Here's the rest of it for anyone else building an upload link in a template:

uploadphoto.php?catid=$catid is now uploadphoto.php$catquery

Am I missing somehing obvious, like a catalogue of these kind of changes?

Cheers

Chuck S April 24th, 2005 07:59 AM

Hello

Variable names change all the time in software as you know also your hacks would then need to be modified to the present code.

I dont think uploadphoto changed. I beleive it has been this for as long as I remember

uploadphoto.php?cat=$cat

Works fine on my install testing a link with the above format and I am running 5.03


All times are GMT -5. The time now is 02:10 PM.

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