This is a discussion on Modification: Rating Module within the v3.1 Modules & Modifications forums, part of the v3.1 Legacy Help & Support category; The rating module allows site visitors to review listings or members. Click here to view the full details. If you ...
|
|||||||
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
Quote:
If you have any questions or need support with this modification please reply below. |
|
#2
|
||||
|
||||
|
A bug has been reported where the module wasn't sending out emails.
I have now uploaded a new version v1.2 and you can download this from the following location: http://www.68classifieds.com/documen.../Rating_Module
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#3
|
||||
|
||||
|
Eric,
I just noticed that when you go to add a review when you are not logged in you are taken to your startup page rather than the page you are wanting to review (http://www.68classifieds.com/modific...g.php?view=30). Is this able to be changed easily ... as I found it a tad frustrating having to backtrack/find the page I was wanting to review. sleepy |
|
#4
|
|||
|
|||
|
I'm implementing the rating's module and would like to restrict ratings to only registered users. The instructions detail how to do this
Code:
If you would like to restrict reviews to only registered users you could open the
template file member_rating.tpl.php and add this:
{if $smarty.session.username<>""}
{$smarty.const.LANG_WRITE_REVIEW}</a>
{else}
Please login to add a review.
{/if}
|
|
#5
|
||||
|
||||
|
That should be located at: modules/member_rating/templates/member_rating.tpl.php
Each module can have its own template folder that way everything dealing with that module is in one place.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#6
|
|||
|
|||
|
Ah, so it's not in the overall templates folder, and not accessible via the admin section of the Web site.
I did find the proper template, added the code, and it appeared on the site. However it did nothing to stop someone from submitting an anonymous review. It just said "please login to add a review" but didn't force a login. |
|
#7
|
||||
|
||||
|
Could you tell me if you reproduce this problem ?
In member rating, even if 'approved' is 'N' (I've asked for a manual validation), the comments are displayed without any action. Pascal
__________________
68classifieds (V4.0.9Developer) |
|
#8
|
||||
|
||||
|
In fact, the problem occured only with 'member rating', not with 'listing rating'.
I think I've fixed this bug : in 'modules/member_rating/mod_user.php' please replace : Code:
$sSQL = "SELECT id,added,person,review,score FROM ".PREFIX."rating WHERE uid=".$member." ORDER BY added DESC"; Code:
$sSQL = "SELECT id,added,person,review,score FROM ".PREFIX."rating WHERE uid=".$member." AND approved='Y' ORDER BY added DESC"; Pascal
__________________
68classifieds (V4.0.9Developer) |
|
#9
|
|||
|
|||
|
Seemed like a good plan rommarcq but your change didn't work for me either.
The result was that I couldn't post either a listing or a member review and it didn't matter if I was logged in or not. Oh well, I guess I'll just need to hold off with the "member rating" until another fix is identified. A listing rating is definitely cool in the mean time. ![]() - Fletch |
|
#10
|
|||
|
|||
|
Also thought you guys would be interested that as soon as I put the original mod_user.php file back in, all the test user reviews I put in showed up. But now the listing doesn't accept reviews. Eek!
I think we need some more detailed instructions on implementing this particular mod. I haven't had this much trouble with any of the other mods. ![]() - Fletch |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Modification: RSS Feed Module | juven14 | v3.1 Modules & Modifications | 68 | 08-22-2008 11:01 AM |
| Modification: Users Online Module | juven14 | v3.1 Modules & Modifications | 30 | 07-02-2008 10:59 AM |
| Seller Rating Modification | Jake | Pre Sales Questions | 2 | 10-25-2006 12:14 PM |