-
Henry Wright replied to the topic bp_verify_nonce_request() not working in the forum Installing BuddyPress 9 years, 5 months ago
When you say it isn’t working, can you provide more details?
-
Henry Wright replied to the topic Retrieve a variable from a GET in the forum How-to & Troubleshooting 9 years, 5 months ago
using
?var1=test
in the URL, what does the following display?if ( isset( $_GET['var1'] ) ) {
echo $_GET['var1'];
} -
Henry Wright replied to the topic Retrieve a variable from a GET in the forum How-to & Troubleshooting 9 years, 5 months ago
I did but that isn’t all of the code. For example, how are you using the class method?
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
No worries; welcome to the forum! 🙂
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
@alvin341965 That’s quite different so you should open a different topic for that 🙂
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
Just put @shanebp‘s code in your theme’s functions.php file.
-
Henry Wright replied to the topic Register page "name required broken" in the forum How-to & Troubleshooting 9 years, 5 months ago
But now I can delete this form NAME from the registration area?
I have no idea because I don’t know the theme you’re using. The best thing to do is contact the theme author because they will be able to see the theme’s markup/code and advise you how to do it.
-
Henry Wright replied to the topic Register page "name required broken" in the forum How-to & Troubleshooting 9 years, 5 months ago
@patrykos360 you should contact the theme author as the problem is likely to be theme related. If the theme is purposefully BuddyPress-compatible, then perhaps the author will release a fix?
-
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 9 years, 5 months ago
If you wanted to, you could disallow spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {
$bp = buddypress();
if ( strpos( $_POST['signup_username'], ' ' ) !== false ) {
$bp->signup->errors['signup_username'] = __( 'Spaces are not allowed',…[Read more] -
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 9 years, 5 months ago
If you wanted to, you could just remove spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {
$bp = buddypress();
if ( strpos( $_POST['signup_username'], ' ' ) !== false ) {
$bp->signup->errors['signup_username'] = __( 'Spaces are not allowed',…[Read more] -
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 9 years, 5 months ago
If you wanted to, you could just remove spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {
[Read more]
// Remove spaces from username.
$_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
}
add_action( 'bp_signup_pre_validate',… -
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 9 years, 5 months ago
If you wanted to, you could enforce no spaces in usernames by validating the field during registration. This is how you’d do it:
function zenimot_validate_username() {
[Read more]
// Remove spaces from username.
$_POST['signup_username'] = str_replace( ' ', '', $_POST['signup_username'] );
}
add_action( 'bp_signup_pre_validate',… -
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 9 years, 5 months ago
Completely agree! The LAMP stack is so easy to install I think sometimes people might not realise there are alternatives. Be good to read your article once written!
-
Henry Wright replied to the topic Username problems in the forum How-to & Troubleshooting 9 years, 5 months ago
-
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 9 years, 5 months ago
That’s great you’re interested in updating the docs.
@henrywright who is the best person to ask on these forums to add a new section?
@mercime should be able to grant you contribute access to codex.buddypress.org.
Ref: https://codex.buddypress.org/participate-and-contribute/
-
Henry Wright replied to the topic List groups i am admin of in the forum How-to & Troubleshooting 9 years, 5 months ago
-
Henry Wright replied to the topic Still having problems with registration page; unable to create the new user page in the forum How-to & Troubleshooting 9 years, 5 months ago
That’s quite odd and it shouldn’t be happening. Do you have any custom code in your functions.php or bp-custom.php files?
-
Henry Wright replied to the topic nginx vs apache installs with buddypress in the forum Miscellaneous 9 years, 5 months ago
-
Henry Wright replied to the topic Still having problems with registration page; unable to create the new user page in the forum How-to & Troubleshooting 9 years, 6 months ago
Possibly, but it may be unrelated. In order to investigate that particular message, try opening a topic on the bbPress support forum
-
Henry Wright replied to the topic Still having problems with registration page; unable to create the new user page in the forum How-to & Troubleshooting 9 years, 6 months ago
The problem might be coming from one of these. Try deactivating them all and then reactivating one-at-a-time to see which one introduces the problem.
- Load More
@henrywright
Active 8 months, 2 weeks ago