Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-05-2004, 04:14 PM   #31
PopWeasel
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2004
Posts: 181
Default

Doesn't seem to be working properly:

1:25:46 PM > site gadduser trial testtrial testtrial *@*
1:25:46 PM 200 gadduser Command successful.
1:31:15 PM > site trial testtrial
1:31:16 PM 200 Command successful.
...
1:42:54 PM > site deluser testtrial
1:42:54 PM 550 Command failed.

Also, I see no TrialIdTable being created anywhere. I've double-checked everything and I think I've configured everything properly including the init.itcl part. Also rehashed and restarted ioFTPD. I'm also getting this error in SystemError.log:

06-05-2004 13:30:33 "..\scripts\BTrial.v2.5\BTrialCore.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "btrial(GROUP)": no such variable
while executing
"if { $group == $btrial(GROUP) } { set args "" }"
(procedure "BTrialCore" line 4)
invoked from within
"BTrialCore"
(file "..\scripts\BTrial.v2.5\BTrialCore.itcl" line 177)
------------------------------------------------------------------

Have I dont something wrong?
Btrial part of my init.itcl located in C:\ioFTPD\scripts:

################################################## ###############################
##### GLOBAL BTRIAL 2.5 INI #####
# setup here the path of btrial
set btrial(PATH) "../scripts/BTrial.v2.5"

# name of your trial group (case sensitive)
set btrial(GROUP) "trial"

# name of the default group if user passed succesfully his trial (case sensitive)
set btrial(PASSED) "iND"

# duration of trial (in days)
set btrial(DAYS) 7

# stats section you want use (you can set multiple stats sections between 0-9)
# syntax : set btrial(SECTION) "<sectionID#>:<sectionNAME>:<QUOTA MB> <sectionID#>:<sectionNAME>:<QUOTA MB>"
# exemple: set btrial(SECTION) "0EFAULT:4096 1:MP3:2048 2:0DAY:2048"
set btrial(SECTIONS) "0EFAULT:4096"
PopWeasel is offline   Reply With Quote
Old 06-08-2004, 10:05 AM   #32
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

hm why there is no scheduler for btrial?

script moves user from trial to dest_grp only after manually 'site trial user' on site :/

nothing happens if user passes his trial (schedule it could work) or user does !trial user in chann

regards
zpr is offline   Reply With Quote
Old 07-31-2004, 07:00 AM   #33
buffi
Junior Member
 
Join Date: Jul 2004
Posts: 18
Default small question

Hi Allll,
I managed to get everything working.
But How can I make it going on that if a certain user passes the trial it automatically changes him from trial group to iND

thanks
buffi is offline   Reply With Quote
Old 11-28-2004, 05:39 PM   #34
Kazi
Junior Member
 
Join Date: Nov 2004
Posts: 11
Default

i cant get this to work anylonger
it now accepts users into trial by GADDUSER....
but they dont pass into iND group and 'site trial' no longer works for some reason... i just get 200 command successful...

when i log in now i no longer see the trial users info or anything...

wtf!
Kazi is offline   Reply With Quote
Old 01-16-2005, 11:10 PM   #35
Ren
Senior Member
 
Join Date: Sep 2002
Posts: 111
Default

same here, was working fine and now nothing
Ren is offline   Reply With Quote
Old 01-17-2005, 05:10 AM   #36
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

I would suggest checking if TrialIdTable hasn't become corrupted. And also, you may get some insight from one of the logs.
esmandil is offline   Reply With Quote
Old 02-27-2005, 04:55 PM   #37
MessyR
Junior Member
 
Join Date: Jan 2005
Posts: 5
Default

works great here just the same issue about not moving user to iND group once passed is all :/

Just keeps saying user is still in trial even though i manually move to iND :/

ANy solutions?
MessyR is offline   Reply With Quote
Old 03-06-2005, 06:10 PM   #38
MidasKing
Senior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 108
Default BTrial 2.5 bug???

Hi Bounty...

Think I found a small error in BTrial 2.5 (maybe...)

I have two sections in my system...

Every a trial user reach the quota in only one section (0 or 1) was moved to the final group (without reaching the quota in the other section).

Well... I changed two lines in bTrialCore.itcl and, pparently, no more problems...

if { $passed == 0 && $trial_end == "yes" }{

to

if { $passed < "xyz" && $trial_end == "yes" } {

and

} elseif { $passed == 0 } {

to

} elseif { $passed > "xyz - 1" } {

where "xyz" is equal to the number of sections (in my case, 2).

Until the moment, everything seems to be correct.

Somebody had problem similar?


PS.:I don't understand nothing of programming in TCL and can be total wrong...

.
MidasKing is offline   Reply With Quote
Old 07-18-2005, 09:41 AM   #39
buffi
Junior Member
 
Join Date: Jul 2004
Posts: 18
Default

hmmmmmmmmmm,
where is the new link.
buffi is offline   Reply With Quote
Old 09-07-2005, 12:27 PM   #40
m4r3z
Junior Member
ioFTPD Foundation User
 
Join Date: Sep 2004
Posts: 24
Default

Hi

Installed btrial and bquota some days ago, works great

But I cant add users like I did before, gadduser trial works, script and all moves users to group when done with trial.. but if I try to add a user to "friends", they show up in my group aka siteop
My only idea is that btrial dont let me add users in other than my own group, and trial group. is this right ? or is it a way to add ppl to what group I want. Since not all ppl are going to trial group..
m4r3z is offline   Reply With Quote
Old 09-23-2005, 05:28 AM   #41
brood
Junior Member
 
Join Date: Aug 2005
Posts: 22
Default userlist irc

If I del a user who's on trial, his user name stays in the userlist shown on irc.

Anybody knows what could be wrong?

thanks
brood is offline   Reply With Quote
Reply

Tags
bounty, fun, link, script, trial

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


All times are GMT -5. The time now is 12:39 AM.

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