Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,376 through 13,400 (of 14,219 total)
  • @robin-w

    Moderator

    1. if you need these adding to bbpress roles, then as per previous:

    “what capabilities do you need for the other role?

    see

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    Itโ€™s quite east to add, just let me know what you need.”
    come back, and I’ll do a quick plugin.

    2. On your rank thing, can you specify

    the rank names you want
    what levels you want them at eg 50 posts
    what counts as a post – ie topic or topics and replies

    and I’ll tinker with the posts plugin to display this instead as a one off, and maybe cut it into a more general plugin later

    In reply to: 90 second post time

    @robin-w

    Moderator

    I’d check to see if two plugins are conflicting or theme issue, or if it is server related.

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    Come back and tell us if any of those speeded it. If so then you know the problem, if not contact your service provider as it should be a few seconds at most.

    @robin-w

    Moderator

    Sorry to hear this.

    Try it with a default theme such as twentytwelve.

    If this fixes, then it is a theme issue.

    @robin-w

    Moderator

    Have just built a plugin to do this.

    go to

    bbp Private Forums Visibility

    In reply to: User Permission

    @robin-w

    Moderator

    keep asking !

    @robin-w

    Moderator

    ahh! that’s it

    difference between

    ‘bbp_before_get_topic_subscribe_link_parse_args’

    and

    bbp_before_get_topic_subscription_link_parse_args

    So

    function hide_before2 ($args = array() ) {
    $args['before'] = '';
    return $args;
    }
    add_filter ('bbp_before_get_topic_subscription_link_parse_args','hide_before2');
    

    will do it !

    @robin-w

    Moderator

    what capabilities do you need for the other role?

    see

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    It’s quite east to add, just let me know what you need.

    On ranking, you can have no. posts quite easily using

    https://wordpress.org/plugins/bbp-topic-count/

    @robin-w

    Moderator

    I’ve had a look, but I can’t find what is doing this – must be buried deep

    If you keep toggling the | comes back, so my original code isn’t doing anything.

    The codes resolves as

    <span id=”subscription-toggle”>
    |
    <span id=”subscribe-2072″>
    Click to receive an email notification when a member responds below

    so it’s in the subscription part, but not part of the url.

    @robin-w

    Moderator

    By the way this does both the private forum visibility and the sub forum description !

    @robin-w

    Moderator

    Ok, so my plugin I taking longer to develop than I thought – but they always do!

    But I have been through the code needed for what you are after, and it neatly cuts into a plugin of it’s own, so that is what I’ve done.

    The plugin and instructions are here

    bbp Private Forums Visibility

    Read you way through, and let me know if you have any difficulties.

    Because I have cut this for you, I haven’t made it very pretty as a plugin, so there aren’t settings for the permalink – you’ll see what I mean when you read the link.

    If this doesn’t do what you want or you find issues, please come back, I should be able to fix fairly easily whilst the code is fresh in my brain.

    Have a great weekend !

    @robin-w

    Moderator

    hmmm.. it is the same function that does both, but as I said before normally it is blank, so my solution above should not have worked, but did.

    Can you send me a link to that page, and I’ll take a look.

    @robin-w

    Moderator

    ‘…as I am not really firm in php code ‘ – your coding skills don’t look at all bad to me ๐Ÿ™‚

    Without testing, that looks fine to me – give it a go.

    You could choose to just edit that file, but if you do, keep a note of what you changed, as bbpress updates will overwrite it – purists will say you should never alter core files, but as this is already a plugin, I am less fussy (expecting to be criticised for this!), but do know what you’ve changed.

    To do it “properly” you’d need to either

    create these as new widgets by copying the code to your functions file and renaming it.
    create this as a plugin.

    If you need help in how to rename come back, and I’ll make a list of what you need to change, but you’ll need to be a bit patient, as I have loads of queries os, and you’ll need to join a queue !

    In reply to: bbpress login widget

    @robin-w

    Moderator

    bbPress is tested against all the common browsers, so unlikely that it is a default issue (indeed mine works fine on all those browsers)

    Could be any number of things, but as always start by eliminating plugins and themes viz ;

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    Come back and let us know if that helped, and what the issue was, or if still happening.

    In reply to: User Permission

    @robin-w

    Moderator

    ‘Sorry still newbie to all these codes thing ๐Ÿ™‚ ‘ – Don’t worry I was there only last year, you’ll soon pick it up.

    Start with

    https://codex.wordpress.org/Functions_File_Explained

    So you need to add this to your theme’s function file.

    If you are using a main theme, then any updates to the theme may overwrite your addutions, so a child theme is better. However if you put it in your main theme, just keep a note of the changes so that you can add them back if needbe.

    Ideally you should create a child theme – google ‘child theme videos’ and you’ll see how to create this – it is very simple, and just lets you ‘add stuff’ to your main theme without any risk of losing it.

    Have fun !

    In reply to: User Permission

    @robin-w

    Moderator

    Try

    function annointed_admin_bar_remove() {
            global $wp_admin_bar;
    
            /* Remove their stuff */
            $wp_admin_bar->remove_menu('wp-logo');
    }
    
    add_action('wp_before_admin_bar_render', 'annointed_admin_bar_remove', 0);

    (stolen from the wordpress support forum, so haven’t tested)

    @robin-w

    Moderator

    you’re welcome

    In reply to: Private Messaging

    @robin-w

    Moderator

    I’ve not used it, but try

    https://wordpress.org/plugins/bbpress-social-network/

    and please come back and let us know if it does what it says !

    @robin-w

    Moderator

    You’ve been busy with this site, hope it’s getting there !

    First I’d eliminate plugins and themes

    Check other plugins

    Check that no other plugins are affecting this.

    Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.

    Check themes

    If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.

    If still doing it – come back.

    In reply to: User Permission

    @robin-w

    Moderator

    If you set them to wp role -no role for this site and bbpress keymaster and give them toolbar access then

    They cannot access the dashboard, but do have tools at the top of the page, including new forum/topic/reply

    When viewing any forum or topic/repy, they get “edit” at the top, so they can change all this stuff, and also can amend tools etc.

    Set up a test user and see what you get !

    In reply to: Latest Topics

    @robin-w

    Moderator

    Thanks, Stephen

    @robin-w

    Moderator

    I’m tinkering with a plugin as a challenge (by the time I’ve finished Stephen and JJJ will have written it into the core!) which I hopefully will finish in a week or so.

    In the meantime I documented a version that uses a Justin Tadlocks’ members plugin and Tehnik BBPress Permissions

    http://www.rewweb.co.uk/creating-bbpress-groups/

    This seems to work, but I would suggest you test the bbpress search functions (it’s on my list to do) to ensure it hides posts from search results. If not, and you can live without search, then just disable search in forums

    Layout and functionality – Examples you can use

    @robin-w

    Moderator

    ‘Robin, seriously?’ – yes, but it’s just my view ๐Ÿ™‚ I’m just a bbPress user who tries to help others.

    Still not sure what being able to edit after a timeout actually gets you, but if others see it differently, then maybe the authors will tackle this.

    @robin-w

    Moderator

    and to answer Nino’s Q

    If youโ€™re into coding, then yes

    the widgets code is held in

    bbpress/includes/common/widegets.php

    you could customise these and create them as new custom widgets

    For instance the topics widget starts on line 669, and line 811 does bbp_topic_permalink( $topic_id )

    You could add an if statement to create two different outputs logged in vs not logged in and alter not logged in to topic title.

    Not something I have time to do, but would be fun if you have the time

    @robin-w

    Moderator

    Just put an add in

    http://jobs.wordpress.net/

    you’ll find lots of takers

    @robin-w

    Moderator

    Ok- life’s not perfect, and thanks for pointing out that clever posters can cheat the timeout.

    I’m not quite sure why this is a concern as such, except in heated debates when people may want to alter what they said. On those sorts of forums I find that mods soon close such subject down.

Viewing 25 replies - 13,376 through 13,400 (of 14,219 total)