-
Hope started the topic Modifying a core function! in the forum How-to & Troubleshooting 10 years, 7 months ago
Hi dears,
Anybody knows how to modify a core function without modifying a core file?
For example I want to modify the function “bp_core_validate_email_address”, what can I do to avoid modifying a core file?Thanks
Hope -
Hope started the topic RTL Updates & Comments Style in the forum How-to & Troubleshooting 10 years, 9 months ago
Hi guys,
Anybody knows how to fix the RTL text style on the activity stream? The users of my site can post either in English or Arabic on the activity stream, all the posts aligned from left to right.
How can I align the text depending on the language? any help is very appreciated.Thanks
Hope -
Hope started the topic Hidding Comment button for public non group member in the forum How-to & Troubleshooting 10 years, 9 months ago
Hi guys,
Anybody knows how to hide the “Comment” button and the “Favorite” button on the activity of a public group for a non group member. It’s more logical to only allow commenting for the group members… so how could this be applied?
Thanks
Hope -
Hope replied to the topic "Other" option for a "drop down list" field in the profile! in the forum How-to & Troubleshooting 10 years, 10 months ago
Any idea?
-
Hope replied to the topic Making Activity Time just like FB time in the forum How-to & Troubleshooting 10 years, 10 months ago
The strange thing is that all activity dates appears as “exact date time” after loading for half a second then it all turns to “…ago” format! Mmmm…
-
Hope replied to the topic Making Activity Time just like FB time in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @megainfo,
Thanks a lot for the code, it works great for the activity comments while it doesn’t for the activity updates although it makes sense! I’m checking where the problem could be.
Thanks a lot for your help!
Hope -
Hope replied to the topic Making Activity Time just like FB time in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @megainfo,
Thanks for your quick reply & for the code! Actually I want to keep today’s format as “..ago” and change every date before today to the exact data+time.
Your code changes the whole activity time to the exact data+time. What can be done to keep the time_since for today’s activities only?
Thanks
Hope -
Hope started the topic Making Activity Time just like FB time in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi dears,
I want to make the BP Activity Stream time just like FB time. i.e. I want the “..ago” format for today only but a specific date “December 25, 2013” for the rest.
Anybody knows how to do this?I wrote a small function:
function format_activity_timestamp() {
[Read more]
$activityDate=bp_get_activity_date_recorded();
if ($activityDate !=… -
Hope replied to the topic Hide Comments on Activity page in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @b1gft,
I’m also using Custom Community theme. What I wanted is to hide the long list of comments on the activity stream and only show the last comment with a link “show all comments” above it.
I could do this by doing the following:in the “_inc” folder of “Custom Community” theme, open global.js file and change number ‘5’ in the following 2…[Read more]
-
Hope replied to the topic Hide Comments on Activity page in the forum How-to & Troubleshooting 10 years, 10 months ago
-
Hope started the topic "Other" option for a "drop down list" field in the profile! in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi guys,
I added in the profile a group for the contact information. In this group, I put a “Country” field + “City” field which are both a drop down list…
I have a full list for the world countries which I imported into the “Country” drop down list but for the “City” field, I put the most common ones for my community. I want to have “Other”…[Read more] -
Hope replied to the topic How to hide activity stream comments for long list comments in the forum How-to & Troubleshooting 10 years, 10 months ago
Thanks @wiste for your reply! Nice website but as for the issue, what you did doesn’t solve it &or even hide it. Maybe it’s fine to do this when you have a small number of users but for a large community, this doesn’t help a lot specially that the activity stream is the most used part in the whole network.. Thank you again.
-
Hope replied to the topic How to hide activity stream comments for long list comments in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi @wiste, what do you mean in “renaming and moving the activity tab”?
Thanks
Hope -
Hope replied to the topic Different profile types and different user roles in the forum Creating & Extending 10 years, 10 months ago
I found it, it’s “xprofile_updated_profile”… thanks.
-
Hope replied to the topic Different profile types and different user roles in the forum Creating & Extending 10 years, 10 months ago
A question plz:
If I want to allow editing the “user Role” field and do the same thing. i.e. saving the actual role upon changing the “User Role” field, what function I have to modify? Do you have any idea?Thanks
Hope -
Hope replied to the topic Different profile types and different user roles in the forum Creating & Extending 10 years, 10 months ago
Thanks a lot @noizeburger for this snippet, just what I want & it works just fine with me. There’s only one note: The cases have to be in small letters since you’re converting to small letters. I mean for “Band Role” & “Fan Role”.
I also don’t want for members to be able to change their roles, I did it with a simple java script to show a…[Read more]
-
Hope replied to the topic How to hide activity stream comments for long list comments in the forum How-to & Troubleshooting 10 years, 10 months ago
Thanks @wiste for your quick reply! Actually I’m using a child theme of “Custom Community” theme for the reason you mentioned (to not lose my changes on each update)! but still don’t know why hiding comments is not working now!
Any idea? Did anybody had this issue before?
Thanks
Hope -
Hope started the topic How to hide activity stream comments for long list comments in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi dears,
Anybody knows how to collapse & expand the comments list in the activity stream? Before the latest buddypress update, I just modified the global.js file in my theme and specified to show only the last 2 comments in the list, this stopped working with the last buddypress update!
Anybody knows how to do this? showing the whole list of…[Read more]
-
Hope replied to the topic Collapse and Expand Comments – Activity Stream in the forum How-to & Troubleshooting 10 years, 10 months ago
Hi guys,
Any body found a solution?
Thanks
-
Hope started the topic How to override a core method? Urgent! in the forum How-to & Troubleshooting 11 years ago
Dears,
How to override a core method without modifying a core file? for example, I want to allow underscores in usernames so I have to modify the file “bp-members-functios.php”. This is not good! since I have to re-apply the modification after each update.
So how can I override it? what can I do?
Thanks
Hope - Load More
@amalsh
Active 9 years, 6 months ago