![]() |
|
|||||||
| 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
|
||||
|
||||
|
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 Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog |
|
#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 Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog |
|
#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 (V3.1.7 Developer) |
|
#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 (V3.1.7 Developer) |
| Thread Tools | |
| Display Modes | |
|
|
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 |