[FEATURE] Private addons

Support and feedback for UniAdmin

[FEATURE] Private addons

Postby Sylphid » Thu Sep 21, 2006 1:35 am

Here is a little something that I brewed up for guild managers who need to have rank specific addons ( I use mine for officers )

befor changing files create backups!!!

Instructions:

1. Create a feild named "privileged" in your UA database in the addons table

2.Upload the following 2 files to your UniAdmin Directory

3.Add the following line to config.php
Code: Select all
$config['privileged'] =                'RESTRICTEDPWD';            // privileged user password 

changing RESTRICTEDPWD to whatever you would like it to be

4.Direct users to change UniUploader to the following
Options tab -> Additional Variables
change Column 1, Row 1 to "PRIV"
change Column 2, Row 1 to "RESTRICTEDPWD" or what ever you changed it to

5. Open UA and set the addons you would like restricted

6. Sync UU and enjoy!! :thumright:
Attachments
interface.txt
Replace the original interface.php with this file changing the ".txt" extension to ".php"
(4.58 KiB) Downloaded 313 times
addons.txt
Replace the original addons.php with this file changing the ".txt" extension to ".php"
(10.93 KiB) Downloaded 308 times
Last edited by Sylphid on Wed Nov 15, 2006 12:54 pm, edited 1 time in total.
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

Re: [FEATURE] Private addons

Postby Rihlsul » Thu Sep 21, 2006 3:11 am

Clever!
Rihlsul,
Guild Leader of The Dirty Hordes
User avatar
Rihlsul
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 125
Joined: Tue Jul 04, 2006 8:27 pm

[FEATURE] Private addons

Postby Masterslayer » Thu Sep 21, 2006 3:14 am

Rihlsul wrote:Clever!
indeed
User avatar
Masterslayer
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Mon Jul 10, 2006 9:59 am

Re: [FEATURE] Private addons

Postby Fifi » Mon Nov 13, 2006 12:45 am

That's a great feature, and I definitly need it... Is it still possible to use these files with UA 0.7.0 ? If not, would it be possible to get an update of them ?

Many thanks
Fifi
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sun Nov 12, 2006 11:32 pm

Re: [FEATURE] Private addons

Postby Sylphid » Mon Nov 13, 2006 8:47 pm

IF this does not make it into UA 0.7.0 Release I will be sure to mod it again as our guild relies on this heavily
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

Re: [FEATURE] Private addons

Postby Fifi » Mon Nov 13, 2006 8:55 pm

Well, I tried to implement it in UU 0.7.0 but I received php errors... I don't know wether it is because of UU version or because I applied it on existing UU datas... Should I have regenerated the sql database (?)... I am looking forward to be able to set this up asap as we do need heavily that mod. Thanks for your help.
Fifi
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sun Nov 12, 2006 11:32 pm

Re: [FEATURE] Private addons

Postby Sylphid » Mon Nov 13, 2006 9:14 pm

most likely the interface and addon files that were replaced are causing the problems as they are from an old version of roster
ill repost the files for 0.7.0 once i get it moded (i haven't taken the time to migrate my guild to the beta yet)
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

Re: [FEATURE] Private addons

Postby Fifi » Mon Nov 13, 2006 11:13 pm

OK, thanks for that, I'll come back to this topic sometimes to check progress. Many thanks again for your help.
Fifi
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Sun Nov 12, 2006 11:32 pm

[FEATURE] Private addons

Postby zanix » Tue Nov 14, 2006 8:55 am

This was not implemented into v0.7.0 because I'd like to figure out a way to integrate this into some sort of groups system
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: [FEATURE] Private addons

Postby Sylphid » Tue Nov 14, 2006 9:02 pm

Will the group system be released with 0.7.0?
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

[FEATURE] Private addons

Postby zanix » Tue Nov 14, 2006 9:39 pm

v0.7.0 is already released
It has been since Oct 15th

v0.7.1 will be out soonish, but it will not have user groups
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: [FEATURE] Private addons

Postby Sylphid » Tue Nov 14, 2006 10:23 pm

ahh my apologies I thought it was only a beta release
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

[FEATURE] Private addons

Postby zanix » Wed Nov 15, 2006 6:16 am

Well, it is and it isn't
The 0. designation kinda makes it a beta

Treat every release that goes on the downloads section of this site as released versions
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

[FEATURE] Private addons

Postby zanix » Wed Nov 15, 2006 6:17 am

Also, if you have any suggestions or code help on implementing a group system in to UniAdmin, please share
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: [FEATURE] Private addons

Postby Sylphid » Wed Nov 15, 2006 12:51 pm

ok here is the mod for 0.7.0 lemme know if you have problems
dont forget to create your password in the config file again!!!
ohh yea i noticed i forgot it in my previous post make sure to create a privileged colum in your addons tabel!!!!!!! (oops)


edit : found a bug that would not show optional addons if they were set to privileged ... this has been fixed

edit2 : ok i admit my debuging on this was minimal befor posting but give this one a shot -- unable to upload new addons problem is now resoved
Attachments
privileged_users__ua_.zip
replace original files with the ones included in the zip archive
(14.05 KiB) Downloaded 263 times
Last edited by Sylphid on Fri Nov 17, 2006 2:20 am, edited 3 times in total.
ImageImage
User avatar
Sylphid
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Thu Jul 06, 2006 12:03 am
Location: Illinois

Next

Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 0 guests

cron