Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 24,326 through 24,350 (of 64,518 total)
  • Author
    Search Results
  • JV44HeinzBar
    Participant

    Hi @purplep,
    Thanks for typing out these instructions. I’ve done everything that you instructed for my webpage, . Unfortunately, the registration doesn’t appear to be working. The page that opens up when clicking “register” is the login page.

    I followed your instructions exactly with the exception of : “Now go to Appearance > Widgets. Drag and drop the ‘BBloggin Widget’ into your side bar (on the left. Make sure you have the side bar activation in Appearance > Customize > Layout)” My widgets are on the right side.

    Please check out my website and tell me what you think.

    Sincerely,
    Heinz

    RitaJoC
    Participant

    I keep receiving the above-referenced error. I’m using wordpress 3.6 and 2.4 bbpress. I don’t have a multisite network setup. Help! Thank you.

    Rita

    #137067
    Stephen Edgar
    Keymaster

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ’1′ WHERE post_author = ’2′; and it will count for the forum, too?

    If a user already exists in WordPress during the import a new user will be created called ‘Imported_Username’, you can go to wp-admins user panel and when you select ‘Delete User’ you will be prompted to delete all posts or attribute them to another user, select the later and all the topics/replies etc will be attributed to the user you selected.

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    I am going to look at passwords next week for all the importers as my skills with PHP are only just beginning so this is all a bit tricky for me at the moment. 😉

    So the best workaround is to have the users reset their password by email for now.

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    Go to bbPress tools and run the repair tool ‘Remap existing users to default forum roles’ and that will do the trick. https://codex.bbpress.org/repair-forums/

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    If the passwords are not being converted you do not need to keep it, though I don’t see any issues why you would need to delete it.

    Speaking of keeping it, can we include your WBB v3 Importer and distribute it with bbPress?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    Currently bbPress only has: https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Visibility: decide whether your forum is public, private or hidden.
    Public – Anyone can see these forums
    Private – Only logged in registered users can see these forums
    Hidden: Only Moderators/Admins can see these forums

    I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    The translator table is not kept and the old user ID is stored in wp_usermeta as per this item in the ‘Example.php’ importer.

    https://bbpress.trac.wordpress.org/browser/trunk/includes/admin/converters/Example.php#L458

                    // Store old User id (Stored in usermeta)
    459	                $this->field_map[] = array(
    460	                        'from_tablename'  => 'users_table',
    461	                        'from_fieldname'  => 'the_users_id',
    462	                        'to_type'         => 'user',
    463	                        'to_fieldname'    => '_bbp_user_id'
    464	                );

    I’ll take closer look at the importer and structure you linked to over the weekend and post back with anything else I can think of.

    #137066
    Stephen Edgar
    Keymaster

    As far as I know there are no issues importing from phpBB v3.0.11

    This doc has any known issues when using the phpBB importer:
    https://codex.bbpress.org/import-forums/phpbb/

    Did your import fail at one point and you started the import again which would have caused duplicates?

    To debug the issue further I would need some detailed information, particularly some SQL examples would be helpful.

    If you still have issues after resting your forums and this constantly happpens please create a ticket on Trac https://bbpress.trac.wordpress.org/ with some detailed steps to reproduce the issue and I will take a look.

    #137065
    SysFailure0x5a
    Participant

    Nevermind, I found bbpress 2.3.2 stable here: https://bbpress.trac.wordpress.org/browser/branches/2.3?rev=4891

    Thanks.

    For google searches:

    Download BBpress 2.3.2
    Downgrade to BBPress 2.3.2
    https://bbpress.trac.wordpress.org/browser/branches/2.3?rev=4891

    #137064
    SysFailure0x5a
    Participant

    @Xevo

    Go to https://bbpress.trac.wordpress.org/browser/branches/2.3 and press “Zip Archive” at the bottom.

    That appears to be 2.3.3-ALPHA. I need the latest stable of 2.3, which I thought was 2.3.2?

    #137063

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    Joe,

    Thanks for looking at this I uploaded a new version with the fix above for the ‘to_type’ you mentioned above.

    I have not started with the passwords as of yet, this is next weeks job to look at all the importers passwords sections and begin writing custom callbacks for all of them. With my limited PHP skills this is going to be a challenge indeed. I will be calling heavily on the code found in the phpBB importer to base the code on and then changing any calculating/algorithms as needed.

    If you beat me to it, I could live with that 😉

    #137062
    Kaliceos
    Participant

    I’m not good enough in PHP and wordpress filters to help you, but you should check the diff between 2.3 and 2.4 for the /includes/common/functions.php around line 1158. Some changes were made to the bbp_parse_args function.

    Otherwise, you can edit (or create) your theme’s bbpress/loop-single-forum.php and edit the bbp_list_forums() line 30 to bbp_list_forums(array (‘separator’ => ‘<br />’)). That should do the trick.

    #137061

    In reply to: SMF Import to bbPress

    bigtreesjoe
    Participant

    well, I turned on wp debug and found a simple syntax error in my file that was causing all / most of the problem.
    I had included an authentication function that I think might have worked but had backed it out thinking it might have been causing the problem.

    For anyone else thinking about using any of the converters, I would strongly recommend that you set WP_DEBUG to true in wp-config.php first.

    SysFailure0x5a
    Participant

    For some reason my last comment isnt showing up…

    No, I even stripped all the plugins and themes out of the install, and removed/reinstalled bbpress. Same issue. I don’t feel that I had anything abnormal installed for plugins. Most of the popular plugins, jetpack, basic functionality stuff like image resizing/fitting, stat tracking, google analytics, shortcode stuff…

    Here is another person who had the problem. I also found a thread on your bug tracking site regarding this issue for multisite from several versions back. Can’t find the link right now, but it said resolved… Not so sure that’s true.

    You do not have sufficient permissions to access this page.

    and another

    You do not have sufficient permissions to access this page.

    and another…

    Admin user: "You do not have sufficient permissions to access this page"

    It’s also broken for BRAND NEW sub sites with brand new admin usernames.

    #137059

    In reply to: SMF Import to bbPress

    bigtreesjoe
    Participant

    I have started the import using my modified version of the smf 2.xx converter file (I’m on smf 1.1.8)
    The converter has been just sitting there saying “starting” for several minutes.
    There isn’t that much data to go through because I pruned old messages and inactive members.
    If there were some sort of error, would the importer report it?

    One thing that is different is that I included the prefix in the importer file itself (like smf_boards rather than boards) and left the prefix field on the importer empty.
    joe

    PureLoneWolf
    Participant

    I posted a new topic…I think there are other issues.

    Issue since upgrade to 2.4

    Cheers

    #137056
    PureLoneWolf
    Participant

    Hi there

    I have bbPress (along with BuddyPress) on two, fundamentally, identical websites.

    However, on http://www.wolflan.com, I have no issues, but on clan.wolflan.com I have a couple of weird ones.

    They are both even using themes from the same author.

    On wolflan.com, I was able to use

    function custom_bbp_list_forums() {
      $args['separator'] = '<br />';
     
      return $args;
    }
     
    add_filter('bbp_before_list_forums_parse_args', 'custom_bbp_list_forums' );

    in my themes functions.php, and therefore get the sub-forums on their own line. Additionally, I was able to add individual forums to the site navigation menu (Appearance/Menus).

    On clan.wolflan.com I was able to get the sub-forums on their own line, up until I upgraded to 2.4. At which point, my private forums moved to the bottom and the code above stopped putting the sub-forums on their own line. Today, I decided that I would like to have forums on the navigation and noticed that I have no option for this.

    Both sites are running an identical plugin list, they are both on the latest versions of all plugins and are also running WP3.6.1 as of this morning.

    Would anyone have any ideas?

    I have linked to images that show the issue:

    wolflan.com
    Fully working, modded functions.php
    fullworkingfunctionsmod.png
    Fully working, wordpress menu editor
    fullworkingmenueditor.png

    clan.wolflan.com
    Not working, modded functions.php
    nonworkingfunctionsmod.png
    Not working, wordpress menu editor
    nonworkingmenueditor.png

    Would anyone have any ideas as to what I can do to solve these two issues?

    Many thanks
    Dave

    #137052

    In reply to: SMF Import to bbPress

    bigtreesjoe
    Participant

    By the way, shouldn’t this:

    		// User password verify class (Stored in usermeta for verifying password)
    		$this->field_map[] = array(
    			'to_type'      => 'members',
    			'to_fieldname' => '_bbp_class',
    			'default'      => 'SMF'
    		);
    
    be this instead:
    

    // User password verify class (Stored in usermeta for verifying password)
    $this->field_map[] = array(
    ‘to_type’ => ‘user’,
    ‘to_fieldname’ => ‘_bbp_class’,
    ‘default’ => ‘SMF’
    );

    #137051

    In reply to: breadcrumbs missing

    jralston
    Participant

    I have found the template tag: `/**
    * Output a breadcrumb
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    * @uses bbp_get_breadcrumb() To get the breadcrumb
    */
    function bbp_breadcrumb( $args = array() ) {
    echo bbp_get_breadcrumb( $args );
    }
    /**
    * Return a breadcrumb ( forum -> topic -> reply )
    *
    * @since bbPress (r2589)
    *
    * @param string $sep Separator. Defaults to ‘←’
    * @param bool $current_page Include the current item
    * @param bool $root Include the root page if one exists
    *
    * @uses get_post() To get the post
    * @uses bbp_get_forum_permalink() To get the forum link
    * @uses bbp_get_topic_permalink() To get the topic link
    * @uses bbp_get_reply_permalink() To get the reply link
    * @uses get_permalink() To get the permalink
    * @uses bbp_get_forum_post_type() To get the forum post type
    * @uses bbp_get_topic_post_type() To get the topic post type
    * @uses bbp_get_reply_post_type() To get the reply post type
    * @uses bbp_get_forum_title() To get the forum title
    * @uses bbp_get_topic_title() To get the topic title
    * @uses bbp_get_reply_title() To get the reply title
    * @uses get_the_title() To get the title
    * @uses apply_filters() Calls ‘bbp_get_breadcrumb’ with the crumbs
    * @return string Breadcrumbs
    */
    function bbp_get_breadcrumb( $args = array() ) {`

    But I haven’t any idea how to use it. I know I need to add the function into functions file but I need the actual function. Then I need to call that function in the template file. Suggestions?

    #137049
    Newo1t
    Participant

    Hello,

    I tried for several days to import my forum PHPBB 3.0.11 (the latest version) to bbPress, the latest version too, but the problem is that I end up with countless duplicate for each element of the forum.

    How to remedy this?

    Sincerely,

    #137048
    inspirationally
    Participant

    Hello,

    after exactly 10 years and over 500.000 posts with our board deppheads.com running with Woltlab Burning Board (right now version 3.1.8), social networks have sort of won – instead of 150 new posts the day we have now maximum 5 posts. WBB4 will be coming out soon, so this is the right time to sell my WBB license and move it all to my site johnny-depp.org, powered by WordPress. This is where I seek help.

    I already deleted inactive members, so that we now have “just” over 300, but I don’t want to delete all the written things like movie reviews and serious discussion, as this is still the home of many. So there are 500.000 posts and nearly 10.000 topics to be imported.

    I edited the example.php and so far it worked with importing members and forums (just on a test WordPress installation for now).

    However, there are some problems/questions I’ve come up with and I’m almost sure, there will be more following.

    1. there is, equally to phpBB, the problem, that there are topics and posts, and the first post of the topic has to become “topic content” of WBB.
    Here I used

    // Topic content.
    // Note: We join the posts table because topics do not have content.
    $this->field_map[] = array(
    'from_tablename' => 'wbb1_1_post',
    'from_fieldname' => 'message',
    'join_tablename' => 'topics',
    'join_type' => 'INNER',
    'join_expression' => 'USING (threadID) WHERE wbb1_1_post.postID = wbb1_1_thread.firstPostID',
    'to_type' => 'topic',
    'to_fieldname' => 'post_content',
    'callback_method' => 'callback_html'
    );

    Unfortunately, I get the error, that wbb1_1_post.message does not exist:

    WordPress database error: [Unknown column 'wbb1_1_post.message' in 'field list']
