Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,126 through 13,150 (of 13,958 total)
  • @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.

    In reply to: Latest Topics

    @robin-w

    Moderator

    As my mother said “I WANT – doesn’t get” – please ask nicely πŸ™‚

    bbPress is written by volunteers and supported by volunteers, you get it for free !

    If a feature is requested enough, then the writers (who do this in their spare time and are not paid) will add it.

    If someone already knows how to do this, they will post in due course.

    Thanks πŸ™‚

    @robin-w

    Moderator

    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

    Awesome, very neat and clever !

    @robin-w

    Moderator

    Bumping you own question may be not helping you in getting an answer πŸ™‚

    There is a fairly small group of people who help on here, and many use the “topics with no replies” button when logging in, so by entering a reply you take yourself off this list, so you don’t get your question seen.

    Also you should allow at least a couple of days, as all the helpers on here are volunteers and like the developers of the plugin, no-one is paid to do this, and all have real jobs and family that take priority.

    Please keep asking questions, but please have a little more patience πŸ™‚

    As to the answer – this looks complicated, and even with the old version, the solutions weren’t easy.

    @robin-w

    Moderator

    Thanks for sharing, a few small changes can make a big difference !

    @robin-w

    Moderator

    great !

    @robin-w

    Moderator

    This plugin may be what you’re after, pippin is usually good, but have no experience of this plugin

    https://github.com/pippinsplugins/bbPress-Export-and-Import

    give it a try, but backup your database first!

    @robin-w

    Moderator

    Can you give me a link to the page in question, and I’ll take a look

    @robin-w

    Moderator

    Ok, sorry yes I get it now !

    Try

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

    Let me know if it works – it is blank by default, so not sure why your’s has a | in it.

    @robin-w

    Moderator

    This is related to the plugin/theme your are using that displays “click to receive”.

    Which one are you using ?

    @robin-w

    Moderator

    The issue is not so much the export/import of the forums/topics and replies

    This is available in

    Dashboard>tools>export and just select what you want to export. The opposite import to get them in.

    However if you don’t have the users on the new site, then they cannot be allocated against them. Can’t remember what it does, I think it just allocates them to admin, maybe with an offer of a choice.

    there are several plugins that let you move users for instance
    https://wordpress.org/plugins/export-user-data/
    https://wordpress.org/plugins/import-users-from-csv/

    If your into phpmyadmin, you could just move the user tables, but of course that’ll overwrite the new sites, but if they’re just copies, that will be fine.

    Back everything up before so you can revert if needbe !

    I haven’t directly played with doing this, but suggest you move your users first, the just move the forums, topics and replies

Viewing 25 replies - 13,126 through 13,150 (of 13,958 total)