Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2098
    lucas
    Participant

    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!

    #2099
    Slavi Marinov
    Keymaster

    Hi,

    I couldn’t see the new topic link.
    Did you turn it on just for logged in users?

    Slavi

    #2100
    lucas
    Participant

    Hi,

    Sorry, yes I have updated to show for non-logged in users, so you can view it now.

    Thanks,

    #2101
    Slavi Marinov
    Keymaster

    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

    #2102
    lucas
    Participant

    Unfortunately it did not. Any other suggestions?

    Thanks!

    #2103
    Slavi Marinov
    Keymaster

    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";
    }
    #2105
    lucas
    Participant

    No, did not edit the actual plugin code, I only added in place of the text for settings.

    #2107
    Slavi Marinov
    Keymaster

    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>
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.