SELECT convert(wbb1_1_thread.threadID USING "utf8") AS threadID,convert(wbb1_1_thread.replies USING "utf8") AS replies,convert(wbb1_1_thread.boardID USING "utf8") AS boardID,convert(wbb1_1_thread.userID USING "utf8") AS userID,convert(wbb1_1_post.message USING "utf8") AS message,convert(wbb1_1_thread.topic USING "utf8") AS topic,convert(wbb1_1_thread.time USING "utf8") AS time,convert(wbb1_1_thread.lastPostTime USING "utf8") AS lastPostTime FROM wbb1_1_thread AS wbb1_1_thread LIMIT 0, 100

    But it does!
    I attached both, my wbb3.php import script and the database structure of the most important tables, here you go:
    http://deppheads.com/uploads/wbb.txt
    http://deppheads.com/uploads/database_structure.txt

    2. I hope/guess, this is also the reason that all topics (once I remove that passage that produces an error) are started either by Anonymous or by ME (although I haven’t done it)?

    3. some users are twice now (like myself..who have been admins of wordpress and users of the forum). Can I simply merge them with
    UPDATE wp_posts SET post_author = ‘1’ WHERE post_author = ‘2’; and it will count for the forum, too?

    4. the passwords – in WBB they are hashed by this:
    $passwort = sha1($row->salt.sha1($row->salt.sha1($_POST[‘passwort’])));
    so what do I write at the end of wbb3.php
    public function authenticate_pass( $password, $serialized_pass ) {
    $pass_array = unserialize( $serialized_pass );
    return ( $pass_array[‘hash’] == md5( md5( $password ). $pass_array[‘salt’] ) );
    }
    or is this impossible and the users have to get the new password by mail?

    5. the imported users have no “Forum Role”. Is is “normal”? Is there any chance to automatically give them the forum role “Participant”?

    6. do I have to keep the wbb3.php “forever” because of the passwords or can I delete it one day, even if not all members have com back yet?

    7. until now we have everything like private messages, profiles, friends and especially user groups (Moderators, crew members) with hidden forums. Do I see correct, that I can install both, import bbpress and afterwards attach for example our “Mods Only” to the group “Moderators” as group forum?

    8. I see that every user gets a new User ID – old IDs are saved in table _bbp_converter_translator – will that table be kept? Maybe by this I have a chance to later import – somehow – private messages for buddy press!?

    Alone if my first point is solved, I’d be thankful.

    Kind regards, inspirationally.

    #137047
    Tux Kapono
    Participant

    Per @sadr’s comment, 5 comments in, what is the BuddyPress Group Forum integration improvement? I just posted difficulties I’m having with it here: https://bbpress.org/forums/topic/how-to-change-default-forum-when-posting-new-topic/

    #137046
    Tux Kapono
    Participant

    Hi all, how does one change the default Forum for posting a new topic on the /forums page? I’d like it to be a group I created called ‘General Discussion’. I had this working fine before migrating from BuddyPress forums to bbPress.

    See http://destinationli.org/forums. The default is ‘Group Forums’, and the problem with that is that when one clicks on ‘Group Forums’ within the newly posted topic, it displays all the other groups first, with the relevant topic at the very bottom.

    Ideally, I’d like to delete ‘Group Forums’ as an option, unless I’m missing something.

    #137043
    acekin
    Participant

    Will it remap the existing roles “properly” and not revert everyone to whatever he default roles is? If latter, then I have to go and change some manually. If I knew how this would work I would have tried it sooner.

    I put a check mark in the box “Automatically give registered visitors the forum role” under Forum User Settings last night. As soon as I clicked Save the Forums/Topics/Replies came back. This morning they are still visible, I am not sure if that was a fix or not.

    Kaliceos
    Participant

    @purelonewolf I think I managed to do what @adorward was asking. I don’t know how he did it, but here is how I did.

    #137035
    Kaliceos
    Participant

    Hi,

    I’m in the process of migrating a phpBB forum to WordPress with bbPress. I don’t know if the bbPress style is better but my users are used to the phpBB style for displaying Forums on the main page. So I tried to reproduce that layout in bbPress using categories. With the default theme, I was not happy with the way it looked. After a quick search in these forums, I saw some interesting topics from @lynq (here and there) but it didn’t work as intended in the last bbpress release and ticket #1958 has been moved to 2.6.

    So after a few hours of searching codex, and a lot of tries, I managed to do what I wanted. As there is still some demand in Lynq’s topic, I thought I should share my little work.

    I’m not a developper, so my code may be a little messy, but it works as intended. I’ve tried using the bbpress functions, and commented my code. If any PHP expert would like to review it and make it better, any feedback is welcome.

    The only file to change is loop-forums.php with this code.
    You just need to create it and paste the code. Then upload it to /wp-content/your-theme/bbpress/. Use a child-theme if you don’t want to loose it on next theme update.

    The forums are not yet online, so here are some screenshots with descriptions. (In French, because, as you may have noticed, English is not my native language 🙂 )

    I’ve tested many situations (even a category inside a forum, which bbpress doesn’t consider anymore as a category, probably normal behavior) and I think everything works as intended. Feel free to report any bug.

    #137034

    Topic: Conditionals

    in forum Troubleshooting
    Squirrel
    Participant

    Hi there

    Does anyone know if BBPress has conditionals like BuddyPress does such as in the following link: buddypress conditionals?

    I am trying to find a condition for if you are on the forum index and the users forum list when on a profile. I can’t seem to find anything that works so if anyone knows that would be great.

    Thanks

    #137031

    In reply to: BBPress – Post Count

    FreeWPress
    Participant

    Bbpress have this function: bbp_user_post_count();

    But it not work in reply loop, i have used:
    bbp_user_post_count($user_id);
    bbp_get_user_post_count($user_id);
    bbp_user_reply_count($user_id);
    bbp_get_user_reply_count();

    Nothing work in reply loop…

    Whyyyy??? What is the problem? Why do not showww??

    I have also copy and paste this:

    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>

    But it don’t show anything, show only: ” Replies Created ” and empty after…

    HEEEEELPPP………….

    #137030
    ovizii
    Participant

    Thanks 🙂

Viewing 25 results - 24,326 through 24,350 (of 64,518 total)
Skip to toolbar