09-07-2013, 11:30 PM
I'm trying to add subforum info in tooltip in the forumbit_depth3 template.
This code works fine:
This code works fine:
Code:
|
However, as you can see the last post username isn't made really efficient and uses unnecessary query. I had to do it like that because this code:
Code:
|
adds usergroup HTML to name no matter if I use htmlspecialchars_uni, strip_tags or both on that variable. I'm almost sure it's caused by this (Style Usernames plugin):
PHP Code:
|
How would I strip HTML from the mentioned variable? Or is there any other way to get plain username using MyBB/Template Conditionals without additional query?