-
Henry Wright replied to the topic [Resolved] period or special characters in username in the forum How-to & Troubleshooting 9 years, 2 months ago
I think you might find it is the
user_login
property has the value john.doe. I can’t remember where the hyphenated username is stored but tryuser_nicename
instead. -
Henry Wright replied to the topic [Resolved] period or special characters in username in the forum How-to & Troubleshooting 9 years, 2 months ago
The Restrict Usernames plugin is pretty cool actually. I’ve used it in the past. Aside from specifying illegal characters, it will let you reserve words you don’t want normal users to register. Site name, admin, help, support all spring to mind.
-
Henry Wright replied to the topic Unsubscribe in the forum How-to & Troubleshooting 9 years, 2 months ago
Settings > Email should do it. Alternatively you can go straight to the page via:
https://buddypress.org/members/username/settings/notifications/
-
Henry Wright replied to the topic [Resolved] function enqueue depend of dynamic url in the forum How-to & Troubleshooting 9 years, 2 months ago
You’re not using the function I gave you right. There’s no need to use server variable or do a string replacement.
-
Henry Wright replied to the topic [Resolved] function enqueue depend of dynamic url in the forum How-to & Troubleshooting 9 years, 2 months ago
I believe
bp_is_change_avatar()
is what you are looking for. -
Henry Wright replied to the topic Where to learn. in the forum Creating & Extending 9 years, 2 months ago
The best place to learn how BuddyPress works is the codebase. Over the past few years, the inline docs have been improved tremendously and are now at a point where they’re very useful.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
HTML
<button id="me">Click this button</button>
JavaScript
document.getElementById('me').addEventListener('click', function() {
alert('Hello');
}, false);It’s fairly straightforward to do. See this demo. You could also use jQuery if you wanted instead.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
I doubt there is a WP hook for that event; instead, you should use JavaScript for that.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
That should be the hook to use. See here for it in context:
https://github.com/buddypress/BuddyPress/blob/master/src/bp-activity/bp-activity-functions.php#L2180
-
Henry Wright replied to the topic Registration form doing nothing in the forum Showcase 9 years, 2 months ago
There’s something causing the registration form not to submit and that’s likely to be either a rogue plugin, theme or custom code you’ve introduced. The usual troubleshooting steps are to deactivate everything and work forward step-by-step, testing as you go. That’s the only way to determine where the problem has been introduced.
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
If that particular step creates a group, then the same hook (that I provided earlier) will fire.
-
Henry Wright replied to the topic Can Buddypress support hundreds of thousand of users? in the forum Miscellaneous 9 years, 2 months ago
Do you think Buddypress can support hundreds of thousands, if not millions of users?
In theory, yes, BuddyPress can handle millions of users. BuddyPress will add rows to the database without problem, and that database can scale to a very large size.
In practice, there are things that might have an impact on that. Your hardware will play a big…[Read more]
-
Henry Wright replied to the topic urgent !!!! need a hook which is called during click og comment button urgent! in the forum How-to & Troubleshooting 9 years, 2 months ago
I’m not sure what you mean by
create group form
? -
Henry Wright replied to the topic Activity Stream Within Two Columns in the forum Creating & Extending 9 years, 2 months ago
You could use a third-party library such as Masonry?
-
Henry Wright replied to the topic Registration form doing nothing in the forum Showcase 9 years, 2 months ago
I even wiped my whole functions.php fileā¦
I’m not sure you needed to do that if using TwentyFifteen because only the TwentyFifteen functions.php file will be in force.
-
Henry Wright replied to the topic Registration form doing nothing in the forum Showcase 9 years, 2 months ago
Can you try on a test install? It may be the ACF plugin and we need to rule that out.
On your test install, be sure there’s no plugins running aside from BuddyPress and have the TwentyFifteen theme activated. Also, remove any custom code you may have elsewhere such as bp-custom.php
-
Henry Wright replied to the topic Is default post deletion possible? in the forum How-to & Troubleshooting 9 years, 2 months ago
Personally I wouldn’t do that. The number of rows in the activity table can be big without problems. If you’re worried about bloat, you could think about limiting the number of characters accepted by the content field. The field is type
LONGTEXT
which I think means each item can be ~4GB. Some simple front-end validation limiting that to X…[Read more] -
Henry Wright replied to the topic Is default post deletion possible? in the forum How-to & Troubleshooting 9 years, 2 months ago
By post do you mean a WordPress post?
-
Henry Wright replied to the topic Search members based on their usernames in members page search bar in the forum Installing BuddyPress 9 years, 2 months ago
Can we search users who are not in the friendlist?
You can in the site search at example.com/members but elsewhere I’m not so sure. If there was a search box on a member’s profile page then I’d expect that to return that member’s friends only. It wouldn’t make sense to return non-friends. But that’s just my personal opinion.
-
Henry Wright replied to the topic Registration form doing nothing in the forum Showcase 9 years, 2 months ago
Try disabling all plugins aside from BuddyPress. Sometimes a rogue plugin can interfere with the registration process.
- Load More
@henrywright
Active 8 months, 2 weeks ago