PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   List of "This Script" names? (http://www.photopost.com/forum/photopost-pro-how-do-i/144903-list-script-names.html)

MikeWarner January 3rd, 2011 12:51 PM

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.

Chuck S January 3rd, 2011 03:55 PM

Code:

Content visible to verified customers only.

MikeWarner January 4th, 2011 05:23 AM

Brilliant. Had to change it to this though:
Quote:

<vb:if condition="PP_SCRIPT == 'PP_Pro'">
Do This
</vb:if>
Thanks

Chuck S January 4th, 2011 08:40 AM

well yes of course if you are doing vbulletin stuff but you got the drift ;)

dakis June 19th, 2011 07:56 AM

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'">

Chuck S June 19th, 2011 10:02 AM

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.

dakis June 19th, 2011 05:06 PM

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. :)

Chuck S June 19th, 2011 05:24 PM

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.


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

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