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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

ReviewPost How do I...? Wondering how to do something in ReviewPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old June 14th, 2007, 10:14 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Variable question

I'm attemptng to get the standard vB navbar to disappear for logged-in users that are browsing reviewpost.

I've added to following code to header-inc.php, but for some reason, only latter part gets displayed. Is the variable I'm using not populated in that file? If not, is there another I could use?

Code:
Content visible to verified customers only.
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 10:34 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
How about trying $vbuserid will not know if it will work but thats the variable used in that file
__________________
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 June 14th, 2007, 10:41 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Worked like a charm! Is the variable for your username $vbusername?
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 10:44 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
I dont beleive that is defined anywhere
__________________
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 June 14th, 2007, 10:52 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
No problem. Can I use the same conditionals in the .tmpl templates?
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 10:53 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
The reviewpost templates you can use the normal conditionals in the program
__________________
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 June 14th, 2007, 11:31 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Great! I've gotten them to work in one of the two templates I edited.

Can I use this conditional:
Code:
Content visible to verified customers only.
?
MoMan2 is offline   Reply With Quote
Old June 14th, 2007, 11:37 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jan 2007
Posts: 61
Nevermind- I got it. It's rpindex, not index.

I needed the conditional becuase there was a strange space that I needed to get rid of on the index only.
MoMan2 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
Undefined variable: argv dcook8645 Photopost Pro Installation & Upgrades 1 October 29th, 2006 12:46 AM
Undefined variable error jtorral General Discussion 4 June 20th, 2006 08:15 PM
extra1name variable InterFX ReviewPost How do I...? 3 January 21st, 2006 01:05 PM
variable name changes in newer version? DavidMacLean Photopost Pro Installation & Upgrades 1 April 24th, 2005 07:59 AM


All times are GMT -5. The time now is 12:24 PM.

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