Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 19,826 through 19,850 (of 64,517 total)
  • Author
    Search Results
  • #148542

    In reply to: How to add a @username

    Robin W
    Moderator

    basically you’d use the same css as @robkk into your stylsheet, and then the code would be

    
    /**
    * Add @mentionname after bbpress forum author details
    */
    
    add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' );
    function mentionname_to_bbpress () {
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo '<p class=bbp-user-nicename>' ;
    echo "@".$user_nicename.'</p>' ;
    }
    }
    
    #148541

    In reply to: How to add a @username

    Robkk
    Moderator

    how do I change the font colour of @username?

    im going to use my version though , cause i dont know how with the add action version

    <p class=bbp-user-nicename><?php $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    } ?></p>

    throw this into custom css

    #bbpress-forums p.bbp-user-nicename {
    font-weight: bold;
    color: #888;
    display: inline-block;
    margin: 0;
    }
    #148539

    In reply to: How to add a @username

    Leonyipa
    Participant

    It works! And it looks really pretty now!! Thanks 🙂

    how do I change the font colour of @username? (e.g. grey like BBPress forum)

    #148538
    unit377
    Participant

    Hi!

    Is there any chance you guys will make a “notify me of follow-up replies via email” for anonymous posts (and replies)?

    Or is there a pluggy that can do this? Any help is appriciated.

    Anyway, thanks for bbpress awesomeness 🙂

    #148537
    lkicknosway
    Participant

    You are right. That’s not it.

    It’s a plugin from Genesis, bbPress Genesis Extend that is causing the problem with the newest Genesis Theme update 2.1.0. Have logged on to the StudioPress Forum to see if I can get some help there.

    I’ll update this in case anyone else is having the same problem. Or, if anyone has a solution, please let me know.

    Cheers.

    #148533
    Stephen Edgar
    Keymaster

    Just deactivate bbPress, delete the plugin and files, add the plugin again.

    You won’t lose any bbPress data 🙂

    (I don’t actually think this is it though 😉 )

    #148532
    lkicknosway
    Participant

    Hmmm, didn’t see any errors.

    Thinking of uninstalling the bbpress plugins, deleting them and reinstalling.

    Is there a way to save the current topics, registered users before I begin?

    Is this too extreme, what would you suggest?

    thanks in advance.

    #148530
    Stephen Edgar
    Keymaster

    I’ve got nothing, all I can see is your bbPress is merged into your themes ‘cloudfront’ minified/cached CSS.

    Try using your browsers debug tool, right click and ‘Inspect Elelement’ or F12 on your keyboard, you should see errors once you are logged in showing certain assets can’t be loaded (i.e. CSS)

    That should get you to a starter point on what is missing to debug from there.

    Stephen Edgar
    Keymaster

    The actual bbPress role is not assigned to the user until they login for the first time.

    #148525

    In reply to: phpBB Import Error(s)

    Stephen Edgar
    Keymaster

    Forum import – The documentation states that stickies will not be imported, however I after doing the import I have around 20 ‘super-stickies’ which, looking at the old forum, are a mixture of announcements and stickies. I’d rather these weren’t converted to anything, and as far as I’m aware they shouldn’t be (https://bbpress.trac.wordpress.org/ticket/2126)

    The above ticket you reference was the ‘issue’ being created to track the changes and progress of implementing this feature.

    In comment 12 that is where the ticket was to updated to ‘fixed’ and ‘closed’ via changeset r5170. Trac can be a little daunting at first trying to understand everything that goes on in a ticket 😉

    With only your ~20 ‘stcikies’ it shouldn’t take more than a couple of minutes to ‘unstick’ the ones you do not want after your import has finished and the repair tools run.

    I have updated the docs to reflect that also https://codex.bbpress.org/import-forums/phpbb/

    Stickies – is there a way to ignore stickies during the import? They don’t appear to have come through correctly so it would be nice to simply ignore them (as was previously the case).

    How so, could you explaing that a little more please? Do the topics ‘look right’ and are just not ‘stuck’ or something else going on?

    User import – During the import, I (the main WordPress admin user) seem to have had quite a lot of forums, topics and replies linked to my user. I wasn’t a user on the previous phpBB forum at all so I’m not sure why I’ve adopted these posts. Or any posts for that matter.

    If there is a username match the importer will try to match the posts being imported with any current WordPress user, thus if phpBB has a user named ‘admin’ and you use the default the default WordPress username ‘admin’ that will be the cause.

    The best work around for this would be to rename the phpBB username in the database bvefore importing.

    Users – looking at the phpbb data, the amount of imported users seemed to match up, but I wonder if I’ve been assigned posts that were previously changed to the ‘Anonymous User’ that phpBB has at user ID 0… the amount of posts don’t seem to match up with that theory but a ‘majority’ of the posts that have been assigned to me seem to match the logic to an extent (ie, posts that have been moved into a ‘moderators only’ forum for further discussion about actions to be taken).

    You should notice that you now actually have a WordPress username ‘Anonymous’, so any ‘Anonymous’ posts should be attributed to that user.

    Your ‘moderators only’ forum after import you should change the bbPress forum permission to ‘hidden’ and that will make that forum the equiv bbPress ‘moderators only’ forum.

    Repair tools – All the repair tasks seem to work ok, except for two:
    – Recalculate the position of each reply
    – Remap existing users to default forum roles
    These two tasks end up white-screening with no status messages at all.

    What size is the phpBB database your importing? (Approx. Forums, Topics, Posts & Users please 🙂 )

    User Login Conversion – User logins are converted correctly when using the standard wordpress login screen but now when using my custom frontend ajax login – does anyone know if there’s a way to get that to work? A seperate topic has been started about that here: https://bbpress.org/forums/topic/user-login-authentication-migrated-phpbb-users/

    I’ve pretty much still got the same opinion as I wrote last night here.

    User Login – that’s correct – I’m just using the wp-signon method so I guess I’ll need to add some kind of do_action() call or something to trigger the conversion? If you can point me in the right direction, that would be great 🙂

    There is nothing to point you to sorry, when a user logs in for the first time after the import their legacy salt and hash password get’s converted to the native WordPress password format. Without knowing each legacy password their is no way to do this programmatically.

    bbPress’ login forms actually are hooked into the WordPress login forms, so theoretically it shouldn’t be too difficult for either the plugin you are using to add support for bbPress or possibly look for another similar plugin that already supports bbPress.

    Passwords and all their associated algorithms are hard and this an area where I just manage to skate by with the basics, actually doing any of what I mentioned in the previous paragraph is way beyond my skill level and pay grade 😉

    dzung
    Participant

    @leonyipa, thanks for that but I’ve done it already. “in bbPress setting, the default role is “Participant” I meant I set the auto default role to be Participant.

    So here are steps that I do:
    – In stall, WP and Go to Dashboard-Setting-General – Set New User Default Role to “Subcriber”
    – Install bbPress, go to Dashboard – Setting – Forums – Check the option for Auto Role and set it to “Participant”
    – On front end- I create an account for test!

    – In Dashboard – Users List: The Forum Role of the newly created user is “Participant” – The Site Role value is “Participant” which I expect should be “Subcriber”.

    If I un-check/disable the Auto Role in bbPress setting, then when someone create an account the Site Role value of that user would be “none” and the value for Forum Role would still be “Participant” – I don’t know what wrong!

    #148517

    In reply to: Descending sort

    Topher Jamero
    Participant

    Using the most recent version, able to order topics by latest posted topic and not by latest topic activity

    bbpress>includes>topics>template : (line)154

    I didn’t remove it but commented it as I don’t know what to replace with the _bbp_last_active_time to achieve ordering by the latest posted topic.

    #148516

    In reply to: How to add a @username

    Robin W
    Moderator

    or put

    /**
    * Add @mentionname after bbpress forum author details
    */
    
    add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' );
    function mentionname_to_bbpress () {
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    }
    }
    

    in your functions file.

    Functions files and child themes – explained !

    both methods are valid, if you use @robkk’s method, remember to create this as a separate file within your theme
    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3

    #148515
    Robin W
    Moderator

    ok, use this template, but follow the instructions in https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#8-make-sure-bbpress-uses-the-page-template-we-want

    in the copy that you have renamed bbpress then remove

    <?php
     if ( ! is_active_sidebar( ‘sidebar-2′ ) && ! is_active_sidebar( ‘sidebar-3′ ) && ! is_active_sidebar( ‘sidebar-4′ ) && ! is_active_sidebar( ‘sidebar-5′ ) )
     return;
     ?>

    and replace it with

    <?php get_sidebar(); ?>
    

    and then ensure that bbpress tweaks is saying to use bbpress.php

    #148513

    In reply to: How to add a @username

    Robkk
    Moderator

    How to add a @username like BBPress forum

    <?php $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    } ?>

    you add this to your loop-single-reply.php template

    #148512

    In reply to: Descending sort

    Topher Jamero
    Participant

    @sandyrig was hoping for sorting a topic not replies

    I guess bbPress developers have so much stuff in their hands. Been searching for solutions for days but still no luck. I find this software a bit constrained.

    Has anybody tried muut?

    #148511
    Leonyipa
    Participant

    How to add a @username like BBPress forum(this), see example in red bracket.
    How to change the user role from Words to image?

    Example:
    null

    dzung
    Participant

    Hi,

    I have a site with bbPress intalled. I have set the New User Default role in Setting/General to a Custom Role that I made. in bbPress setting, the default role is “Participant”.

    The issue is when a new user created their Site role auto set to “Participant”. does anyone know, how to fix this so that new user will have site role as the value set in Setting/General?

    #148501
    Robin W
    Moderator

    probably a theme or plugin problem

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #148500
    EigerT
    Participant

    Hi, I’ve created a number of forums within a bbPress forum. When a new topic is posted inside a forum on a web page it doesn’t appear in that forum although it does appear in the topics list in the dashboard…

    In order to get the topic to appear in the correct forum it has to be set manually in the dashboard.

    Why is this happening?

    Robin W
    Moderator

    wordpress is post software and has posts and comments

    bbpress is forum software, so it has forums, topics and replies

    so people will reply to topics, not comment on them !

    so I would

    1. deactivate buddypress
    2. switch to a default theme such as twentytwelve and see if people can now reply to topics, you are only doing this to see if your theme has an issue with replies.
    3. let us know whether you are allowing anonymous posting, or whether you onlt want topics/replies from registered users?

    Also, how do I just let people see the topics and not the forum?

    umm, not sure what you mean, either you have a forum or your have posts and comments, you can’t have forum topics with post comments 🙂

    Ineedbbhelp
    Participant

    I first installed bbpress for the forums to be on a discussion page of my website. Not for the entire website to be forums. Everything seemed to be working fine, but people can’t comment on the topics. After researching more I installed buddypress too, and now i’m more confused because its a whole different look and now there is no forums. I think i’m going to deactivate it for the moment.

    But how do I get bbpress to let people comment on the topics? It lets people create topics, but thats about it.

    Please help!!!!

    #148490

    In reply to: Edit My Profile link

    Robin W
    Moderator

    Personally I hate the toolbar – it should only be there for admins !

    I switch it off and use a menu item

    Layout and functionality – Examples you can use

    #148489
    Robin W
    Moderator

    not sure what you’ve done, but it will be as simple as a comma or ; missing somewhere

    I’d suggest you

    download a copy of bbpress to your PC

    Download

    and then FTP the functions file to overwrite what you have messed up 🙂

    Then nose around the files on your PC rather than your site !

    Don’t worry I used to do what you’re doing until I did much the same, now I look at a copy not live !

    #148485

    In reply to: phpBB Import Error(s)

    Stephen Edgar
    Keymaster

    Cool, whack your issues here and I’ll check than out tomorrow.

    Quick answers:

    – stickies are now converted so I’ll update the docs for that.

    – Repair tools, as I stated in the other thread shouldn’t do this, will look closer tomorrow

    – Users is odd, seems maybe some users aren’t getting imported, job for tomorrow also

    – User login, bbPress doesn’t actually convert the phpBB password until the migrated user logs in for the first time. This will most likely be the issue in that the ajax login is stepping around this. Presumably after an imported user has logged in and their password converted the Ajax login will work.

Viewing 25 results - 19,826 through 19,850 (of 64,517 total)
Skip to toolbar