xoops forums

altenergy

Just popping in
Posted on: 2007/11/11 13:22
altenergy
altenergy (Show more)
Just popping in
Posts: 44
Since: 2007/7/17
#1

reddit module

I've seen Weblinks module, in which the user gets to give the link a rating, but I'd like a module that gives the users the option to give a link +1 or -1, like reddit.com

Anybody knows what I'm talking about?(;

altenergy

Just popping in
Posted on: 2007/11/12 11:40
altenergy
altenergy (Show more)
Just popping in
Posts: 44
Since: 2007/7/17
#2

Re: reddit module

Bump... I need help...

altenergy

Just popping in
Posted on: 2007/11/20 15:42
altenergy
altenergy (Show more)
Just popping in
Posts: 44
Since: 2007/7/17
#3

Re: reddit module

Bump again...

BlueStocking

Home away from home
Posted on: 2007/11/20 22:50
BlueStocking
BlueStocking (Show more)
Home away from home
Posts: 1191
Since: 2007/2/16
#4

Re: reddit module

altenergy,

A quick glance show a rating key on each link here.
[Last Update: 2007/7/13 | Hits: 30 | Rating: 0.00 | More Details]

Technical Crew Network Link Directory

Maybe they can help you.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

altenergy

Just popping in
Posted on: 2007/11/21 12:55
altenergy
altenergy (Show more)
Just popping in
Posts: 44
Since: 2007/7/17
#5

Re: reddit module

Thanks, but thats not what I was looking for. I'd like the users not to rate the website from 1 to 10, but to say if they like it or not.

nachenko

Quite a regular
Posted on: 2007/11/21 13:04
nachenko
nachenko (Show more)
Quite a regular
Posts: 356
Since: 2005/1/18
#6

Re: reddit module

Edit the template so there are only two choices, 0 (no) and 1 (yes).

lintu

Not too shy to talk
Posted on: 2007/11/21 16:29
lintu
lintu (Show more)
Not too shy to talk
Posts: 103
Since: 2005/9/18
#7

Re: reddit module

Hi,

Here is how I did it on the weblinks page -

1) Added two buttons with the following links

/modules/weblinks/ratelink.php?lid=<{$link.lid}>&rating=10&submit=yes

/modules/weblinks/ratelink.php?lid=<{$link.lid}>&rating=-1&submit=yes

2) Modified the ratelink.php page to retrieve the URL parameters and record the vote.

You can see it here

Hope this helpes.

Regards,
Abu
JigJak.com - A social Bookmarking & Blogging site.

ProjectMgr.net - Online Project Management Software