-
Roger Coathup replied to the topic ivette manzur : Need help with S2MEMBERS in the forum How-to & Troubleshooting 10 years, 11 months ago
That’s more of an s2member question than a BuddyPress one – so, better asked on their forums.
Anyway:
In your PHP template for displaying the user, you can add the following code:
echo get_user_field('s2member_access_label', $user_id);
and to get the $user_id for the displayed user, you can use:
global $bp;
[Read more]
$user_id =… -
Roger Coathup updated the BP_ENABLE_MULTIBLOG page, on the BuddyPress Codex 10 years, 11 months ago
This page is incomplete or needs checking and verifying or updating.
BP_ENABLE_MULTIBLOG
is a BuddyPress constant that, when defined astrue
, allows your BuddyPress content to be displayed on any site in […] -
Roger Coathup replied to the topic Help adding html to the profile page in the forum How-to & Troubleshooting 11 years ago
@strangechild — there is some documentation here: https://codex.buddypress.org/themes/theme-compatibility-1-7/theme-compatibility-2/
The intro is confusing, but if you jump to the second section, it tells you where to find files and where they need to be added to your theme, if you want to override them.
-
Roger Coathup replied to the topic Compatibility with Multilingual Press in the forum How-to & Troubleshooting 11 years ago
ok.. props to @hnla
Defining the constant BP_ENABLE_MULTIBLOG in bp-custom.php fixed the problem.
@boone – any thoughts on this vs. enabling BP on a site by site basis (as suggested as preferable in your in file comments)? Is activity / members / groups, etc. shared when BP is activated separately for each site?
-
Roger Coathup started the topic Compatibility with Multilingual Press in the forum How-to & Troubleshooting 11 years ago
Hitting issues with BuddyPress and compatibility with Multilingual Press for creation of Multilingual sites.
Multilingual Press uses a multisite setup, with a different sub-domain (or sub directory), for each language version of the site, e.g.: mysite.com, fr.mysite.com (for the French version), de.mysite.com (for the German version) and so…[Read more]
-
Roger Coathup replied to the topic Sitewide Activity in the forum Installing BuddyPress 11 years, 2 months ago
If you look in the implementation bp_has_activities(), you’ll see if no user id is supplied as an argument it will default to the displayed_user id on a member page.
See lines 316 and 382 of bp-activity-template.php
If you’re on a non member page it will show activity relative to the logged in user (line 382).
Try passing…[Read more]
-
Roger Coathup replied to the topic How to hide bp profile tabs from non profile owners? in the forum Installing BuddyPress 11 years, 3 months ago
Duplicate of other thread: https://buddypress.org/support/topic/hide-the-followingfollowers-tabs-from-non-profile-owners/
-
Roger Coathup replied to the topic Best "Current" (Aug '13) Facebook Connect (Login)? in the forum How-to & Troubleshooting 11 years, 3 months ago
We’ve used WP FB Autoconnect on a lot of BuddyPress sites – https://wordpress.org/plugins/wp-fb-autoconnect/
There’s a functional free version, and just a few dollars extra for the pro version
-
Roger Coathup replied to the topic [Resolved] bp_is_member is deprecated since version 1.5! Use bp_is_user instead in the forum How-to & Troubleshooting 11 years, 3 months ago
Sounds like you are using an old / outdated plugin with a recent version of BuddyPress.
Looks like called wp-cache might be the problem — see if this link helps you https://wordpress.org/support/topic/advanced-cachephp-problems-on-upgrade
-
Roger Coathup replied to the topic in the forum Roger Coathup 11 years, 3 months ago
My team are currently top of the league… yep, had you down as a North London supporter (although have to admit, I suspected of your arch rivals!)
… quick correction, apparently 3rd behind Villa and the Hammers.
-
Roger Coathup replied to the topic Correct way to setup BP_Theme_Compat class for custom theme in the forum How-to & Troubleshooting 11 years, 3 months ago
Maybe I’m just confused by the naming:
I know I can do this by creating my own class named BP_Legacy in my theme and customising, but this doesn’t seem a correct approach.
Is the BP_Legacy class supposed to behave like a pluggable function? i.e. you are expected to redeclare the class with the same name?
—
On a separate but related matter -…[Read more]
-
Roger Coathup started the topic Correct way to setup BP_Theme_Compat class for custom theme in the forum How-to & Troubleshooting 11 years, 3 months ago
What’s the correct procedure going forward (1.8+) to setup a theme that makes use of BP Theme Compatibility, but wants to significantly amend / remove some of the various filters / actions that BP_Legacy adds?
I know I can do this by creating my own class named BP_Legacy in my theme and customising, but this doesn’t seem a correct approach.
If I…[Read more]
-
Roger Coathup started the topic sitewide notices bug in the forum Installing BuddyPress 11 years, 3 months ago
Sitewide notices entered on a BP (running on subdomain) in a multisite setup, are showing up as an overlay on all sites on the network.
Is this an intended feature? It certainly shouldn’t happen by default.
What’s the recommended process for removing?
-
Roger Coathup replied to the topic How to setup load_template_filter for new component with a directory page in the forum Installing BuddyPress 11 years, 4 months ago
Hi R-a-y,
Yes, had looked at the implementation in the default BP components, and ‘gotten’ my head around it.
Good to get confirmation that this is the right approach for 3rd party as well.
Thanks, Roger
-
Roger Coathup replied to the topic How to setup load_template_filter for new component with a directory page in the forum Installing BuddyPress 11 years, 4 months ago
Hey Dan,
thanks, yes, BuddyDrive looks to have the ‘correct’ solution.
It creates a BP_Theme_Compat class for the component – the same approach that the internal components (Groups, Activity, etc.) do.
@boone, @r-a-y … is that the recommended approach for 3rd party components going forward?
Cheers,
Roger -
Roger Coathup replied to the topic How to setup load_template_filter for new component with a directory page in the forum Installing BuddyPress 11 years, 4 months ago
a gentle 2 day bump
-
Roger Coathup started the topic How to setup load_template_filter for new component with a directory page in the forum Installing BuddyPress 11 years, 4 months ago
Am trying to figure out how to setup a component to use the new template hierarchy for it’s Directory page.
I have a template (part) at /mycomponent/includes/templates/mycomponent/index.php
And want that to be injected into a surrounding page (similarly to the way directory pages are handled for the default components.
@r-a-y gives a good write…[Read more]
-
Roger Coathup started the topic buddypress.org profile links not working in the forum How-to & Troubleshooting 11 years, 4 months ago
Can’t view / edit my own profile / see mentions on this site (buddypress.org) – all links just redirect to home page
Similarly, can’t click on other users and visit their profiles
Has this been taken down deliberately?
-
Roger Coathup replied to the topic TypeError: 'undefined' is not a function (evaluating 'jQuery.easing[jQuery.easing.def](e,f,a,h,g)') in the forum How-to & Troubleshooting 11 years, 7 months ago
Resurrecting an old thread, but we encountered the same problem on 1.7 install, and fixed in same way.
I note the problem doesn’t seem to occur on testbp.org
-
Roger Coathup replied to the topic my 15000+ members site dies when BP is on in the forum How-to & Troubleshooting 11 years, 7 months ago
We had problems upgrading a large site – see: https://buddypress.org/support/topic/wsod-in-wp-admin-activating-site-tracking-upgrade-from-1-2-9-1-5/
I assume some BP script in the backend was timing out.
We solved by:
1. exporting our users / user_meta table. Leaving just the admin user
2. upgrading BP
3. Reimporting the usersThis worked fine.…[Read more]
- Load More
@rogercoathup
Active 4 years, 7 months ago