Forum Replies Created
-
In reply to: Division by zero warning
Anybody? how to hide non friends activity updates from activity stream?
In reply to: [Resolved] How to change ‘Avatar’ to ‘Photo’Thank you aces, I ended up modifying core files 🙂 Didn’t find another way…
In reply to: [Solved] Get list of unread private messagesApparently there’s no way to copy the code here :S Anyway do you know how to do this?
In reply to: [Solved] Get list of unread private messagesInteresting!
I want to add dropdown list to choose between showing all or unread messages, how could this be applied? I added the following code but nothing happens:
``
Thanks in advance
HopeIn reply to: Site Wide Forums AvatarsThanks… I tried it actually but didn’t work 🙁
In reply to: Site Wide Forums AvatarsAs I see using “Firebug”, the taken users’ avatars are thumbnails with default size 50×50 and enlarged to 80×80, that’s why its quality is low but the question is how to use the original avatar instead of the thumbnail? What file should be modified for this? I couldn’t find it :S
In reply to: Site Wide Forums AvatarsNo, I haven’t done any modification on the size via css & I’m looking at it from a normal resolution screen (from my laptop 🙂 )…
It’s not like the avatars here, same size but lower quality.
Thanks
In reply to: Site Wide Forums AvatarsThank you both… I’m using Buddypress Version 1.6.3 but the avatars on forum page appear with low quality…
I tried your solution modemlooper but nothing changed :S
In reply to: Division by zero warningYes it is but What may caused this issue in it? and if I wanted to not use it, how can I restrict activities to friends’ activities only?
Thank you
Hi cjpascal,
I want to do the same thing. Did you find out where to change it?
In reply to: Division by zero warningApparently it appears with non friends activities.. BTW, I’m using “buddypress-friends-only-activity-stream” plugin. Could it be the reason?
In reply to: Activity Stream Date FormatYes mgkoller, I added it to functions.php file of my theme. You can add it wherever you want in the file, I put it at the end of it.
Thanks Chouf1, I’ll check the link and see if I can get something useful from it.
In reply to: Activity Stream Date FormatThis changes only the activity updates’ date but not the comments & replies 🙁
In reply to: Activity Stream Date FormatAha… I added this filter:
`
function format_activity_date() {
$activityDate=bp_get_activity_date_recorded();
return date(“F j, Y g:i a”, strtotime($activityDate));
}
add_filter(‘bp_activity_time_since’, ‘format_activity_date’);
`This worked with me but still want to check if the date is today to keep the “… ago” time format, how can I do this?
`
function format_activity_date() {
$activityDate=bp_get_activity_date_recorded();
if ($activityDate>strtotime(24))
{
return date(“F j, Y g:i a”, strtotime($activityDate));
}
else
{$activityDate;}}
add_filter(‘bp_activity_time_since’, ‘format_activity_date’);
`What to replace the bold code above? Mmmm
In reply to: Activity Stream Date FormatThanks Chouf1 for replying… I know how to format date but where to modify it for activity in Buddypress is what I don’t know.
Maybe I can add filter in functions.php file but what is the function that handle activity date and where is it located?Solved… forget it
Forget it.. Using bp_get_the_profile_field_name() instead of bp_the_profile_field_name() solved it…
If I put if(true) or if(1) it works but with the condition it doesn’t!!! Did I miss anything?
In reply to: Extending user ProfileIf I want to check for example: if it’s the “Education” field group, add “Add another school” link at the bottom of the Education form. and on clicking on this link, another Education form appears and so on..
All this in the edit page.. again, any hints where to start? any suggestions?In reply to: Extending user ProfileActually I want each user to add additional info for each school, like “Attending year” & “Degree”..etc so I need to repeat the whole education block for each added school. therefore adding all entries in one text field doesn’t work for my case…
Thanks
In reply to: Buddypress Like on 1.6Yes I got this plugin too and tried it but the same comparability problem with my theme. Thanks Josemv!
In reply to: Buddypress Like on 1.6yep, that’s what I did.. Thanks
In reply to: Buddypress Like on 1.6I know it hasn’t been updated for a long time but I was wondering if anybody tried to develop it since its author stopped working on it.
As I see it’s still working on the Buddypress default theme but doesn’t work with the new themes! Mmm…
In reply to: Buddypress Like on 1.6Hi Ben,
The “Buddypress Like” plugin is not working with Buddypress 1.6. The button appears but with no action at all.
What could the problem be?