PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   THIS SCRIPT name = what for photopost? (http://www.photopost.com/forum/photopost-pro-how-do-i/123266-script-name-what-photopost.html)

DannyITR February 22nd, 2006 11:46 PM

THIS SCRIPT name = what for photopost?
 
if I want to specify the photopost script like so:
if (THIS_SCRIPT == 'blah blah')...what would I put for the name of the script?

I want it to comprise all photopost pages. The alternative would be to exclude all VB forum pages. The goal is to get a "forums" link in my navbar in the gallery but not in the forums.

Crow February 23rd, 2006 12:16 AM

photopost pro is ( 'THIS_SCRIPT', "ppindex" );
reviewpost is ( 'THIS_SCRIPT', "rpindex" );

mind you this is only for the index's

Chuck S February 23rd, 2006 09:15 AM

Crow

Each php script has a name. This is so you can use conditionals to do certain things since the scripts are defined.

DannyITR February 23rd, 2006 10:20 AM

Quote:

Originally Posted by Crow

mind you this is only for the index's


I'd need this to include all PP pages.

What are the names of the other scripts that I would need to include?

Crow February 23rd, 2006 11:04 AM

Quote:

Originally Posted by Chuck S
Crow

Each php script has a name. This is so you can use conditionals to do certain things since the scripts are defined.

Quote:

Originally Posted by Crow
mind you this is only for the index's



Quote:

Originally Posted by DannyITR
I'd need this to include all PP pages.

What are the names of the other scripts that I would need to include?

Each page has its own.. just look in all the .php files and you'll see each one.

Chuck S February 23rd, 2006 11:38 AM

You would use those conditionals to specify something to appear or an action to be taken if the script name is equal to the script name.


All times are GMT -5. The time now is 08:44 PM.

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