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 May 2nd, 2006, 07:32 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Defining logged in user vs not logged in in PP?

Okay, got a PP with vbulletin. Would like to define something like this:

<if NOT logged in then

<this code>

<else>
<this code>
</endIF>

in Photopost template? The showphoto template in particular?

Thanks
DefenceTalk.com is offline   Reply With Quote
Old May 2nd, 2006, 08:04 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
well you need to use a normal if else clause like maybe this

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 online now   Reply With Quote
Old November 14th, 2006, 09:03 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
This didn't work for me...

In addition to that, can you define various usergroups as well along with logged in /not logged in?

thanks
DefenceTalk.com is offline   Reply With Quote
Old November 14th, 2006, 09:15 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
what works well for what your asked
__________________
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 November 15th, 2006, 03:35 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Would having tables and cells in/around that code make any difference?
DefenceTalk.com is offline   Reply With Quote
Old November 16th, 2006, 12:16 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
No you can place whatever html you want where noted. The conditional clause is one used in Photopost and will load different html based on logged in and logged out
__________________
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 November 17th, 2006, 11:19 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2005
Posts: 387
Question

Well, i get this error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/defence/public_html/pictures/templates/vb3enhanced/feature.tmpl on line 128

This is the code that I am trying to use in feature.tmpl



Code:
Content visible to verified customers only.
DefenceTalk.com is offline   Reply With Quote
Old November 17th, 2006, 11:24 AM   #8 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
Code:
Content visible to verified customers only.
You are missing a close to the echo.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old November 17th, 2006, 11:24 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,653
correct and you should

You need to echo out your html hense if your switching out or placing this inside an html area do this

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 online now   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
IE + logged in user --> The page cannot be displayed zoque Installs and Upgrade - vBulletin 3.5.X 14 March 23rd, 2006 09:30 AM
Logged in, but not logged in kaufmanb777 Photopost Pro Installation & Upgrades 2 February 9th, 2006 05:37 PM
Logged Out stitch Installs and Upgrade - vBulletin 3.0.X 2 February 15th, 2005 12:49 PM


All times are GMT -5. The time now is 06:32 PM.

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