-
Roger Coathup posted an update 15 years, 1 month ago
@modemlooper Was falling about laughing when I saw the attack on you below. That’ll teach you to try and help!
We need a lamebook equivalent for BuddyPress
-
Roger Coathup posted on the forum topic How to add attachments to activity updates in the group How-To and Troubleshooting: 15 years, 1 month ago
Further info:
The BP Group Documents plugin lets us upload image files within a tab in groups, and the BP Links plugin lets us upload URLs to tabs within profiles and groups.
Unfortunately, neither augments the Activity Post Update boxes with an attachment capability.
-
Roger Coathup posted on the forum topic What's the php echo for ".com/username" in the group How-To and Troubleshooting: 15 years, 1 month ago
or… if you just need the default tab when visit a user to be their profile you can do it by setting: BP_DEFAULT_COMPONENT
See this thread for details: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/customizing-buddypress-profile-page-default-tab-and-item-nav-order
-
Roger Coathup posted on the forum topic What's the php echo for ".com/username" in the group How-To and Troubleshooting: 15 years, 1 month ago
try: echo bp_loggedin_user_domain()
-
Roger Coathup reviewed the plugin BuddyPress Links: 15 years, 1 month ago
I see a lot of potential for this plugin, but find some aspects frustrating from a user experience point of view –
When I see a link in the activity stream, I expect clicking on it to take me to the linked page. Instead it takes me to some ‘unnecessary’ intermediate permalink page for the link within my buddypress site.
I know this ‘problem’…[Read more]
-
Roger Coathup joined the group BuddyPress Links 15 years, 1 month ago
-
Roger Coathup posted on the forum topic Adding title to activity stream in blog posts in the group Creating & Extending: 15 years, 1 month ago
@nirok, @jasperespejo The activity content is written out by the function bp_activity_content_body() called from activity/entry.php in your bespoke BuddyPress theme. You could try implementing your own version of bp_activity_content_body(), and changing your entry.php to call the new function. Or you could try implementing a filter on…[Read more]
-
Roger Coathup posted on the forum topic Printing out a Users name, picture, and link from User ID in the group How-To and Troubleshooting: 15 years, 1 month ago
Have a look at the functions in bp-core.php, bp-core-templatetags.php : You can call functions such as bp_core_get_username, bp_core_get_user_displayname, bp_member_avatar, bp_member_profile_data There is a list of template tags being developed, (https://codex.buddypress.org/developer-discussions/buddypress-template-tags/), but I tend to resort to…[Read more]
-
Roger Coathup posted on the forum topic Detecting if logged in User is Administrator in the group How-To and Troubleshooting: 15 years, 1 month ago
@johnjamesjacoby – I suspected you might have that one covered 🙂
-
Roger Coathup posted on the forum topic Display Number of Unread Messages in the group How-To and Troubleshooting: 15 years, 1 month ago
-
Roger Coathup posted on the forum topic Detecting if logged in User is Administrator in the group How-To and Troubleshooting: 15 years, 1 month ago
interestingly, it has been deprecated in WP3.0 and replaced with is_super_admin:
https://codex.wordpress.org/WPMU_Functions/is_site_admin
It’s still used in numerous places in the BuddyPress plugin though
-
Roger Coathup posted on the forum topic Detecting if logged in User is Administrator in the group How-To and Troubleshooting: 15 years, 1 month ago
you could try the function:
is_site_admin()
It’s used extensively throughout the BuddyPress core files
-
Roger Coathup posted on the forum topic Favourite Posts in WPMU / BuddyPress in the group Creating & Extending: 15 years, 1 month ago
@jamieea – you might want to check this one out: http://www.dnxpert.com/2010/06/11/mark-blog-post-as-favorite-in-buddypress/ For it to work, you’ll need to have control over the themes being used for the member blogs (as it requires some code adding to single.php to create the favourite / unfavourite button. Possible thoughts on enhancing this…[Read more]
-
Roger Coathup posted an update in the group Group Documents: 15 years, 1 month ago
@PeterAnselmo great plugin, looking forward to trying it out on a new site.
We’d like to give the members the additional option of attaching either a url or a file upload.
Any thoughts on whether implementing this as an additional option within Group Documents makes sense?
Certainly, from a UI experience perspective, our members would want to…[Read more]
-
Interesting Idea. It would take a moderate amount of tweaking, as the database table would have to be modified for the extra field. From a UI perspective, It could be pretty simple, a checkbox could change the file field to a text field or something similar. It’s not something I’ll be able to get to anytime soon, but if yourself or another…[Read more]
-
-
Roger Coathup joined the group Group Documents 15 years, 1 month ago
-
Roger Coathup posted on the forum topic Need to check if bp_profile_field_data() has data in the group How-To and Troubleshooting: 15 years, 1 month ago
Have you tried calling bp_get_profile_field_data and testing against NULL / empty string?
Here’s its definition:
function bp_get_profile_field_data( $args = ” ) {
$defaults = array(
‘field’ => false, // Field name or ID.
‘user_id’ => $bp->displayed_user->id
);..
}Most of the template tags have a “get” version that doesn’t echo…[Read more]
-
Roger Coathup posted on the forum topic Age and Gender in the group How-To and Troubleshooting: 15 years, 1 month ago
This article shows you to calculate the age: http://code.hyperspatial.com/all-code/buddypress-code/buddypress-age/ If you want to display the gender as an image, you can do it with a simple PHP if clause that checks your gender field and inserts the correct
tag appropriately (or marks the field up with a class identifier), and style as a…[Read more]
-
Roger Coathup posted on the forum topic Hide profile field in the group Creating & Extending: 15 years, 1 month ago
Get your list of ‘hidden’ field ids, add them to an array, and modify your if clause above to test whether the current id is in the array.
This is one for you to look up in the PHP books.
-
Roger Coathup posted an update 15 years, 1 month ago
We are looking for a hard core BP freelance developer to work on a couple of short term projects (plugins / component development).
Interested? Drop me a line via http://21inspired.com -
Roger Coathup posted on the forum topic How to add attachments to activity updates in the group How-To and Troubleshooting: 15 years, 1 month ago
@faisalmajeed – we have a similar need. Facebook allows this type of attachment for Photos, Videos, Events, Links and others. In our case, we want to allow users to attach PDFs and URLs. URLs can be typed directly into the update (although, the Facebook approach of making adding a link explicit is perhaps easier for the […]
- Load More
@rogercoathup
Active 5 years, 5 months ago
For real, LOL. All I did was suggest a plugin.
I’ve just told him to re-implement or filter bp_page_title()
Doubtless, I’ll be the next to be attacked
Yup they seem bent on attacking people of an oversight.