XFileSharing Pro - Creating Custom Usergroup

Posts: 57
Joined: Feb 17, 2012 5:07 pm

Creating Custom Usergroup

#1 Postby beeman1212 » Sep 09, 2012 3:03 pm

I'm trying to create an Uploading Usergroup where users will see the upload screen and will be able to upload. I've already disabled uploading for all premium, registered and free. Right now only admin can upload, is there a way to create a new user group so that they can upload?

Posts: 12
Joined: Aug 16, 2012 12:51 pm

#2 Postby Coolaid » Sep 10, 2012 12:20 pm

Not using the script as is. You'd need custom coding.

Posts: 521
Joined: Dec 19, 2009 5:12 pm

#3 Postby PowerChaos » Sep 10, 2012 11:19 pm

the usersgroups are written all over the scripts

so adding a new usergroup need a massive rewrite , also in db related as in the files related

to give a small example
in index.cgi is already the sesion check that says what usergroup you have

in dl.cgi is again a lot of settings to know what to give/generate based on settings and groups

in api.cgi is also a few things written for permitions
in upload.cgi is also again a few things written for groups

and so we can go on and on , every file basicly got a usergroup check to know what it can do and what not ( also config check )

or just every file that got settings related to the config file go also settings related to the usergroups (not verified , but a lot of files got usergroup options )

Greetings From PowerChaos

Return to “XFileSharing Pro”