Right. This system allows:
* Creation of tickets
* Editing/Answering (same thing, I got lazy) of tickets
* Moving tickets to FAQ tab (awesome, Support and FAQ in one!)
* Closing of tickets (they even disappear from the ticket list after 24 hours!

)
Right-o, so here's how it work. You need two edit
TWO parts of the system. The
serversided rights, and
clientsided ones.
serversided rights:
Close - allows you to close tickets
FAQ - allows you to move a ticket from Tickets list to FAQ list
Ticket - allows you to move a ticket from FAQ list to Tickets list
So, rights can look like:
PHP Code:
this.rights.xXziroXx = { "Close", "FAQ", "Ticket" };
this.rights.MyAccount = { "Close" };
Right - lets see what
clientsided rights there are to choose from:
tab:Admin - gives you access to the Admin tab
Edit - allows you to edit/reply to tickets
Close - allows you to close tickets
FAQ - allows you to move a ticket from Tickets list to FAQ list
Ticket - allows you to move a ticket from FAQ list to Tickets list
dep:All - lets you view all tickets on Admin list
dep:Bugs - lets you view Bugs tickets on Admin list
dep:Account - lets you view Account tickets on Admin list
dep:Jail - lets you view Jail tickets on Admin list
dep:General Questions - lets you view General Questions tickets on Admin list
dep:Other - lets you view Other tickets on Admin list
Lets say you add the ticket department "
Hacker" to
this.departments, then you can give people access to
dep:Hacker.
Examples:
PHP Code:
this.rights.xXziroXx = {
"tab:Admin", // Tabs
"Edit", "Close", "FAQ", "Ticket", // Actions
"dep:All" // Departments
};
this.rights.MyAccount= {
"Ticket" // Actions
};
this.rights.MyAccount2 = {
"tab:Admin", // Tabs
"Edit", "Close", // Actions
"dep:Bugs", "dep:Jail" // Departments
};
You are free to EDIT and USE this script however and wherever you like, ASLONG as you do NOT remove the Mythic Legends URL from below the "Support Center" text.
Like this script? Please give me good rep! Don't like it? Please give me bad rep!