Skip to:
Content
Pages
Categories
Search
Top
Bottom

Buddypress overwrites imported comment authors to admin


  • moln4r
    Participant

    @moln4r

    Hello,

    Just installed BP and really like it, but I have a small problem.
    My site uses a plugin what imports content from other sites, it also imports comments.
    Now since buddypress activated all the imported comment authors changed to the wp admin user.
    If I check the comments on the backend it shows the original (imported) usernames, but on the frontpage it all changes to admin. If I deactivate BP the problem dissappears.

    WP:5.1.1
    BP:4.2.0
    Theme:Bimber

    I tryed searching the plugin code to find what exactly overwrites the author but no luck, tried to turn on/off all default wp “disscussion” settings, BP settings but no luck.
    Anyone have any idea?
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

  • Venutius
    Moderator

    @venutius

    This is an interesting one, one that’s likely to be hard to track down. However one thing to note is that if it’s only happening to imported comment authors then it would indicate that the import is not working correctly in that there should be no difference between an imported comment author and a standard comment author in the database – they should all look the same. So if it’s only happening to those you have imported the first clue would be to look in your database and see what the difference is.


    moln4r
    Participant

    @moln4r

    Thanks for the tip!
    now I checked the database, and looks like the importer plugin assigned user_id=1 for all comments, foud it in the plugins code, changed to 0 and problem solved!
    Thanks for pointing me to the right direction!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar