Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 5,526 through 5,550 (of 26,876 total)
  • Author
    Search Results
  • #175387
    giobby
    Participant

    After further investigations I’ve found a workaround that should work.

    Just to recap on the error: it seems like several posts are left with the old phpBB poster id rather than using the new wordpress user_id (which really makes me think that somewhere in the converter code a wrong reference has been used).

    The best way to work around the issue is the following (assuming a fresh installation):

    1) before migration
    – check what is the highest user_id in your phpBB installation (e.g.: 6235)
    – insert a dummy row in wp_users with id grater than that (e.g.: 6236, or even better, round it up to 10000). In this way all the converted users will have their IDs starting from a higher value (e.g.: 10001, 10002, …) and it will be easy to spot the posts with wrong author (e.g. post_author < 10000).

    2) launch migration as usual
    3) after migration, create a temporary table that lists all the bbpress posts with wrong author

    /* Get all posts with wrong author and correspondent right author from bbpress translator table */
    create table TMP_ORPHANS as
    select 
    wp_posts.ID, 
    wp_posts.post_author,
    wp_bbp_converter_translator.value_id real_author, 
    IFNULL(wp_posts.post_date, NULL) post_date,
    IFNULL(wp_posts.post_date_gmt, NULL) post_date_gmt,
    wp_posts.post_content, 
    CASE 
    	WHEN wp_posts.post_type = 'reply'
        THEN (SELECT tmposts.post_title from wp_posts as tmposts where tmposts.id = wp_posts.post_parent)
        ELSE wp_posts.post_title
    END post_title, 
    wp_posts.post_excerpt, 
    pescasubac, 
    wp_posts.quea.wp_posts.post_status, 
    wp_posts.comment_status, 
    wp_posts.ping_status, 
    wp_posts.post_password, 
    wp_posts.post_name, 
    wp_posts.to_ping, 
    wp_posts.pinged, 
    IFNULL(wp_posts.post_modified, NULL) post_modified,
    IFNULL(wp_posts.post_modified_gmt, NULL) post_modified_gmt,
    wp_posts.post_content_filtered, 
    wp_posts.post_parent, 
    wp_posts.guid, 
    wp_posts.menu_order, 
    wp_posts.post_type, 
    wp_posts.post_mime_type, 
    wp_posts.comment_count,
    	(	select wp_postmeta.meta_value 
    		from wp_postmeta 
    		where 
    			wp_postmeta.meta_key = '_bbp_author_ip' and 
    			wp_postmeta.post_id = wp_posts.id
    	) user_ip
    from wp_posts 
    left join wp_users on wp_posts.post_author = wp_users.id
    left join wp_bbp_converter_translator on wp_posts.post_author = wp_bbp_converter_translator.meta_value
    where 
    wp_posts.post_type in ('forum', 'reply', 'topic') and
    (wp_users.id is null or 
    wp_users.id = 1) and /* all posts of type forum looks to be assigned to the site admin (id=1 in my case)*/
    wp_bbp_converter_translator.value_type = 'user' and 
    wp_bbp_converter_translator.meta_key = '_bbp_old_user_id';
    
    /* this is to be able to create indexes later */
    ALTER TABLE TMP_ORPHANS modify column post_date datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_date_gmt datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_modified datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column post_modified_gmt datetime default NULL;
    ALTER TABLE TMP_ORPHANS modify column user_ip varchar(40);
    ALTER TABLE TMP_ORPHANS modify column post_title varchar(255);
    
    /* indexes to speed up access to the table (some are useless) */
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_date);
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_author);
    ALTER TABLE TMP_ORPHANS ADD INDEX(real_author);
    ALTER TABLE TMP_ORPHANS ADD INDEX(user_ip);
    ALTER TABLE TMP_ORPHANS ADD INDEX(post_title);

    4) Now that you’ve got the list of posts with wrong authors, you can update your wp_posts table accordingly

    /* Revert bad authors to good authors */
    UPDATE 
    wp_postsINNER JOIN TMP_ORPHANS 
    ON wp_posts.id = TMP_ORPHANS.id
    set wp_posts.post_author = TMP_ORPHANS.real_author 
    where wp_posts.post_type in ('reply', 'topic') ;

    Final consideration:
    – this workaround seems to be working for me, but of course I don’t assume any responsibility in case it doesn’t work for you. The update trusts the converter table generated by the bbpress forum converter and assumes that a wrong author id matches the original author id of phpBB forum (I executed some checks and it seems like the problem is always the same = phpBB author id rather than new wordpress author id).
    – the update doesn’t fix posts of type ‘forum’ because by default these are assigned to the wordpress site administrator. If you wish to assign them to the original phpBB author, just modify the where condition:
    where wp_posts.post_type in ('forum','reply', 'topic') ;

    message to the developers: I truly believe somewhere in the converter code a wrong reference is used under certain conditions. The pattern of the error is always the same: when the author doesn’t match it’s because the author id of the phpBB forum rather than the new converted author id.


    @netweb

    Robkk
    Moderator

    This is already fixed in 2.6.

    https://bbpress.trac.wordpress.org/ticket/2607

    Robin W
    Moderator

    probably several plugins, and lots of articles – this is really a wordpress thing

    for instance

    https://wordpress.org/plugins/force-strong-passwords/or

    http://www.wpbeginner.com/plugins/how-to-force-strong-password-on-users-in-wordpress/

    #175378

    In reply to: CSS (new user)

    Robin W
    Moderator

    bbp-style pack lets you style bbpress

    https://wordpress.org/plugins/bbp-style-pack/

    jamesburden
    Participant

    Hi – hope someone can help with this.

    I have a forum website set up using bbPress. Forum members are specifically invited as it is a leadership course for selected individuals. I create their user accounts including a strong password etc and send them the details.

    An issue that I’ve come across is that the participants are widely spread around the world, some of whom have limited awareness of security issues on the internet. I want to ensure that they cannot change their password to an insecure one.

    I’ve got iThemes security installed on the site and have activated the strong password enforcements with a minimum level of Subscriber. All of the course participants have a primary role of subscriber, with a forum role of Participant. With the settings I have in place they should not be able to change their password to a weak one. And yet they are currently able to log in and change the password to ‘changeme’ for example.

    I’ve reached out to iThemes security but nothing helpful from them yet,

    Can anyone here help me to figure out how to ensure that forum users cannot change their passwords to weak ones? Is there some setting in bbPress that I’m missing? Or some workaround that others use? I can’t imagine for a minute that I’m the only one to have come across this issue, but googling has turned up a surprising lack of information about how to resolve it.

    Many thanks for your help.

    James Burden

    Site URL: http://gcfleadership.org
    WordPress version: 4.5.2
    bbPress version: 2.5.9

    Robin W
    Moderator

    yes this is a known issue

    see

    http://www.rewweb.co.uk/bbpress-wp4-fix/
    and/or

    http://www.rewweb.co.uk/bbpress-wp4-fix2/

    there’s a trac ticket for it somewhere, but bbpress authors see it as a wordpress fix

    Robin W
    Moderator

    ok, thanks – sorry it’s sometimes hard to understand the obvious until you see it !

    so I’m presuming that there should be some content to that post?!

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

    #175326
    Robin W
    Moderator

    Also I am not sure there is a visitor WordPress role.

    oops… no there isn’t – old code left on my test site !

    and who gets what were just examples 🙂

    #175325
    Robkk
    Moderator

    I say edit Robin’s code and change

    if ($role == 'subscriber' ) $new_role = 'bbp_spectator' ;

    To this.

    if ($role == 'subscriber' ) $new_role = 'bbp_participant' ;

    And in my opinion you should not auto-assign moderators and just manually update the users roles for each of the users you trust to moderate the forums. Also I am not sure there is a visitor WordPress role.

    https://codex.wordpress.org/Roles_and_Capabilities#Summary_of_Roles

    Robkk
    Moderator

    @aminc99

    If you are hosted on one.com they have this guide to read.

    http://one-docs.com/guides/en/wordpress-login-blocked/

    #175318
    Robin W
    Moderator

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

    Robin W
    Moderator

    No problem !

    The core issue is with wordpress for fixing !

    #175295

    In reply to: Global Access

    sharmavishal
    Participant

    maybe this can help

    https://gist.github.com/sc0ttkclark/e5de9d9f2f13964bcecc

    and

    https://wordpress.org/plugins/multisite-bbpress-slave/

    i tested both and was not able to get it working on my setup

    Robkk
    Moderator

    here is the ticket for the issue.

    https://bbpress.trac.wordpress.org/ticket/2906

    #175272
    Robin W
    Moderator
    giobby
    Participant

    [I am just creating a new topic about this]

    I’ve finally completed the conversion (took only 8 hours against the 2 days of the previous versions).

    Nevertheless, big problem here: I can see no forum after the conversion.
    I’ve been checking the database schema in which wordpress is installed and nothing….
    I can only find an empty wp_bbp_converter_translator table and for the rest: no users converted, no posts, no forum and topics tables.

    Does someone has any idea why this happened?
    It actually looked like it was converting something and the number of interactions I’ve seen in the log during the conversion matches the actual numbers in PhpBB.

    I would appreciate if someone can help.

    Thanks,

    Gio

    #175263
    giobby
    Participant

    Ok, I’ve finally completes the conversion (took only 8 hours against the 2 days of the previous versions).

    Nevertheless, big problem here: I can see no forum after the conversion.
    I’ve been checking the database schema in which wordpress is installed and nothing….
    I can only find an empty wp_bbp_converter_translator table and for the rest: no users converted, no posts, no forum and topics tables.

    Does someone has any idea why this happened?
    It actually looked like it was converting something and the number of interactions I’ve seen in the log during the conversion matches the actual numbers in PhpBB.

    I would appreciate if someone can help.

    Thanks,

    Gio

    name
    Participant

    I ended up getting this working by ditching wpMandrill plugin and using Easy WP SMPT plugin https://wordpress.org/plugins/easy-wp-smtp/

    #175247
    Robkk
    Moderator

    This plugin might work for terms and conditions.

    This is an example of adding inputs for contacts in their profile.

    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#9-adding-social-media-contacts-to-bbpress-profile

    #175245
    Robkk
    Moderator

    Use a plugin like Reveal IDS.

    name
    Participant

    After some more digging, I see that Mandrill is rejecting emails sent to noreply@<domain>
    So perhaps this rejection is causing WordPress to send the email instead?

    #175230
    alzaran
    Participant
    #175229
    Robkk
    Moderator

    Not entirely sure this plugn works still, but there is this still.

    https://wordpress.org/plugins/bbpress-digest/

    #175228
    Robkk
    Moderator

    1. Its the WordPress Toolbar, used on all WordPress sites by default.

    2. This plugin adds avatar suggestions, it might not be presented easily for users, but he expains it in this video.

    3. bbPress by default doesn’t have the ability to upload files, for avatars that plugin I mentioned allows avatar upload.

    4. You can filter the default wordPress smilies and use custom ones, their is emoji to use because of WordPress, also there a good plugin that has a feature to import phpBB smilies call WP-Monalisa.

    name
    Participant

    Wordpress: 4.5.2
    bbPress: 2.5.9

    Hi there,
    I use the wpMandrill plugin (v1.33) to send email through Mandrill.
    It works fine for Buddypress emails, and other standard WordPress emails.
    However bbPress emails don’t get sent through Mandrill.

    What is bbPress doing differently about how it sends email notifications?
    How can I get bbPress to correctly send through Mandrill?

    I’ve read a few previous topics, and they seem to indicate it’s something to do with how bbPress handles BCC, and no reply.

    thx
    Vanessa

Viewing 25 results - 5,526 through 5,550 (of 26,876 total)
Skip to toolbar