Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 2,176 through 2,200 (of 3,353 total)
  • @netweb

    Keymaster

    Can you try the repair tool “Remap existing users to default forum roles”
    https://codex.bbpress.org/repair-forums/

    @netweb

    Keymaster

    Do you actually have bbPress installed as I can’t see it on your site?

    In reply to: Users 404 pages

    @netweb

    Keymaster

    Hmmm… Maybe a plugin conflict?

    To try and resolve conflicts with other plugins please disable all your plugins except bbPress to see if the error persists. Re-enable each plugin one at a time and if things break again you should be able to now know which other plugin is causing the conflict.

    @netweb

    Keymaster

    I have the file (and removed the link in your post above).

    Which of those topics are and are not getting imported as all 6 (331-337) look fine to me and ‘should’ import without issue.

    @netweb

    Keymaster

    This what we have in the converter.php file:

    		if ( ! ini_get( 'safe_mode' ) ) {
    			set_time_limit( 0 );
    			ini_set( 'memory_limit',   '256M' );
    			ini_set( 'implicit_flush', '1'    );
    			ignore_user_abort( true );
    		}

    Send that to them and ask in particular the first two, timeout & memory limit.

    You can download something like this http://www.apachefriends.org/en/xampp.html
    (There are heaps of these depending on Mac, PC or Linux https://en.wikipedia.org/wiki/Solution_stack)

    They pretty much work out of the box and you just install WordPress locally, export your punBB database to import locally etc.

    @netweb

    Keymaster

    Your other two topics there are ‘super sticky’ and they will show in every forum list, change those to ‘sticky’ and they will only be stuck in their own forum.

    https://codex.bbpress.org/getting-started-with-bbpress/#adding-a-topic

    You can add tags for organizing your Topics, and you can make the post Sticky or Super Sticky.

    • Sticky posts will stick to top of the Forum which it is in.
    • Super Sticky posts will stick to the top of all Forums.

    @netweb

    Keymaster
    In reply to: Users 404 pages

    @netweb

    Keymaster

    This could be an issue with your rewrite rules. To fix this try resetting your permalinks. In your WordPress Administration Screens navigate to Settings > Permalinks, select a different permalink structure and save. Then select your preferred permalink structure and save again.

    @netweb

    Keymaster

    I cannot reproduce this WordPress editors can see the dashboard fine with these roles assigned:

    • WordPress Role: Editor
    • bbPress Role: Participant

    Also the error text you have above has nothing to do with this, you only get this error if you run the repair tool ‘Repair BuddyPress Group Forum relationships’ and you do not have BuddyPress installed.

    @netweb

    Keymaster

    There is no answer here yet, but presumable in time there will be

    Support Forum

    Also see https://bbpress.trac.wordpress.org/ticket/2451

    @netweb

    Keymaster

    With some luck after we work out what is going on in that other thread you won’t need to do this, that said it does need doing a simple UPDATE query is all that will be needed.

    This is a good query to have a look around and see the data matches based on what the IP was of the post and the users last known IP address, this no doubt is not going to be accuate if the users IP changed from their first post to their last post and maybe every post in between.

    SELECT 
    phpbb_posts.post_id, phpbb_posts.poster_ip, phpbb_posts.post_text, 
    phpbb_users.user_id, phpbb_users.username, phpbb_users.user_ip 
    FROM phpbb_posts 
    LEFT JOIN phpbb_users 
    ON phpbb_users.user_ip = phpbb_posts.poster_ip

    It would be much better to do an update query using phpbb_posts.poster_id if your database tables are not in a mess but that won’t be known until the other thread is resolved.

    @netweb

    Keymaster

    The best idea I have at the moment would be for you to post on http://pastebin.com or http://gist.github.com an excerpt of your phpBB table with a couple of entries either site of this mysterious ‘5 month mark’

    Fire up phpMyAdmin and open your phpBB database:

    Run the following query substituting > 5 & < 15 values with appropriate values from a couple of rows that shows what data IS being imported and also what is NOT.

    SELECT * 
    FROM  phpbb_topics 
    LEFT JOIN  phpbb_posts ON phpbb_topics.topic_first_post_id = phpbb_posts.post_id 
    WHERE phpbb_topics.topic_id > 5
    AND phpbb_topics.topic_id < 15

    Now at the results of that query at the bottom of the page is export click that and select Custom - display all possible options select the format as CSV and check the Put columns names in the first row check box.

    Upload that file somewhere and post the link here (or send me a DM on Twitter) and I can have a look at exactly what is going on.

    Edit: fixed mysql code formatting

    In reply to: SMF Import to bbPress

    @netweb

    Keymaster

    Could the database port have any effect?

    Yes, make sure that is also correct, the default is 3306 but your web host may use a different port.

    You could also check what your SMF config is by checking the database values in eg. /public_html/smf/Settings.php

    eg.

    ########## Database Info ##########
    $db_type = 'mysql';
    $db_server = 'localhost';
    $db_name = 'smf_database_name';
    $db_user = 'mysql_user_name';
    $db_passwd = 'mysecretpassword';
    $ssi_db_user = '';
    $ssi_db_passwd = '';
    $db_prefix = 'smf_';
    $db_persist = 0;
    $db_error_send = 1;
    

    @netweb

    Keymaster

    Did you try the Stop wait a few seconds and Start thing again?

    It seems to work now when I set the number of rows very low (10) and give it plenty of delay (5 seconds).

    Now the conversion process seems to have stopped when there’s about eight thousand Replies left to convert… I don’t see the spinning thing anymore indicating progress, but get the same time limit warning.

    I suspect both these are related to your web host is limiting us trying to bump the memory and timeouts it might be a good idea to contact your web host to see if they can at least ‘temporarily’ bump these for you until you have got your forum imported.

    Another option is to setup a local WAMP/MAMP/XAMMP install and try it locally on your PC.

    Resetting the forums does not remove all the imported users, by the way. Is that a problem?

    I’ll take a look at why this isn’t working as it should.

    Should I select “Start a fresh conversion from the beginning” or “Purge all information from a previously attempted import” or both?

    The ‘Start a fresh converesion’ will force the bbPress import to start from the beginning rather than resume from where it left off if it didn’t finish the import last time.

    Also, as mentioned, posts/Replies are all assigned to me, instead of the users who made them.

    Until the import is finished and the repair tools are run to ‘recount’ everything this can be the case until all the ‘metadata’ is sync’d up.

    @netweb

    Keymaster

    I suggest you update WordPress to 3.6.1 and bbPress 2.4.1 first and you would need to find out from the UAM plugin author if it supports the ‘Dynamic Roles’ for users that is implemented in bbPress.

    @netweb

    Keymaster

    My bad, it should be message, copy and paste error on my part.

    I suggest you reset the forums codex.bbpress.org/reset-forums/ and give it another go, I would also suggest due to your web host limiting some of the changes we try to make is to drop some of the values eg. to 50 rows at a time rather than the default 100, set the time to 2 seconds delay.

    If it appears that the importer stalls again, simply click ‘Stop’ wait a few seconds for your host to finish up any tasks its performing and click ‘Start’ and the import should resume from where it left off.

    @netweb

    Keymaster

    No, it doesnt do anything, just spinning. Maybe it needs to be start from beginning next time without “Purge Previous Import” checked. Seems as it try now to do all from very scratch.

    Sometimes the ‘Purge previous import’ gets a little confused 😉

    You can Reset Forums which will remove all forums, topics, topic tags & replies from the WordPress database giving you a ‘clean’ bbPress to start again.

    Dont want to be rude, but make plugin little bit verbose, put some info around, dont be leasy.

    As the converter is constantly being improved in bbPress we will get more verbose/debugging information in there in future versions. Generating this type of information supporting the ever growing ~35 different forum conversion scripts is no easy task and we are trying not to be vague yet at the same time not be to verbose either.

    In reply to: SMF Import to bbPress

    @netweb

    Keymaster

    @ricov4 What version of SMF are you trying to import from?

    Make sure you have the correct fields for ALL of the values:

    • Database Name: Name of the database with your old forum data
    • Database User: User for your database connection
    • Database Password: Password to access the database
    • Table Prefix: (Possibly could be smf_)

    @netweb

    Keymaster

    The error is due to a few settings we try to make with your web host to help the importer along with some time limits and memory limits. If you are getting forums and topics imported fine we can probably (for now) ignore the error.

    What version of PunBB are you trying to import from?

    Can you open up phpMyAdmin and confirm you have a _posts table, it may have a prefix eg punbb_posts and does it have the following fields in the table structure:

    id, poster, poster_id, poster_ip, poster_email, message, hide_smilies, posted, edited, edited_by & topic_id

    @netweb

    Keymaster

    @inspirationally Nice, I didn’t really think about doing things this way even though I’ve been debugging WordPress Multisite’s the past couple of days.

    Your way uses a single WordPress site with multiple domains and it looks like that works quite well for your use case.

    Another way would be to go WordPress Multisite using sub domains, your primary site would be http://example.com and with an extra site created using a sub-domain install at http://forums.example.com

    So overall it looks like there is a few different ways to achieve the end goal and it’s just a matter of now working out which option is best for your use case.

    @netweb

    Keymaster

    I think these are what your looking for…

    @netweb

    Keymaster

    This cannot be done at this stage…

    The only way I can think of doing this would be to install WordPress as forums.gamingtracks.com and then you would have URL’s like this:

    http://forums.gamingtracks.com/forums/topic/bbpress-forums-to-subdomain-included-with-domain/

    @netweb

    Keymaster

    Are you running the ‘Repair Tools’ after importing to recalculate the counts?

    As the importer is running SQL queries grabbing ‘all the things’ directly from the phpBB MySQL database this should not be an issue.

    It should not be missing anything, but, thinking about this for a moment, do you know if WP-United alters any phpBB or WordPress database tables? If so do you know what changes it makes?

    What happens if you disable WP-United plugin before importing?

    What happens if you delete WP-United plugin? Does it uninstall any changes it made?

    (If you try deleting WP-United make sure you have website and database backups)

    @netweb

    Keymaster

    @stagger-lee If the converter is stuck at Converting replies (10100 - 10199) click Stop wait a few seconds then click Start and the converter will continue on its merry way. 🙂

    @netweb

    Keymaster

    First up, make sure you have run the phpBB recount tools which ‘should’ make sure phpB database is in good shape before you get started.

    The importer is designed to import your users from phpBB and that is where your problems will now be as you already have some users in WordPress…

    During the import the importer if it finds a username already exists eg ‘username’ it will create a new user with a prefix ‘imported_’ eg ‘imported_username’.

    After the import is finished you can use WordPress’ user admin panel to delete (one by one) each ‘imported_’ user and as you do you are presented with the option to reassign all posts to another user, select the user you want from the dropdown list and your done.

    This gets painful very quickly if you have 1,000 users to do this to one by one.

    You may be surprised to see my bbPress forum

    “Internal Server Error” 😉

Viewing 25 replies - 2,176 through 2,200 (of 3,353 total)