Search Results for 'change buddypress menu'
-
AuthorSearch Results
-
April 1, 2015 at 6:20 pm #237138
In reply to: Trying To Get Access BBPress In My BuddyPress Plugin
David Bisset
ParticipantThe change to ‘bp_ready’ gets past the “crapstop” but my plugin no longer shows up in the menu. Although i’ve always thought ‘bp_loaded’ was the proper hook here, for the moment i’ll take it.
Here’s the full bit of code. Perhaps i’m not init the class properly here?
function curgi_group_import_init() {if ( !function_exists('bp_forums_new_forum') ) { echo "crapstop"; exit; }
buddypress()->curgi_group_import = new CurrikiGroupImport();
}
add_action( 'bp_ready', 'curgi_group_import_init', 20 );
March 31, 2015 at 10:57 pm #237082In reply to: Activity page template?
@mercime
Participant@mrgiblets @ihavetodothis you can change the name of Sitewide Activity when you create a New Page and name it as “Vavoom” for example (leave text area blank) and publish that page. Then you go to admin menu Settings > BuddyPress > Pages and assign “Vavoom” for example to the Activity component and save.
March 24, 2015 at 10:14 am #236491In reply to: Scheduled Posts
@mercime
Participant@buddypresslost
1) The default WordPress Role for all BuddyPress members is the Suscriber role. In order to allow any/some members to go to the backend to create a blog post, you need to navigate to the wp-admin menu Users > All Members and change the role of the member/s from Suscriber to either: :
– “Contributor” – cannot publish, can only submit a post for review. The Editor or Administrator can schedule the post at future date and the post automatically gets published at the scheduled date.
– “Author” – can set the publish date to future date and the post gets published at the scheduled date.2) Not sure why you need a system as the post does get published at a future date set in the “Publish” attribute within the “Publish” box in the panel.
March 5, 2015 at 11:50 pm #235524Studdlypig
Participant@hugo
Thank you for taking the time to respond. The advice on changing the name in the plugin folder allowed me to get back into the wp-admin log in. After reading what you said about I looked at the ‘Activation’ drop down and it was set to login so I think that is where I went wrong. When I change it to none buddypress informs me ‘The following active BuddyPress Components do not have associated WordPress Pages: Activate. Repair’ what kind of page so I have set for that drop down menu? Do I need an additional plug in or do I just make a new page for it? Any advice would be much appreciated.Thank you again!
March 1, 2015 at 10:15 am #235298In reply to: Profile menu visibility
danbp
Participantsnippets published on the forum are generally related to a specific topic/question. And of course, dependant of theme and/or bp version, if not php or mysql or server settings. Over the time, they stop working or can’t be used anymore because the Core changed or because of other evolutions….
Despite having a kind of snippet store accessible by forum menu seems to be a usefull idea, it is not. Each usage case is different and can not be extended to all case. FYI information, i had the same idea a few years back, and was quickly discouraged to do so by our Core dev. I was first disapointed, but i finally had to admit they where right. And today, i’m absolutely persuaded and on the same line.
That’s why you have Codexes. For WP, BP or bbP with general explanation of default usage and more rarely, with usage examples. If you find a snippet example in Codex, in 95% of cases, you have to adapt it to your personnal usage.
To answer your question, as you know, BuddyPress is (only) a WordPress plugin. When installed, the site continue to work with WordPress and WP dashboard. Nothing is modified in WP Core, only that BP was added to the site. As a plugin.
How to handle WordPress is explained and widly documented in his Codex.
Menu management, CPT management or how to modify menu items on Toolbar or Admin bar is also documented. And the’re so many sites giving WP tips (from excellent to awfull), you can read.February 13, 2015 at 7:44 am #234388In reply to: Custom Profile menu
barodscheff
ParticipantThank you but your solution is outdated. I’ve found it also while searching.
And thats the big problem with buddypress. There was an update about one year ago and everything changed. So nearly all common customizations do not work any more.Thats the reason why the plugin ‘buddypress custom profile menu’ also doesn’t function anymore.
Fortunately I found the solution. It looks like this:
function profile_new_nav_item() { global $bp; bp_core_new_nav_item( array( 'name' => 'Contact Athlete', 'slug' => 'contact_athlete', 'default_subnav_slug' => 'extra_sub_tab', 'position' => 160, 'screen_function' => 'view_manage_tab_main' ) ); } add_action( 'bp_setup_nav', 'profile_new_nav_item', 10 ); // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = function view_manage_tab_main() { add_action( 'bp_template_content', 'bp_template_content_main_function' ); bp_core_load_template( 'template_content' ); } function bp_template_content_main_function() { if ( ! is_user_logged_in() ) { wp_login_form( array( 'echo' => true ) ); } } // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = function profile_new_subnav_item() { global $bp; bp_core_new_subnav_item( array( 'name' => 'Extra Sub Tab', 'slug' => 'extra_sub_tab', 'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav[ 'contact_athlete' ][ 'slug' ] . '/', 'parent_slug' => $bp->bp_nav[ 'contact_athlete' ][ 'slug' ], 'position' => 10, 'screen_function' => 'view_manage_sub_tab_main' ) ); } // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = add_action( 'bp_setup_nav', 'profile_new_subnav_item', 10 ); function view_manage_sub_tab_main() { add_action( 'bp_template_content', 'bp_template_content_sub_function' ); bp_core_load_template( 'template_content' ); } function bp_template_content_sub_function() { if ( is_user_logged_in() ) { bp_get_template_part('my-contact-form'); } else { wp_login_form( array( 'echo' => true ) ); } }I hope it helps anyone.
Finally I’d like to say that I have never seen such a bad documentation in development as in buddypress. I know buddypress is free but WordPress is free too and they have a great doc.
February 5, 2015 at 5:10 pm #233742In reply to: Buddypress 2.2 and Links page
Scaffies
ParticipantSame problem here .. pretty annoying, to be honest:
NSFW: http://scaffies.nl/wordpress/wp-content/uploads/2015/02/BuddyPress-Links-gone.png
“☠ [16:50 GMT – @scaffiesadmin ] Through the BuddyPress Update the page “Links Elsewhere” was broken – all Links disappeared. Hmph! Removed t from the menu.”
We had lots (!) of links entered on the page(s) under “Links” and many ‘up’ and ‘down’ votes. ALL are lost, it is now completely empty and I had to remove the page from the menu.
When I stated on our change log I had upgraded Buddypress to the latest version, I added “let’s see what it fixed and what it broke” .. something always seems to go wrong, and with over 260,000 users, it is a bummer.
NSFW: http://scaffies.nl/change-log-2015/
Sadly, I was proven right 🙁This is a bad day for open source development.
We (all the admins) are clueless about “classes” and “skeleton components” – we just use the software, pay / donate for what we do use, and hope it works … and does not render the work and efforts of thousands worthless in a single, badly tested software update.
I am afraid to install updates – the last one required some code changes do be done manually to fix something else which was broken – yet have to, in order to avoid security problems.
We are not using Multi-Site (i.e. single site, WP 4.1, and all plugins in their latest revisions).
Brandon, London
January 10, 2015 at 1:49 am #231715In reply to: How To: change navigation?
Henry Wright
ModeratorHi @eversatile
I have been trying to find the file location of the profile and group navigation menus, with no luck
There isn’t a template file which you can change if that’s what you mean, but…
I would like to change “forums” to “discuss” and remove the “members” from groups menu, etc
You can customise slugs quite easily. See the Customizable Slugs in BuddyPress article.
bp_core_remove_nav_item()will let you remove nav items from the navigation. There is alsobp_core_remove_subnav_item()for removing sub nav items.December 26, 2014 at 7:40 pm #231076In reply to: Buddybar issues with wordpress 4.1
Vibral
ParticipantYes, I was just playing around – I don’t intend using it – I was actually looking for the theme that’s currently used on the buddypress.org site – this theme with the red bar on top – would you happen to know where I can find it? I like it since the buddybar isn’t right up top, so it’s more noticable.
I’ve also been looking for a way to extract the menu that you get from the buddy bar so as to use it as a sidebar widget. I have used the “(Buddy Press) Log in”, but when you log in, it doesn’t show the other options that you get with buddy bar, i.e. activity, profile, …, settings with the nice submenus.
I did try trawling the php code but I haven’t found it as yet. Is there an easy way to extend the Buddy Press login widget so that once you log in you get these other options as well?
Apologies if this is now going into another subject area – should I repost the new question as a new topic?
As to the original question, I think you solved it way back when you asked me to empty the pages trash and to rename the slugs. I still don’t know why my FF doesn’t work. I suspect that it is just not accpeting my log in, and that’s why I don’t get the bar. Also would explain why the login and register options don’t change. Perhaps the reason it doesn’t accept logins because I do all my wp admin through firefox? Anyway I’m prepared to live with it since it seems only the firefox on my local machine doesn’t get the bar.
Many thanks for all your help
December 22, 2014 at 7:08 am #230893In reply to: Change Login & Register Links in Admin Bar
webplayer
ParticipantI stumbled upon this post suggesting a snippet to put into bp-custom.php (a tweaks and snippets file for buddy press located in the plugins directory), but I can’t get it to work. I think there is an issue with my coding.
I am using BuddyPress 2.1.1
Here is my bp-custom.php file:
<?php // hacks and mods will go here //Change Admin Bar Login Links 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 data-reveal-id="tmpl_reg_login_container" href="javascript:void(0);" onClick="tmpl_login_frm();">' . __('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 data-reveal-id="tmpl_reg_login_container" href="javascript:void(0);" onClick="tmpl_registretion_frm();">' . __('Sign Up', 'buddypress') . '</a></li>'; } } add_action('bp_adminbar_menus', 'custom_bp_adminbar_login_menu', 1); ?>December 20, 2014 at 9:57 am #230821In reply to: Why is the UX of buddypress.org/support so bad?
Hugo Ashmore
Participantit would be incredibly helpful to add dividers or typographical rules/hierarchy to the buddypress.org documentation ‘subpages’ panel
And that is exactly the sort of thing that is being worked on as part of the codex initiative, you can see what is proposed by following posts on bpdevel, the BP development blog. It does take time to get changes, even to this degree, tested and pushed up to the production site, bp.org is actually a more complex site setup than might be realised and it’s codebase handles all the BP and bbP sites and access is very limited to these sites as they run on WP servers and time is quite tight for the lead developers.
BP Trac has a current ticket and patches addressing a few issues one of which is the Codex page menu to both introduce a sectional page menu and typographical styles to denote parent/child links so things are clearer
December 16, 2014 at 12:21 pm #230656In reply to: Displaying members favorite activities
colabsadmin
ParticipantSorry I thought I was clear. I dont need an example of how to create the tab and the submenus.
What I did was write a class that creates a top level member area tab called Favorites that consolidates all types of favorites within a single tab. https://github.com/colabsadmin/bp-favorites/blob/master/bp-favorites.php
The submenus that have been created so far are Activity, Topics, Posts and a few more for some CPTs that I’ve written. This will make it easier for my users to find their favorites when they cant remember if it came from a topic, posts, activity, etc. Instead of jumping around from tab to tab, its all in one tab. The only submenu that doesnt work is Activity. The code, which I provided in my first question, was copied directly from Buddypress core code with one change to use ‘bp_core_new_subnav_item’. I used similar code to display content in all the other submenus. For example, the following shows the favorite topics
// Favorite topics bp_core_new_subnav_item( array( 'name' => __( 'Topics', 'kleo' ), 'slug' => "topics", 'parent_url' => $bp->displayed_user->domain . $bp->bp_nav['favorites']['slug'] . '/', 'parent_slug' => $bp->bp_nav['favorites']['slug'], 'screen_function' => 'bbp_member_forums_screen_favorites', 'position' => 10, 'item_css_id' => 'favorites' ));So, my question, does bp_activity_screen_favorites() only work within the context of /members/membername/activity action? Or can it be used elsewhere as in /members/membersname/favorites?
December 4, 2014 at 12:32 pm #230150In reply to: how to change url path
danbp
ParticipantOctober 22, 2014 at 12:30 pm #222724In reply to: Scroll down user profile page 2
rudik123
ParticipantI do not want add a new position in menu. I would like to add seperator “#main” in urls in buddypress menu (http://s13.postimg.org/vl0x0ghhz/Bez_nazwy_2.jpg). Seperator #main -> scroll down page, under header.
I try this code for change url for friends:
define ( 'BP_FRIENDS_SLUG', 'friends/#main' );
but i see 404 page.Pr
October 22, 2014 at 9:39 am #222375In reply to: Scroll down user profile page 2
rudik123
ParticipantI fint that i must paste to url “#main” that i will be section “main” first. But where i can change a link in buddypress menu?
I would like to will be that for:
1. Message: http://forexample.com/members/admin/messages/#main
2. Profile: http://forexample.com/members/admin/#main
3. Notifications: http://forexample.com/members/admin/notifications/#main
4. etc.
5. etc.Where or How i can add “#main” ?
October 8, 2014 at 7:56 pm #207002In reply to: Trying to understand Child Themes vs. Plugins
1a-spielwiese
ParticipantYou have to insert just that changes (i.e.: new style-definitions), which you want to make.
E.g.: I intended to change the background color of my BuddyPress-menus. Therefore I inserted into my style.css, which is placed within my child-theme-folder:
#buddypress div.item-list-tabs { background: #008080 } #buddypress div.item-list-tabs#subnav ul li { background: #DCDCDC }Doing that, the original background-color
transparentis substituted – in the first case – by#008080and in the second case by#DCDCDC.The result you can see there:
http://1a-spielwiese.de/neuigkeiten/
In the corresponding way I inserted the #008080-borders.
October 8, 2014 at 8:30 am #2062611a-spielwiese
Participant“then simply edit the page title under the “Pages” menu in the WP dashboard.
No, this does not work:
My page titles there were – already before changing the bp-activity-loader.php and the bp-groups-loader.php – (and are there still) ‘Neuigkeiten’ and ‘Gruppen’:
http://1a-spielwiese.de/wp-content/uploads/2014/10/WP-Seiten-Titel.jpg
und
http://1a-spielwiese.de/wp-content/uploads/2014/10/Neuigkeiten.jpgNevertheless, in the frontend was displayed ‘Side-Wide Activities’ and ‘Groups’:
http://1a-spielwiese.de/wp-content/uploads/2014/10/Page-Titles.jpg
And there is displayed now ‘Gruppen’ – because I changed it inside the bp-groups-loader.php.
And it is displayed ‘Neuigkeiten aus dem 1a-Spielwiese-Netzwerke’ (and not only ‘Neuigkeiten’) – because the bp-activity-loader.php (and not the WP Admin-Panel) is decisive.
Therefore again:
How can I prevent, that my changed bp-activity-loader.php and bp-group-loader.php files will be re-changed through the next BuddyPress-Update? – Would it work to place them somewhere into my child-theme-folder? And if so: Where precisely inside that folder I would have to place them?
September 26, 2014 at 2:04 pm #2011511a-spielwiese
ParticipantFollow-up:
7th:
Capability Manager Enhanced to define custom user roles, if you’re not satisfied with the default wordpress roles (subscriber, contributor,…).
The first step is to create your user roleshttps://buddypress.org/support/topic/resolved-different-profile-types-and-different-user-roles/
As ready implied there: I did this – and it works so far.
8th:
Create a xprofile field (selectbox) with the title “User Role” and name the options “Band Role” and “Fan Role” – in my case. You can call them whatever you want. Place this field in the “base” profile group, otherwise it won’t be shown during registration. Also make the field “required”. In my case the user can’t decide, if the visibility of the field can be changed.
I did it already, when I installed and activated ‘BP Profile Search’-plugin – and it works.
However, to choosed a dropdown menu and the categories ‘team’ and ‘fan’.
9th:
I modified:
?php function custom_bp_core_signup_user($user_id) { $user_role = strtolower(xprofile_get_field_data('User Role', $user_id)); switch($user_role) { case "Band Role": $new_role = 'band'; break; case "Fan Role": $new_role = 'fan'; break; } wp_update_user(array( 'ID' => $user_id, 'role' => $new_role )); } add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);into:
function custom_bp_core_signup_user($user_id) { $user_role = strtolower(xprofile_get_field_data('Mitglieder-Kategorie (Team oder Fan?)', $user_id)); switch($user_role) { case "Team": $new_role = team'; break; case "Fan": $new_role = 'fan'; break; } wp_update_user(array( 'ID' => $user_id, 'role' => $new_role )); } add_action( 'bp_core_signup_user', 'custom_bp_core_signup_user', 10, 1);(I omitted
<?php, because I created not a new bp-costum.php, rather inserted the code into my yet existing bp-costum.php. I inserted the modified code above the line?>.)I did not understand, which effect this insertion should have – but, however, – as far as I see – it causes no harm.
Did anyone understood, for which purpose the above mentioned code is?
10th:
I inserted as well:
//hide the user role select field in edit-screen to prevent changes after registration add_filter("xprofile_group_fields","bpdev_filter_profile_fields_by_usertype",10,2); function bpdev_filter_profile_fields_by_usertype($fields,$group_id){ //only disable these fields on edit page if(!bp_is_profile_edit()) return $fields; //please change it with the name of fields you don't want to allow editing $field_to_remove=array("User Role"); $count=count($fields); $flds=array(); for($i=0;$i<$count;$i++){ if(in_array($fields[$i]->name,$field_to_remove)) unset($fields[$i]); else $flds[]=$fields[$i];//doh, I did not remember a way to reset the index, so creating a new array } return $flds; }into my bp-costum.php – again above the line
?>.It does not work:
— threre the user role is still changeable:
— http://1a-spielwiese.de/members/kampfsportlerinnenneuwied/profile/edit/group/1 causes an redirection error. – The redirection error disappears, when I’m not logged in as kampfsportlerinnenneuwied, rather as superadmin.
September 25, 2014 at 5:17 pm #201090In reply to: [Resolved] Translation for Spanish
mabellaneda
ParticipantHello,
I’m suffering a lot of issues too with the translation into Spanish, in such a way that I had to patch it several times after trying different configurations.
So! To the point. It works for me now and I explain here my current configuration:
1. I’ve downloaded the BuddyPress translation package from https://translate.wordpress.org/projects/buddypress/ and contributed with some translations (specifically for Spanish: https://translate.wordpress.org/projects/buddypress/dev/es/default)
2. Saved the .mo and .po files in /wp-content/languages/plugins as recommended by the Moderators: https://translate.wordpress.org/projects/buddypress/dev/es/default.
And configured the site in Spanish (particularly I tried to do it dinamically)3. Becuase I try to change the language dinamically according to the browser preferred language I use the xili-language plugin, which “helps” you to manage in what language you’ll display your WordPress, but I’m no sure if it is decisive for the BuddyPress translation. In this plugin there’s a configuration to mention and not enough documented. In case you use the plugn, in the tub “Settings for expert” there are rules to specify. My configuration is:
Wordress rule –> translation in local
BuddyPress rule –> no modification5. At this point the translation didn’t work correctly or I didn’t succeed in translating some strings that remained in English (like: “Members”, “Groups”, “Notifications”, “Activity” in the BuddyPress navigation menu and others). So, I edited the .po file with PoEdit and updated it with the BuddyPress catalog “buddypress.pot”:
6. I updoaded the modified .po and .mo files to the mentioned folder /wp-content/languages/plugins and didn’t change a thing. I read then in forums the different issues with translations, for example:
https://buddypress.org/support/topic/translation-fails-only-at-sitewide-activity/
https://buddypress.trac.wordpress.org/ticket/5655
https://buddypress.org/support/topic/buddypress-2-1-bp-language/
https://buddypress.trac.wordpress.org/ticket/5887
https://buddypress.org/support/topic/buddypress-2-1-known-issues/ (here there’s another workaround)7. And I added the following lines to the file functions.php of my child theme:
function igf_my_child_theme_setup() {
load_child_theme_textdomain( ‘my_child_theme’, get_stylesheet_directory() . ‘/languages’ );
load_plugin_textdomain(‘buddypress’, false, basename( dirname( __FILE__ ) ) . ‘/languages/’ );
}
add_action( ‘after_setup_theme’, ‘igf_my_child_theme_setup’ );And it begans to translate correctly! I’m sorry I really don’t understand why. Furthermore I thought that the buddypress textdomain was set by the plugin xili-language but, as I said, I’m not clever enough or it is not well documented.
I know there’s a lot of steps to do, I was really frustated with it, but if you try something like this
Anyway, as this is my first post, I have to thank to the developers for the software and the great effort, of course; it has helped me a lot too.
Regards.
September 24, 2014 at 2:42 pm #200995In reply to: Bug. Duplicate Buddypress Profile Menu
wayne alex
ParticipantHi @mercime,
I have changed to the Twenty Fourteen Theme and deactivated all plugins except buddypress, with the twenty fourteen theme everything works fine and there is no duplicate Buddypress profile menus with all plugins activated, I am using the bp-social child theme from wpmudev, even when all plugins are deactivated except buddypress the issue is still there with this customized child theme. Also when i switch to the parent theme bp-social there is also no duplicate menu with all plugins activated.
Really need some help with this one!
Thanks,
Wayne,
September 18, 2014 at 7:24 am #197321In reply to: What happened to these Buddypress Plugins?
1a-spielwiese
Participant1st:
Yes, I did not inserting at the beginning of the bp-custom.php:
<?php // hacks and mods will go here ?>I would like to suggest to set there (and at all similar places) links from “bp-costum.php” to https://codex.buddypress.org/themes/bp-custom-php/
2nd:
But even after inserting the three above mentioned lines it does not work.
3rd:
With that code I had yesterday the same problem: It worked with inserting the code into the functions.php of my theme folder, but it works not with inserting it – as suggusted there – to bp-custom.php.
4th:
a) Currently the name of the file is:
bp-custom.php
b) It is placed within the folder wp-content/plugins (not inside the buddypress folder; rather on the same level as the buddypress folder).
c) The entire content of the file is:
<?php // hacks and mods will go here ?> function bbg_change_profile_tab_order() { global $bp; $bp->bp_nav['profile']['position'] = 10; $bp->bp_nav['activity']['position'] = 20; $bp->bp_nav['blogs']['position'] = 30; $bp->bp_nav['friends']['position'] = 40; $bp->bp_nav['messages']['position'] = 50; $bp->bp_nav['groups']['position'] = 60; $bp->bp_nav['settings']['position'] = 70; } add_action('bp_setup_nav', 'bbg_change_profile_tab_order', 999 ); /** * Change BuddyPress default Members landing tab. */ define('BP_DEFAULT_COMPONENT', 'profile' );d) I changed the wp-config.php and the functions.php back to their old versions. But it still does not work:
The code of the bp-custom.php appears above the header of blog:
http://1a-spielwiese.de/members/balletttaenzerinnenkrzbg36/
and the “Activity”-Tab and it’s content is displayed at first.
August 8, 2014 at 10:58 pm #186326In reply to: Logged in user cannot access group directory
Daneraid
ParticipantSpecs…
WP 3.9.2
BP 2.0.2
I use Bluehost
No Core Files Changed
Also using BuddyMenu 2.2.0 to utilize shortcode for community homepage
I am using BuddyPress with OptimizePress 2.0 and creating a community page.
I have enabled the members to create groupsEverything works well except for the fact that members cannot see public groups or a group directory.
From the Groups Menu the Sub-menus are “Memberships” and “Invitations”
In the “order by” drop down there is no way of finding anything either.I want new members to be able to access the group directory and join the public groups I already created with the admin account.
Any suggestions?
August 7, 2014 at 12:59 am #186064In reply to: [Resolved] Can't see member profile (Not found)
danbp
ParticipantYes i meant permalinks settings.
https://codex.wordpress.org/Settings_Permalinks_Screen
By going on the permalink page and simply clicking on update, without doing any change, will refresh the whole site urls. This is recommanded after heavy modification on pages, posts, menus.You can also check the permalink format on the “member” page, just in case off. Sometimes there is a number at the end of the URL which shouldn’t be…
Activate debug mode and see if you receive somme other error msg
https://codex.wordpress.org/WP_DEBUGIf nothing works, read here and provide the whole bunch of information.
August 6, 2014 at 9:56 am #186017In reply to: Create new entrance
danbp
ParticipantNew post or a page publication is made by WordPress, not by BuddyPress.
The only pages BP needs are those created for each activated component. The content of these page is generated dynamically, depending of the context, and in fact, these pages are only intended for internal purpose, to fit with WordPress’s fonctionnalities.
In a few words, BP is using the wp page system, but doesn’t use a page like WP.
https://codex.wordpress.org/PagesSo the question is how to allow your users to publish a blog post directly from the frontend.
https://wordpress.org/plugins/front-end-publishing/For pages, it’s a bit more delicate.
WordPress pages are generally used for displaying static content. That’s why publishing pages is under the responsability of the site owner and/or an editor, but not allowed (by default) for authors or contributors. Also, accessing to pages will need some menu adjustment.I wouldn’t recommend to let your authors handle pages.
August 1, 2014 at 12:28 am #185803In reply to: Custom redirect when access is restricted?
eqerhe
ParticipantThanks, @henrywright –
I think TML just handles redirects after logging in or out. What I’m looking for is a way to manage the redirect when someone who isn’t logged in tries to visit a page that’s only for members, or someone visits a page that their membership type doesn’t allow them access to.
For example, I’d like anyone to be able to see the member and group directories, but only members should be able to look at individual profiles and the group pages and forums.
That being said, I was thinking today that I’d actually like separate pages for visitors or people who aren’t logged in to be able to see those things and other info, so maybe I’ll handle it that way. I guess then what I’m actually looking for is a way to change the top menu depending on whether someone is a logged in member or not.
Sorry for a babble. This is my first swing at BuddyPress, so it’s all trial and error for me right now! Thanks for the help!
-
AuthorSearch Results