Forum Replies Created
Got the solution from this link:
Thanks for replying… Actually I don’t want to convert the whole interface to RTL, I just want the activity updates and comments to be RTL when writing Arabic. Any solution?
In my case, the problem was in naming the wordpress directory. The name should not contain capital letters. I renamed it and made it all small letters & the problem was solved..
Thanks for replying… Actually I need to add restrictions on the entered email so this plugin is not what I need.
I already did modifications on the function but in the core file and this is not right, core files should not be modified. There should be a way to do this (overwrite a core function).
How could this be done?
Thanks in advance
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…
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!
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?
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 lines to the number you want (I put 1 to only show the last comment):
1- if ( jq(this).children(‘ul’).children(‘li’).length < 5 )
2- if ( i < comment_lis.length – 5 )
In the previous lines, the latest 5 comments will be shown and a link “show all comments” will appear above comments. Of course this will happen when number of comments is above 5 (change the number to what you want).
As I saw this (alone) didn’t work with the last custom community update, what I had to do to make it work (beside modifying the number above) is commenting the following style commands:
in the file style.php of the theme folder (Core –> theme-genertaor –> style.php).
In this way everything will be ok. Hope this might help you in any way.
Did you find a way to do this? I need something resembles this.
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.
Yes @globetrotter12, you’re right. It has to be in the plugin options, it’s a very important issue.
If anybody found a solution, plz share.
Hi @wiste, what do you mean in “renaming and moving the activity tab”?
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 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 corresponding message when the member tries to change his role since I don’t want to hide the whole field.
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?
I have the same problem, registration is not working! No reaction at all after pressing the submit button (just the password fields become empty).
I did a fresh installation with only Buddypress installed & still the same problem! Anybody knows why?
Thanks in advance
Yes @ubernaut, lets say most of the users will be using the system at the same time. What are the recommended requirements regarding the HD size + Memory for example.
What is the recommended OS from your and others’ experience?
Thanks a lot
Thank you guys for your quick responses…
Actually it’s not a Ning site, It’s a student information system & I want to export its users (who are students) in a format that could be imported into buddypress; so I can create them accounts with the specified fields that i already defined in Buddypress (program, term , year, etc..)
I installed BuddyExport on my test site, there’s Buddypress Import option but not accomplished yet as appears (nothing appears when clicking on it) or I missed something?
This is the “load more” code in global.js that deals with the comments’ hiding:
`/* Hide excess comments */
if ( jq(‘div.activity-comments’).length )
The required code is already in the called function bp_dtheme_hide_comments(); It should work :S Is there something I’m not seeing
Thanks a lot for your quick reply.. Actually I’m aware of the code in global.js file & I changed the number of shown comments to 2 instead of the default (5) but this is not my problem.
I’ll describe the problem in more details:
After changing the number to 2 in global.js file, comments appear on the activity stream just as I want (2 shown comments & the rest are hidden) but when I click on “Load More” buttom, the comments of the newly loaded activity updates are shown totally (no hidden comments).
So what could the problem be?