To add, edit & delete class go to include folder ,if you use the new tbdev look at user_functions.php for older tbdev , it is in global.php. Now look for this
Code:
function get_user_class_name($class) Code:
case UC_Multi_USER: return "Multi User"; To delete simply delete case uc_xx the whole thinq AttentionNow to work the new class you have to edit almost every php fileEx: in userdetalis.php it is the this Code:
if ($user["id"] == $CURUSER["id"] || get_user_class() >= UC_MODERATOR) Enjoy :ok: |
=tkx i finished. i have 12 classes now
|
Glad that you sorted out. :drink:
|
i have a new problem now at the menu. I want smaller class than Uploader not see a button from menu. How to do that?
|
|
Quote:
PHP Code:
|
replace
Code:
= UC_UPLOADER) { ?> Code:
UC_UPLOADER) { ?> replace with |
i modified my menu like that:
PHP Code:
PHP Code:
|
2 Attachment(s)
add staff to root
add lang_staff to lang/en this code its from user_functions replace with below change colors and images to your choice. change your staff class via phpmyadmin from 7 - 17 or Code:
function get_user_class_color($class) replace in bittorent.php Code:
define ('UC_PEASANT', 0); |
what about the class eel-smoker
Code:
define ('UC_PEASANT', 0); mmmwwwhahahahah :lol: |
All times are GMT +2. The time now is 06:59. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.