Search Results for 'buddypress'
-
AuthorSearch Results
-
July 1, 2013 at 7:08 pm #167384
In reply to: Custom Forum Role
Paul Wong-Gibbs
KeymasterBest to ask on bbPress.org. bbPress is the component that provides forums to BuddyPress.
July 1, 2013 at 5:12 pm #167364In reply to: Creating New Plugins
modemlooper
ModeratorLooks good. One more suggestion per WP standards. Place all add_actions right below it’s function unless the action is inside a function in that case you place that actions function below the function the add action is inside. It’s to keep the code easier to manage when you have really long file and scrolling up and down gets tedious.
/*** Make sure BuddyPress is loaded ********************************/ function private_community_for_bp_lite_bp_check() { if ( !class_exists( 'BuddyPress' ) ) { add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' ); } } add_action('plugins_loaded', 'private_community_for_bp_lite_bp_check', 999); function private_community_for_bp_lite_install_buddypress_notice() { echo '<div id="message" class="error fade"><p style="line-height: 150%">'; _e('<strong>Private Community For BP Lite</strong></a> requires the BuddyPress plugin to work. Please <a href="https://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP Lite</a>.'); echo '</p></div>'; } function private_community_for_bp_lite_init() { require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' ); } add_action( 'bp_include', 'private_community_for_bp_lite_init' );July 1, 2013 at 3:29 pm #167354Tux Kapono
ParticipantThanks guys! Ah, here it is: https://codex.buddypress.org/developer/releases/version-1-7/
Forums
Retired bbPress 1.x “Group Forums” component (replaced with bbPress 2.x integration) (#3598)
July 1, 2013 at 3:10 pm #167351In reply to: How to modify a template to Buddypress
Hugo Ashmore
ParticipantCheck the Codex and BuddyPress release notes! As of 1.7 there is a theme compatibility layer built in to BP that allows it to work with most themes – activate your theme, activate BP, that is about all you have to do bar a few style mods if required to bed BP screens in.
July 1, 2013 at 3:08 pm #167350Henry
MemberHugo beat me to it 🙂
July 1, 2013 at 3:07 pm #167349Henry
MemberAh yes, my bad. BP forums was pre 1.6.5. The bbPress plugin is different.
This may help you move everything across:
https://codex.buddypress.org/user/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/July 1, 2013 at 3:02 pm #167348Hugo Ashmore
Participantit is in the Codex!
Originally BP used a stripped down version of bbpress built in, now that is removed and bbPress plugin provides support for BP groups forums, there is a guide on transitioning over.
July 1, 2013 at 2:45 pm #167347Tux Kapono
ParticipantbbPress is a separate plugin – bbpress.org. We have the BuddyPress 1.6.5 forums on our site without the bbpress plugin installed, and they seem very dated IMO.
It would be nice to have this all explained in one definitive document though, as we’re not clear what we have to do to maintain the most up-to-date forums.
July 1, 2013 at 2:20 pm #167345Henry
Member‘BuddyPress forums’ is bbPress (as far as i know)!
July 1, 2013 at 12:23 pm #167343In reply to: show header item when user not login in buddypress
Henry
MemberYour code is outputting the exact same line of code to both logged in users and logged out users:
do_action( 'bp_member_header_actions' );The idea of an ‘if’ statement is to output different code based on certain criteria being met.
July 1, 2013 at 11:10 am #167342In reply to: show header item when user not login in buddypress
designweb
Participantbut it’s not working in member-header. is there any thing wrong in my code:
<div id="item-buttons"> <?php if ( is_user_logged_in() ) { do_action( 'bp_member_header_actions' ); } else { do_action( 'bp_member_header_actions' ); } ?> </div><!-- #item-buttons -->July 1, 2013 at 11:05 am #167341In reply to: show header item when user not login in buddypress
July 1, 2013 at 11:01 am #167340In reply to: show header item when user not login in buddypress
designweb
Participantnot working.
July 1, 2013 at 10:27 am #167339In reply to: show header item when user not login in buddypress
Henry
MemberI’m not sure what you’re asking exactly but take a look at this:
<?php if ( is_user_logged_in() ) { // whatever you put here will be displayed if the user is logged in } else { // whatever you put here will be displayed when logged out } ?>July 1, 2013 at 10:22 am #167338In reply to: show header item when user not login in buddypress
designweb
Participant@henrywright-1 i need show button only but when user click on any button it required to login or Register to add or send message. same as like this theme Link
July 1, 2013 at 10:16 am #167337In reply to: show header item when user not login in buddypress
Henry
Member‘Add friend’ and ‘send private message’ aren’t supposed to display when a user is logged out. For example, how would BuddyPress know who the friend request came from? How would BP know who the private message came from?
July 1, 2013 at 10:11 am #167336In reply to: show header item when user not login in buddypress
designweb
Participant@bphelp Thank for your reply. my question is simple. i need to show member header item which include (add friend, send private message etc). which are not showing when user are not login. i need to remove login to see header item button condition . any way to do this.
July 1, 2013 at 9:43 am #167335In reply to: show header item when user not login in buddypress
bp-help
Participant@maan18
I am not certain I understand your requirement but you can try:
https://github.com/bphelp/private_community_for_bp_liteJuly 1, 2013 at 7:05 am #167329In reply to: Confusing members – Space in User Registration
July 1, 2013 at 5:53 am #167326nathandboyd
ParticipantAlthough this is listed as Resolved, I will still post a reply. I had the exact same issue, and decided to try adding “www.” to the front of the URL in the WordPress address bar (instead of simply http://mysite.com) under General Settings. That fixed the issue immediately.
July 1, 2013 at 3:26 am #167322In reply to: New Group Management "built in"
hkcharlie
ParticipantBuddypress is fine, it’s everything else we have plugged into it that I worry about.
July 1, 2013 at 1:49 am #167319In reply to: WP categories to BP groups
@mercime
Participant@mgrmn the reverse of BP plugin, Blog Categories for Groups http://buddydev.com/buddypress/blog-categories-for-groups-plugin/
June 30, 2013 at 7:00 pm #167292In reply to: Adding extra field data to Members Directory
daol9999
ParticipantHi Henry,
I’m using WordPress TwentyTwelve theme with the BuddyPress Template pack add on. Reason being that the design provided by our graphic designer was closer to Twenty Twelve than it was for BP default theme. I appreciate that your going to say should have gone with / switch to the BP default theme, but we are 90% through this project now with this one issue outstanding so that will not be possible.
Thanks for your help…
June 30, 2013 at 6:52 pm #167291In reply to: Creating New Plugins
bp-help
Participant@modemlooper
This is what I am adding in the loader.php per your advice. I hope it looks good. I have tested it and I get the effect I want so thank you for the advice./*** Make sure BuddyPress is loaded ********************************/ function private_community_for_bp_lite_bp_check() { if ( !class_exists( 'BuddyPress' ) ) { add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' ); } } function private_community_for_bp_lite_install_buddypress_notice() { echo '<div id="message" class="error fade"><p style="line-height: 150%">'; _e('<strong>Private Community For BP Lite</strong></a> requires the BuddyPress plugin to work. Please <a href="https://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP Lite</a>.'); echo '</p></div>'; } function private_community_for_bp_lite_init() { require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' ); } add_action('plugins_loaded', 'private_community_for_bp_lite_bp_check', 999); add_action( 'bp_include', 'private_community_for_bp_lite_init' );June 30, 2013 at 6:24 pm #167289In reply to: admin dashboard pages vs website pages
@mercime
Participant@mewrd you cannot bypass dealing directly with PHP files to customize some or all of your BP pages. Basically BP pages are rendered via the theme’s default page.php file.
i have tried to remove `<?php get_sidebar( ‘buddypress’ ); ?> from them -didnt help
What theme are you using? If you’re using a child theme of the BP Default theme, then that would work on the file you copied over from BP Default theme into your child theme’s folder in server.
However, if you’re using a WordPress theme with BP Theme Compatibility, for BP 1.7 per link hnla gave above you’re limited to customizing the HTML structure wrapping the BP templates to all templates or not at all (see last paragraph). Full customization of HTML wrappers (like removing sidebar for the Members pages only) is possible come BP 1.8 https://codex.buddypress.org/developer/theme-development/template-hierarchy/
-
AuthorSearch Results