View Single Post
  #1  
Old 05-16-2007, 09:22 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Post Support/FAQ System

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!
Attached Thumbnails
Click image for larger version

Name:	a1.png
Views:	481
Size:	391.0 KB
ID:	41092   Click image for larger version

Name:	a2.png
Views:	358
Size:	383.5 KB
ID:	41093   Click image for larger version

Name:	a3.png
Views:	321
Size:	389.4 KB
ID:	41094  
Attached Files
File Type: txt -Support.txt (17.6 KB, 399 views)
__________________
Follow my work on social media post-Graal:Updated august 2025.

Last edited by xXziroXx; 05-17-2007 at 01:58 AM..
Reply With Quote