View Full Version : Photo Number
kevincrafts
11-30-2007, 09:34 PM
Has anyone else had problems with the <SITE_PHOTONUMBER> tag? It's not showiing anything for me right now.
Dkozikowski
11-30-2007, 09:47 PM
On what page are you trying to display this number? It may only work within the image_template.HTML file.
kevincrafts
11-30-2007, 10:55 PM
Is that a change from how it used to work? In 1.6 I had it on my about page.
Dkozikowski
11-30-2007, 11:39 PM
I can't verify right now but if it worked in v1.6 then it should work for v1.7.
kevincrafts
12-01-2007, 12:39 AM
Hmm a closer look at the index.php file shows that in 1.7 it requires an image ID. I liked using this on my about page.
Dkozikowski
12-01-2007, 01:30 AM
OK. Well you can do two things.
Hack index.php for now and every-time you upgrade (unless we change this which we probably will soon).
OR
Create a addon file that can do this for you so you won't have to continually hack during upgrades.
If you need help with either option, let me know.
austriaka
12-01-2007, 09:12 AM
use <ADVNCD_SITE_VISITORNUMBER> instead, this should work in all templates.
As far as I remember I corrected it for the final release of 1.7 so <SITE_PHOTONUMBER> should then work as well.
If you want to stick with <SITE_PHOTONUMBER> download the latest developer release from here: http://pixelpost.googlecode.com/svn/trunk/
But be aware that this is the developer version which is not thoroughly tested in all environments and will change quite often.
Dennis
12-01-2007, 10:54 AM
Another warning: some files might also be depending on other files which might have changed.
austriaka
12-01-2007, 01:59 PM
yes, of course you should use the whole package if you decide to use the developer version
spikeweb
01-09-2008, 03:03 PM
I miss this <SITE_PHOTONUMBER> information too, from upgrade to 1.7 ...
austriaka
01-09-2008, 05:29 PM
as mentioned above, this is fixed in release version
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.