PDA

View Full Version : [Smilie Rating System]


VSDan
01-14-2006, 05:21 AM
Description: This mod uses JavaScript / DHTML (borrowed from another author) to allow surfers to select rating using graphical slide-bar.

Demo: http://www.monster-submit.com/directory/rate.php?id=38
(live directory and live listing, so please do not rate unless you have visited the site first and you have an honest opinion)

Download: http://www.monster-submit.com/phpld/


To download this and other VS mods, please go here : VS phpLD Mods (http://www.monster-submit.com/phpld/)

PortProphecy
01-14-2006, 06:07 AM
Cool idea. But it looks screwy in Firefox.

VSDan
01-14-2006, 06:24 AM
I had a look using Firefox, and do not see any serious problems - except that the two boxes are of different sizes, so not properly aligned. Easy fix, which I will incorporate into final product.

VSDan
01-14-2006, 06:49 AM
Okay, I believe I got that issue fixed =)

gustotelmy
01-14-2006, 09:18 AM
COOL! :shock: :D nice work VSDAN u are the MAN! :P

VSDan
01-18-2006, 05:29 AM
[Smilie Rating System] Mod attached =)

anylink
01-18-2006, 09:00 AM
thanks will give her a go!

emptyspace
04-17-2006, 11:04 AM
is this free? what if I use more than 30 days and did not make a payment?

Brandon Sheley
04-18-2006, 09:46 AM
would like this, but I already paid for 3.0.. this should be in the script already ;)

anon
04-18-2006, 09:50 AM
Content visible to registered users only.
not really :)

Brandon Sheley
04-18-2006, 09:54 AM
lol.. well maybe not this one.. but a rating system of some sorts.. many other directory scripts have this ;) I'll check out the other rating mod

Regine
12-16-2006, 10:40 AM
I tried to install the rating inside my detail.php but by click on the "Rate" Link comes: Error : No ID passed

Average Rating: {$link.RATE} - I get no output for this form.

The changements inside the database and details.php (not links.php) and the configuration of rating.php (3.10) I have made.

What did I made wrong?

Regine
12-16-2006, 11:24 AM
OK, I changed the Rating-Link
from: <a href="{$smarty.const.DOC_ROOT}/rate.php?id={$link.ID}">
to: <a href="{$smarty.const.DOC_ROOT}/rate.php?id={$ID}">

Now I can rate the Website, the insert into the databasetables is correct. But I get no output at my detail-site.
You can see it here: /detail/link-2.html

Ich also changed the graphic-link
from <img src="/directory/images/15.gif" ...
to: <img src="{$smarty.const.DOC_ROOT}/images/15.gif"..

Now 10 grey stars are shown but {$link.RATE} does not work, I cannot find the mistake. Can anybody help me?

VSDan
12-16-2006, 10:09 PM
Hi Regine:

Can you send me access to your phpMyAdmin - to dan at monster-submit dot com

Regine
12-17-2006, 10:31 AM
Rob how can I turn off the sessions? I did not found a possibility - neither at the acp nor at the rate-mod.

VSDan
12-17-2006, 10:50 AM
Issue fixed =) I just had to change $link.RATE to $RATE in the detail.tpl template page - using FTP info you provided in email in addition to phpMyAdmin access information. If you implement in link.tpl (by default), you use $link.RATE. But, different templates sometimes use different template tags. The detail.tpl uses $RATE.

Regine
12-17-2006, 10:58 AM
Thank you very much, Dan - I was shure that it was a link problem because the detail.tpl but I was not able to identify it.

VSDan
12-17-2006, 11:17 AM
Hi Regine:

You're welcome, always happy to help =)