|
#1
|
|||
|
|||
Adding new user class on tbdev
Hi
I would like to add a new user class called DJ to tbdev which files do I need to edit to do this? At the moment I have define ('UC_PEASANT', 0); define ('UC_USER', 10); define ('UC_VIP', 30); define ('UC_UPLOADER', 40); define ('UC_MODERATOR', 50); define ('UC_ADMINISTRATOR', 60); define ('UC_SYSOP', 100); And would like the class for DJ to go between VIP and User |
#2
|
|||
|
|||
Re: Adding new user class on tbdev
Nice tutorial for newbie's ;)
TNX |
#3
|
||||
|
||||
Re: Adding new user class on tbdev
just add it where you want it .. luckily u seem to have picked up a premodded source where the user classes have been spread out.
firstly add the new class to the constants list Code:
define ('UC_PEASANT', 0); define ('UC_USER', 10); define ('UC_DJ', 20); define ('UC_VIP', 30); define ('UC_UPLOADER', 40); define ('UC_MODERATOR', 50); define ('UC_ADMINISTRATOR', 60); define ('UC_SYSOP', 100); |
#4
|
|||
|
|||
PHP Code:
PHP Code:
give this ago ediit lines |
Tags |
adding , class , tbdev , user |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DATABASE: mysql_connect: Access denied for user 'user'@'localhost' | ciolpalas | Torrent Trader | 2 | 30th June 2010 08:31 |
[TBDev] User Promotions Log | KustomizeR | TBDev | 5 | 21st March 2009 20:52 |
adding in staff | tunad | Torrent Strike | 5 | 22nd November 2008 08:57 |
how change the normal user to power or admin user in ts TS Special Edition v.5.1 | theway | Template Shares | 2 | 27th September 2008 14:44 |
user title under class ? | jora33 | Yuna Scatari Edition (YSE) | 1 | 12th June 2008 10:37 |