-
bp-help replied to the topic BuddyPress Activity Privacy Plugin in the forum Creating & Extending 11 years, 5 months ago
@monika
As a temporary fix you could make a copy of “members-header.php” in your child theme and rename it to “original-members-header.php” then in the one named “members-header.php” you can delete lines 35-43 like in the below code and save it. If it causes issues just delete the members-header.php you modified and rename the one you copied…[Read more] -
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
Try this out. This definitely works if you follow the instructions:
BuddyPress Redirect To Profile Trick Using A Landing Page. -
bp-help replied to the topic Help with homepage redirect to Profile Page in the forum How-to & Troubleshooting 11 years, 5 months ago
@henrywright-1
Thanks, I look forward to adding more tips and tricks in the future.
🙂 -
bp-help replied to the topic New Private Community Plugin For BP in the forum Creating & Extending 11 years, 5 months ago
@profc
Hi, sorry so late for getting back to you. My ISP has been strange today. I just updated github Repo to 2.1 to allow up to 10 unblocked public pages. As before read the readme.txt and follow the commented instructions in private-community-for-bp.php
https://github.com/bphelp/private_community_for_bp -
bp-help replied to the topic Adding buddypress menu in theme navigation menu in the forum How-to & Troubleshooting 11 years, 5 months ago
@compassseeker
Add the code in the link below to bp-custom.php:
http://pastebin.com/HSpJNLyV
Also see @mercime ‘s replies in the following thread:
https://buddypress.org/support/topic/adding-dynamic-profile-link-to-main-menu-item/ -
bp-help replied to the topic Help with homepage redirect to Profile Page in the forum How-to & Troubleshooting 11 years, 5 months ago
-
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
Leaving it commented out will not cause you any issues. Lots of developers use this technique while testing functions with other functions so they don’t loose the code by deleting it.
I can be contacted here:
bphelp.1@gmail.com -
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
To comment out that block of code in your function just add /* after the opening php tag and before your function. After the last } then add */ before the closing php tag.
Note comments basically prevents php from reading the function.
Here is your function commented:
[Read more]
<?php
/* //Begin comment
function redirect_group_home() {
global $bp;… -
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
Have you tried temporarily commenting out your function to see if it is causing your issue? -
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
Did you add it to bp-custom.php? Can you put a copy of it on pastebin and supply the link? -
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
Did you put the code between opening and closing php tags? I have it working on fresh install of WP 3.6 beta2 and BP 1.8 beta1 so if its not working for you it may be some other code you introduced interfering with the function. That code doesn’t do anything to the profile menu in the top right, it just removes the node in the top left for…[Read more] -
bp-help replied to the topic [Resolved] Remove access & links to back end profile / admin bar in the forum How-to & Troubleshooting 11 years, 5 months ago
@fpats
This will remove it for subscribers but leaves it for admin. Add it to bp-custom.php
function bphelp_custom_toolbar($wp_toolbar) {
global $wp_admin_bar;if ( !current_user_can( 'manage_options' ) ) {
$wp_toolbar->remove_node('site-name');
}
}add_action('admin_bar_menu', 'bphelp_custom_toolbar',…
-
bp-help replied to the topic non-logged in users access to private pages in the forum How-to & Troubleshooting 11 years, 5 months ago
@profc
Use this plugin. Download the zip file and upload to your plugins directory. Read the readme.txt and make the adjustments in the commented code in private-community-for-bp.php before activating the plugin.
https://github.com/bphelp/private_community_for_bp -
bp-help replied to the topic don't want registration page to show after login in the forum How-to & Troubleshooting 11 years, 5 months ago
@benjino
This is a great community and I am sorry your issue cannot be resolved. Several people including myself has tried to help you but the issue is that your not comfortable with php. We have pointed you in the right direction but there comes a point when there is an expectation to do your part as well. Please don’t be offended as there are…[Read more] -
bp-help replied to the topic don't want registration page to show after login in the forum How-to & Troubleshooting 11 years, 5 months ago
@benjino
Then take @hnla ‘s advice. If you don’t know php then you have 3 choices,
1.) learn some php
2.) hire a developer
3.) just don’t play around with anything above your skill level.Without trying to sound rude or condescending you have had more than enough help for your topic and nobody can spoon feed you how to get it done when you…[Read more]
-
bp-help replied to the topic don't want registration page to show after login in the forum How-to & Troubleshooting 11 years, 5 months ago
@benjino
Try following 3) Logged-out menu in this tutorial:
http://wpmu.org/how-to-build-a-facebook-style-members-only-wordpress-buddypress-site/ -
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
Use the last code because I made a slight change. -
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
Try this just make sure you follow the instructions in the commented code. Place it in bp-custom.php :
/* Redirects to profile upon login, and upon logout redirects to activity page unless changed */
function bp_help_redirect_to_profile(){
global $bp_unfiltered_uri;$bphelp_my_front_page = 'activity'; // WARNING: make sure you replace…[Read more]
-
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
Try this just make sure you follow the instructions in the commented code. Place it in bp-custom.php :
/* Redirects to profile upon login, and upon logout redirects to activity page unless changed in line 6 */
function bp_help_redirect_to_profile(){
global $bp_unfiltered_uri;$bphelp_my_home_page = 'activity'; // WARNING: make sure…[Read more]
-
bp-help replied to the topic don't want registration page to show after login in the forum How-to & Troubleshooting 11 years, 5 months ago
@benjino
This one works for me! Just add it to bp-custom.php or to your themes functions.php between opening and closing php tags.
/* Add registration menu item to logged out visitors only */
add_filter( 'wp_nav_menu_items', 'bphelp_custom_registration_nav_menu_item' );function bphelp_custom_registration_nav_menu_item($menu) {
if (…[Read more] - Load More
@bphelp
Active 9 years, 1 month ago