Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 66 total)
  • Profile photo of Hope
    Hope
    Participant

    @amalsh

    Thank you for replying… Actually I’m not using any BP search plugin, it’s included in the theme I’m using. I’m using “Custom Community” theme.

    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Okay, I’ll search for how to use filters and try it.

    Thank you

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    @hnla Thanks for your reply and help!

    would you please give me an example of how to use the filters? and where to find it? for example, in “bp_core_validate_user_signup” function there are:
    $result = apply_filters( ‘wpmu_validate_user_signup’, $result );
    and
    return apply_filters( ‘bp_core_validate_user_signup’, $result );

    Are those the filters you meant? How can I use it?

    Unfortunately I cannot prevent underscores in usernames since the naming policy in my institution for the users is: name_number and it should be used the same in the social network.

    Thanks
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Thanks @danbp for your reply.

    Wow @qobalt, thanks a lot.. This solved the issue for me… Thaaanks :)

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Dear @mehdi-w,
    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?

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Hi @mehdi-w,

    I noticed that you posted a topic about this issue but it’s closed now! Did you find any solution?

    Thanks in advance
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Dears,

    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..

    Regards
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Thanks guys for replying,

    @mercime, it’s an upgrade for the latest versions of WP & BP. I’m using “Custom Community” theme which is BP compatible.

    Thank you @r-a-y, it works now after I applied the changeset.

    Thanks
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Any idea?

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Hi meg@info,

    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
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Any idea?

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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…

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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 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:
    .activity-comments .hidden{
    display:none;
    visibility: inherit;
    }
    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.

    Regards
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Hi @b1gft,

    Did you find a way to do this? I need something resembles this.

    Thanks
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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.

    Thanks
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Hi @wiste, what do you mean in “renaming and moving the activity tab”?

    Thanks
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    I found it, it’s “xprofile_updated_profile”… thanks.

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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 again!
    Hope

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    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

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Hi guys,

    Any body found a solution?

    Thanks

    Profile photo of Hope
    Hope
    Participant

    @amalsh

    Dears,

    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
    Hope

Viewing 25 replies - 1 through 25 (of 66 total)