Ranks don't display on first post
-
I’m testing this plugin out and I noticed that when a user posts a topic the rank does not show up on that first topic post. It only shows on response that comes after it. (see link below, I created a rank called “Peon”)
Do we have a fix for this? Will the be fixed in the next update?
-
I’ll take a look
I’m not getting this issue – what theme and other plugins are you running?
I found the issue. It has to do with the the code not being present in the HTML/PHP file.
<div class="bbp-reply-author">The above DIV class has the
<ul>of your added code so it shows is all the replies.<div class="bbp-topic-author">The above DIV doesn’t have that
</ul>- list of your user ranking code. So it doesn’t display the user rank and all the features you have in your awesome plugin.
It’s like you need to find the code that displays the
<div class="bbp-topic-author">and add your code to that section. I’m going to try manipulating it on my own and see if it fixes it, but I’m going to have to hunt down where the files are.</ul>In your Functions file, fairly confident it has something to do with this chunk of code you have: add_action (‘bbp_theme_after_reply_author_details’, ‘bur_display_counts’);
Somewhere in that snippet of code should be a line that says something like bbp_theme_after_topic_author_details but I’m not sure what the correct chunk of code would be… Any thoughts?
*EDIT 2 mins later*
I was correct. In your function file I added the below line of code under the reply_auther and now it works.
add_action (‘bbp_theme_after_topic_author_details’, ‘bur_display_counts’);
I’m adding this to the next version
Thanks
Beautiful. Let us know when thats done, then I can get rid of this jurry rigging. Haha!
The topic ‘Ranks don't display on first post’ is closed to new replies.