Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issues with API

  • Avatar of MrMaz
    MrMaz
    Participant

    @mrmaz

    I am trying to integrate moderation with another plugin and have found a couple of bugs.

    bpModeration.php line 195 (variable $type_slug does not exist)
    bpModFrontend.php lines 99, 100 (casting to id is bad because the corresponding db table fields are varchar)

    Marshall

Viewing 1 replies (of 1 total)
  • Avatar of francescolaffi
    francescolaffi
    Participant

    @francescolaffi

    @MrMaz Yep you are right, on both.
    I did not noticed bp activity had not-integer ids, and I also wonder why (maybe there’s a good reason, I just don’t get it), problem is that removing the casting would not solve anything because in bp moderation table are stored as int so there will still be casting somewhere else, making it compatible with non-int ids would mean a lot of refactoring.
    There is some plugin that is currently using varchar as activity ids?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.