Search Results for 'change buddypress menu'
-
AuthorSearch Results
-
December 7, 2013 at 9:37 am #175207
In reply to: change default position or profile tabs
Cassey’s DesignsParticipantHi,
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 š
October 27, 2013 at 11:38 pm #173474In reply to: Profile and Settings
@mercimeParticipant@robg48 BuddyPress links in Appearance > Menus will be default in BP 1.9. So if you’re adventurous …
https://buddypress.trac.wordpress.org/changeset/7427September 14, 2013 at 6:31 pm #171334resistoyenParticipantThx a lot for you help here. There is some change but it’s not working yet.
Though, this is encouraging as it have now an effect, but not the good one.Here’s the screenshots of 2 tests
The code of my style.css of child theme
/* Theme Name: Oxygen Child Theme Author: Self-Help WordPress User Template: oxygen */ @import url("../oxygen/style.css"); .bp-full-width { width: 100% !important; }
The effect is different: the bar go to left just under the main menu, which is the right place where it should be ! But the bar remains too little. I got the same effect with a 940 px width, which is the normal px of the full-width of oxygene.
Then i tryed to put 1500 px, or 200% to see if the bar go longer :
I searched for like one hour or two by now on google to find the right thing & still trying. I also tryed on main theme, changing the stylesheet. Same effect.
Here’s the codes of all this documents.
buddypress.php : http://pastebin.com/xs8BUN14
Again, thanks for your help
August 18, 2013 at 5:47 pm #170025In reply to: buddypress profile new tab returns permission denied
4ellaParticipantThis is my working new tab in bp-custom.php if this helps
// Set up Custom BP navigation function my_setup_nav() { if ( user_can( bp_displayed_user_id(), 'job_applicant' ) ) { global $bp; bp_core_new_nav_item( array( 'name' => __( 'Portfolio', 'buddypress' ), 'slug' => 'portfolio', 'position' => 20, 'screen_function' => 'profile_screen_portfolio' ) ); // Change the order of menu items $bp->bp_nav['messages']['position'] = 100; } } add_action( 'bp_setup_nav', 'my_setup_nav' ); // show portfolio when 'Portfolio' tab is clicked function profile_screen_portfolio() { add_action( 'bp_template_content', 'profile_screen_portfolio_show' ); bp_core_load_template( 'members/single/plugins' ); } function profile_screen_portfolio_show() { // call your stats template locate_template( array( 'portfolio-profile.php' ), true ); }
August 9, 2013 at 12:49 pm #169631Brice CapobiancoParticipantHi,
I’m not sure if it can help you but the following may resolve your problem :function my_bp_nav_adder() { bp_core_new_nav_item( array( 'name' => __('New Tab Button', 'buddypress'), 'slug' => 'all-conversations', 'position' => 75, 'show_for_displayed_user' => true, 'screen_function' => 'all_conversations_link', 'item_css_id' => 'all-conversations' )); print_r($wp_filter); } function all_conversations_link () { //add title and content here - last is to call the members plugin.php template add_action( 'bp_template_title', 'my_groups_page_function_to_show_screen_title' ); add_action( 'bp_template_content', 'my_groups_page_function_to_show_screen_content' ); bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) ); } function my_groups_page_function_to_show_screen_title() { echo 'My new Page Title'; } function my_groups_page_function_to_show_screen_content() { echo 'My Tab content here'; } add_action( 'bp_setup_nav', 'my_bp_nav_adder' );
source: http://codex.themedelta.com/how-to-create-a-new-tab-in-buddypress-member-page/
You have to change “members/single/plugins” by the path to your new template file without the .php extention.
If you need to check if the action already existe for different purpose (I already need to do something similar) you can use something like this:
if(has_action('name_of_action_to_check_for')) { // action exists so execute it do_action('name_of_action_to_check_for'); } else { // action has not been registered }
Hope this help š
July 19, 2013 at 12:15 pm #168334In reply to: Change Login link in admin bar
jetkappuParticipantso many error when i try it..
function custom_bp_adminbar_login_menu() { global $bp; global $wp; remove_action('bp_adminbar_menus', 'bp_adminbar_login_menu', 2); if (is_user_logged_in()) return false; echo 'ā¢' . __('Log In', 'buddypress') . ' '; // Show "Sign Up" link if user registrations are allowed if (bp_get_signup_allowed()) { echo 'ā¢' . __('Sign Up', 'buddypress') . ' '; } } add_action('bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1); Warning: Cannot modify header information - headers already sent by (output started at /home/...../public_html/wp/wp-content/plugins/bp-custom.php:14) in /home/....../public_html/wp/wp-login.php on line 368
July 19, 2013 at 11:56 am #168332In reply to: Change Login link in admin bar
Lena StergatouParticipantYou can try the following.
Into your /plugins folder create a file bp-custom.php.
Into the file put the following code:function custom_bp_adminbar_login_menu() { global $bp; global $wp; remove_action('bp_adminbar_menus', 'bp_adminbar_login_menu', 2); if (is_user_logged_in()) return false; echo '<li class="bp-login no-arrow"><a href="NEW_LOGIN_URL">' . __('Log In', 'buddypress') . '</a></li>'; // Show "Sign Up" link if user registrations are allowed if (bp_get_signup_allowed()) { echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __('Sign Up', 'buddypress') . '</a></li>'; } } add_action('bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1);
Bests,
LenaJuly 9, 2013 at 4:59 pm #167814In reply to: change menu font color
@mercimeParticipantNot quite sure what you mean. Look at the navigation style https://buddypress.trac.wordpress.org/browser/tags/1.7.2/bp-themes/bp-default/_inc/css/default.css#L505 and override or use Firefox add-on Firebug to identify what you need to change
July 2, 2013 at 1:36 pm #167416In reply to: BuddyPress Group Page
disqusnowParticipant@mgrmn
I have emptied the trash and changed the parmalink from groups-2 to groups but non of my edit of Groups via the page menu isn’t showing on the Group page when view from a browser.June 26, 2013 at 6:04 pm #166969mcpeanutParticipanti cant do this as mentioned above…my header is a unique feature of all the pages…..ive integrated the main nav bar for my website into the header so it looks like part of the header….basically my site has 2 seperate content area one for the buddypress side of things and one for the orther pages if i remove the header i destroy the whole look of my theme as this section is crucial for navigation to the other areas…i refuse to believe that someone on these forums that have been using buddypress for years dont know where i would find where the links to the activity/profile/messages/ can be changed…i only need to locate these links in buddypress really to point them to under the header as henry said above (if it works) …surely someone knows how i can do this….im new to the buddypress plugin and nthis is why i need help to do this…basiclly its only location of where the links are in budypress files so i can edit them that i really need help with.
June 12, 2013 at 3:39 am #165806In reply to: Buddypress tabs on custom post type template
bp-helpParticipant@jhinzo @hgstephengreenberg
You can try this plugin which also has a premium version with more features. Not sure if it will meet your requirements but you can give it a try. Get it here:
https://wordpress.org/plugins/buddypress-custom-profile-menu/Or try this method if your adventurous which I haven’t tested:
http://wordpress.stackexchange.com/questions/16223/add-buddypress-profile-menu-itemJune 9, 2013 at 10:37 am #165654In reply to: Add Custom Setting to Buddypress Settings
PParticipantThe problem is I need to modify the core files and add a plugin at the same time so a user can change the Throttling settings in his WordPress backend.
I really tried to simple write a plugin and skip the core files modifications, but it’s just not working out. Maybe you can help out here, I will post the 3 core file functions which I modified as well as the plugin code which I wrote. If you can figure out a way for me to not modify the core files and still get Throttling to work, share your code.
Modified files:
1- bp-activity\bp-activity-functions.php
function bp_activity_post_update( $args = '' ) { global $bp; $defaults = array( 'content' => false, 'user_id' => bp_loggedin_user_id() ); $r = wp_parse_args( $args, $defaults ); extract( $r, EXTR_SKIP ); if ( empty( $content ) || !strlen( trim( $content ) ) ) return false; if ( bp_is_user_inactive( $user_id ) ) return false; <strong>$floodTest = bp_core_check_for_flood ($user_id); if (!$floodTest) return "flood";</strong> // Record this on the user's profile $from_user_link = bp_core_get_userlink( $user_id ); $activity_action = sprintf( __( '%s posted an update', 'buddypress' ), $from_user_link ); $activity_content = $content; $primary_link = bp_core_get_userlink( $user_id, false, true ); // Now write the values $activity_id = bp_activity_add( array( 'user_id' => $user_id, 'action' => apply_filters( 'bp_activity_new_update_action', $activity_action ), 'content' => apply_filters( 'bp_activity_new_update_content', $activity_content ), 'primary_link' => apply_filters( 'bp_activity_new_update_primary_link', $primary_link ), 'component' => $bp->activity->id, 'type' => 'activity_update' ) ); $activity_content = apply_filters( 'bp_activity_latest_update_content', $content ); // Add this update to the "latest update" usermeta so it can be fetched anywhere. bp_update_user_meta( bp_loggedin_user_id(), 'bp_latest_update', array( 'id' => $activity_id, 'content' => $content ) ); do_action( 'bp_activity_posted_update', $content, $user_id, $activity_id ); return $activity_id; }
2- bp-core\bp-core-moderation.php
function bp_core_check_for_flood( $user_id = 0 ) { <strong>// Option disabled. No flood checks. if ( !$throttle_time = bp_get_option( 'bt_activity_time' ) ) return false; // Bail if no user ID passed if ( !$user_id ) return false; $last_posted = get_user_meta( $user_id, '_bp_last_posted', true ); if ( !$last_posted ) { $last_posted = time(); add_user_meta( $user_id, '_bp_last_posted', $last_posted); return true; } else { if ( ( time() < ( $last_posted + $throttle_time ) ) && !current_user_can( 'throttle' ) ) { update_user_meta($user_id,'_bp_last_posted',time()); return false; } else { update_user_meta($user_id,'_bp_last_posted',time()); return true; } }</strong> }
3- bp-themes\bp-default\_inc\ajax.php
function bp_dtheme_post_update() { // Bail if not a POST action if ( 'POST' !== strtoupper( $_SERVER['REQUEST_METHOD'] ) ) return; // Check the nonce check_admin_referer( 'post_update', '_wpnonce_post_update' ); if ( ! is_user_logged_in() ) exit( '-1' ); if ( empty( $_POST['content'] ) ) exit( '-1<div id="message" class="error"><p>' . __( 'Please enter some content to post.', 'buddypress' ) . '</p></div>' ); $activity_id = 0; if ( empty( $_POST['object'] ) && bp_is_active( 'activity' ) ) { $activity_id = bp_activity_post_update( array( 'content' => $_POST['content'] ) ); } elseif ( $_POST['object'] == 'groups' ) { if ( ! empty( $_POST['item_id'] ) && bp_is_active( 'groups' ) ) $activity_id = groups_post_update( array( 'content' => $_POST['content'], 'group_id' => $_POST['item_id'] ) ); } else { $activity_id = apply_filters( 'bp_activity_custom_update', $_POST['object'], $_POST['item_id'], $_POST['content'] ); } if ($activity_id == "flood") { $bt_activity_throttle_time = bp_get_option ('bt_activity_time'); $bt_activity_message = bp_get_option( "bt_activity_message" ); $msg = ( $bt_activity_message ) ? $bt_activity_message : "You have to wait to post again"; exit( '-1<div id="message" class="error"><p>' . __( $msg, 'buddypress' ) . '</p></div>' ); } if ( empty( $activity_id ) ) exit( '-1<div id="message" class="error"><p>' . __( 'There was a problem posting your update, please try again.', 'buddypress' ) . '</p></div>' ); if ( bp_has_activities ( 'include=' . $activity_id ) ) { while ( bp_activities() ) { bp_the_activity(); locate_template( array( 'activity/entry.php' ), true ); } } exit; }
4- The Buddypress Throttling Plugin Code
<?php add_action( 'admin_menu', 'plugin_menu' ); function plugin_menu() { // add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function); add_options_page( 'Buddypress Throttling | Settings', 'Buddypress Throttling', 'manage_options', 'buddypress_throttling', 'buddypress_throttling_options' ); } function buddypress_throttling_options() { //must check that the user has the required capability if (!current_user_can('manage_options')) { WP_die( __('You do not have sufficient permissions to access this page.') ); } // variables for the field and option names $hidden_field_name = 'submit_hidden'; // See if the user has posted us some information // If they did, this hidden field will be set to 'Y' if( isset($_POST[ $hidden_field_name ]) && $_POST[ $hidden_field_name ] == 'Y' ) { // Activity $bp_activity_time_val = ( intval($_POST["bt_activity_time"]) <= 0 ) ? 0 : $_POST ["bt_activity_time"]; update_option( "bt_activity_time", $bp_activity_time_val ); $bp_activity_message_val = ( isset($_POST["bt_activity_message"]) && $_POST["bt_activity_message"] != "" ) ? $_POST["bt_activity_message"] : "Please wait before posting again"; update_option( "bt_activity_message", $bp_activity_message_val ); ?> <div class="updated"><p><strong><?php _e('Settings saved.', 'menu-test' ); ?></strong></p></div> <?php } // Activity read values $bt_activity_time = get_option( "bt_activity_time" ); $bt_activity_time = (intval($bt_activity_time) <= 0) ? 0 : $bt_activity_time; $bt_activity_message = get_option( "bt_activity_message" ); $bt_activity_message = ($bt_activity_message) ? $bt_activity_message : "Please wait before posting again"; echo '<div class="wrap">'; echo "<h2>" . __( 'Buddypress Throttling Settings', 'menu-test' ) . "</h2>"; ?> <form name="form1" method="post" action=""> <input type="hidden" name="<?php echo $hidden_field_name; ?>" value="Y"> <div class="bt-plugin"> <style> .bt-plugin span { display: inline-block; width: 120px; margin-left: 20px } .bt-plugin textarea {width: 400px} </style> <h3><?php _e("On Activity Page: ", 'menu-test' ); ?></h3> <p><span>Throttling Time:</span><input type="text" name="bt_activity_time" value="<?php echo $bt_activity_time; ?>" size="20"> (in seconds)</p> <p><span>Message:</span><textarea name="bt_activity_message" rows="3"><?php echo $bt_activity_message; ?></textarea></p> </div> <p class="submit"> <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" /> </p> </form> </div> <?php }
Test it out locally, just replace the specified functions in these files with the functions I wrote, add the plugin code in a php file and save it under your Plugins directory (and activate it in the backend). The Plugin code will allow you to set the number of seconds for throttling as well as the message the user will see when he’s flooding.
Put this puzzle pieces together and you got Flooding control (for the activity page for now), which can easily be done for friend requests @bphelp).
May 24, 2013 at 4:41 pm #164712In reply to: [Resolved] change "primary" field title
@mercimeParticipant@caspergrimaldi go to admin dashboard menu Users > Profile Fields
Click on Edit Group Link
change “Base” name to what you want
https://codex.buddypress.org/user/buddypress-components-and-features/extended-profiles/May 20, 2013 at 6:02 pm #164374In reply to: "Create Group" button hidden by my theme
@mercimeParticipantbut I canāt get the āCreate Groupā button to show
@gebgem the page title is missing as well. Looking at the Sample Page of your site, there was no page title added to the theme’s page.php file at all.BuddyPress will provide another link/way for users to easily create a group/blog via user account menu in admin/toolbar in next version https://buddypress.trac.wordpress.org/changeset/7062 but the page title issue should be fixed by theme developer.
faheem123ParticipantM using wordpress 3.5.1. and buddypress 1.7.2…. my issue is that after installing buddypress when i click profiles messaging all such menues the page opens with following errors
HTTP Error 404.0 – Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.May 14, 2013 at 2:39 pm #163964In reply to: am i doing something wrong ? buddypress
skippygParticipantHi Hugo,
I posted this a few days ago but didn’t get a solution so i thought i should fill in the support details fully.So I have wordpress installed at http://www.mydomain.com/SITENAME/wordpress ā using the montezuma theme which is apparently compatible with buddy press.
I download, installed and configured buddy press and can see the āactivityā and āmembersā
menu items, assigned the pages etc.
However when i try to edit my profile or view mentions through the buddypress toolbar menu.. i get broken linksā¦ the URL for these links is (by default)āSITENAME/wordpress/members/admin/profile/public/
(NB. I did note that ‘index.php’ was not in the URL for any of the buddypress links but was
for my blog links.)(Just to mention i havenāt changed anythign as of yet, just installed WP in the a domain sub folder and then installed buddypress)
Iām presuming i need to change a variable in a config file to point to
wp-content\plugins\buddypress\bp-members ?? or something like that?And yes i can change permalinks and have done that but no change. Also get the
“permalinks updated successfully” message.Would appreciate alternative solutions.
I could potentially remove and install in the domain root…. but i didn’t do this because i dont want http://www.mydomain.com pointing towards wordpress install.Thoughts on how to resolve ?
Might be important to mention i have a seperate wordpress install running in a different subfolder… no issues with either seperate install – just with buddypress links
thanks
May 6, 2013 at 8:25 am #163486Hugo CallensParticipantI use a child theme derived from the default team, only changing the visibility of the menu as explained in //https://buddypress.org/support/topic/resolved-hiding-navigation-links-for-buddypress-pages-for-non-registered-users/
When I use the default theme as such, it still doesn’t work.
I also tried to change the user’s role to author; still no luckā¦May 2, 2013 at 9:41 pm #163286In reply to: Where does the @name come from in the user profiles?
chuckingitParticipanthi – i’m by no means an expert but just testing buddypress 1.7 and in looking at MySQL tables, it appears that the activity @name is from the WP User Nice Name in the WP_Users table … note i’m also testing on a WP Multisite network …
also, being able to change the activity @name might be great feature for profile edit ..??..
with respect modifying profile, i’ve seen a drop down from the user profile top right menu bar that allows me to get to the profile and edit it …
i’m not positive about the BuddyPress settings and sync’ing with WP profiles … hope this helps š cordially, chuck scott
April 29, 2013 at 5:39 pm #163014In reply to: [Resolved] White line under head menu
acesParticipant@fagiano1973
What did you try exactly?There is a problem with buddypress.org and older ‘code’ settings in posts. The ` at the begginning and end should not have been included – so there should not be a character on the same line before add_action or after the final }
( I would repeat the function here but the last time I did that buddypress.org changed again and the original looked better – EDIT: see http://pastebin.com/sSBGjPNi )
It is difficult to diagnose what is probably a css problem with the information you’ve given. To help find or define the problem more precisely try using the developer tools in Chrome, Safari or Internet Explorer, or use Firebug with Firefox, or Opera’s Dragonfly …
April 26, 2013 at 1:48 pm #162806In reply to: BuddyPress 1.7 doesn't work with wp_nav_menu
Hugo AshmoreParticipantThis isn’t really a BP issue, wp_nav_menu works fine you have to look at your rulesets to see what changed from one point to the next and adjust styling, quite why you experienced the change I’m not sure but essentially bp has little do with the custom wp menus other than you adding say a top level link for bp dir pages. As always in respect of mention of plugins disble them to troubleshoot, in this instance a plugin to manage drop down rules seems unnecessary, write the rules directly for the nav menus.
April 26, 2013 at 9:07 am #162791In reply to: First time Buddypress installation guide
FeeParticipantHi Ron,
first of all thanks for the compliment including me into ‘BP Folks’. So, I’m not part of the BP team (not yet…), I’m just an advanced user and dev for my own clients.
There were big changes in the last development versions (both bbPress and BP) and the documentation is not up to date. The devs put most of their time in developing the features – it would be great if some volunteers would come up, advanced users, to complete the documentation (that’s a lot of work, too). Everything you find here is done by the devs and the community (including folks like you) and offered for free. Maybe you can keep this in mind when you are more experienced in a few month to please come back and contribute something to the community as well. Like answering here in the forums, writing documentation and so on š
To answer your question: On the bbPress settings page you can change the slug for the forums. If you didn’t change it, it’s ‘forums’ – e.g. yourdomain.com/forums/
So go to your menus, set up an own menu, include a Link to Forums, save this menu to your primary navigation.all I see on the nav bar is Home, Activities, Members, Sample Page. Nothing about groups or forums.
Did you activate ‘User Groups’ in the BuddyPress settings?
April 25, 2013 at 8:28 pm #162734In reply to: First time Buddypress installation guide
FeeParticipantWith BP 1.7 and bbPress 2.3 it became really easy. Just install them the usual plugin installation way (automatic through WP or via FTP).
Best is you first activate BuddyPress, you will see a welcome screen with a direct link to the settings. Change them if you want.
Then go back to plugins and activate bbPress, you will see a welcome screen again. You will see three new admin menu items (Forums, Topics, Replies). Got to Forums and add a new forum, maybe called “Group Forums”. Got to the bbPress settings under Settings -> Forums. Change them if you want – and scroll down to the very last option: Activate group forums for BuddyPress. Choose you’re Group Forum, save it. – That’s all! Now go ahead and create your first group via BuddyPress in frontend group directory.April 13, 2013 at 6:39 pm #161553billy-not-happyParticipantFirst off FINDING instructions is in itself a bit confusing. There are multiple
“official” sources which compounds the confusion. End users keep wondering is there a separation between Buddy Press and bbPress? Have they merged, they’re separate? It seems the intend is to merge bbPress into BuddyPress. Curious that bbPress only appears under plug-ins and once installed appears under Forums on the Dashboard.One finds the bbPress help under a green banner https://codex.bbpress.org/getting-started-with-bbpress/ and what you wrote: https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/ has a red heading background.
This begins the confusion. One installing bbpess then running into a problem is likely to use a major search engine then search for bbpress, after all THAT is the plug-in many have problems with as I did.
Note YOUR install instructions are labeled under BuddyPress, not bbPress. Why is that? This in itself will leave many to wonder if they ended up on the right help page. This endless back and forth trying to decide am I dealing with BuddyPress or bbPress is unnecessary and really a clumsy design decision on part of the developers because all it does is create needless confusion. That gets compounded when BuddyPress and bbPress offer overlapping features and it never really becomes clear which one you are dealing with as confirmed by having two how-to sets of instructions.
Can’t you guys work together and CONSOLIDATE the how-to in ONE place?
Can’t you guys make up your mind if you’re BuddyPress or bbPress or are you really still both?
Now specifically to your instructions: https://codex.buddypress.org/user/setting-up-a-new-installation/installing-group-and-sitewide-forums/
Please accept as offered, constructive critique from a newbie’s point of view.
First What I tried to do: Create site wide Forum, keeping my already working Buddy Press Groups.
I scrolled down the page until I foundA. Set Up Sitewide Forums only
The first step is obvious. The 2nd which takes one away from YOUR instructions to the bbPress page is needlessly confusing. Again you leave the end user to wonder what the hell am I working with bbPress or BuddyPress? The endless back and forth to a newbie is MADING.
The main content of the bbpress page you reference does nothing but define what various settings do. This will cause the typical newbie to skim the list and wonder WHY was I told to go here, now what? While useful, the page you reference to does NOT offer anything to do with installing, the TASK AT HAND. This will like for me, cause a newbie to leave that page quickly, since it seems to be something one might want to review AFTER bbPress is actually installed and running correctly.
So I like I’m guessing most would return to YOUR instructions page. Continuing on with your instructions you say:
`”ā¢If you kept the default āforumsā slug in Settings > Forums, you can create a new Page via Pages > Add New. Add Title āForumsā and insert the forums index shortcode and/or other bbPress shortcode youāll find in the bbPress Codex then publish the new page. `
Oh no, you redirect to yet another page? This is really getting frustrating. Why? Because you first redirected to a page that had nothing to do with installation. Many will either ignore your suggestion or if they visit the page, again get confused.
Also if I was writing the instructions I would FIRST define all the terms you use. Many writing instructions are guilty of this omission which is the root cause of much confusion to newbies!
Slug? Shortcode? Index? What the heck are those in the context used?You instruct if a page already exists called “forums” to make a new one where the only change is to capitalize the word forums to Forums, again I bet you confused many why they should bother and I bet they will skip doing it. I know why, others won’t and its a poor choice for a name when you could pick anything else.
If I wrote the instructions:
Under Prelude I would have made a warning that unlike Buddy Press that simply accepts a blank page for Groups and that alone generates a listing of all groups, if a page named Groups exists, setting up Forums in bbPress requires the addition of a shortcode. A blank page named “forums” or something else does nothing. You should not send people wandering off to other pages. YOU should specifically mention this CRITICAL fact in YOUR instructions. Something like:
Warning If you already have an earlier version of bbPress or Buddy Press installed, go to Dashboard
Pages and look for any page named forums. Send this page to the trash. Empty trash.. Install and activate bbPress.
. If you want to have a page that lists all your forums, make a new page with a more descriptive
name for Forums such as all-forums.
. Add the shortcode `[bbp-forum-index]` to this new page, publish.
. From Dashboard go to Appearances, Menu. Locate the page you just created and add to your
menu.
. Create one or more forums if you haven’t already. Test that they all show up when you click on
the page you just added to menu.April 5, 2013 at 8:43 am #159973In reply to: [Resolved] member favourite topics issue
Gargoyle297ParticipantI changed my search terms and founded this:
https://buddypress.org/support/topic/how-do-i-delete-item-in-account-menu/
I applied the changes to remove the nodes ‘my-account-forums-favorite-topics’ and ‘my-em-events’. Furthermore, following the complete WP class guide I realized I can change the “href” of the links too…
However, thank you all for the great job you do…
The thread can be considered [solved]…
Saluti
April 2, 2013 at 2:44 pm #159685In reply to: buddypress header width
giannisffParticipantYou must do some changes to your style.css file, also to your header.php file.
Change to your style.css (keep a backup anyway) I note only the changes…body {
max-width:100%;
width:100%;
}
div# container {
width:1150px;
margin:0 auto;
}
/*————————————————————–
ADD THIS
————————————————————–*/
#header-in {
width:1150px;
margin:0 auto;
}Now open your header.php file.
after the head>
make this
<div id="header-in" onclick="location.href='http://www.yourdomain.com/';" style="cursor: pointer;">false, 'menu_id' => 'nav', 'theme_location' => 'primary', 'fallback_cb' => 'bp_dtheme_main_nav' ) ); ?>
To change the navigation align go to style.css and change this
#navigation {
position: relative;
text-align: left;
}This way it works for me. I am not sure that is the best way. Just try it.
-
AuthorSearch Results