68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Modules
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.1 Modules A forum for discussions, questions, implementation and development of modules. Questions here are beyond "typical" 68classifieds support and not supported by the 68classifieds team.

 
Thread Tools Display Modes
  #1  
Old 05-24-2006, 10:25 AM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,256
Post Modification: Rating Module

Quote:
The rating module allows site visitors to review listings or members.
Click here to view the full details.

If you have any questions or need support with this modification please reply below.
Reply With Quote
  #2  
Old 06-12-2006, 12:39 PM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,256
Default

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
Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog
Reply With Quote
  #3  
Old 06-12-2006, 05:51 PM
sleepy sleepy is offline
Senior Member
 
Join Date: Mar 2006
Posts: 110
Default

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
Reply With Quote
  #4  
Old 06-16-2006, 10:49 AM
e1m2j e1m2j is offline
Member
 
Join Date: Jun 2006
Posts: 59
Default member_rating.tpl.php

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}
But I can't find the member_rating.tpl.php template anywhere (I'm using Default).
Reply With Quote
  #5  
Old 06-16-2006, 10:51 AM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,256
Default

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
Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog
Reply With Quote
  #6  
Old 06-19-2006, 05:06 PM
e1m2j e1m2j is offline
Member
 
Join Date: Jun 2006
Posts: 59
Default

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.
Reply With Quote
  #7  
Old 06-25-2006, 05:38 AM
frommarcq frommarcq is offline
Member
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 75
Default comments displayed when 'approved' is on 'No'

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 (V3.1.7 Developer)
Reply With Quote
  #8  
Old 06-26-2006, 11:21 AM
frommarcq frommarcq is offline
Member
 
Join Date: Mar 2006
Location: Lille (France)
Posts: 75
Default

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";
with :
Code:
$sSQL = "SELECT id,added,person,review,score FROM ".PREFIX."rating WHERE uid=".$member." AND approved='Y' ORDER BY added DESC";
I hope the code is correct...

Pascal
__________________
68classifieds (V3.1.7 Developer)
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modification: RSS Feed Module juven14 v3.1 Modules 46 08-01-2007 03:15 PM
Modification: Users Online Module juven14 v3.1 Modules 18 06-04-2007 06:06 PM
Seller Rating Modification Jake Pre Sales 2 10-25-2006 11:14 AM


All times are GMT -4. The time now is 06:04 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.