Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,276 through 13,300 (of 14,141 total)
  • In reply to: Edit Menus Problem

    @robin-w

    Moderator

    another one that you can spend hours trying to solve !

    In reply to: bbPress Login Widget

    @robin-w

    Moderator

    you can edit the profile page to prevent them changing it

    In your theme create a bbpress folder

    wp-content/themes/%yourtheme%/bbpress

    where %yourtheme% is the name of your theme

    then navigate to

    wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php

    and copy this file to the bbpress folder you created above

    bbpress will now use this one instead of the default.

    edit this new file and take out lines 33 to 45

    ie take out the following

    <div>
    			<label for="nickname"><?php _e( 'Nickname', 'bbpress' ); ?></label>
    			<input type="text" name="nickname" id="nickname" value="<?php bbp_displayed_user_field( 'nickname', 'edit' ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
    		</div>
    		<div>
    			<label for="display_name"><?php _e( 'Display Name', 'bbpress' ) ?></label>
    			<?php bbp_edit_user_display_name(); ?>
    		</div>
    		<?php do_action( 'bbp_user_edit_after_name' ); ?>
    

    This will remove the ability to set a nickname and to change the display name.

    In reply to: Edit Menus Problem

    @robin-w

    Moderator

    yes !

    When they go into

    Dashboard>appearance>menus

    they will see a ‘screen options’ button dropdown on the top right, if they click that they will get a list of things they can see on this screen, and they need to check the ‘forums’ one.

    In reply to: Can I unpublish forum

    @robin-w

    Moderator

    I suspect that you can still see it as either you’re a keymaster, moderator or wp-admin.

    Private forums are only visible to logged in users
    Hidden forums are only viewable by keymasters, moderators or admins

    so you want to reset your forum to hidden, and you will still see them, but users won’t unless you give them privileges.

    @robin-w

    Moderator

    is_bbpress()

    should do it I think.

    Otherwise bbpress has custom post types of forum, topic and reply.

    You should also consider disabling or modifying the bbpress search function, as otherwise searches will go forum wide, giving a backdoor.

    Good luck !

    @robin-w

    Moderator

    glad we got there !

    @robin-w

    Moderator

    Hey, thanks it looks really good !

    In reply to: vs PhPBB

    @robin-w

    Moderator
    In reply to: vs PhPBB

    @robin-w

    Moderator

    This is just different software, like the difference between a Ford and a Toyota.

    bbPress is ‘skinny’ and you can use plugins to add functionality as you need, rather than have fat software that has loads of stuff you don’t need.

    @robin-w

    Moderator

    You should really be looking to get rid of the toolbar for everyone but moderators and above ! It shouldn’t really be seen by users.

    go to dashboard>users and for each user untick the toolbar

    The codex has help on putting logins and profile on the menu pages – see

    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ no.s 8 & 11/12

    @robin-w

    Moderator

    I’ve submitted a trac ticket to improve the code !

    @robin-w

    Moderator

    Thanks for the great feedback – much appreciated !

    @robin-w

    Moderator

    glad to have someone else looking !

    My ajax is hopeless !

    Your solution is valid, but digging for it produced some code issue

    we have several issues here

    firstly the filter call is wrong in the code ie

    bbpress/includes/topics/template.php has two errors

    function bbp_get_topic_subscription_link( $args = array() ) {
    ......Parse the arguments......
    		), 'get_forum_subscribe_link' );

    so the function is ‘get_topic_subscription’ but the parse argument reverts to ‘get_forum_subscribe

    whilst it doesn’t affect this issue the error is repeated for favorites in the same file

    function bbp_get_topic_favorite_link( $args = array() ) {
    ..........), 'get_forum_favorite_link' );
    

    needs changing to ‘get_topic_favorite_link’`

    This doesn’t affect the issue as such, other than the filters above are wrong.

    But filtering bbp_get_topic_subscription_link is totally pointless, as it immediately calls
    ‘get_user_subscribe_link’ which them resets the |, so whilst the filter seems to correct it once, any click just resets it.

    So your filter to get_user_subscribe_link is the correct one, but for the wrong reason.

    Really the code needs to have the filter in one place only (suspect user)

    Anyway the solution for @majid436 is as you suggest

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

    @robin-w

    Moderator

    it will not defeat me, but just need to lick wounds for a few days, then I’ll be back !

    @robin-w

    Moderator

    I’ve just spent two hours debugging this, I’ve found three errors, fixed it once only for it to come back.

    I give up for the moment !

    @robin-w

    Moderator

    Glad you’re fixed !

    @robin-w

    Moderator

    I think that you will struggle to maintain a bbpress + version, and that the ‘+’ will just get bigger and bigger and bigger. I probably have 20+ plugins I could write to do things that people ask for on the forums.

    Many people just want a particular part that suits them, and the bbpress philosophy is to keep it ‘skinny’ and let people use plugins.

    Making a big fat version would make it really hard to develop.

    The real problems are two:

    1. That people aren’t aware of the skinny philosophy – maybe I’ll put something at the start of the documentation to make this clearer.
    2. People aren’t aware of what plugins are available and which work. This is really because you have to have a problem or know what you want before you look for a plugin. This is a bit like buying a car with no add-ons/accessories list. So no-one tells you that electric windows are available, so you look for an expensive air-conditioning system because you don’t know how to open the windows. Solution is that we need to create a plugin list that starts with what it does, not with the plugin name or with searches for tags

    eg

    bbpress plugins Where to download
    Add quote feature http://www.dev4press.com/plugins/gd-bbpress-tools/
    genesis compatibility https://wordpress.org/plugins/bbpress-genesis-extend/
    Move one forum to another https://github.com/pippinsplugins/bbPress-Export-and-Import
    private messaging https://wordpress.org/plugins/bbpress-social-network/
    email notifications (topics/replies) https://wordpress.org/plugins/bbpress-notifications/
    email notifications (topics/replies) https://wordpress.org/plugins/bbpress-notify/
    add a signature https://wordpress.org/plugins/bbp-signature/

    I am just about to start one, so if you want to add the plugin name and what it does to this thread, I’ll get a list going.

    @robin-w

    Moderator

    Ok, I’ve done a version 2 with a settings page that lets you select from :

    Send non-logged in users to any page you wish
    Lets you set a message for the freshness column
    Hide topic and reply counts
    show descriptions
    Remove the ‘private’ prefix from the displayed titles

    So hopefully more friendly and flexible.

    Give it a try

    I have left the old version on the website in case you need to revert back.

    Otherwise let me know if it breaks anything or I can improve it.

    I’ll load it to the wordpress plugins page in a few days

    url as before http://www.rewweb.co.uk/private-forums-visibility/

    @robin-w

    Moderator

    ” just a little bit overworked and start making mistakes” – I know how you feel !!! 🙂

    @robin-w

    Moderator

    weird, I’ll try it on my test site when I get a moment !

    @robin-w

    Moderator

    The answer is yes, but I’d need to take a look at the plugin, and will try and do so over the next few days

    @robin-w

    Moderator

    Phew ! I read the first post and thought oh dear, then your second came through, glad it’s working.

    I’ll add a settings page to the code so that you can set which page it goes to for future users.

    @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.

Viewing 25 replies - 13,276 through 13,300 (of 14,141 total)