PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => FreshStuff3 => Topic started by: ExtreeM on 23 December, 2007, 14:16:55

Title: FreshStuff3 4.0 'ptokaxnew'
Post by: ExtreeM on 23 December, 2007, 14:16:55
hmm bastya

it says this  [14:15] Syntax ptokaxnew.lua:183: attempt to index global 'Levels' (a nil value)

dunno what it means, i guess something with the, profiles or something
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: bastya_elvtars on 23 December, 2007, 16:37:01
What PtokaX version?
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: ExtreeM on 23 December, 2007, 23:39:41
RC3
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: bastya_elvtars on 24 December, 2007, 00:40:13
Quote from: ExtreeM on 23 December, 2007, 23:39:41
RC3

Weird. I am gonna upload 4.0 RC3 right now and you can test that one.
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: ExtreeM on 24 December, 2007, 06:52:16
its working now m8 thx
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: ExtreeM on 24 December, 2007, 07:25:02
oohh btw

is it possible to set the freshstuff so that the VIP/REG cant delete categories and releases??
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: rEALx on 24 December, 2007, 07:40:14

I am using Freshstuff3 4.4.1 release for PtoKaX 3.6.0 stable LUA 5.1.2
I am planning to upgrade to the new API.
But the releases database from old version is not compatible with  Freshstuff3 5.0 release.
Is there any way to convert this database to be compatible for new release ?

thx for the great script.

Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: bastya_elvtars on 24 December, 2007, 12:41:15
Yes, the script converts the database from the 4.x versions (but make a backup).
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: bastya_elvtars on 24 December, 2007, 14:12:23
Quote from: ExtreeM on 24 December, 2007, 07:25:02
oohh btw

is it possible to set the freshstuff so that the VIP/REG cant delete categories and releases??

Yes. The old page explaining this has been lost, I am gonna make a wikipage about the levels in the next few days. Keep in mind that a release can always be deleted by the one that submitted it, regardless of the permissions.
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: nehio on 15 March, 2008, 15:21:32
I get an error with the users who are Registered to the hub, all other profiles work fine, even unRegs

[14:50:22] freshstuff/ptokaxnew.lua:123: attempt to compare number with nil
Title: Re: FreshStuff3 4.0 'ptokaxnew'
Post by: bastya_elvtars on 25 March, 2008, 16:54:53
Quote from: nehio on 15 March, 2008, 15:21:32
I get an error with the users who are Registered to the hub, all other profiles work fine, even unRegs

[14:50:22] freshstuff/ptokaxnew.lua:123: attempt to compare number with nil

What do they do when you get the error? Are you using custom profiles?