Search Results for 'spam'
-
Search Results
-
Hello,
I use the “Cloudflare Turnstile” plugin as a captcha on my site, in particular to protect forms.
I have discovered that the “Members-only area” page, which I imagine is managed independently by BuddyPress, does not offer any captcha and therefore presents a potential vulnerability (spam, etc.).
How can I adapt this page to add “Cloudflare Turnstile”?
Thank you, kind regards
BuddyPress activities have a single visibility control:
hide_sitewide(0 or 1). This provides binary visibility — shown everywhere, or hidden from sitewide feeds. There’s no way to express:– **”Only me”** — private activity visible only to the author
– **”Friends only”** — visible only to the author’s friends
– **”Logged-in users”** — hidden from anonymous visitors
– **”Group members only”** — visible only within the group context where it was postedPer-item privacy is a foundational social platform feature. Facebook has had it since 2009. LinkedIn, Twitter/X (with protected tweets), Instagram, and every major social network support some form of per-post audience control. It’s as fundamental to a social platform as
hide_sitewideis — just multi-valued instead of binary.This is not a request for any specific addon’s needs. It’s a request for the same kind of infrastructure that
hide_sitewideprovides — a first-class column that any addon can use to implement privacy-aware features.#### Current State
BuddyPress 14.4.0’s activity query system is well-designed for extensibility:
–
bp_activity_get_where_conditionslets addons inject WHERE clauses
–bp_activity_get_join_sqllets addons add JOINs
– Data hydration usesSELECT *(inpopulate()and the cache-miss path ofget()), so any column added to the table is automatically returned to calling code
–bp_activity_before_save/bp_activity_after_saveprovide save-time hooksAn addon **can** add a
privacycolumn viadbDeltaand filter queries viabp_activity_get_where_conditions. However, thesave()method has a hardcoded column list in its INSERT/UPDATE SQL (inBP_Activity_Activity::save()), meaning an addon must do a separate$wpdb->update()after every save — a double-write on every activity creation. This works but is suboptimal, and the column’s general-purpose nature (used by media addons, document addons, moderation addons, group addons — not just one feature) argues for core inclusion.#### Proposed Change
**Schema:** Add one column + index to
bp_activityinbp_core_install_activity_streams()(inbp-core-admin-schema.php).dbDelta()handles adding the column on upgrade automatically:sql
-- Added after the existing <code>is_spam</code> column in the CREATE TABLE definition: privacy varchar(75) NOT NULL DEFAULT 'public', -- Added to the KEY list: KEY privacy (privacy)**Model class (
BP_Activity_Activity):**1. Add
public $privacy = 'public';property
2. Insave()— addprivacyto the INSERT/UPDATE column list alongside the existing columns (user_id, component, type, action, content, etc.)
3. Inget()— add'privacy'to the$rdefaults (defaultfalse, meaning no filtering). When set, addAND a.privacy IN (...)to the WHERE conditions.**REST API (
BP_REST_Activity_Endpoint):**4. In
prepare_item_for_response()— exposeprivacyin the response object (paralleling howhide_sitewideis currently exposed ashidden)
5. Inprepare_item_for_database()— acceptprivacyas a writable field on create/update**Migration:**
dbDelta()runs on every upgrade viabp_core_install(), so modifying the CREATE TABLE definition is sufficient for the schema change. A DB version bump inbp-core-update.phptracks the upgrade.#### Scope
– ~40 lines of changes across 4 files (
bp-core-admin-schema.php,class-bp-activity-activity.php,class-bp-rest-activity-endpoint.php,bp-core-update.php)
– Default value'public'— 100% backward compatible
– Existing queries that don’t passprivacyreturn all activities as before
–hide_sitewidecontinues to work as-is (orthogonal —hide_sitewidecontrols directory listing,privacycontrols per-item access)#### What Core Provides vs. What Addons Handle
To be explicit about scope: this proposal adds **storage and query filtering only**. Core would:
– Store the
privacyvalue on each activity row
– Allowget()callers to filter by privacy value(s)
– Expose/accept the field through the REST APICore would **not** need to:
– Define a fixed set of allowed values (addons register the values they need — e.g.,
'onlyme','friends','loggedin')
– Enforce access control based on privacy values (addons hook intobp_activity_get_where_conditionsto inject viewer-aware WHERE clauses, exactly as they would today for any custom filtering)
– Provide UI for selecting privacy (addon/theme territory)This mirrors how
hide_sitewideworks today — core stores the flag and filters on it; the decision of *when* to set it is made by callers (groups component, plugins, etc.).#### Prior Art
BuddyBoss Platform (a BuddyPress-derived platform) implemented this exact column. Their
bp_activityschema includesprivacy varchar(75) NOT NULL DEFAULT 'public', and their media, document, video, and moderation subsystems all depend on it for privacy filtering. The column is referenced in their activity save/query paths, REST API, and template layer — making it one of the most cross-cutting additions they made to the activity table. The fact that an independent platform needed this to build standard social features demonstrates both the demand and the general-purpose nature of the column.I’m happy to submit a PR for this change.
Is there a way to add additional information to the BP when rated registration form. I want to remind people to check their spam folders for the activation email. The only thing I could figure is adding a read only filed to the sign up group. Is there a better way?
Topic: Groups moderation too strict
I know this may sound crazy, but I’m trying to figure out why users activity in my groups is being held for moderation. Basically looking for less spam control. Is there a way to whitelist users so that their activity updates in groups is never held for moderation?
I had a lot of spam “pending” users and to make deletion quicker I went into wp_signups in the database and deleted the users that didn’t have an activation date listed.
This seems to have deleted the users. However, the old number of pending users still shows at the top of the pending column. How can I reset this so it doesn’t show the old number of pending users?
Thanks
So I’m trying to implement a way to redirect users after registering or first time login to automatically go to their Buddypress profile Settings > General to edit their profile picture, cover photo and other profile details.
Doing this so we can determine who is a spam bot and who is active.
Can anyone help me? I’ve been trying codes all day long and so far no luck at getting someone’s username to show up in the link successfully.
Example of the link I’m trying: https://example.com/kokiri/settings/general
Topic: No way of banning users?
Okay let me put this short and simple – first of all I’m not a spammer I’m a regular user requesting support for buddypress…. Just cause I don’t have a profile picture doesn’t automatically mean I’m a spammer. Does somebody need to see my driver license to prove it?
Why isn’t there a way to ban users permanently or set a time until their allowed with a custom message?
This is displayed to me as I come from Germany
I am sorry to inform you that your message was not possible
be delivered to one or more recipients. It is attached below.(2a00:1450:4025:c01::1b) said: 550 5.7.1 This message does not comply with RFC 5322
compliant. There are several To headers. To reduce the amount of spam sent to
Gmail, this message has been blocked. For more information, see
Check https://support.google.com/mail/?p=RfcMessageNonCompliant and RFC 5322
Specifications 4fb4d7f45d1cf-5733c2d5aa2si13175593a12.240 – GSMTPI’m experiencing issues with the password field on the registration form. While it’s not displaying a password that exists (and every time I refresh it, it updates to a different one), it displays something random for any user who finds this page. I think this is why we keep getting so many spam requests…
Is there any way to hide that field input by default?
I found another topic here regarding a different theme conflict: https://buddypress.org/support/topic/password-key-input-invisible-by-default-help/
TIATopic: Spam Signups Despite CAPTCH
Hey guys,
I’m wondering if you can help.
I installed BB-Press & BuddyPress a few weeks ago and quickly found the need to add a CAPTCHA to stop the spam sign ups.
I installed it, and it slowed them down, but I’m still getting sign ups that are clearly fake.
Attached is a screenshot of the settings and below is a link to the website forum.
Are you able to see where they might be getting through?
Thanks,
Marc