-
Henry Wright replied to the topic Codex: Activity stream actions page in the forum Requests & Feedback 12 years, 2 months ago
@hnla good idea! It does look like it needs a little love
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
I think
$update['id']could be wrong. Can you try$update[0][O]instead?I’m not at my computer now until tomorrow morning so can’t test.
-
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
Are you using it within the loop? i.e. within
whileandendwhile? -
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
@ You’re right! My apologies! So that makes it much easier!
You can get the time recorded by doing something like this:
$update = get_usermeta( bp_get_member_user_id(), 'bp_latest_update' );[Read more]
$activity = bp_activity_get_specific( array( 'activity_ids' => $update['id'] ) );
$activity = $activity[0];
$time = $activity->recorded_time;
echo… -
Henry Wright replied to the topic custom members loop in the forum Creating & Extending 12 years, 2 months ago
To my knowledge, the time of the latest update isn’t recorded. The latest update info is stored in user meta. To get it you’d do something like:
$update = get_usermeta( $user_id, 'bp_latest_update' );You then have the option to get either the activity ID or the content (no timestamp I’m afraid).
echo $update['id'];
echo…[Read more] -
Henry Wright started the topic Codex: Activity stream actions page in the forum Requests & Feedback 12 years, 2 months ago
https://codex.buddypress.org/developer/action-reference/activity-streams-actions/
I was going to modify this Codex page but wanted to ask for some confirmation from the Codex team what I’m doing is right.
I think the function should be
bp_activity_addand notbp_activity_record -
Henry Wright updated the Activity page, on the BuddyPress Codex 12 years, 2 months ago
This page is incomplete or needs checking and verifying.
This article is a list of the activity stream action hooks available for use in plugin development in Buddypress.
!–more–
bp-activity.php
[…]
-
Henry Wright replied to the topic BuddyPress Version: 1.9.2 update in the forum Installing BuddyPress 12 years, 2 months ago
A fellow BP enthusiast asked you a simple question with the aim of lending a hand, but obviously you couldn’t pass up the opportunity to throw that worn-out jibe
Who asked me a question? And what worn-out jibe are you talking about?
-
Henry Wright replied to the topic BuddyPress Version: 1.9.2 update in the forum Installing BuddyPress 12 years, 2 months ago
Are you using root profiles by any chance?
@hnla there have been quite a few reports about that function since 1.9.2 dropped. I’ll have a look into it…
-
Henry Wright replied to the topic [Resolved] Remove Dashboard Access in the forum Showcase 12 years, 2 months ago
@fkapnist the problem with hiding the icons is members can still access the dashboard by typing in the URL.
Instead, you could do a redirect for non-administrators?
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
Glad you got it working! 🙂
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
@daryanwooz hit F5 to refresh the page and you should see it appear.
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
I just registered and logged in to see what the problem might be. It seems the problem is in your theme’s style.css document. The theme is hiding the link from view.
You’ll need to open wp-content/themes/YOUR-THEME-NAME/style.css and remove the following:
#change-avatar-personal-li {
display: none;
} -
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
On your site? I haven’t got one
On here (BuddyPress) I’m @henrywright
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
@daryanwooz I’ll need to be logged in to see the change avatar tab (or lack of one). Can you set me up as a dummy user?
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
is there any CSS get it back?
Not entirely sure. Do you have a link to your site?
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
Does the problem happen with the OneCommunity theme only? Have you tried contacting the theme author to report the issue?
The problem is likely due to some CSS in the theme’s style.css document or a function in the theme’s functions.php file.
-
Henry Wright replied to the topic Change Avatar Problem in the forum How-to & Troubleshooting 12 years, 2 months ago
Hi @daryanwooz
Your question doesn’t quite make sense?
-
Henry Wright replied to the topic "Load More" in activity stream does nothing in the forum How-to & Troubleshooting 12 years, 2 months ago
@slips111 perhaps you have a jQuery conflict? Aside from via WP, are you loading jQuery manually anywhere?
-
Henry Wright replied to the topic Not working avatar crop tool, buddypress + wordpress in the forum How-to & Troubleshooting 12 years, 3 months ago
Take a look at the markup used in bp-legacy’s change-avatar.php file. You’ll need to stick with most of the class names and IDs in order for the JS to work properly.
Hope this info helps!
- Load More
@henrywright
Active 2 years, 1 month ago