Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,526 through 11,550 (of 14,333 total)
  • @robin-w

    Moderator

    your code says

    '_bbp_reply_count' => '19'

    shouldn’t that be

    '_bbp_reply_count' => '>19'

    @robin-w

    Moderator

    ◾

    When viewing http://thewritepractice.com/topic/test/ as admin, the Edit link is there in the box. When viewing it as the author of it however, not seeing Edit.

    The above are wordpress roles (and useful info) but can you tell me what bbpress roles you have set for this user.

    @robin-w

    Moderator

    try ‘_bbp_reply_count’ it’s in the meta data

    @robin-w

    Moderator

    ok, it’s back to looking at this aspect specifically.

    1. some themes only show the edit when you hover in the topic/reply content, this is theme specific not bbpress.

    2. I know you have already tested the below but please try again as bbpress is tested with default themes. Try twentyten as I know it gives a firm edit box :

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back.

    In reply to: User role upgrade

    @robin-w

    Moderator

    ok, getting there, but a solution brief would be good. ie a long description of exactly what you want.

    If it’s easy, I’ll drop some code

    If not, I might look at it as a project

    In reply to: User role upgrade

    @robin-w

    Moderator

    ok, you mention ‘contributor’ – do you mean wordpress roles or bbpress roles?

    In reply to: User role upgrade

    @robin-w

    Moderator

    No im looking for this

    I don’t know what you are looking for – from your original description my first answer would do.

    Please come back with a fuller description of exactly what you want

    @robin-w

    Moderator

    I have disabled file uploads in my bbPress forum

    ok, so how did you do that?

    In reply to: User role upgrade

    @robin-w

    Moderator

    If this is just a request (ie you are going to look at this), then any ‘form’ plugin will do that

    eg

    https://wordpress.org/plugins/contact-form-7/

    @robin-w

    Moderator

    ok,

    create a directory on your theme called ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/%your-theme-name%/bbpress/content-single-forum.php
    bbPress will now use this template instead of the original

    then change lines

    <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>
    
    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    <?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    <?php elseif ( !bbp_is_forum_category() ) : ?>
    
    <?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
    
    <?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    <?php endif; ?>
    

    to

    <?php if ( !bbp_is_forum_category() && bbp_has_topics() ) : ?>
    
    <?php bbp_get_template_part( 'form',       'topic'     ); ?>
    			
    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    <?php bbp_get_template_part( 'loop',       'topics'    ); ?>
    
    <?php bbp_get_template_part( 'pagination', 'topics'    ); ?>
    
    <?php elseif ( !bbp_is_forum_category() ) : ?>
    
    			
    <?php bbp_get_template_part( 'form',       'topic'     ); ?>
    
    <?php bbp_get_template_part( 'feedback',   'no-topics' ); ?>
    
    <?php endif; ?>

    and save

    that should do it

    In reply to: New topic

    @robin-w

    Moderator

    I’ve split this to a new topic

    please post you request below, or if that fails, edit the post above

    @robin-w

    Moderator

    It would be better to show a link to the form

    load my plugin

    https://wordpress.org/support/plugin/bbp-style-pack

    and go into

    Dsahboard>settings>bbp style pack>d. forum display and click no. 5

    @robin-w

    Moderator

    you could put a link into the page so that they click to get to it

    load my plugin

    https://wordpress.org/support/plugin/bbp-style-pack

    and go into

    Dsahboard>settings>bbp style pack>d. forum display and click no. 5

    You could put the form first, but it will hide your forums, but if you really want to do that come back.

    @robin-w

    Moderator

    ok, the following code removes the edit for bbpress, but leaves it for normal wordpress pages

    function wpse_remove_edit_post_link( $link ) {
    	if (is_bbpress()) return '' ;
    	else return $link ;
    	}
    add_filter('edit_post_link', 'wpse_remove_edit_post_link');
    

    The users will still be able to edit their topics and replies via the in-box edit buttons

    In reply to: PLEASE HELP!

    @robin-w

    Moderator

    No problem.

    Now you are back to the original, you might like to try this plugin that I have recently published

    https://wordpress.org/plugins/bbp-style-pack/

    to style the elements within bbpress

    @robin-w

    Moderator

    PS The edit comes from the theme, and applies to the original topic not the replies.

    @robin-w

    Moderator

    Crazy that nobody has ever tried to use that feature before!

    I expect lots have, but as it works for mods and above and site developers/admins tend to be at that level, then it would work.

    … Participants should be able to edit their own topics.

    Absolutely they should, and they can via the edit in the topic box.

    As I said I’ll take a look at a filter to fix.

    @robin-w

    Moderator

    Just shows how much we don’t play with – I’ve never hit that link.

    By the way I’m not part of the plugin team, just a humble user !

    But after a bit of testing, for a topic called Test Topic :

    Within the post you’ll see an edit which takes you to

    http://www.mysite.com/forums/topic/test-topic/edit/

    which allows a user to edit

    But the EDIT link at the bottom goes to

    http://www.mysite.com/wp-admin/post.php?post=18358&action=edit

    which is a wordpress supplied link, which a user isn’t allowed to edit as it is a backend function, unless they have privilege to access topics on the backend which only moderators and keymasters can do.

    So participants see this link which they can’t use !!

    Well spotted – I’ll take a look when I get a moment at whether this can be switched off in wordpress for bbpress pages, or the link changed.

    @robin-w

    Moderator

    Category labels are ugly, but also understand their purpose.

    Gotta agree with you ! But beauty is in the eye of the beholder, and if that’s the worst you can find then it’s doing pretty well 🙂

    In reply to: PLEASE HELP!

    @robin-w

    Moderator

    did you actually paste this line

    background-color: “the color you see”!Important;

    ie the real words “the color you see”

    This would be ignored as it’s not proper code

    And if you put this into your child theme, and you’re no longer using your child theme, then it wouldn’t matter anyway.

    And if you go to the forum, the background of the actual site under the top nah bar is a light tan. Then if you click on the test forum to go into it (though there aren’t any topics), you will notice it gets darker.

    Not sure what ‘the top nah bar ‘ if you mean nav, then I can’t see any tan in my browser, or anything going darker?????

    Put an image on photobucket or similar please

    In reply to: PLEASE HELP!

    @robin-w

    Moderator

    so where did you change the background – in which file?

    Also whilst caching on the server is eliminated, caching in your browser could be an issue.

    So I might not be seeing what you’re seeing !

    So try multiple refreshes of your browrser, and if that doens’t fix, can you post a screenshot of what you think is wrong, together with the url for that and I can compare !

    @robin-w

    Moderator

    great !

    In reply to: PLEASE HELP!

    @robin-w

    Moderator

    OK, so I can see that you are on the theme explicit, which is presumably the parent theme so we can eliminate the style.css file in your child theme?

    So if you have only changed styles in the main theme via their system, and in the child theme via style.css then if the child theme isn’t active it must be something in the main theme.

    Since this is a paid theme – suggest you contact the theme suppliers to see if they can help.

    @robin-w

    Moderator

    Haven’t had a detailed look but

    bb_register_view should be bbp_register_view

    bb is buddypress, bbp is bbpress

    In reply to: PLEASE HELP!

    @robin-w

    Moderator

    ok, but sorry I don’t load sites that come up bad, so can’t really help further

Viewing 25 replies - 11,526 through 11,550 (of 14,333 total)