2021-10-26, 03:29 PM
Hey
I've been and trying to tweak MyAlerts as much as possible but my knowledge is now a bit limited.
As the attachment follows i've add a notification bell icon with the {$mybb->user['unreadAlerts']} tag to count how many alerts the user have.
What i wanted is that if that count is 0 then it would hide the 0 and if the number is something else than 0 add a rounded orange background to the number
Also kinda wanted that icon hidden from guest members.
Is that possible to do?
Much appreciated
techinbermudas.com
Well i've partially did it following this thread:
https://community.mybb.com/post-1357653.html
I've been and trying to tweak MyAlerts as much as possible but my knowledge is now a bit limited.
As the attachment follows i've add a notification bell icon with the {$mybb->user['unreadAlerts']} tag to count how many alerts the user have.
What i wanted is that if that count is 0 then it would hide the 0 and if the number is something else than 0 add a rounded orange background to the number
Also kinda wanted that icon hidden from guest members.
Is that possible to do?
Much appreciated
techinbermudas.com
Well i've partially did it following this thread:
https://community.mybb.com/post-1357653.html