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 March 20th, 2005, 10:23 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
how do I allow more than one review?

I want my site viewers to be able to post more than one review for a single "product". Right now RP does not enable this feature. I tried looking through the admin options and couldn't find anything. Is there some code I can edit to make this so (I don't feel like doing the searching )
Ginger2 is offline   Reply With Quote
Old March 21st, 2005, 07:54 AM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You would have to modify the code to remove the one review restriction; something that falls outside the scope of support offered here.

If you look for the code in reviews.php that checks for a previous review and comment it out, then you should be able to post multiple reviews. Might I suggest http://www.photopostdev.com as the resource for discussing code modification which are not covered by PhotoPost support.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old March 21st, 2005, 09:52 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 106
Can I suggest this be added to the suggestions list for RP3? I would expect it to either allow multiple reviews by the same member by default (since reviews are often used like a message board with interaction between members e.g. comments on reviews) or have a switch to turn it on/off.
Personally I would expect the majority of boards to activate it.
Tom1234 is offline   Reply With Quote
Old March 21st, 2005, 11:50 AM   #4 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
I agree, would be nice to be an option. My users are rating hotels, on many ocassions they would stay more than once.

I was kind of hoping you would point me to the correct line of code...guess I'll try the other board.
Ginger2 is offline   Reply With Quote
Old March 21st, 2005, 12:45 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 41
For anyone who wants to do this, I figured it out. Just comment out the below section around line 137 in review.php:

// Did they already rate?
/*if ( empty($cedit) ) {
$query = "SELECT id, rating FROM {$Globals['rp_db_prefix']}reviews WHERE product=$product AND userid={$User['userid']}";
$resultb = ppmysql_query($query,$link);

$alreadyrated = 0;
while( list( $rateid, $checkrating ) = mysql_fetch_row($resultb) ) {
if ( $rateid > 0 ) {
diewell( $Globals['pp_lang']['dupe'] );
}
}
ppmysql_free_result($resultb);
}*/
Ginger2 is offline   Reply With Quote
Old April 3rd, 2005, 03:54 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Sep 2003
Posts: 106
I don't think just commenting out that block does it. I think you need to comment out this one too:

if ( $checkid > 0 ) diewell( $Globals['pp_lang']['dupe'] );

Last edited by Tom1234; April 3rd, 2005 at 04:03 AM.
Tom1234 is offline   Reply With Quote
Old June 7th, 2005, 11:51 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2005
Posts: 103
Question

What does "commenting out" mean??? How would I do it?

Please reply soon.

Thanks,
Carolyn

Candle Find - The Site for Candle Lovers!
http://www.candlefind.com
candlefind 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
Combine the review and ratings all in one when submitting a new review indiamike ReviewPost Suggestions 1 September 10th, 2005 10:42 AM
Can't edit my review...need help! candlefind ReviewPost How do I...? 4 June 7th, 2005 08:40 PM
RP review moderation Tom1234 ReviewPost Bug Reports 10 March 21st, 2005 02:32 PM
Where's the review button? Jakob ReviewPost Installation & Upgrades 3 November 22nd, 2004 03:44 PM


All times are GMT -5. The time now is 03:43 PM.

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