Forum Replies Created
-
Thank you streetprep!! That worked perfectly…
Since this is in the plugin files rather than the template files I assume that I will have to update this anytime I update buddypress, correct?
Issue solved
Was a conflict with redirecting users who were not logged in to login before viewing the site.
I have found the actions file where the do_actions are called from, its in the main buddypress files bp_activity > bp-activity-actions.php…
I would just remove the action and code in the title I want but I’d like to be able to re-use the theme I am working on… Ill try playing with the template hierarchy and actions and see what I come up with.
Thanks Matt!
Hi Matt,
Thank you for your help! I can hack it, but I’d prefer not to if I can avoid it.
I have created blank pages and assigned them, no dice 🙁 …
I have my buddypress child theme files, and checked the index files and that’s where the action for the header text is, but I need the actual action that will give me “<h3><?php _e(‘Sitewide Activity’, ‘buddypress’); ?></h3>”I am looking for the file that holds actions like the following:
<?php do_action( ‘bp_before_directory_members_page’ ); ?> and
<?php do_action( ‘bp_before_directory_activity’ ); ?>
I assumed that would be buddypress-functions.php but I had no luck searching that file…Thanks again for your help, if I find the file needed I’ll post here in case anyone else needs to know…
A little more frustration may lead to hacking though, lol.Hi Chris,
Sadly, I believe that you will have to uninstall buddypress in order to access your dashboard to correct the problem. If you can locate the setting in the buddypress files then you can adjust it there and upload that via ftp or your cpanel file manager, but uninstalling and re-installing will be much faster. (Assuming that any major changes you have made have been via a child theme.)
Essentially you told the site that everyone that goes to the login page needs to activate their account therefore no one can login because no one is activated, that is the best way I can think to explain it.
The only time new users will be asked for an activation key is if they attempt to activate their without using the link from their email before logging in.
For example: You register a new account and then go to the activation page before checking your email, here you will be asked to provide the activation key. If you attempt to login before activating you should get a message “ERROR: Your account has not been activated. Check your email for the activation link.”
However, if you register a new account and then go to the email you provided you will have received an email to activate your account. Once you click the link in this email you will be able to login to the account (the email link contains the activation key). This system is to ensure that the user has registered with a valid email that they have access to.
Hope this helps,
CasseyFunction Warnings :
If you choose to remove a menu item, be sure to update this function. If you have a menu item in this function but not on your site you will notice a gap where the menu item would go.
ex: Suppose you disable the groups option and no longer have the group menu item…Your menu will look something like the following…
profile | activity | friends | | forum | settings
——————————————————————————————–
If you add a menu item that is not in this function, it will go into its default position, essentially nudging the item that you have set to be in that position over by one position.ex: You add a blog option without updating this function. Lets assume the blog menu item defaults to position 30 so that is where it will go …Your menu would appear something like the following …
profile | activity | friends | blog | groups | forum | settingsHi,
I am not sure about how many users buddypress can handle, I doubt they have any built in restrictions. You will need to find out your host limitations rather than the plugins.
To switch your menu options you will need to add the following php function to your child-theme’s function.php file…
function bbg_change_profile_tab_order() {
global $bp;$bp->bp_nav[‘profile’][‘position’] = 60;
$bp->bp_nav[‘activity’][‘position’] = 50;
$bp->bp_nav[‘friends’][‘position’] = 40;
$bp->bp_nav[‘groups’][‘position’] = 30;
$bp->bp_nav[‘settings’][‘position’] = 10;
$bp->bp_nav[‘forum’][‘position’] = 20;
}
add_action(‘bp_setup_nav’, ‘bbg_change_profile_tab_order’, 999 );
?>*Note : The increments of 10 determine the position order of the menu item. The higher numbers are to the left and read lowering to the right.
Hope this helps 🙂
[SOLVED]
Thank you shanebp! Works perfect.