Search Results for 'buddypress'
-
AuthorSearch Results
-
June 29, 2013 at 4:27 pm #167211
In reply to: Creating New Plugins
modemlooper
ModeratorActually just wrap notice check in if class because bp_include won’t run if bp isn’t active.
add_action( ‘bp_include’, ‘private_community_for_bp_lite_init’ );
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);June 29, 2013 at 4:12 pm #167208In reply to: BuddyPress Lke Plugin Updated
Asynaptic
ParticipantHi @darrenmeehan looks interesting. Is this like cubepoints vote it up module? where users can like or vote on posts, comments, etc.? can you provide a screenshot?
June 29, 2013 at 3:54 pm #167206In reply to: BuddyPress Lke Plugin Updated
darrenmeehan
ParticipantI’m currently working on some support and tidying up code. I’m not sure whether to fix a few things at a time or to do the massive rehaul I’d like to. Smaller amounts would be more manageable though I’d like to know from experienced plugin developers which is easier when you’ve different users using your plugins.
Information on BuddyPress Like
June 29, 2013 at 2:55 pm #167201In reply to: Creating New Plugins
modemlooper
ModeratorYou can also wrap everything in a class. Look at bp-loader.php to get an idea of how to do that. I’m guilty of not following the best way out of laziness but I always go over my code and try and perfect as much as possible. I look at how BuddyPress core code is written and look over others plugins that I feel are doing it right.
June 29, 2013 at 2:51 pm #167199In reply to: Where Is The Settings For Registration
bp-help
Participant@pewee123
Dashboard/Settings/General and beside Membership check the box that anyone can register.
Note:
This setting really should be checked before installing BuddyPress because if not it will not automatically create the register and activate pages upon activation.June 29, 2013 at 12:08 pm #167189In reply to: [Resolved] Excessive vertical gap in buddypress
mewrd
Participantfilter by buddypress responsive
June 29, 2013 at 11:34 am #167187In reply to: Where are the widgets stored?
@mercime
Participant@number_6 Only the 5 widgets listed at https://codex.buddypress.org/user/buddypress-components-and-features/buddypress-widgets/ are the BuddyPress defaults. Could you please clarify what you mean by the community navigation widget? Member navigation in WP Toolbbar perhaps?
June 29, 2013 at 11:32 am #167186In reply to: [Resolved] Excessive vertical gap in buddypress
June 29, 2013 at 11:28 am #167185In reply to: Excessive vertical gap in buddypress
@mercime
Participant@disqusnow Please do not post in more than one forum on the same topic. Closing this topic for original post https://buddypress.org/support/topic/excessive-vertical-gap-in-buddypress/#post-167184
June 29, 2013 at 11:26 am #167184In reply to: [Resolved] Excessive vertical gap in buddypress
@mercime
Participant@disqusnow the large vertical gap is caused by the style applied to the container of the group avatar and group admin/s avatar. To correct the issue, add the following at the bottom of your theme’s stylesheet:
#buddypress div#item-header {
overflow: visible !important;
}June 29, 2013 at 11:23 am #167183In reply to: Excessive vertical gap in buddypress
disqusnow
Participant@mewrd thanks for your prompt reply. What other free theme do you suggest that looks similar, that is WordPress and BuddyPress compatible and also responsive. Ideally am looking for a theme that looks like this current one.
Thanks in advance.
BenjaminJune 29, 2013 at 10:58 am #167182In reply to: Excessive vertical gap in buddypress
mewrd
Participanti am also a newbie but if i am not mistaken the theme you have selected is not buddypress compatible(only wordpress)- and you may encounter even more difficulties later is it possible to change theme?
June 29, 2013 at 10:21 am #167181In reply to: admin dashboard pages vs website pages
mewrd
Participanti did read it, but as a newbie its sometimes a little complex and i thought there was a way to bypass dealing directly with php files.so in order to change the single member page layout i have to make changes directly to child-theme php files?im trying to understand the logic because my problem (remove the right side bar from the single member page )was already posted a lot of times and none of the solutions worked for me -the theme i have installed (and child theme i have created) has an option for 3 culomns layout
so if can you help me – which of these files will help me to remove and how, the side-bar from the single member page )the optional files theme/members/single/home.php
theme/members/index.phpthere is no page.php in members directory.
i have tried to remove `<?php get_sidebar( ‘buddypress’ ); ?> from them -didnt help
there are few more files
in the theme directory left-sidebar.php right-sidebar.php and page.php but i will probably have to use conditional tags <?php is_page_ and since i don’t know how to call this page i dont know how to write this function.June 29, 2013 at 9:50 am #167179In reply to: Excessive vertical gap in buddypress
disqusnow
ParticipantAm using WordPress 3.5.2, BuddyPress Version 1.7.2 and BBPress Version 2.3.2. The theme is a custom theme. This is the the link http://mythemeshop.com/themes/ribbon/
Here is how its behaving http://www.disqusnow.co.uk/groups/test-group/forum/. Still working on the look.June 29, 2013 at 9:44 am #167176In reply to: [Resolved] Excessive vertical gap in buddypress
disqusnow
Participant@mercime Am using WordPress 3.5.2, BuddyPress Version 1.7.2 and BBPress Version 2.3.2. The theme is a custom theme. This is the the link http://mythemeshop.com/themes/ribbon/
Here is how its behaving http://www.disqusnow.co.uk/groups/test-group/forum/. Still working on the look.June 29, 2013 at 9:36 am #167175In reply to: admin dashboard pages vs website pages
Hugo Ashmore
ParticipantYou don’t edit the dashboard BP pages, they are simply placeholders for BP, you mention the BP codex did you not see this page? :
https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/That should help.
June 29, 2013 at 6:59 am #167171In reply to: Creating New Plugins
modemlooper
ModeratorMika and John were just pointing out you didn’t need to load that extra file to check for BuddyPress. The code you were using has been copy & pasted over the years from some early plugins.
June 29, 2013 at 6:42 am #167169In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantYes that could work with shortcodes, but You need to put content every time you make post between that shortcode.
June 29, 2013 at 6:28 am #167168In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantI tried to put your code and changed user login but its not working.
echo 'Username: ' . $current_user->user_login . "\n";echo 'User ID: ' . $current_user->ID . "\n";This situation could be done with custom post type, but another problem is that posts are not showing in category that you mark.
I found on this forum someone had similar problem like mine:
Posts are added to the activity stream when the post is saved.
It’s done in the bp_blogs_record_post() function, which is hooked on to the save_post action.
There isn’t any easy way to filter bp_blogs_record_post() to stop certain categories appearing, so, your best options may be:
1. To unhook the whole bp_blogs_record_post() function and replace with your own
or:
2. Use a custom post type for your teaser posts – the built in function will only post to activity stream if the post type is ‘post’That questions and solution is from this link:
https://buddypress.org/support/topic/resolved-filter-posts-with-specific-categorytag-from-activity-stream/If I go with solution 1. that was offered “unhook the whole bp_blogs_record_post() function and replace with your own”, where to find bp_blogs_record_post(), and just to delete it or?
June 29, 2013 at 6:28 am #167167In reply to: Buddypress and S2 member Activity problem
mgrmn
ParticipantSee answer of @shanebp , or use the shortcodes, as explained http://www.s2member.com/kb/simple-shortcode-conditionals/
June 29, 2013 at 5:52 am #167165In reply to: Buddypress and S2 member Activity problem
crashy11
ParticipantOk thank You I will try and let you know.
What I am trying to accomplish is this. I created couple of categories by membership levels (1,2,3). I restricted those categories in S2 members options so only user that have certain level of membership can see posts in those category.
Now problem is, when I create post for example for category level 3, everyone (all levels) can see that post in activity stream, that is what I am trying to remove. Posts don’t need to be in activity stream at all, or just to remove activity stream from account that I am making those posts.
June 29, 2013 at 1:29 am #167161In reply to: [Resolved] Excessive vertical gap in buddypress
@mercime
Participant@disqusnow WP/BP versions? Theme used? Change to Twenty Twelve, is the issue resolved?
June 29, 2013 at 12:51 am #167159In reply to: Creating New Plugins
modemlooper
Moderator/*** Make sure BuddyPress is loaded ********************************/ if ( class_exists( 'BuddyPress' ) ) { add_action( 'bp_include', 'private_community_for_bp_lite_init' ); } else { add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' ); } function private_community_for_bp_lite_init() { require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' ); } 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>'; }June 28, 2013 at 11:07 pm #167157In reply to: Buddypress and S2 member Activity problem
mgrmn
ParticipantSee this link http://www.s2member.com/kb/s2member-conditionals/ it explains how to get the conditionals using PHP, since I do not have s2 installed can’t get them for you
Did some more reading for ya.
try
if (current_user_is("s2member_level1")) { echo "Woohaa got LEVEL 1" ; }and or
echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL;June 28, 2013 at 11:02 pm #167156In reply to: Buddypress and S2 member Activity problem
mgrmn
ParticipantTo see the output of that, you can either put that in your theme/functions.php or i would say bp-custom.php in dir /plugins/pb-custom.php i saw that simular code of yours on stackoverflow.
Not sure what you are tying to accomplish with that s2, but the issue is probably not that piece of code, but more trying to get the right levels.
That code all it does, is checking usernames, so if username is “fred” it will remove the bp_core_record_activity but not according to levels. You need to figure out a way getting it to print out the levels. and then do a if or else statement per level.
-
AuthorSearch Results