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 October 11th, 2005, 09:06 AM   #1 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
ReviewPost 'Post a Review' Question

Currently we have ReviewPost set up to only allow registered users to post reviews. We are also using the Customer Service template set. When a person is unregistered and/or not logged in, the 'post a review' link doesn't appear and the 'post a reply' link if there is a preexisting review goes to a message about not having permissions to post.

We'd like for the 'post a review' link to show up when folks aren't logged in and when clicked on take them to the login page to login or register (and something similar for the 'post a reply' link).

Is there an admin switch to show the link regardless of if the user is logged in?

If not, is there an edit we can do that would accomplish the above? If so, where should we look and in what file?

Thanks.
WB is offline   Reply With Quote
Old October 11th, 2005, 09:58 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
remove the code in bold in showproduct.php

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 October 11th, 2005, 10:19 AM   #3 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Thanks.

The link is now showing for unregistered users but when I click on it I get:

You don't have permission to post reviews for products in this category.

since unregisteed users can't post. We'd rather it go to the login page.

Is there a way to make it go to the login page so a user has to login or register?
WB is offline   Reply With Quote
Old October 11th, 2005, 10:45 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
You would need to modify your reviews.php file and modify the diewell message and possibly replace it with a forward to the login page
__________________
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 October 11th, 2005, 12:54 PM   #5 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Thanks.

Is there an example some place in the code so that I can see what a forward/redirect might look like?

I think I see the diewell message that needs to be edited:

if ( $CatPerms['ugpost'][$thiscat] == 1 || $userreview == 0 ) {
diewell( "{$Globals['pp_lang']['nopost']}" );

but not quite following what the syntax for the forward to the login page would be so if there's an example that would help.

Thanks.
WB is offline   Reply With Quote
Old October 11th, 2005, 01:26 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Instead of the diewell try placing a forward there
__________________
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 October 11th, 2005, 01:29 PM   #7 (permalink)
WB
Member
Verified Customer
 
Join Date: Jan 2002
Posts: 265
Thanks.

I think I found an example in member.php to serve as a template for the forward.

Last edited by WB; October 11th, 2005 at 01:57 PM.
WB is offline   Reply With Quote
Old October 11th, 2005, 03:12 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,947
Yep forward examples all over
__________________
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
Review Post: Review Other then products mindcry ReviewPost How do I...? 1 October 15th, 2005 05:05 PM
Review Post Question digitalninja42 ReviewPost How do I...? 2 October 15th, 2005 09:56 AM
Allowing a reply to a review in ReviewPost 2.9? petr55 Photopost Pro How Do I...? 0 April 4th, 2005 05:54 PM
Review Post Question jch02140 Before You Buy 1 January 28th, 2005 09:20 AM
Help - review post - problem CHAUDUN FABIENNE General Discussion 2 December 16th, 2004 01:50 PM


All times are GMT -5. The time now is 11:19 PM.

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