Support Forums

Module - Rating Mod

This is a discussion on Module - Rating Mod within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Rating Module The rating module allows users to review listings or members. Requirements Minimum 68 Classifieds version 4.0.0 Instructions Download ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 02-29-2008, 12:49 PM   #1
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,493
Rep Power: 132
Eric Barnes is just really nice Eric Barnes is just really nice
Default Module - Rating Mod

Rating Module
The rating module allows users to review listings or members.

Requirements
Minimum 68 Classifieds version 4.0.0

Instructions
Download the zip file and upload it to your modules directory. Next visit administration -> manage modules -> regenerate.

Version History
  • V1 - First Release
Instructions

For member rating add the following code in your member.tpl file
Code:
{assign var="rating" value=$smarty.const.FILESYSTEM_PATH}
{include file="$rating/modules/member_rating/templates/member_rating.tpl"}
For listing rating add the following code in your viewlistings.tpl file:
Code:
{assign var="rating" value=$smarty.const.FILESYSTEM_PATH}
{include file="$rating/modules/member_rating/templates/listing_rating.tpl"}


Download
Attached Files
File Type: zip member_rating.zip (14.2 KB, 125 views)
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 03-08-2008, 01:22 PM   #2
Member
 
Join Date: Oct 2007
Posts: 60
Rep Power: 14
ksuralta is on a distinguished road
Default Member review/rating not appearing

Member review/rating doesn't show up. Although, the ratings module admin can see it.

Ads review/rating works fine.
__________________
Kenneth
http://www.phlist.com
v4.0.8 Developer + Custom Template
ksuralta is offline   Reply With Quote
Old 03-09-2008, 01:10 AM   #3
Member
 
Join Date: Oct 2007
Posts: 60
Rep Power: 14
ksuralta is on a distinguished road
Default

Quote:
Originally Posted by ksuralta
Member review/rating doesn't show up. Although, the ratings module admin can see it.

Ads review/rating works fine.
Found the probem. There's no call_hook() call in viewmember.php.

Added in viewmember.php
$modules->call_hook('viewmember', $member); // Call any module functions

This fixed the problem.
__________________
Kenneth
http://www.phlist.com
v4.0.8 Developer + Custom Template
ksuralta is offline   Reply With Quote
Old 03-28-2008, 07:29 PM   #4
Junior Member
 
Join Date: May 2007
Posts: 5
Rep Power: 0
teddybear69 is on a distinguished road
Default

Where in each of the files do you put those additional lines?

Also, what directory is member.tpl? I did not find it in the root directory.
teddybear69 is offline   Reply With Quote
Old 04-01-2008, 11:59 AM   #5
Junior Member
 
Join Date: May 2007
Posts: 5
Rep Power: 0
teddybear69 is on a distinguished road
Default Updated file

I figured out how to modify in the feature to make it to where you have to log in to add a rating and uploaded the new member_rating.tpl file for all. This script works GREAT!!!
Attached Files
File Type: zip member_rating.zip (767 Bytes, 46 views)
teddybear69 is offline   Reply With Quote
Old 08-21-2008, 02:33 PM   #6
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 11
centinel3 is on a distinguished road
Default ioncube loader issue

I uploaded the rate listing mod and am getting an ioncube loader error.

chris
centinel3 is offline   Reply With Quote
Old 08-26-2008, 08:48 AM   #7
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,073
Rep Power: 32
bowers01 is on a distinguished road
Default

What is the error?
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 08-26-2008, 09:31 AM   #8
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 11
centinel3 is on a distinguished road
Default This is the error I got

I contacted the civilized group and haven't heard back whether they think it's on their end or not. I did end up getting the review to work for the listings themselves, but when I tried to make it work for the member, I got the error below. Imo listings come and go and really want to have reviews for the user rather than what they are selling.

The error was this:

The file:
/home/beingpro/public_html/closeoutfloorsamples/modules/civ_stop_incomplete
_listings/mod_user.php has been encoded with the ionCube PHP Encoder and
requires the free ionCube PHP Loader to be installed.

chris
centinel3 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 05:10 AM.


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