Support » Plugin: BuddyPress Activity Plus » Prevent users from posting the same link twice – Buddypress Activity Plus

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m afraid there is no built in feature to check for already existing links. however if you wanted to tweak the code to check if a link already exists in the database you would need to search the {Prefix}bp_activity table, in the content column.

    Links are stored in the database in the following format:

    [bpfb_link url='{URL HERE}']{ANCHOR TEXT HERE}[/bpfb_link]

    So you could run an sql search similar to:

    SELECT * FROM {prefix}bp_activity WHERE content LIKE '%[bpfb_link url=\'{URL HERE}\']%'

    Plugin Author WPMU DEV – Your WordPress Team


    WPMU DEV Support Staff

    Hey there.

    We haven’t heard from you in a while, so I just wanted to check in to make sure all was good.

    This thread was marked resolved, but please, if you still need help then just respond and open it back up. We can then take it from there. 🙂

    Hope you have a fantastic day!



    Hi, I would like to have this as well, I would like to prevent user from pasting the same link over again.
    give a user 5 minute before they can paste the same link again
    Is this possible?


    Hi @oshi,

    I hope you are well today and thank you for your question.

    Unfortunately currently the feature is not available in the plugin but yes it’s possible to develop this feature developing custom code and editing plugin files.

    Check the answer provided by @ellbristow in the previous reply to get some idea on it.

    Please advise if you have more questions.




    Hey, am doing great thanks for asking. hope all is well with you to. I was hoping adding a code into the theme function

    Thank you for your time 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Prevent users from posting the same link twice – Buddypress Activity Plus’ is closed to new replies.