Search Results for 'buddypress'
-
AuthorSearch Results
-
April 2, 2015 at 12:15 pm #237179
In reply to: Problem with Widget Logic and members pages
kuperman87
ParticipantThank you for the answer but isn’t it a kind of BuddyPress bug?
If I’m using
is_page(), with page id or slug which is the default WordPress conditional tag, it’s obvious, that I want to display this widget only on this page, no on the all of the group or member single pages.In the previous version I don’t have this issue. Can this be reported to BuddyPress dev team?
April 2, 2015 at 11:35 am #237177In reply to: Problem with Widget Logic and members pages
Henry Wright
ModeratorI’ve had problems when using
is_page()in BuddyPress in the past. In addition to that conditional, try putting in further checks such asbp_is_groups()orbp_is_friends()(or whatever is relevant to your task).See here for a list of template tags available:
April 2, 2015 at 11:23 am #237175In reply to: Trouble Creating new groups
danbp
ParticipantFYI, to stay independant of any theme, custom code lives better in /plugins/bp-custom.php
April 2, 2015 at 9:17 am #237170In reply to: Trouble Creating new groups
ChristophK2003
ParticipantOK, I fixed, a bit embarrassing, but I created a buddypress.php in my theme folder to add custom code, which was working. But then we decided we do not need that anymore and therefore removed the custom code, but I kept in file just in case. But this was causing in the end the blank. When I removed this file I could access everything again.
April 2, 2015 at 8:54 am #237166danbp
ParticipantAdd this snippet to your child-theme functions.php or bp-custom.php
Nedds also a template overload of
/your-theme/content.php
as you should add an action or the function call near the (blog) post.function bpfr_pm_to_author() { $author = get_the_author(); echo '<a href="'.wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . '/compose/?r=' . get_the_author() ) .' title="Private Message"">Private Message</a>'; }April 2, 2015 at 6:17 am #237163In reply to: Import old post activity to buddypress
nkeatign
ParticipantThis is basically a really old version of what I need.. its not working but same exact idea (except we dont have comments, only posts). About 1000 posts total from 1000 different users
April 2, 2015 at 5:55 am #237162In reply to: Import old post activity to buddypress
nkeatign
ParticipantAny ideas on this? Legacy wordpress posts simply do not show up buddypress activity streams.
i have the buddypress profile showing all new posts since the time buddypress was installed, but how might i add buddypress activity records for every users old posts?
April 2, 2015 at 2:18 am #237159In reply to: NEED HELP PLEASE!
djsteveb
ParticipantI am pretty sure ” register and comes out the message that check the email to activate ” has been already answered in the forums here a time or tow – please search the forums for your answer first.
your bp associated pages info: https://codex.buddypress.org/getting-started/configure-components/
April 1, 2015 at 7:57 pm #237143In reply to: Trying To Get Access BBPress In My BuddyPress Plugin
David Bisset
ParticipantThanks. Sadly this isn’t working out. I’m going to post this here in case someone can tinker with it (you’ll need BP and bbPress installed):
https://dl.dropboxusercontent.com/u/14006840/curriki-group-import.zip
Yeah, i’m trying to use the BP native functions and hooks. I have no problem with the BuddyPress flow – just when it comes to relying on bbPress to create the forums is when it falls apart.
If anyone figures this out, i’ll throw them some PayPal change for some coffee. 🙂
April 1, 2015 at 6:20 pm #237138In reply to: Trying To Get Access BBPress In My BuddyPress Plugin
David Bisset
ParticipantThe change to ‘bp_ready’ gets past the “crapstop” but my plugin no longer shows up in the menu. Although i’ve always thought ‘bp_loaded’ was the proper hook here, for the moment i’ll take it.
Here’s the full bit of code. Perhaps i’m not init the class properly here?
function curgi_group_import_init() {if ( !function_exists('bp_forums_new_forum') ) { echo "crapstop"; exit; }
buddypress()->curgi_group_import = new CurrikiGroupImport();
}
add_action( 'bp_ready', 'curgi_group_import_init', 20 );
April 1, 2015 at 6:01 pm #237133In reply to: Number of Topics and Replies in Profile
Matthias
ParticipantWant to show number of
topics created:
replies created:
in the buddypress user profile.
bbpress without buddypress did the job without modification…Any ideas?
April 1, 2015 at 5:52 pm #237130mrgiblets
ParticipantBrilliant thank you @danbp that’s exactly what I was looking for.
I know you were being sarcastic when you said “The light goes on when you click on ↑↑↑ Documentation ↑↑↑” but as I’ve explained in other threads on here, the way the codex is laid out is very confusing for a new user.
Maybe you guys that have all been working with this for years know your way around, but I spent ages trawling through the docs and couldn’t find that holy page you’ve just given me the link to.
Remember, I’ve only been using Buddypress for a couple of days. I didn’t even know what it was that I was looking for so how was I supposed to search for the term “Activity Loop”?
I’m sorry if the questions I’m asking are coming across as lazy but I assure you that is not the case. I just wanted somebody to point me in the right direction which you have just done, so thanks again.
April 1, 2015 at 5:34 pm #237125In reply to: Activity page template?
Hugo Ashmore
ParticipantClosing this thread as the question is being answered on a similar question by the OP:
https://buddypress.org/support/topic/could-somebody-please-exaplain-the-basics-of-modifying-the-activity-templates/April 1, 2015 at 4:33 pm #237118In reply to: Trying To Get Access BBPress In My BuddyPress Plugin
danbp
ParticipantHi,
did you searched in bbPress ?
plugins\bbpress\includes\extend\buddypressmaybe you’ll find some answers there ?
like bbp_add_group_id_to_forum() in extend/buddypress/functions.php
April 1, 2015 at 4:19 pm #237117danbp
ParticipantThe light goes on when you click on ↑↑↑ Documentation ↑↑↑
The sun comes up when you enter activity loop in the search box
and you getBP use only dynamic pages and some templates, depending of the context and shows them on the appropriate page (here: activity)
BP templates are all in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/
Fr your question, see
/activity/single/
/activity/And about theme
April 1, 2015 at 3:14 pm #237110In reply to: new plugin: BuddyPress Simple Events
mrgiblets
ParticipantThanks @shanebp,
As soon as I’m happy that Buddypress is going to work for me i’ll be in touch 😉
April 1, 2015 at 1:20 pm #237104In reply to: [Resolved] displaying user roles in profile
shanebp
ModeratorCreate a template overload of this file:
buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.phpThen in that file put one of these snippets wherever you like:
-show all roles for a user
$user = new WP_User( bp_displayed_user_id() ); if ( !empty( $user->roles ) && is_array( $user->roles ) ) { foreach ( $user->roles as $role ) echo $role; }– show just the first role
$user = new WP_User( bp_displayed_user_id() ); echo $user->roles[0];April 1, 2015 at 12:03 pm #237098In reply to: Show admin bar for normal users?
danbp
ParticipantHave you tried another setting for Toolbar ?
Default is yes. Uncheck and see if you get a difference.April 1, 2015 at 11:37 am #237096In reply to: Activity page template?
mrgiblets
ParticipantThanks for the replies guys, but I want to do more than rename the page.
I want to see the template code that is constructing the page so I can get a better idea of how Buddypress works.
Any idea where this is located?
April 1, 2015 at 11:01 am #237094In reply to: BuddyPress Profile Page Translation
OsamaNuman
ParticipantI mean the BP profile,
so if I translate all the strings in the(../buddypress.pot) can you tell me how I can show the strings when I switch to the translated language?
bear with me please 🙂
Because when I use (PolyLang) language switcher -I am using 2 languages for my website-, all the navigation menus transfer to the translated language except for the (BP Profile Page) remains in English -and when pressed it transfers back to the English language-.
So can I provide a new page of (BP profile page) in my translated menu that shows the strings in the translated language? or you have another way to do that?Regards and THX for your reply …
March 31, 2015 at 10:57 pm #237082In reply to: Activity page template?
@mercime
Participant@mrgiblets @ihavetodothis you can change the name of Sitewide Activity when you create a New Page and name it as “Vavoom” for example (leave text area blank) and publish that page. Then you go to admin menu Settings > BuddyPress > Pages and assign “Vavoom” for example to the Activity component and save.
March 31, 2015 at 6:56 pm #237076In reply to: Registrations Dissapearing?
danbp
ParticipantThe picture shows that you also use OneAll social login….
You have to debug. Read here first: https://codex.wordpress.org/Debugging_in_WordPress
Activate TwentyFifteen and deactivate all plugins except BuddyPress.
See it the issue is still in.Reactivate each plugin one by one untill you find a culptrit
March 31, 2015 at 6:31 pm #237072In reply to: Buddypress activity page not working properly
r-a-y
KeymasterIf you have to disable activity auto-refresh, this is telling me that there are other problems.
Try re-enabling auto-refresh and use Firebug to see what JS errors are being logged. Also try purging your browser cache to determine that you are running the latest BP JS.
Activity auto-refresh uses the WP Heartbeat API. The relevant JS is here:
https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-templates/bp-legacy/js/buddypress.js#L1661Let us know what your debugging finds.
March 31, 2015 at 6:07 pm #237071In reply to: Buddypress activity page not working properly
leonardoarias
Participant@danbp Sorry for the links. They were fake urls anyway.
Yes, the activity component has an assigned page.
The problem happens with all the default themes from wordpress.
@r-a-y I thought so. But my javascript is enabled. Tried from different browsers and computers.
And yes, I installed Buddypress from the Wp admin dashboard.——
UPDATE: I “temporarily” solved the problem. I just disabled “Activity Auto-refresh: Automatically check for new items while viewing the activity stream”. Now, it works.
But, I would like to use the Activity Autorefresh. But I feel we are getting closer to the problem. Do you know what file is used for the “Activity Auto-refresh” feature? So I can debug even further and see what is causing the conflict.
Thanks.
March 31, 2015 at 5:52 pm #237069r-a-y
KeymasterIt’s a problem with any theme using the TrueThemes framework:
https://buddypress.trac.wordpress.org/ticket/6335#comment:6They are trying to force comments open on WP pages. When their code hits a BuddyPress page, their code will generate a new page due to the way they are forcing comments open and because the BuddyPress page ID is 0.
Themes using the TrueThemes framework can use this code snippet to disable their force comments code:
remove_action('template_redirect', 'tt_get_comments_status'); -
AuthorSearch Results