-
@mercime replied to the topic hide members in the forum Creating & Extending 11 years, 2 months ago
@famous You can limit who views the members directory page to the Site/Super Admin only by surrounding the members directory section using is_super_admin https://codex.wordpress.org/Function_Reference/is_super_admin then either echo message that the section is restricted or just redirect non-Admin users to another page if visitors try to use the…[Read more]
-
Hugo Ashmore replied to the topic customize the login page in the forum How-to & Troubleshooting 11 years, 3 months ago
@famous There isn’t really such a thing as the ‘login page’ so you’ll need to explain what page you mean exactly.
If wanting to modify and customize BP then in respect of the BP template files it’s important to understand how theme compatibility works, how the template hierarchy is configured and what paths/folders templates must be placed…[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 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 redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
That is a little strange. Are using mutisite? On a single site BP install the login/logout shows in the sidebar with the Meta Widget. Are you using a full width template? If so you can use this plugin to provide a login in the toolbar which I use with a full page template with WP 3.5.1 and BP 1.7.2 and it works, get it…[Read more] -
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
I have never used that widget but you can always drop the widget in the dashboard to the inactive widget section and then test if that is what is causing the login redirect function to fail. -
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
To redirect to profile add the following code courtesy of @sbrajesh at BuddyDev to your bp-custom.php :
/*Make sure profile is default component*/
define('BP_DEFAULT_COMPONENT','profile');/*let us filter where to redirect */
add_filter("login_redirect","bpdev_redirect_to_profile",10,3);function…[Read more]
-
@mercime replied to the topic [Resolved] Group Notifications – Whats New in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous Glad it worked out for you, thanks for posting back.
Marking this as resolved. -
@mercime replied to the topic [Resolved] Group Notifications – Whats New in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous check out or download plugin in github which has been updated for BP 1.7 https://github.com/boonebgorges/buddypress-group-email-subscription
-
bp-help replied to the topic redirect to profile page? in the forum How-to & Troubleshooting 11 years, 5 months ago
@famous
Redirect from what? It would help if you explained the criteria. Do you want logged in users redirected to their profile? -
@mercime replied to the topic Blogs for Groups? Roadmap in the forum Creating & Extending 11 years, 6 months ago
will that be the one that is integrated in the future?
@famous scope of BP 1.8 https://bpdevel.wordpress.com/2013/04/25/buddypress-1-8-scope-and-timetable/ and group blogs are not in it
Know that the group blogs plugin I referred to above is the plugin of choice for Group Blogs for “Commons in a Box”, a project of Boone Gorges, one of our Lead…[Read more]
-
@mercime replied to the topic Blogs for Groups? Roadmap in the forum Creating & Extending 11 years, 6 months ago
-
Hugo Ashmore replied to the topic Delete Selected not working in the forum How-to & Troubleshooting 11 years, 6 months ago
@famous the function works fine. Ensure you do have a selection of messages checked and that you have then selected the type of message to delete i.e ‘read’, ‘unread’ click delete selected and the will be removed.
-
bp-help replied to the topic Notices don't work in the forum How-to & Troubleshooting 11 years, 6 months ago
@famous
https://buddypress.org/support/topic/when-asking-for-support-2/
Same applies here! You need to supply your info as it instructs in the above link on every support topic you open because it is isolated to your individual setup! Otherwise it is just a pure guess which usually doesn’t fix the issue. -
bp-help replied to the topic Delete Selected not working in the forum How-to & Troubleshooting 11 years, 6 months ago
@famous
https://buddypress.org/support/topic/when-asking-for-support-2/
You need to supply your info as it instructs in the above link on every support topic you open because it is isolated to your individual setup! Otherwise it is just a pure guess which usually doesn’t fix the issue. -
Hugo Ashmore replied to the topic Do not show unless logged in in the forum Creating & Extending 11 years, 7 months ago
@Famous the codex is your friend for many things , stuff like template tags and conditional functions, also looking through BP template files will often show you things like is_user_logged_in() in use ( bp-default theme sidebar.php shows examples of this use)
-
danbpfr replied to the topic Do not show unless logged in in the forum Creating & Extending 11 years, 7 months ago
@famous, i simply copy/paste it directly in the textarea without using any tag or attribute
-
danbpfr replied to the topic Do not show unless logged in in the forum Creating & Extending 11 years, 7 months ago
Try this if you’re on 1.7 – 150 is the avatar full size
<code>`
<?php if ( is_user_logged_in() ) : ?>
<div> blah </div> <!– div1 ->
<?php echo ‘<strong>’ . get_avatar( $item[‘user_id’], ‘150’ ) . ‘ ‘ . bp_core_get_userlink( $item[‘user_id’] ) . ‘</strong>’; ?>
<div> blah </div> <!– div2 ->
<?php endif;…[Read more]
- Load More
@famous
Active 3 years, 9 months ago