Replies
- Alex on October 9, 2024 at 11:33 am in reply to: [Resolved] Limit invitations to avoid beeing spammed #53283This reply has been marked as private.
- Alex on October 9, 2024 at 11:22 am in reply to: [Resolved] Limit invitations to avoid beeing spammed #53282
Hi Brajesh,
it works. Great! Thank you.Just two more questions on this.
1. At the backend on the invitations table you can see that the date is saved under “date modified”. Is it possible to get this date and then add it to your function? To check if the count is more than the max_allowed FOR THE SAME DAY, then set $retval to false?
2. After the limit is reached the message pops up saying “you dont have the rights to send invitations”.
Am I able to manipulate this message saying something like “you have reached the daily limit on invitations! Try again later”?Regards
AlexPS: I really wonder why nobody has this implemented over the last years. Looks like buddypress core development slows down, which is not good.
- Alex on October 7, 2024 at 10:09 pm in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53266
Glad that you were able to fix it! Maybe I need it in the future again. 🙂
- Alex on October 7, 2024 at 9:07 pm in reply to: [Resolved] Limit invitations to avoid beeing spammed #53265
Or alternatively add Recaptche to the form…?
- Alex on September 25, 2024 at 10:13 pm in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53199
By the way I was using BP nouveau template pack. Because you were asking.
- This reply was modified 1 year ago by
Alex.
- This reply was modified 1 year ago by
- Alex on September 25, 2024 at 9:57 pm in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53198
Hello Brajesh,
I made another test to reproduce the error. On localhost I didn’t have this error yet.
Its the same procedure what I wrote above.
Plugins activated: Your data control plugin (current version), bp classic and buddypress (both current version).
Themes tested with: Astra and twenty twenty four.The name field is the only field on xfields section which you cannot delete. Make the changes at your plugin which I made the screenshot from (switch “who can edit” from Adminstrator to Subscriber).
Then you get the warning. This time with debug on I got a more detailled warning. I also attach these image here. Hope this helps.This is all what I can do to help to fix that issue.
Meanwhile I programmed my own plugin for my needs with the advantage that I know whats going on.
So I don’t need this plugin anymore. If you want you can mark this thread as solved.
Error message
https://postimg.cc/JDVF3Q8D - Alex on September 25, 2024 at 10:00 am in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53195
Hello Brajesh,
could you give a short report that you are able to reproduce the warning and are working on a fix?
Otherwise I need to look after other solutions like this one f.e.
https://buddypress.org/support/topic/dont-allow-users-to-change-some-fields-after-sign-up-hide-those-fields/
because I dont want, that subscripers can edit their username after registration.Thanks for giving a short update on this!
- Alex on September 25, 2024 at 1:11 am in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53191
This is what I found out.
The warning did not occur on my staging site. So I switched on/off different parameters.Then when I changed the username xfield in the backend at “who can edit” from all members to administrator the warning occurs on my staging site as well.
The worst is, that making this change undo didn’t solve the problem. Nor a reinstall of the plugin or cache delete.
The only way at the moment to prevent this error message from occuring is to leave the plugin deactivated. So this setting must have saved values which are not beeing cleaned after plugin deletion.Strange behaviour also, when using query monitor to see more details of the problem the warning message doesn’t appear.
- This reply was modified 1 year ago by
Alex.
- This reply was modified 1 year ago by
- Alex on September 24, 2024 at 9:06 pm in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53190
Hello Brajesh,
ok, I switched off everything except this plugin adn buddypress 14.1.0 and bp classic. I also switched theme from Astra to twenty twenty four.As an admin no errors. But again, logged in as a subscriper I have the issue.
So as you said, I suppose it has to do with the settings.I will make further checks and come back to you afterwards.
- Alex on September 24, 2024 at 7:20 pm in reply to: [Resolved] PHP warning when activating plugin BuddyPress Profile Data Control #53187
1. Plugin is deactivated.
2. login as User/subscriber
3. Go to profile / settings / user data and change some of this users data like gender, age or whatever
4. Click save
Succesfully saved5. Now activate the plugin and do the same.
When clicking save data, white screen with the warnings appear doesn’t matter which xprofile field you have changed.- This reply was modified 1 year ago by
Alex.
- This reply was modified 1 year ago by