-
Henry Wright replied to the topic activation email for the second time in the forum How-to & Troubleshooting 12 years, 1 month ago
Hi @rita84
Can you try deleting the user via the front-end to see if the problem occurs? For example, sign up as a new user, then go to
members/username/settings/delete-account– ensure you have the delete-account feature enabled in BuddyPress settings under the WordPress admin area. -
Henry Wright replied to the topic New User Registration Problem: Invalid Activation Key in the forum How-to & Troubleshooting 12 years, 1 month ago
1. Add the code right after the
h1heading
2. You can get this from your WP dashboard. Go to Users then hover over a user and look towards the very bottom left of your browser.
3. The key will appear on the page right after theh1heading -
Henry Wright replied to the topic New User Registration Problem: Invalid Activation Key in the forum How-to & Troubleshooting 12 years, 1 month ago
@simple-man the next step is to check that an activation key is being set. considering you don’t have access to your database, are you comfortable with PHP? Can you add this to page.php
echo get_user_meta( $user_id, 'activation_key', true );and replace
$user_idwith the user ID of the member you want activated.Then make sure what appears on…[Read more]
-
Henry Wright replied to the topic New User Registration Problem: Invalid Activation Key in the forum How-to & Troubleshooting 12 years, 1 month ago
@simple-man if the activation key is in the database and the link in the email is right then the problem must be elsewhere.
1. instead of clicking on the link in the email, are you able to copy the link and paste it directly into the browser address bar? It could be the click-through that is causing the problem. Just a thought.
2. can you ensure…[Read more]
-
Henry Wright replied to the topic New User Registration Problem: Invalid Activation Key in the forum How-to & Troubleshooting 12 years, 1 month ago
The activation key is stored in the user meta table. Do you have access to your database to check?
-
Henry Wright replied to the topic Allow Custom WP Role to View/Edit users xProfile Fields like Site Admin in the forum How-to & Troubleshooting 12 years, 1 month ago
You’ll need to grant the
edit_userscapability to your custom role.See here
https://codex.wordpress.org/Function_Reference/add_cap
And here
-
Henry Wright replied to the topic How I hide my un-wanted profile tabs in the forum Installing BuddyPress 12 years, 1 month ago
@shanebp so does the language folder get overwritten on WP upgrade? If it does then get text is the way to go every time in my opinion. If it doesn’t then I can see no wrong in the use of a language file.
-
Henry Wright replied to the topic How I hide my un-wanted profile tabs in the forum Installing BuddyPress 12 years, 1 month ago
@shanebp just wondering, is there an advantage of filtering gettext over a introducing a language file and using Poedit? I was told recently using a language file isn’t a good idea. See here
-
Henry Wright replied to the topic how to deny login from wordpress login page in the forum How-to & Troubleshooting 12 years, 1 month ago
The question is how can you differentiate between your users before they have logged in? i.e. what makes user A different from user B before they have logged in?
After login is a different story, you can differentiate between users easily via several different methods.
-
Henry Wright replied to the topic How I hide my un-wanted profile tabs in the forum Installing BuddyPress 12 years, 1 month ago
Hi @sundev
Have you tried using
bp_core_remove_nav_item( 'slug' )? There is also a function available in BP to remove sub-nav itemsbp_core_remove_subnav_item( 'slug', 'subnav-slug' ) -
Henry Wright replied to the topic how to deny login from wordpress login page in the forum How-to & Troubleshooting 12 years, 1 month ago
Try this:
function redirect_wp_login(){
global $pagenow;if( 'wp-login.php' == $pagenow ) {
wp_redirect( home_url() . '/login/', 301 );
exit();
}
}
add_action( 'init', 'redirect_wp_login' );Note: Change
/login/to your login page’s slug.For some reason hooking to
template_redirectdoesn’t work so I’ve hooked in…[Read more] -
Henry Wright replied to the topic how to deny login from wordpress login page in the forum How-to & Troubleshooting 12 years, 1 month ago
bp_core_redirectis for redirecting anytime you like. It uses the WordPress functionwp_safe_redirect. See here for more info on it:https://codex.wordpress.org/Function_Reference/wp_safe_redirect
-
Henry Wright replied to the topic Downloading Profile as a pdf? in the forum Requests & Feedback 12 years, 1 month ago
The problem is how many people will have a PDF generating toolkit installed?
-
Henry Wright replied to the topic combine theme profile and bp profile in the forum How-to & Troubleshooting 12 years, 1 month ago
You’d need to redirect the theme profile to your BP profile, or vice versa. Do that with
bp_core_redirectand hook totemplate_redirect -
Henry Wright replied to the topic how to deny login from wordpress login page in the forum How-to & Troubleshooting 12 years, 1 month ago
You could use
bp_core_redirectand hook totemplate_redirect -
Henry Wright replied to the topic New User Registration Problem: Invalid Activation Key in the forum How-to & Troubleshooting 12 years, 1 month ago
@simple-man what’s the link in the email? Can you copy and paste an example here?
-
Henry Wright replied to the topic Rearranging & Styling Member Profile Template in the forum Creating & Extending 12 years, 1 month ago
If you’re not using the old BP default, then there isn’t one. You have to create it yourself. Take a look at this article which tells you about the new template hierarchy:
-
Henry Wright replied to the topic Recommended Posts in the forum Creating & Extending 12 years, 1 month ago
@joshwinkles you could try clearing your cookies. That might have something to do with it. I haven’t had the problem for a while and can remember I cleared my cookies a while ago. Just a thought
-
Henry Wright replied to the topic Recommended Posts in the forum Creating & Extending 12 years, 1 month ago
Does this sound like the same problem?
https://buddypress.trac.wordpress.org/ticket/5375
If so then perhaps add what you’re experiencing to that ticket.
-
Henry Wright replied to the topic Unable to update ass_digest_items in wp_usermeta table in the forum Miscellaneous 12 years, 1 month ago
The plugin authors are possibly busy, I’m sure they’ll get back to you if they can.
In the mean time you could try using a filter to do what you need.
https://codex.wordpress.org/Function_Reference/add_filter
Regarding when posts are published, I think
publish_postis the one you need to…[Read more] - Load More
@henrywright
Active 2 years, 1 month ago