|
#1
|
|||
|
|||
User Class
i have noticed on a few trackers that u can get users user class next to there user name eg:
do anyone know how i can do this ? Using : tbdev 09 Code:
"<div id='statusbar'>". "<div style='float:left;color:black;'>{$lang['gl_msg_welcome']}, <a href='userdetails.php?id={$CURUSER['id']}'>{$CURUSER['username']}</a>". Last edited by HUnter83; 8th April 2012 at 23:35. |
#2
|
||||
|
||||
Code:
"<div style='float:left;color:black;'>{$lang['gl_msg_welcome']}, <a href='userdetails.php?id={$CURUSER['id']}'>{$CURUSER['username']}</a>". change to Code:
"<div style='float:left;color:black;'>{$lang['gl_msg_welcome']}, <a href='userdetails.php?id={$CURUSER['id']}'>{$CURUSER['username']}</a> [ {$CURUSER['class']} ]".
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#3
|
|||
|
|||
good one...
good to now, thanks :)..
|
#4
|
|||
|
|||
thanks for that its showing numbers as a class what do i put in user_functions.php to change that
|
#5
|
||||
|
||||
sorry change
Code:
[ {$CURUSER['class']} ]". Code:
" . get_user_class_name($CURUSER["class"]) . ".
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#6
|
|||
|
|||
showing error now :( i have tried it 3 ways i can think of and its still showing a number
|
#7
|
||||
|
||||
3 ways? only need 1 way lol here try this its got to work
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?" "I Kill You!" simples
|
#8
|
|||
|
|||
same error i was getting
Code:
Parse error: syntax error, unexpected T_VARIABLE in C:\AppServ\www\upload\include\bittorrent.php on line 887 |
#9
|
||||
|
||||
Try the attached file..
|
#10
|
|||
|
|||
Code:
Parse error: syntax error, unexpected '"' in C:\AppServ\www\upload\include\bittorrent.php on line 887 |
Tags |
class , user |
Thread Tools | |
|
|