Support Forums

ratings module problem

This is a discussion on ratings module problem within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hey... I just "installed" the ratings module into my 4.1.6 following the instructions as stated. Nothing happens on the front ...


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

Reply
 
Thread Tools Display Modes
Old 11-07-2009, 09:57 PM   #1
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 12
guillopuig is on a distinguished road
Default ratings module problem

Hey...

I just "installed" the ratings module into my 4.1.6 following the instructions as stated.

Nothing happens on the front side. I do see the modules in the admin.

Have I done something wrong on the install?

Have I added the code in the wrong part of the listing.tpl file?

Please advice.
guillopuig is offline   Reply With Quote
Old 11-07-2009, 10:04 PM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by guillopuig
Have I done something wrong on the install?

Have I added the code in the wrong part of the listing.tpl file?
Since you didnt share with us exactly what you did on the install, what you edited in the listing template file or what version of the rating mod you downloaded how can anyone here be certain what the problem is.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 11-07-2009, 10:12 PM   #3
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 12
guillopuig is on a distinguished road
Default

Quote:
Originally Posted by Lhotch
Since you didnt share with us exactly what you did on the install, what you edited in the listing template file or what version of the rating mod you downloaded how can anyone here be certain what the problem is.


Larry, thank for your reply.

I did exactly as the install instructions state.

I uploaded the ratings folder to the modules folder. I then activated the module from the admin module settings.

I then included the following code

Listing Rating

For listing rating add the following code in your viewlistings.tpl file

{assign var="rating" value=$smarty.const.FILESYSTEM_PATH}{include file="$rating/modules/rating/templates/listing_rating.tpl"}

and...

Restrict to Registered Users

If you would like to restrict reviews to only registered users you could open the template file rating.tpl and add this:

{if $smarty.session.username<>""}{$smarty.const.LANG_W RITE_REVIEW}{else}Please login to add a review.{/if}



Though I wasn't completely sure where to add the before mentioned code.

let me know what you think.

Thank again...
guillopuig is offline   Reply With Quote
Old 11-07-2009, 10:36 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,489
Rep Power: 135
Eric Barnes is just really nice Eric Barnes is just really nice
Default

One thing to check is that you are actually using viewlisting.tpl and not viewlisting2.tpl. Add the same code to it as well to check if that is the reason.

Another thing is to make sure you edit the template in your template set (if it has one).
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 11-08-2009, 08:43 AM   #5
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by guillopuig
Larry, thank for your reply.

I did exactly as the install instructions state.

I uploaded the ratings folder to the modules folder. I then activated the module from the admin module settings.

I then included the following code

Listing Rating

For listing rating add the following code in your viewlistings.tpl file

{assign var="rating" value=$smarty.const.FILESYSTEM_PATH}{include file="$rating/modules/rating/templates/listing_rating.tpl"}

and...

Restrict to Registered Users

If you would like to restrict reviews to only registered users you could open the template file rating.tpl and add this:

{if $smarty.session.username<>""}{$smarty.const.LANG_W RITE_REVIEW}{else}Please login to add a review.{/if}



Though I wasn't completely sure where to add the before mentioned code.

let me know what you think.

Thank again...
No need to reiterate the installation instructions, thats easy enough for people to find out its the little details we dont know.

You said the directions said to edit viewlistings.tpl but in what folder and what template set are you using. As Eric eluded to the little details of exactly what you did beyond "following the directions" is what allows people to have a glimpse at your scenario.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 11-09-2009, 10:43 AM   #6
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 12
guillopuig is on a distinguished road
Default

Thank you Larry & Eric... I guess I was using viewlisting2. I added the code to both files and it is now showing the review section above the listing.

I am able to see the review section in the listing. 3 things I need to address.

1. Change the language of the module title on the front side
2. When I click on "write a Review", it does not do anything.

3. How can I place the review under the listing itself instead than above the listing. (placing the code elsewhere on viewlisting file? NREVER MIND>>> THIS IS DONE BY PLAACING WHERE U WANT ON THE .tpl file.


Thank you!

Last edited by guillopuig; 11-09-2009 at 10:48 AM.
guillopuig is offline   Reply With Quote
Old 11-09-2009, 10:51 AM   #7
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by guillopuig
1. Change the language of the module title on the front side
There may be a language file in the module that you can manually edit, if not, then you can edit the module templates just like you would the 68C templates to alter the text in them.

Quote:
Originally Posted by guillopuig
2. When I click on "write a Review", it does not do anything.
Where did you download the module from? Sometimes there are links to old modules here in the forum that down work with the newer versions of 68C, this is why I asked you what module version you are using but you never answered that question.


Quote:
Originally Posted by guillopuig
3. How can I place the review under the listing itself instead than above the listing. (placing the code elsewhere on viewlisting file?
The line of code you added to your template is in essence more html so where you place it in your template will have a direct impact on where it displays in the page.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 11-09-2009, 11:00 AM   #8
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 12
guillopuig is on a distinguished road
Default

I downloaded the module from the module section on 68Classifieds website. I believe it is version v1.7 - August 13, 2009. here is the link i used: ClassifiedMods Rating Module

This is the link that appears on "Write a Review": javascript:writereview()



the module does contain a language folder, but the file in it does not contain the word shown in the front page... i'll try the template.

Last edited by guillopuig; 11-09-2009 at 11:04 AM.
guillopuig is offline   Reply With Quote
Old 11-09-2009, 11:49 AM   #9
curmudgeon
 
Join Date: Mar 2006
Posts: 5,413
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by guillopuig
This is the link that appears on "Write a Review": javascript:writereview()
I dont totally follow what you are saying in the quote above.

What appears inline with the ad itself? just the words Write a Review or do you see the javascript peice as well?

What happens when you click the link?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 11-09-2009, 11:54 AM   #10
Customer
 
Join Date: Oct 2009
Posts: 202
Rep Power: 12
guillopuig is on a distinguished road
Default

when I right click in the "write a Review" link and go to properties the supposed action or link that it follows is javascript:writereview()

it appears like if it were a link but it doesnt do anything when clicked.

please see the actual listing: PRanuncia.com Casa 4 cuartos en tremenda ubicacion!
guillopuig is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
V4.1.x Review module email problem MrGForce Modules / Plugins / Modifications 0 07-27-2009 12:25 PM
Problem with Horizontal CSS Listings module kayfi Technical Support 2 05-22-2009 08:57 AM
Ratings Module Not Working bullionman Technical Support 8 05-21-2009 08:28 PM
Maffo Search Module - Problem Help Needed bowers01 Technical Support 2 09-11-2008 02:41 AM
Problem with zip module - 68C Ver. 4 kosherkush Modules / Plugins / Modifications 1 08-10-2008 05:18 PM


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


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