Go Back   FlashFXP Forums > > > >

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-13-2004, 05:56 AM   #1
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default RIO release 1

It has, in my experience, become harder and harder to find the good stuff among the growing amount of releases. This script lets users on your site recommend stuff they think is worth checking out.

How it Works
==========
A user on your site downloads a smart tool and wants other people to know about it. All the user has to do is go to the parent dir of the release and do 'SITE RECOMMEND <dirname>'. Depending on your configuration a symlink is created looking something like '/RECOMMENDED/<user>/<section>/<release>', where <user> and <section> are optional and <release> is configurable. It is also possible to get bot announces using dZSBot.

Well, umm, I guess that's basically it. This script is available to all foundation licensees.

-- laShan
laShan is offline   Reply With Quote
Old 02-13-2004, 06:01 AM   #2
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

I've tested it and it works very well. Thanks.
Zer0Racer is offline   Reply With Quote
Old 02-13-2004, 06:38 PM   #3
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default RIO release 2

Ok, I've updated RIO (or rather the installation instructions ) for ioBanana support. Since no changes were made to any of the scripts, you don't need to download the script again, only follow these instructions:

Search for 'set disable(NEWLEADER)'. After that line add:
set disable(RECOMMEND) 0

Next, search for 'set variables(NEWLEADER)' after that add:
set variables(RECOMMEND) "%pwd %release %username"

Next, you need to edit your skin file, and do this:

Do a search for 'set announce(NEWLEADER)', after that line add:
set announce(RECOMMEND) "-:[b]:[b] recommendation [b]:[b]:- [b]%release[b] (%pwd) was recommended by [b]%username[b]"

-- laShan
laShan is offline   Reply With Quote
Old 02-14-2004, 11:04 AM   #4
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default RIO release 3

Non-existing user and section dirs are now automatically created when needed. Upgrade to r3 is recommended for all users of the previous versions.
laShan is offline   Reply With Quote
Old 02-18-2004, 06:01 PM   #5
ferran
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 54
Default

found a bug...

if you recommend a folder with spaces in it like

Random Artist - random album (ep) (1999)

it won't create the correct folder in /Recommended

it will create just a folder with name "Random", but not the album name years.. etc..

and also the symlink it creates it's broken too... it points to nowhere
ferran is offline   Reply With Quote
Old 02-19-2004, 02:55 AM   #6
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default

Ok, thx Will take a look at that. I honestly didn't even think of trying the script with dirs that has spaces in them. Expect an updated script soon.
laShan is offline   Reply With Quote
Old 02-19-2004, 03:29 AM   #7
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default

Ok, an updated version of RIO is now available to all Foundation Licensees. The new version supports dirnames with spaces. There's no need to upgrade if you don't need this added functionallity.

To upgrade, replace all files, except init.itcl, with the new ones. Get the script here.
laShan is offline   Reply With Quote
Old 02-19-2004, 04:09 AM   #8
ferran
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2003
Posts: 54
Default

thanks a lot.

very fast support
ferran is offline   Reply With Quote
Old 04-22-2004, 02:58 AM   #9
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default RIO r5

RIO now supports the 'site wipe -r' switch.
laShan is offline   Reply With Quote
Old 05-26-2004, 07:59 AM   #10
karmacoma
Junior Member
 
Join Date: Sep 2002
Posts: 27
Thumbs up Nice script

Very nice script, but i can't get it to work properly.

It creates a dir for the user and for the correct section, but then no link to the recommended release is created.

It looks like this in the log:

--------------------------------------------05-26-2004 14:56:28 "..\scripts\RIO\RIORecommend.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
bad option "-=somesection=--somrelease": must be -directory, -join, -nocomplain, -path, -tails, -types, or --
while executing
"glob -nocomplain -directory $RIOWDir $section-$release"
(procedure "RIO_Recommend" line 48)
invoked from within
"RIO_Recommend"
(file "..\scripts\RIO\RIORecommend.itcl" line 78)

I feel totally clueless.. i hope somone can help?
karmacoma is offline   Reply With Quote
Old 06-03-2004, 09:45 AM   #11
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default

karmacoma, the problem is the dirname you're trying to recommend. Because it starts with - it's interpreted as an option, and that's why it fails. Try recommending a dir that starts with as letter or a number and it should work.
laShan is offline   Reply With Quote
Old 02-09-2005, 10:54 AM   #12
ioUSER
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Jul 2004
Posts: 98
Default

hmm... here it doesnt work too... sinc i installed it the nuke command also fails... somethings wrong with my config? i use ioA, ioBanana & RiO
ioUSER is offline   Reply With Quote
Old 02-23-2005, 06:09 AM   #13
laShan
Member
ioFTPD Foundation User
 
Join Date: Feb 2004
Posts: 46
Default

I need some sort of information of how it fails in order to try to help you. If you could post some details on what goes wrong, that would help a lot.
laShan is offline   Reply With Quote
Reply

Tags
recommend, release, script, site, user


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
keep downloading files in queue? dR7Ma General Discussion 8 06-10-2005 03:28 AM
how to change F8 to something else? Gary King General Discussion 1 11-10-2004 07:03 PM


All times are GMT -5. The time now is 12:20 PM.

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