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 Classifieds Support > Classifieds How do I...?

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

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 27th, 2006, 04:08 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Posts: 113
Display "contact seller" only to logged in users?

I would like to hide the "contact seller" link when a user is not logged in.

Basically, I would like only users who are logged in to see the "contact seller" link.

If this is not possible, I would like to remove the link all together.

Any help would be appreciated.

Thanks.

(BTW, I'm aware that only logged in users can use this feature)
openfire is offline   Reply With Quote
Old October 27th, 2006, 07:51 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Try surrounding your $postreview line with 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 offline   Reply With Quote
Old November 5th, 2006, 05:53 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Posts: 113
Chuck, that didn't work... I got:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/*/*/*/*******/html/templates/vb3enhanced/showproduct.tmpl on line 86
openfire is offline   Reply With Quote
Old November 5th, 2006, 03:09 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,666
Code:
Content visible to verified customers only.
I dont understand how you can have a parse error if you edit the correct file It is showproduct.php
__________________
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 November 6th, 2006, 07:36 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Sep 2006
Posts: 113
Thanks Chuck! That worked.

Silly me, I was editing the template, not the .php!
openfire 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
unregistered users & contact seller feature Dave Lilley Classifieds Suggestions 2 May 21st, 2005 10:32 PM
Automatically set "comment updates" on for a seller benFF Classifieds Suggestions 0 April 9th, 2005 02:35 PM
Enclose "Images in category" and "display options" in a conditional tag? rbl How Do I? - vBulletin 3.0.X 2 January 15th, 2005 11:50 AM


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

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