View Full Version : trying to install tags to measure usage of website - script or condition
October 9th, 2011, 05:38 PM
I am trying to install some tags to measure the usage of our website.
Now I have to put different tags to different parts of the site and I don't know how to tell the server which tag to use for photopost and classifieds.
I know that I can use something like script == 'index' or condition = $forumid=123 for the vbulletin part, but is there a way for pp and classifieds?
Thanks as always for any hint. :)
October 9th, 2011, 07:43 PM
if ( PP_SCRIPT == "PP_Pro" )
October 10th, 2011, 04:57 AM
Thanks, but the script for the classifieds is PP_Classifieds or something like that? :o
October 10th, 2011, 07:34 AM
yeah the named are defined at the top of the pp-inc.php file. You posted in the Pro support forum not classifieds so my answer was based for Pro. ;)
October 10th, 2011, 08:09 AM
Yes Sir! Thanks Sir! :D ;)
October 10th, 2011, 11:09 AM
enjoy your day glad to help
October 30th, 2011, 06:57 PM
Before opening a new thread ... What is the magic clause for a category?
Hope that Pro and Classifieds are similiar again. :cool:
Thanks again! :)
October 30th, 2011, 07:20 PM
I really do not know what your asking about magic. :)
October 31st, 2011, 03:43 AM
Sorry, maybe I shouldn't ask, when I am that tired. :o
The gallery has different categories, let's say
../showgallery.p/showgallery.php/cat/509 and ../showgallery.php/cat/677
Now cat-509 should get one tag-509 and cat-677 should get tag-677.
In vb I can do this with forums and the $forumid, so I tried $cat for this in Photopost, but it didn't work and a deep non understanding look into index.php showed me, that I am not very good at php ... :p
October 31st, 2011, 08:36 AM
Whatever variable you do depends on where and what your doing. For example the variable $cat would be valid but only on the showgallery.php script where it is defined. Do you understand what I mean.
If your trying to write a hack your mission would be to find whatever variable your trying to use in the actual script your on or define a variable depending.
October 31st, 2011, 04:57 PM
Yep, I understood what you said. Hoped for another answer, but I will take a look.
Thanks again, as always - you do have one of the best supports outr there! :)
October 31st, 2011, 09:24 PM
Yeah well I try and help but I do not read minds I would not know what type of hack or etc your doing so any answer you get from me is going to be pretty generic in nature. Like I said the variable your referring to is only correct on that script nowhere else.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.