-
Shmoo replied to the topic Get activity item title – best option in the forum Installing BuddyPress 7 years, 3 months ago
No I’m busy focussing on the bbPress items for starters, topics and replies as of now.
I have disabled all activity_items to the stream by default except topics and replies. I want to add more items but one at a time and controlled. A BuddyPress site can become overkill feature wise very fast because everything is so connected and relative with…[Read more]
-
Shmoo replied to the topic buddypress login widget not working with username in the forum How-to & Troubleshooting 7 years, 3 months ago
Did you maybe change your username after registration?
-
Shmoo replied to the topic Get activity item title – best option in the forum Installing BuddyPress 7 years, 3 months ago
Thanks,
I’ve been testing the
get_post()
option and the overal number of queries stay the same in the debug bar. -
Shmoo replied to the topic Get activity item title – best option in the forum Installing BuddyPress 7 years, 3 months ago
True, but because the content I’m after is all glued together as one solid string inside the action column I have to fish in other database tables to get the content relative to the item. Nothing is saved separately in the wp_bp_activity table.
But the Primary or Secondary item ID of an activity item always matches the ID in the wp_post table…[Read more]
-
Shmoo started the topic Get activity item title – best option in the forum Installing BuddyPress 7 years, 4 months ago
What is the best option to get the title of an activity item?
I made this.
<?php
$activity_item_title = get_post( bp_get_activity_secondary_item_id() );
$activity_item_title = $activity_item_title->post_title;
?>
...
<?php echo $activity_item_title; ?>
...
Or should I get the action column in the wp_bp_activity database table. This is a…[Read more]
-
Shmoo started the topic Idea: bp_activity_action as post formats example in the forum Ideas 7 years, 4 months ago
Wouldn’t it be more WordPress hierarchy -like if we did something like this to the activity items?
Maybe instead of the solo entry.php template.
bp_get_template_part( 'activity/types/content', bp_get_activity_type() );
The bp_activity_action() function is probably the most disliked function/action in BuddyPress for myself. This really annoys…[Read more]
-
Shmoo replied to the topic Help with this code in the forum How-to & Troubleshooting 7 years, 4 months ago
Wrap the message button between this code.
<?php if ( is_user_logged_in() ) {// your code here
}
?> -
Shmoo started the topic jQuery-cookie upgrade to js-cookie in the forum Ideas 7 years, 4 months ago
As mentioned on the GitHub page, jQuery Cookie isn’t longer maintained. Shouldn’t BuddyPress upgrade to JS Cookie because of this?
-
Shmoo replied to the topic Can I make this Profile data any better? in the forum How-to & Troubleshooting 7 years, 4 months ago
Thank you,
I just noticed it’s better to use is_null() instead of isset() because when people leave those fields empty it returns a FALSE boolean inside a var_damp().
-
Shmoo started the topic Can I make this Profile data any better? in the forum How-to & Troubleshooting 7 years, 4 months ago
I don’t have super advanced PHP skills so I made this as a start to show off only 3 profile fields (will be svg icons later) ..when their set of course.
[Read more]
<?php
$twitter = bp_get_member_profile_data( 'field=Twitter', bp_get_member_user_id() );
$instagram = bp_get_member_profile_data( 'field=Instagram', bp_get_member_user_id() );
$website =… -
Shmoo replied to the topic Activity stream items filter in the forum How-to & Troubleshooting 7 years, 4 months ago
Looks like in the codex by types the ‘updated_profile’ type is missing.
Are those all default activity types or are there more?
—
Following up question
—I went into the database to check what the last added activity type was and found it at the bottom, but what are those first few rows with last_activity types that belong to the members…[Read more]
-
Shmoo started the topic Activity stream items filter in the forum How-to & Troubleshooting 7 years, 4 months ago
Hi,
Don’t know if this codex page is still up to date but I’m trying to exclude a bunch of activity stream items from my site.
So I made this.
function dont_save_various_activities( $activity_object ) {$exclude = array( 'activity_update', 'new_avatar', 'new_member',…[Read more]
-
Shmoo commented on the post, BuddyPress 2.9.0 Release Candidate 1, on the site BuddyPress.org 7 years, 4 months ago
Nouveau Template Pack? So what’s this.. Are we going back to BuddyPress templates/themes again?
I installed this RC1 version and I noticed a Template Pack picker in the BuddyPress options.
-
Shmoo replied to the topic Is it profile or members conditional tags? in the forum How-to & Troubleshooting 7 years, 8 months ago
Yes, bp_is_user() does the job. Thanks.
-
Shmoo started the topic Is it profile or members conditional tags? in the forum How-to & Troubleshooting 7 years, 8 months ago
Hello guys.
I’m trying to hijack this menu and place it inside my header.php file.
This menu gets echoed via the bp_get_displayed_user_nav() function that is only visible on user profile related pages so I need some sort of conditional PHP tag to prevent it from showing up in my header section when I’m not viewing one of those profile related…[Read more]
-
Shmoo started the topic Include a Custom Post Type to the activity in the forum How-to & Troubleshooting 10 years, 3 months ago
Where do I have to start?
Let’s say I have a Custom Post Type called apps and the Posts in this Custom Post Type also have a few Custom Fields items so every time when I update a Post in this App Post Type I would like to see this mentioned in the BuddyPress activity.
Is there something already write about this topic that could help me in the…[Read more]
-
Shmoo replied to the topic Can't install bbpress together with Buddypress in the forum How-to & Troubleshooting 10 years, 7 months ago
A Server error can be a lot of problems..
Maybe your hosting company doesn’t let you to run powerful websites. BuddyPress & bbPress are not small scripts. It’s not like you install a simple Twitter plugin for WordPress. BuddyPress & bbPress are advanced scripts that require some power of your server.
My advise, check your server logs and maybe…[Read more]
-
Shmoo commented on the post, BuddyPress 2.0 Beta 1 is now available, on the site BuddyPress.org 10 years, 7 months ago
Guy just wondering..
I’m following the BuddyPress and bbPress Trac for years now, not that I can help writing code and solve lots of tickets but I like to follow development and see what tickets gets solved and […]
-
Shmoo replied to the topic Temporary deactivating BuddyPress possible? in the forum How-to & Troubleshooting 10 years, 10 months ago
True, but some Plugins and software today have some kinda of deactivation script that cleans-up everything they do when you deactivate them.
That’s why I asked. 🙂
Thanks!
-
Shmoo started the topic Temporary deactivating BuddyPress possible? in the forum How-to & Troubleshooting 10 years, 10 months ago
I have a problem with bbPress pagination of topics/replies and now I would like to deactivate all plugins to check if some other plugin is causing this problem.
BuddyPress _ Dubug-bar are the only plugins active so is it possible to deactivate BuddyPress temporary by just switching the BuddyPress plugin OFF.When I turn it back on again do I…[Read more]
- Load More
@macpresss
Active 6 years, 12 months ago