Aden wrote:Anyone know how to display a users name and avatar if they have one are are logged in on a template,
Your last visit was:
This would be for a mod i am writing, the "TOP PANEL MOD"
EXreaction wrote:You have to do an SQL query to get that info from the DB.
jojobarjo32 wrote:EXreaction wrote:You have to do an SQL query to get that info from the DB.
Er... why that ?
All user's informations are stored in the $user->data array
You only need to add (if it is not already there) template variables (maybe in page_header function to have the variables in every pages) to display them in the template
Domos wrote:There isn't Xor
luvme2tms wrote:a XOR b = (a OR b) AND (NOT(a AND b))
Or, alternatively, you can make every logical operation by using solely NAND
Users browsing this forum: No registered users and 5 guests