-
Henry Wright replied to the topic Delete profile fields in the forum How-to & Troubleshooting 10 years, 11 months ago
You could put it in your functions.php file, or even your bp-custom.php file if you have one. It only needs to be run once so make sure you remove it after visiting your website in a web browser.
Finding the group ID or the field ID is something you’ll need to do yourself. Take a look in your database and find table bp_xprofile_fields. Then look…[Read more]
-
modemlooper replied to the topic How to hide admin details from anyone visiting the site in the forum How-to & Troubleshooting 10 years, 11 months ago
Your worrying about nothing. As long as you have some security measures in place it doesn’t matter if someone knows a username of an admin. To feel safe create an account you use for the front end and keep the admin account for only accessing the admin.
Add a plugin like this one https://wordpress.org/plugins/sucuri-scanner
Use strong passwords.
-
Henry Wright replied to the topic Delete profile fields in the forum How-to & Troubleshooting 10 years, 11 months ago
To delete a profile field group, you can use
xprofile_delete_field_group(). The function accepts the ID of the field group you wish to delete.To delete a specific field, you can use
xprofile_delete_field(). This function accepts the ID of the field you wish to delete. -
Henry Wright replied to the topic Map of Users – Feature Request in the forum Requests & Feedback 10 years, 11 months ago
Have you tried searching the WordPress Plugin Directory? There seems to be lots of plugins that display a geographical map of users.
-
judith ebert's profile was updated 10 years, 11 months ago
-
Henry Wright replied to the topic Auto share new posts on groups in the forum How-to & Troubleshooting 10 years, 11 months ago
You would need to hook a custom function to the
publish_postaction. Your custom function would loop through all of your groups, callinggroups_post_update()on each loop iteration. -
Henry Wright replied to the topic Auto delete unactivated user in the forum How-to & Troubleshooting 10 years, 11 months ago
wp_delete_user()is the function that can be used to delete users. Be vary careful when using it because once a user has been deleted, there’s no way of restoring their account unless you’ve taken a database backup.You’d need to generate a list of the user IDs you’d like to delete and then loop through them, using
wp_delete_user()to delete the…[Read more] -
Henry Wright replied to the topic Auto delete unactivated user in the forum How-to & Troubleshooting 10 years, 11 months ago
@henrywright thanks for the suggestion, but it does not serve well to my expectation.
Ah, that’s a shame!
I don’t think I’ve seen a plugin around that will do exactly what you need. I think you might have to write some custom code to get this done 🙁
-
Henry Wright replied to the topic On login redirect to users profile page based on language in the forum How-to & Troubleshooting 10 years, 11 months ago
The snippet I wrote wasn’t designed for copy and pasting. You’d need to modify it to your requirements using PHP.
-
Henry Wright replied to the topic On login redirect to users profile page based on language in the forum How-to & Troubleshooting 10 years, 11 months ago
In that case you’d base your condition on the chosen language value. Here’s an example:
// You'll get $lang from your language switcher plugin.if ( $lang == 'thai' ) {
// Redirect to Thai
} else {
// Redirect to English
} -
Henry Wright replied to the topic Auto delete unactivated user in the forum How-to & Troubleshooting 10 years, 11 months ago
Take a look at Unconfirmed.
-
Henry Wright replied to the topic Create activity records for old blog posts in the forum How-to & Troubleshooting 10 years, 11 months ago
Does anyone have a function that loops through old posts and generates activity records?
What do you mean by an activity record? Do you mean any kind of activity? Like let’s say, a change of profile photo
-
Henry Wright replied to the topic On login redirect to users profile page based on language in the forum How-to & Troubleshooting 10 years, 11 months ago
How does the user select the language?
-
santia gitthe's profile was updated 10 years, 11 months ago
-
Henry Wright replied to the topic How to create search box on my Software website in the forum Creating & Extending 10 years, 11 months ago
Try asking specific questions relating to exactly what you’re trying to do.
-
Henry Wright replied to the topic How to create search box on my Software website in the forum Creating & Extending 10 years, 11 months ago
Try asking specific questions relating to what exactly you’re trying to do.
-
Christian Kramer replied to the topic Access for user approval is denied, permission problem in the forum How-to & Troubleshooting 10 years, 11 months ago
The problem seems to happen only in Multisite mode. I stepped back to single site. Now I can access the user section “waiting for approval/pending/…” again.
But there is another problem with Buddypress about Approval, which I will post in a separated article.
Thanks for your patience and support.
-
Eskymo replied to the topic Advice on Hosting in the forum Installing BuddyPress 10 years, 11 months ago
Thanks for all your help guys – think I’ll stick with the hosting company I’m used to dealing with.
-
Henry Wright replied to the topic Advice on Hosting in the forum Installing BuddyPress 10 years, 11 months ago
Their basic plan offers 5GB of web space, 50GB of monthly bandwidth
This sounds reasonable. The key point here is they’ve said upgrading is easily done. That’s important because you’re able to scale as your website gains popularity.
-
Eskymo replied to the topic Advice on Hosting in the forum Installing BuddyPress 10 years, 11 months ago
“Not sure why you would stick with looking in london hoping to get support on the phone during daytime hours – if I have a host that can’t answer me with support at 2am I move on (and have) to the next one.”
I work part-time and need to be able to contact during UK office hours so would prefer a UK basec company as I’ve had bad experiences hav…[Read more]
- Load More