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 January 3rd, 2011, 12:51 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 82
Arrow List of "This Script" names?

Hi. I'm putting together a conditional that has to distinguish between vbulletin and Photopost pages. From what I can tell, the "This script" conditional is the only way to do this.

Do you have a list of "This Script" names for the Photopost pages please? If not, it may take a while to go through all the pages to find them all.

I'm doing this as I have a feature installed which works on vBulletin pages, but not Photopost pages, so I have to substitute it for something else.

Many thanks.
MikeWarner is offline   Reply With Quote
Old January 3rd, 2011, 03:55 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2011, 05:23 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2001
Posts: 82
Brilliant. Had to change it to this though:
Quote:
<vb:if condition="PP_SCRIPT == 'PP_Pro'">
Do This
</vb:if>
Thanks
MikeWarner is offline   Reply With Quote
Old January 4th, 2011, 08:40 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well yes of course if you are doing vbulletin stuff but you got the drift
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 19th, 2011, 07:56 AM   #5 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
I tried this code and it doesn't seem to work, but i am using photopost 6.2, maybe it has something different there?

Any ideas?


For now, I use complex IF conditionals to cover all photopost pages, like this:

<if condition="THIS_SCRIPT != 'ppindex' AND THIS_SCRIPT != 'showgallery' AND THIS_SCRIPT != 'showphoto' AND THIS_SCRIPT != 'uploadphoto'">

Last edited by dakis; June 19th, 2011 at 08:17 AM.
dakis is offline   Reply With Quote
Old June 19th, 2011, 10:02 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
well all depends on what your doing. Your conditional above is kind of whacky.

Code:
Content visible to verified customers only.
That should show something on all NON PHOTOPOST PAGES IN VB. Of course this all depends on what your doing and the example above is vb3.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old June 19th, 2011, 05:06 PM   #7 (permalink)
Member
Verified Customer
 
dakis's Avatar
 
Join Date: Oct 2007
Posts: 78
Ok I think I already tried that and it didn't work, or maybe it's the specific goal i need to accomplish.

Thanks Chuck for the immediate reply.
dakis is offline   Reply With Quote
Old June 19th, 2011, 05:24 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,683
Yeah what you do all depends on what your trying to do as the conditional would need to be valid and in the proper place.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   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
bug with select list "sort" and "page" only in IE fh83 Classifieds Bug Reports 21 September 21st, 2010 12:27 PM
"Script not called correctly" after renewal link is clicked pcgorilla Classifieds Bug Reports 4 August 23rd, 2009 02:36 PM
"Script call malformed. Some actions require you to be logged in." on unsubscribe. Andy R PhotoPost Classifieds Support 13 July 16th, 2009 06:22 PM
Relist causes "Script not called correctly" error draxx Classifieds Bug Reports 1 July 3rd, 2009 09:00 AM


All times are GMT -5. The time now is 07:15 PM.

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