- This topic has 7 replies, 2 voices, and was last updated 10 years, 6 months ago by .
Viewing 8 posts - 1 through 8 (of 8 total)
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
Select Page
Home › Forums › Community Support Forum › WordPress Plugins › bbPress New Topic › Duplicate links
Hi,
I have purchased the bbPress new topic link plugin. I really like it a lot. I am also using the ‘bbPress Topics for Posts’ plugin that lets me use a topic in place of comments.
When viewing the article the New Topic link shows up twice. You can see this happening at http://n4bb.com/blackberry-windermere-q30-photos-specs-details/
Otherwise, on the actual forums it works perfectly :) How can I make it so it doesn’t duplicate on articles?
Thanks!
Hi,
I couldn’t see the new topic link.
Did you turn it on just for logged in users?
Slavi
Hi,
Sorry, yes I have updated to show for non-logged in users, so you can view it now.
Thanks,
Hi,
Can you try editing wp-content\plugins\orbisius-bbpress-new-topic\orbisius-bbpress-new-topic.php and comment out
line 59 by putting double slashes in front of it e.g.
// add_action( ‘bbp_template_before_single_forum’, ‘orbisius_bbpress_new_topic_new_topic_button’ );
Let me know if this fixes it.
Slavi
Unfortunately it did not. Any other suggestions?
Thanks!
Do you remember modifying the plugin’s code especially orbisius_bbpress_new_topic_new_topic_button_anchor function (line #63)?
Your version of the function contains an image which in our version is not there.
The function should look exactly like this.
function orbisius_bbpress_new_topic_new_topic_button_anchor() {
echo "<a name='orb_custom_bb_new_reply_anchor'></a>\n";
}
No, did not edit the actual plugin code, I only added in place of the text for settings.
You can put this in your theme’s footer.php file.
<script>
jQuery( document ).ready(function() {
// hide the first button
jQuery('.orb_bbpress_new_reply:first').hide();
// hide the last button
//jQuery('.orb_bbpress_new_reply:last').hide();
});
</script>