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 March 12th, 2006, 10:53 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Montreal, Canada
Posts: 161
Call a vbulletin variable in PP?

Can I use a vb variable in this fashion? I tried to use the following statement in a PP template:
Code:
Content visible to verified customers only.
The result is that I get both a and b so it doesn't appear to recognize my condition.

I currently have it set so that PP is displayed in the language of the user's VB selection by doing this in config-inc (if this is of any use in helping solve the above problem):
Code:
Content visible to verified customers only.

Last edited by DannyITR; March 12th, 2006 at 10:59 PM.
DannyITR is offline   Reply With Quote
Old March 13th, 2006, 10:15 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
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 March 15th, 2006, 08:45 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Montreal, Canada
Posts: 161
Hi Chuck,

I used your code but the result is I just end up seeing that code on the page. It doesn't seem to recognize it at all.
DannyITR is offline   Reply With Quote
Old March 17th, 2006, 06:18 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Okay well nothing else to suggest as I dont know how your applying it but what I posted was a simple if else clause like we use all around Photopost.
__________________
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 March 18th, 2006, 11:34 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Montreal, Canada
Posts: 161
All I did was copy and paste your code into my showgallery template and I'm using it to show a banner depending on the language chosen. Does this help at all?
DannyITR is offline   Reply With Quote
Old March 18th, 2006, 11:48 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,943
Try altering your vb3.php file to pull the users language selection and define it so you can use it in the $User array.

That would be the proper way to do things you can post in the mod forum if you are unable to modify your code how you want and see if someone wants to assist you.
__________________
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
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
Category Owner Variable ConqSoft How Do I? - vBulletin 3.0.X 4 March 30th, 2005 09:09 AM
Notice: Undefined variable: ppperpage in <---Help? box1234 ReviewPost Installation & Upgrades 1 July 1st, 2004 04:51 PM


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

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