Search Results for 'buddypress'
-
AuthorSearch Results
-
August 6, 2013 at 7:16 am #169438
In reply to: BP Groups and Forums
Hugo Ashmore
ParticipantThis issue is resolved in this ticket on BP’s trac and will be included in the 1.8.1 point release.
https://buddypress.trac.wordpress.org/changeset/7332/August 6, 2013 at 5:44 am #169430In reply to: Customize The Profile Pages
@mercime
Participantclosing this duplicate of https://buddypress.org/support/topic/edit-the-profile-page/#post-169428
August 6, 2013 at 5:32 am #169428In reply to: Edit the Profile Page
@mercime
ParticipantBut nothing changes
@drrr did you upload the revised member-header.php file into your theme folder in server e.g. wp-content/themes/thesis/buddypress/members/single/ per https://codex.buddypress.org/developer/theme-development/template-hierarchy/August 6, 2013 at 5:23 am #169427In reply to: Disable Mail Activation ??
@mercime
ParticipantAugust 6, 2013 at 5:18 am #169426In reply to: [Resolved] Show posts written by user on profile
Tecca
ParticipantThe problem is most likely because you don’t have a loop-archive.php. What I did instead was change some of the code to suit what I had prior: an author.php file that was already styled the way I wanted.
In the plugin:
function profile_screen_posts_show() { $theuser = bp_displayed_user_id(); query_posts("author=$theuser" ); if ( have_posts() ) : get_template_part( 'loop', 'archive' ); else: ?> <div id="message" class="info"> <p><?php _e( 'Sorry, this user has not published any posts.', 'buddypress' ); ?></p> </div><?php endif; ?> <?php }I changed it to:
function profile_screen_posts_show() { query_posts( 'author=' . bp_displayed_user_id() ); if ( have_posts() ) : get_template_part( 'author' ); else: ?> <div id="message" class="info"> <p><?php bp_displayed_user_username(); ?> has not published any articles or reviews. Want them to? Send a message or leave a wall post!</p> </div> <?php endif; ?> <?php }You’ll see in there: get_template_part( ‘author’ );
— change “author” to whichever template part you want to call. Most installs, I believe, will have an archive.php file, so use archive.August 6, 2013 at 2:59 am #169419In reply to: Invalid Activation key in Sign up
@mercime
Participant@aidnotes you’d need to provide more information about your installation. WP/BP version? What BuddyPress components/features are activated in Settings > BuddyPress > Components? Theme used? Plugins installed?
August 6, 2013 at 2:56 am #169418In reply to: Old recent topics widget thread help
@mercime
Participant@hitkid the first post you linked is way too old – 3 years ago, we were using the BuddyPress internal forums. BP 1.7 onwards, bbPress plugin is the way to go and if you activate the bbPress plugin, you should find the following bbPress widgets https://codex.bbpress.org/widgets/ under Appearance > Widgets
August 6, 2013 at 1:56 am #169414In reply to: Admin Bar and Footer Broken
August 6, 2013 at 1:55 am #169413In reply to: Member counter on activity page not working
@mercime
Participant@joesell89 WP/BP versions? Theme used? https://buddypress.org/support/topic/when-asking-for-support-2/
August 6, 2013 at 1:54 am #169412In reply to: Creating Registration Options
@mercime
ParticipantYou can look how it’s done in https://wordpress.org/plugins/buddypress-user-account-type-lite/
August 6, 2013 at 12:40 am #169409In reply to: BP Groups and Forums
Faramarz
Participant@hnla I think you are right, when I check my error log I get this error:
[28-Jul-2013 22:51:11] PHP Fatal error: Using $this when not in object context in /public_html/wp-content/plugins/bbpress/includes/extend/buddypress/group.php on line 461How to submit a ticket to BP and report this bug for tracking?
August 5, 2013 at 11:37 pm #169408cappazushi
ParticipantCan you tell me how to check the page validation? I have kinda figured out how to fix the issue, but the solution I found is neither elegant, and I’ve just discovered that it’s still occurring on other pages. I’d like to check out all of the errors and see what’s really going on.
August 5, 2013 at 7:40 pm #169387In reply to: Bad Link to Profile Edit
StuartManning
ParticipantI’m also on
WordPress 3.6
BuddyPress 1.8And I get:
http://[website]/members/%5Buser%5D/profile/edit/group/1/
And get a 404
August 5, 2013 at 7:35 pm #169386In reply to: buddypress.org profile links not working
StuartManning
ParticipantI get the same issue when I install Current Version of Buddy Press 1.8 on a custom domain.
August 5, 2013 at 7:10 pm #169383In reply to: Do you want full bootstrap buddypress theme?
Unsal Korkmaz
ParticipantYeah, have some links comes here and i see that trac ticket is not linking to latest result. Sorry if i did something wrong
August 5, 2013 at 7:04 pm #169381In reply to: Do you want full bootstrap buddypress theme?
Hugo Ashmore
Participantthink you covered that in your other thread!
August 5, 2013 at 6:24 pm #169377In reply to: buddypress usernames only
Tori
Participant@intimez I’m not using that plugin, but I did have the same issue.
I hope you’ve fixed yours by now, but if not, here’s what I did:In the bp-activity-template.php file, edit this function
function bp_get_activity_comment_name() { global $activities_template; if ( isset( $activities_template->activity->current_comment->user_nicename ) ) $name = apply_filters( 'bp_acomment_name', $activities_template->activity->current_comment->user_nicename, $activities_template->activity->current_comment ); // backward compatibility else $name = $activities_template->activity->current_comment->display_name; return apply_filters( 'bp_activity_comment_name', $name ); }The last line is all you need to change. Basically, you’re changing “user_fullname” to “user_nicename”.
I know it’s not ideal to edit bp files, but this is currently the only way I know how to display usernames in comments. Hope this helps someone!August 5, 2013 at 4:06 pm #169374In reply to: Server Requirements (SW & HW)
Ben Hansen
Participantit’s more about how many people will be using your site at any given time if you have buddypress and especially if your theme is displaying buddypress info on most of your pages then you will almost certainly need vps to be happy with your load times.
August 5, 2013 at 3:14 pm #169373In reply to: Do you want full bootstrap buddypress theme?
Unsal Korkmaz
ParticipantAugust 5, 2013 at 1:29 pm #169372In reply to: DONATE TO SEE BP MESSAGES
shanebp
ModeratorSo a member has to make a separate donation to see each new message trail?
This will require the hiring of a buddypress developer to create a custom plugin.
You can contact me via my profile info.August 5, 2013 at 9:05 am #169365Zanora
ParticipantThanks Alot Aces
I just figured out things on Resort. Everything looks smoother.
August 5, 2013 at 8:56 am #169363In reply to: BuddyPress version of Post Author?
@mercime
ParticipantAugust 5, 2013 at 1:34 am #169358In reply to: Multisite problem cannot post.
@mercime
Participant@barronlau
– localhost is XAMPP, WAMP, MAMP?
– As for avatar in localhost, choose something other than the default mystery man for those without Gravatars.
– If you installed BP subsite, did you follow instructions at https://codex.buddypress.org/user/install-buddypress-on-a-secondary-blog/ ?
– I suggest that you test BP install first using BP Default or Twenty Twelve/Thirteen theme.August 4, 2013 at 11:24 pm #169356In reply to: Custom members directory breaks pagination
Boone Gorges
KeymasterThe problem is, in essence, this: You are filtering for member type/role at the template level, *after* the query has already taken place. So: you run
bp_has_members(). It returns 10 users that match the current params, which include the current page, the per_page number, and the dropdown filter (last active, alphabetical, etc). Then, inside of your template loop, you are only displaying a subset of those ten returned members – ie, those that match your s2member role.In order to make a custom directory *and* have your pagination work, you’ll need to modify the query *before* it happens. One relatively simple way to do this is to pass an
includeparameter tobp_has_members(), which would limit the query to users that meet your s2member criteria.Because we’re talking about custom user roles as assigned by s2member (and because user roles are stored in a way by WP that doesn’t allow this kind of query to be very efficient), this is going to be pretty tricky. This is totally untested, and probably not very fast at very large scale, but you could try something like the following:
<?php global $wpdb; $level3_user_ids = $wpdb->get_col( "SELECT user_id FROM {$wpdb->usermeta} WHERE meta_key = 'wp_capabilities' AND meta_value LIKE '%s2member_level3%'" ); $level3_user_ids_param = implode( ',', $level3_user_ids ); if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&page_arg=bapage&per_page=10&include=' . $level3_user_ids_param ) ) : ?>Then you will *not* need to do the level3 check inside the loop, because the 10 items returned will already be limited properly.
Like I said, this is off the top of my head and may not work without further modification. You may have to do some more experimentation to get an accurate whitelist of user ids for each directory type. But, no matter how you do it, the above example should show you a good technique for limiting the
bp_has_members()query to a subset of all users (which is the BuddyPress-related part of this puzzle – the other problem is related to s2member).August 4, 2013 at 10:35 pm #169354In reply to: Group Forum uses plugins.php instead of forum.php
erp_linkin
ParticipantOK !! I think I understood why this is happening.
Please correct me if my understanding is incorrect.Because I have enabled bbpress. So Buddypress uses bbpress plugin to provide forums functionality as opposed to its own forum. Now since bbpress is a plugin so the follow goes to plugins.php rather than buddypress’s own forum.php
Correct ?
-
AuthorSearch Results