HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Role title not show in user comment header
JoZ3_69
✭
Hi, I update my forum to the latest vanilla version and the Role Title extension not show the user's role in the comment header, but this work in the header discussion. Anyway to solve this?
0
Comments
Do you also have the latest version of the RoleTitles plugin? It could also potentially be a CSS problem.
Do you have a link to a live site?
Thanks for reply, I'm using the latest version of the plugin (v1.1), and I have a version of the site online, this is the same post of the image: https://americamilitar.com/beta/simuladores/2515-juegos-de-simulacion-militar.html
So this is the snippet of code that insert the role titles.
https://github.com/vanilla/addons/blob/master/plugins/RoleTitle/class.roletitle.plugin.php#L40-L48
I wonder if whatever is providing your ranks/badges is interfering. By the time the comment data gets to this handler, the role data is missing.
Maybe try toggling whatever that rank plugin you have. Is it YAGA? I'm not very familiar with it. What happens if you toggle that plugin?
Thanks mate for your time, I solved the issue, was a code line in my js file from the theme
Funny, because I have run into this issue only yesterday.
QnA's Accepted Answer has its own stuff going on, in fact there is no "Roles" in its returned $args array
There’s definitely a bug filed somewhere for that. If not on the addons repo, then in our internal support repo.
Thanks. good to know.
Hi!
Can you explete what you did with the css, Please?
Sorry, I mean with the js file.