I am trying to make it so a background image in my postbit changes color depending on if a user is online, offline or invisible.
I am doing this by assigning a class which I need to change using conditionals, and I found this bit of code for a plugin:
https://vborg.vbsupport.ru/showpost....06&postcount=8
However, it's not working, it's showing everyone as offline.
What's the best way to go about doing this?
I had my class change depending on the users status, ie "class="online1"... The "1" would be the part that changes to either 0, 1 or 2... any ideas how to get this working?