Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'phpbb'

Viewing 25 results - 1,026 through 1,050 (of 2,317 total)
  • Author
    Search Results
  • #115816

    I forgot to include that revision in 2.1.1. It will be in 2.1.2 later this week. 🙁

    #115812
    nick_w
    Member

    Thanks guys. I’ve updated the phpBB.php file as suggested, wiped out the Forums again, did the conversion from phpBB3 – it went through beautifully – and promptly received the same error when trying to login as a non-admin user that got ported from phpBB, only now it complained about phpBB.php vs. Phpbb.php.

    So still no-go for me. 🙁

    nick


    Warning: require_once(converters/phpBB.php) [function.require-once]: failed to open stream: No such file or directory in /home/[ … ]/wp-content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 1467

    Fatal error: require_once() [function.require]: Failed opening required ‘converters/phpBB.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in
    /home/[ … ]/wp-content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 1467

    #115796

    This should be fixed in 2.1.1 actually. The problem is each user has a meta value stored with ‘Phpbb’ when it should be ‘phpBB’. Updating the old meta keys should fix it, and I’ll add that bit into the next bbPress update.

    #115795
    Stephen Edgar
    Keymaster

    This has now been fixed and will be in the next update v2.12

    As a workaround you can download the updated phpBB.php file here.

    Seeing as you wiped bbPress and tried the import from phpBB again, if you do the same again with this update users no longer need to reset their password 😉

    nick_w
    Member

    I had successfully converted a phpBB3 (3.0.10) Forum to bbPress Plugin 2.1, under WP 3.4.1 with bbPress’ built-in converter. phpBB usernames were converted, but passwords had to be reset and users were prompted to enter either their emails or usernames. Everything worked fine.

    Then the other day, I upgraded to bbPress 2.1.1 (plugin), and now when a user tries to log in and supplies a password, instead of being redirected to an alert, I get this error (full path is truncated) – see below. Line 1467 is simply an instruction to process scripts in the “converters/” directory. I tried wiping out the Forum database and converted from phpBB again – same difference… Any idea?

    Thanks,
    nick

    Warning: require_once(converters/Phpbb.php) [function.require-once]: failed to open stream: No such file or directory in /[…]/wp-content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 1467

    Fatal error: require_once() [function.require]: Failed opening required ‘converters/Phpbb.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /[…]/wp-content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 1467

    Buovjaga
    Participant

    Did those and it still gets stuck. Can you confirm that the topic is on the row 660?

    Stephen Edgar
    Keymaster

    Can you try going into the phpBB Admin and run the following:-

    • Resynchronise statistics
      Recalculates the total number of posts, topics, users and files.

    • Resynchronise post counts
      Only existing posts will be taken into consideration. Pruned posts will not be counted.

    • Resynchronise dotted topics
      First unmarks all topics and then correctly marks topics that have seen any activity during the past six months.

    Buovjaga
    Participant

    It is a clean WP install on my local machine. Phpbb is 3.0.9.

    I finally ran it 1 row at a time and this is the content of bbp_converter_query:

    > SELECT convert(topics.topic_id USING “utf8”) AS
    > topic_id,convert(topics.forum_id USING “utf8”) AS
    > forum_id,convert(topics.topic_poster USING “utf8”) AS
    > topic_poster,convert(posts.post_text USING “utf8”) AS
    > post_text,convert(topics.topic_title USING “utf8”) AS
    > topic_title,convert(topics.topic_time USING “utf8”) AS topic_time FROM
    > phpbb_topics AS topics INNER JOIN phpbb_posts AS posts USING
    > (topic_id) WHERE posts.post_id = topics.topic_first_post_id LIMIT 660,
    > 1

    How can I determine the correct id in phpmyadmin? Is it row 660? Like if I have Show 30 rows starting from 660, will it show the correct topic id as the first one? The topic in question doesn’t seem to have anything out of the ordinary in it.

    Stephen Edgar
    Keymaster

    Also have a read of the following thread and try some of the suggestions by JJJ here and here.

    Can you try with a clean WordPress install on a different webhost or setup a local environment?

    Try the import using the remote SQL server address rather than ‘localhost’

    Can you narrow down the if it is an exact post that the importer fails on? eg. Is there some weird strings in the database for topic #xyz that is causing the importer to stop.

    Buovjaga
    Participant

    bbPress 2.1.1 was released and the notes said “Fixed Invision, phpBB, and vBulletin importers”.
    Didn’t help with my problem!

    Buovjaga
    Participant

    Is there any way I can debug this?

    Buovjaga
    Participant

    Tried with 10 rows, 1 sec and 5 sec delay both result in a crash:
    Converting topics (650 – 659)

    Buovjaga
    Participant

    I’m starting to suspect there is something fishy about this certain group of topics: Converting topics (500 – 599) – crashes every time. I had a delay of 5 seconds and could see in the monitor the disk use drop to zero for a good while.

    Buovjaga
    Participant

    Thanks, I’ll try decreasing the rows, increasing delay time and observing my disk in the Resource Monitor. Already had memory_limit = 1000M.

    Stephen Edgar
    Keymaster

    If your having problems don’t increase the load to 1,000 try decreasing the load to 50 or 10, also increase the delay time to allow the disk to finish its I/O operations before executing another query.

    Your PC memory has nothing to do with how much memory is being allocated to php.exe, to increase the allocated memory to the PHP process open up your php.ini file and increase ‘memory_limit’ to 256M.

    Also open up Windows ‘Resource Monitor’ whilst you are running this to monitor the PHP process and Disk I/O, when I was doing early testing it was my HDD that was the bottleneck and causing the import to fail.

    Buovjaga
    Participant

    When the converter gets to the topics, it stalls and when I check the Apache error log I see this:
    [Thu Jul 19 07:46:32 2012] [notice] Parent: child process exited with status 3221225725 — Restarting.
    [Thu Jul 19 07:46:33 2012] [notice] Apache/2.2.21 (Win32) PHP/5.3.9 configured — resuming normal operations

    Same with default settings or 1000 rows setting. It did about 500 topics and then stalled. It doesn’t look like it’s because of memory, I have 4GB and a 64-bit system (doing this locally). Any tips?

    #115229
    Lynq
    Participant

    Hey guys,

    I am putting up a topic to show how I have created the layout on http://teamoverpowered.com/forums/

    My aim when creating the theme was to try and create a last poster block that would work throughout the forums and sub forums list.

    custom_bbp_list_forums – this function creates the sub forums under the main forum

    public function custom_bbp_list_forums( $args = '' ) {
    
        // Define used variables
        $output = $sub_forums = $topic_count = $reply_count = $counts = '';
        $i = 0;
        $count = array();
    
        // Defaults and arguments
        $defaults = array (
            'before'            => '',
            'after'             => '',
            'link_before'       => '',
            'link_after'        => '',
            'count_before'      => ' (',
            'count_after'       => ')',
            'count_sep'         => ', ',
            'separator'         => ', ',
            'forum_id'          => '',
            'show_topic_count'  => true,
            'show_reply_count'  => true,
            'show_freshness_link'  => true,
        );
        $r = bbp_parse_args( $args, $defaults, 'list_forums' );
        extract( $r, EXTR_SKIP );
    
        // Bail if there are no subforums
        if ( !bbp_get_forum_subforum_count( $forum_id ) )
            return;
    
        // Loop through forums and create a list
        $sub_forums = bbp_forum_get_subforums( $forum_id );
        if ( !empty( $sub_forums ) ) {
    
            // Total count (for separator)
            $total_subs = count( $sub_forums );
            foreach ( $sub_forums as $sub_forum ) {
                $i++; // Separator count
    
                // Get forum details
                $count     = array();
                $show_sep  = $total_subs > $i ? $separator : '';
                $permalink = bbp_get_forum_permalink( $sub_forum->ID );
                $title     = bbp_get_forum_title( $sub_forum->ID );
    
                // Show topic count
                if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
                    $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
                }
    
                // Show reply count
                if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
                    $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
                }
    
                // Counts to show
                if ( !empty( $count ) ) {
                    $counts = $count_before . implode( $count_sep, $count ) . $count_after;
                }
    
                if ( !empty( $show_freshness_link ) ) {
                    $freshness_link = "" . BBP_Default::teamop_get_last_poster_block( $sub_forum->ID ) . "";
                }
    
                // Build this sub forums link
                if ($i % 2) { $class = "odd-forum-row"; } else { $class = "even-forum-row"; }
                $output .= "" . $link_before . '<a href="' . $permalink . '">' . $title . '</a>' . $counts . $freshness_link . $link_after . "";
            }
    
            // Output the list
            echo apply_filters( 'bbp_list_forums', $before . $output . $after, $args );
        }
    }
    

    I then call that function inside loop-single-forum.php like so:

    BBP_Default::custom_bbp_list_forums( array (
            'before'            => '',
            'after'             => '',
            'link_before'       => '',
            'link_after'        => '',
            'count_before'      => 'Topics: ',
            'count_after'       => '',
            'count_sep'         => 'Posts: ',
            'separator'         => '',
            'forum_id'          => '',
            'show_topic_count'  => true,
            'show_reply_count'  => true,
            'show_freshness_link' => true,
            ));
    

    Inside the first function I am also calling a second custom function called custom_get_last_poster_block

    function custom_get_last_poster_block( $subforum_id = "" ) {
    
                if ( !empty( $subforum_id ) ) {
                    $output = "";
                    $output .= "<a href='". bbp_get_forum_last_topic_permalink( $subforum_id ) ."'>" . bbp_get_topic_last_reply_title( bbp_get_forum_last_active_id( $subforum_id ) ) . "</a>";
                    $output .= "";
                    $output .= "by ";
                    $output .= bbp_get_author_link( array( "post_id" => $subforum_id, "size" => 14 ) );
                    $output .= "";
                    $output .= "";
                    $output .= bbp_get_forum_last_active_time( $subforum_id );
                    $output .= "";
                } else {
                    $output = "";
                    $output .= "<a href='". bbp_get_forum_last_topic_permalink() ."'>" . bbp_get_topic_last_reply_title( bbp_get_forum_last_active_id() ) . "</a>";
                    $output .= "";
                    $output .= "by ";
                    $output .= bbp_get_author_link( array( "post_id" => bbp_get_forum_last_active_id(), "size" => 14 ) );
                    $output .= "";
                    $output .= "";
                    $output .= bbp_get_forum_last_active_time( bbp_get_forum_last_active_id() );
                    $output .= "";
                }
    
                return $output;
    
            }
    

    This then creates my sub forum list, I added some extra classes in I can hook onto and display:none if need. I decided when creating me theme that I would get as much information showing as possible, then just use CSS to customise it.

    The final functions is one I call inside loop-single-topic.php.

        public function custom_get_last_poster_block_topics() {
    
                $output .= "";
                $output .= bbp_get_author_link( array( "post_id" => bbp_get_forum_last_active_id(), "size" => 14 ) );
                $output .= "";
                $output .= "";
                $output .= bbp_get_topic_last_active_time( bbp_get_topic_last_active_id() );
                $output .= "";
    
            return $output;
    
        }
    

    This is my final function and it just adds the last poster block inside the topics list.

    If you need any more help then let me know.

    UPDATE: Please see the following topic for updated code

    I have created a bbPress starter theme with a phpBB look and feel

    Stephen Edgar
    Keymaster

    The very first setting on the ‘Import Forum’ page has a drop down to select which forum software you are wanting to import from bbPress, phpBB etc,

    And to clarify bbPress1 is the same as bbPress Standalone

    #114180
    Stephen Edgar
    Keymaster

    bbPress 2.1 includes a conversion tool to import forums/topics/replies/users from some of the popular forum packages eg. bbPress or phpBB

    There is an ‘example’ file also included as a ‘reference template’ that if Mingle is using a SQL database then you could easily modify this to be a custom importer by matching the correct database tables/fields etc

    The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converters

    If you look at converting Mingle it would be great if contributed this back to bbPress for other Mingle users https://bbpress.trac.wordpress.org/

    #114500

    In reply to: Importing users?

    Stephen Edgar
    Keymaster

    bbPress 2.1 includes a conversion tool to import forums/topics/replies/users from some of the popular forum packages eg. bbPress or phpBB

    There is an ‘example’ file also included as a ‘reference template’ that if your 10,000 users are in a MySQL database then you could easily modify this to be a custom importer by matching the correct database tables/fields etc

    The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converters

    #114388
    Stephen Edgar
    Keymaster

    As Anointed points out bbConverter is no longer being maintained but the code was used as the base for the freshly pressed bbPress v2.1 with many improvements to the conversion process.

    https://wordpress.org/extend/plugins/bbpress/

    That said though, I have not tested the Invision import process, only bbPress & phpBB but you could definitely try the import with bbPress 2.1 and let us know how it goes

    neondev
    Member

    Hey there! Just as the topic says :)

    I’m looking for a plugin for WordPress or bbPress that will allow my forum users to create an image showcase.

    I feel like they’re going to use it a good bit, as the site in question is all about collections of glass art.

    Is there anything out there that will serve my needs? Does anyone know? I know that vBulletin has an addon that allows users to do this, and I believe phpBB does as well.

    #114416
    arpnet
    Member

    im about to go to phpbb

    #46268
    rabbitrabbit
    Participant

    I had a phpBB forum that I was trying to migrate into my WordPress MU blog.

    I used the bbConverter WP Plugin and found that when I tried to migrate the phpBB Forum it imported everything but the users.

    So I thought I would do the migration in two stages.

    1. Migrate phpBB forum to Standalone WP Blog (with bbPress Plugin obviously)

    2. Move standalone WP Blog to MU WP Blog

    Stage 1 worked fine so my issue (and question) is NOT with phpBB or bbConverter

    Stage 2 however didn’t work, when I tried to import the WP backup into a blog in my MU set-up none of the users, forums, topic or replies would import.

    So, is there an easier way of migrating a WP Blog using the bbPress plugin INTO a WP MU Blog ?

    Cheers

    David

    #114110
    enderandrew
    Participant

    WordPress itself can handle load fairly well, and is fairly optimized. The question is how well does bbPress handle millions of posts.

    Any DB can struggle with a table with millions of rows, depending on the hardware you throw at it. My main concern with bbPress in such an environment is that all WordPress posts themselves share the same table as bbPress 2.x, since it uses custom posts types.

    You might be better off using a separate forum on a separate DB from a performance impact, but you lose the integration of WordPress user accounts that you get with bbPress.

    The other point to consider is that since bbPress is relatively simplistic forum software (that’s not meant as a slam, it just isn’t as feature rich as IPB, phpbb, etc), there may be fewer SQL queries per page load with bbPress.

Viewing 25 results - 1,026 through 1,050 (of 2,317 total)
Skip to toolbar