Go Back   FlashFXP Forums > > > >

! Requests Need a script or some sort of cool .bat file ? Ask here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-05-2005, 07:13 AM   #1
chruez
Junior Member
 
Join Date: Dec 2003
Posts: 7
Default [REQ] Advanced Rating/Recommend site command

Well I know that theres a recommend script outhere. Its pretty good. What I need now is a script that can be executed via site command:

site rate <release> <0-10>, where 0 is the worst, 10 the best

It should be possible to define sections where releases should be rated. It should be also possible to define a directory (e.g. /_rated/) where symlinks will be created for every rated release

/_rated/_section/[9]-[releasename]

Every user on the site with a special flag may execute the script and rate a release. The script should calculate the average rating for a release based on all the ratings done by the users for this special release. Of course every user is only allowed to rate a release once. He might change his former rating but not rate twice.

Puh. I hope its all clear what i need now. If anyone could code this, i would be more than thankful.

chruez is offline   Reply With Quote
Old 06-05-2005, 08:53 AM   #2
mentality
Junior Member
 
Join Date: May 2005
Posts: 14
Default

the one possible problem with the symlinks with avg ratings is they will keep changing, so will go out of date - unless user keeps refreshing dir.
mentality is offline   Reply With Quote
Old 06-05-2005, 09:10 AM   #3
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You could also work with subdirs like /_rated/_section/score/releasename where score could be higher (9-10), high (7-8), medium (5-6), low (3-4) or lower (0-2). Then the symlink wouldn't change its location that often.

You could also use the .ioFTPD.message files to display the scores on CWD instead or using the symlink itself. For example, when you would "CWD /_rated/_section/high/somexeample" you would see :

[racestats if relevant]

Rating:
user1 gave a 8 / 10 (reason)
user2 gave a 6 / 10 (reason)
user3 gave a 7 / 10 (reason)

Average: 7 / 10 (high)

With a better formatting of course but the idea is there.
Harm is offline   Reply With Quote
Old 06-05-2005, 10:54 AM   #4
thunk
Member
 
Join Date: Oct 2004
Posts: 37
Default

been wanting a SITE RECOMMEND myself too
but just without rating

like a

/recommend/ with possible section folder
which just keeps the latest 20 recommendations
and deletes one of its full and 1 more is added

ie

site recommend Artist-Album-CD-2005-GRP mp3

and customisable sections
would be great

thanks in advance for the one that will script this
thunk is offline   Reply With Quote
Old 06-05-2005, 06:31 PM   #5
chruez
Junior Member
 
Join Date: Dec 2003
Posts: 7
Default

thunk: such a script has already been coded. im using that atm and its working fine. but im requesting some "advanced" version of it. i can rate the albums i listened to this way without having to recommend only the best but also showing which albums are total crap

about the average ratings. hmm. maybe its useful to store the data in some kind of logfile on the hdd saving the user and the score he gave. just needs to be updated with every vote.

I really think that such a script might be a very good addition to the existing RIO. So please some skilled coder code it. I know a bit of scripting myself but this is just not my kind of business anymore, heh. Thanks in advance again.
chruez is offline   Reply With Quote
Old 10-09-2005, 08:16 AM   #6
chruez
Junior Member
 
Join Date: Dec 2003
Posts: 7
Default

Come on. Someone? :X
chruez is offline   Reply With Quote
Reply

Tags
command, rate, release, script, site

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:36 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)