Red tag admin group script

Started by Gandalf, January 05, 2009, 11:43:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gandalf

ok, just so I get this right, if a user gets a red award they need to be assigned to the relevant admin group as a secondary member.

EG: CoD4 Red Award -> CoD4 Admins group.

correct?
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

OldBloke

Quote from: Gandalf;257291ok, just so I get this right, if a user gets a red award they need to be assigned to the relevant admin group as a secondary member.

EG: CoD4 Red Award -> CoD4 Admins group.

correct?

Yes. But currently only for CSS, CoD4 and Dead Men Racing.

Sheepy has an officers section in the WOW forum (I believe).

I would also like to see the creation of a 'Supporting Member' section accessible by badge holders only. We would use this to announce LANs early etc.

Thanks G.
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Gandalf

cool, testing using CoD4 at the moment. once that is working I can include the other groups.

It's hard coded into the script too so it can't be messed up by hitting the wrong button. However, if any groups or awards are deleted or changed, I need to know otherwise the script won't work!
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

Gandalf

right, adding as secondary usergroup is now working fine for CoD4

Next, working on removing for users that have the award taken away from them.

Will temporarily assing CoD4 admin to myself to test this, please don't remove it! I'll do so when I've finished.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

smilodon

Forgot to mention I'm away on holiday at the moment so please don't rely on me to do much forum stuff this week. I can only get on through a smart phone which is pretty limited. Back Wed/Thurs
smilodon
Whatever's gone wrong it's not my fault.

Gandalf

ok, removing of deleted red CoD4 Award now removes the user from the Cod4 Admin group.

As a result of this script, the following now belong to the group as secondary members. Also, they should never be assigned as primary members as it 'could' cause issues. Any members that were assigned as primary members have been updated accordingly

Armitage        
Benny         
BlueBall     
Blunt     
Doorman     
Liberator
OldBloke        
Penfold        
Snokio        
Soon Jung
target        
TeaLeaf     
Whitey     

These match the following who have been awarded the tag;
OldBloke, TeaLeaf, Penfold, BlueBall, Doorman, Benny, Blunt, Liberator, Whitey, target, Soon Jung, Snokio

As well as Armitage in the head role.

If you're happy with this, then I'll sort out the other two groups as well.

I guess it's dMr Admin for dead men racing admin and CS Game Admin for the CSS admins.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

OldBloke

Quote from: Gandalf;257314ok, removing of deleted red CoD4 Award now removes the user from the Cod4 Admin group.

As a result of this script, the following now belong to the group as secondary members. Also, they should never be assigned as primary members as it 'could' cause issues. Any members that were assigned as primary members have been updated accordingly

Armitage        
Benny         
BlueBall     
Blunt     
Doorman     
Liberator
OldBloke        
Penfold        
Snokio        
Soon Jung
target        
TeaLeaf     
Whitey     

These match the following who have been awarded the tag;
OldBloke, TeaLeaf, Penfold, BlueBall, Doorman, Benny, Blunt, Liberator, Whitey, target, Soon Jung, Snokio

As well as Armitage in the head role.

If you're happy with this, then I'll sort out the other two groups as well.

I guess it's dMr Admin for dead men racing admin and CS Game Admin for the CSS admins.

Indeed. Make it so :D
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Anonymous

Nice work Gandy :clap:

have a nice time Smilo :)

Penfold

Thanks Gandy.

Hope you're having a nice break Greg.

PEN

Gandalf

ok, all done.

I've added this code to the end of the subscription script so it will run at the same time. EG: Every 30 mins past the hour.

Just something to be aware of when you assign a new admin award and access isn't granted immediatly.

Finally and really important! CoD4 Admins, CS Game Admin, dMr Admin groups should no longer be assigned members manually as they'll just be removed anyway within an hour if they don't have an award!

The three groups should also NEVER have primary members as this is ignored in the script.
*G*

Cake: Four large eggs. One cup semi-sweet chocolate chips. Three/four cups butter or margarine. One and two third cups granulated sugar. Two cups all purpose flour. Fish shaped ethyl benzene. Twelve medium geosynthetic membranes. Three tablespoons rhubarb, on fire.

OldBloke

Quote from: Gandalf;257332ok, all done.

I've added this code to the end of the subscription script so it will run at the same time. EG: Every 30 mins past the hour.

Just something to be aware of when you assign a new admin award and access isn't granted immediatly.

Finally and really important! CoD4 Admins, CS Game Admin, dMr Admin groups should no longer be assigned members manually as they'll just be removed anyway within an hour if they don't have an award!

The three groups should also NEVER have primary members as this is ignored in the script.

Muchos Grassy Arse.:D
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey