BuddyDev

Search

Replies

  • Participant
    Level: Guru
    Posts: 910

    Thank you very much

    But I don’t want the code to be executed globally throughout the site.

    The code should only be executed when users visit the page with ID 46589

    The code should only execute on this page 46589

    Thanks

  • Participant
    Level: Guru
    Posts: 910

    I am using buddypress profile completion plugin

    It would also be awesome if the code can support multiple page Ids

    Thanks

    • This reply was modified 5 years, 5 months ago by Tosin.
  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: Woocommerce price variation by member type #27045

    Ohhhh awesome thanks, now I just just beginning to see the full capabilities of the member types pro plugin.

    But I would like to confirm if a user can have multiple roles because I want all my users to have the default role of (contributor) so if a user has the role (contributor) can I assign a new custom role to this same user enabling the user to have two roles.

    Thanks a lot Brajesh

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26698

    You are a genius the code worked perfectly. But I would like to know if it was possible to hide the button on the user profile entirely for those specific IDs.

    The reason is there are specific accounts used in moderating the site so it would not make sense to display the report button on those profile, I don’t want users to report moderator profiles and branded profiles.

    Maybe a filter to hide the report button on those specific IDs

    Thanks so much

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26641

    Have you been able to test this

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26612

    ok thanks very much

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26609

    No not at all this will be the first code related to the moderation plugin im also running php 7.4 im not sure if this is of any help

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26607

    Its still reporting

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26605

    Yes I just logged in as a white listed user and published a blog post then logged in again with another user in a private browser and both the user profile and blog post was reported successfully with the message (Thank you for reporting.) I also confirmed that the post and the user was reported from the moderation queue in the admin dashboard.

  • Participant
    Level: Guru
    Posts: 910
    Tosin on in reply to: BuddyPress Moderation Tools support #26603

    No but the role of all my users is set to contributor