PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 9th, 2011, 05:38 PM   #1 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
trying to install tags to measure usage of website - script or condition

Hi,

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.
peterle is offline   Reply With Quote
Old October 9th, 2011, 07:43 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
if ( PP_SCRIPT == "PP_Pro" )
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 10th, 2011, 04:57 AM   #3 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
Thanks, but the script for the classifieds is PP_Classifieds or something like that?
peterle is offline   Reply With Quote
Old October 10th, 2011, 07:34 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 10th, 2011, 08:09 AM   #5 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
Yes Sir! Thanks Sir!
peterle is offline   Reply With Quote
Old October 10th, 2011, 11:09 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
enjoy your day glad to help
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 30th, 2011, 06:57 PM   #7 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
Before opening a new thread ... What is the magic clause for a category?
Hope that Pro and Classifieds are similiar again.

Thanks again!
peterle is offline   Reply With Quote
Old October 30th, 2011, 07:20 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
I really do not know what your asking about magic.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 31st, 2011, 03:43 AM   #9 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
Sorry, maybe I shouldn't ask, when I am that tired.

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 ...
peterle is offline   Reply With Quote
Old October 31st, 2011, 08:36 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 31st, 2011, 04:57 PM   #11 (permalink)
Member
 
Join Date: Oct 2006
Posts: 50
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!
peterle is offline   Reply With Quote
Old October 31st, 2011, 09:24 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,675
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.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fresh Install of new script error joseduddy Photopost Pro Installation & Upgrades 5 October 21st, 2008 05:31 AM
Install script problem - invalid sql error GeoffE Installs and Upgrade - vBulletin 3.0.X 9 September 21st, 2006 06:12 AM
Install Script Problem gajan Installs and Upgrade - vBulletin 3.5.X 0 January 14th, 2006 07:46 PM
Install Script Errors? sebuck Photopost Pro Installation & Upgrades 1 December 14th, 2005 10:44 AM
Problem with PP class install.php script wacnstac Classifieds Installation & Upgrades 5 December 29th, 2004 10:18 PM


All times are GMT -5. The time now is 04:28 PM.

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