Forum Replies Created

Viewing 40 posts - 81 through 120 (of 143 total)
  • Author
  • in reply to: Manual number of members change #5444
     willianlima83
    Participant

    When I use this code the site dosnt works…

    add_filter( ‘bp_get_total_member_count’, ‘kleo_my_total_members’ );
    function kleo_my_total_members($number) {
    return $number+345000;
    str_replace(“.”,””,$number);

     willianlima83
    Participant
    This reply has been set as private.
     willianlima83
    Participant

    Hi
    I did what you explain.
    I created a new page and set it with Buddypress Online tamplate.

    Now, wahen I open this new page show me many members who is not online.
    (I will send you the link on a private message)

    Questions:
    How can I list only online members on this page?
    How can I put the tittle ”who’s online?” linked to this page like the tittle Groups and Members on the side bar (members profile page)???

    in reply to: Manual number of members change #5426
     willianlima83
    Participant

    Hi
    I used this code to show a fake total members not to show a fixed number but to add +345000 members for the total true number , and the code is:

    add_filter( ‘bp_get_total_member_count’, ‘kleo_my_total_members’ );
    function kleo_my_total_members($number) {
    return $number+345000;

    The problem is: When the true member number is more than 1.000 it shows the number with a dot together like 345001.08.
    I have 1.081 true members, then adding 345000 false the correct value must be 346081 members.
    Can you help me to take off the dot or put the dot in the correct place?

    in reply to: Horizontal Search Field Bacground Color #5412
     willianlima83
    Participant

    This function is very good…

    in reply to: Check if user is online #5410
     willianlima83
    Participant

    Ok.. thank you.. I think this function is very good if included by default…

    in reply to: Check if user is online #5358
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Check if user is online #5357
     willianlima83
    Participant

    Hi

    The code to add the word ”online” and ”offline” after the name on member directory is working very well…

    The other code to add on the members loop by hand, I can’t…
    My code on members-loop.php is like that:
    (what is wrong?)

    <?php

    /**
    * BuddyPress – Members Loop
    *
    * Querystring is set via AJAX in _inc/ajax.php – bp_dtheme_object_filter()
    *
    * @package BuddyPress
    * @subpackage bp-default
    */

    ?>
    <?php if (kleo_is_user_online(bp_get_member_user_id())) { echo “Online”; } else { echo “Offline”; } ?>

    <?php do_action( ‘bp_before_members_loop’ ); ?>

    <?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ). ‘&per_page=’.sq_option(‘buddypress_perpage’) ) ) : ?>

    <?php do_action( ‘bp_before_directory_members_list’ ); ?>

    <div class=”item-list search-list” id=”members-list”>
    <?php while ( bp_members() ) : bp_the_member(); ?>

    <div class=”four columns”>
    <div class=”search-item”>
    <div class=”avatar”>
    <?php bp_member_avatar(‘type=full&width=94&height=94&class=’); ?>
    </div>
    <?php do_action(‘bp_members_meta’);?>
    <div class=”search-body”>
    <?php do_action( ‘bp_directory_members_item’ ); ?>
    </div>
    <div class=”bp-member-dir-buttons”>
    <?php do_action(‘bp_directory_members_item_last’);?>
    </div>
    </div>
    </div>

    <?php endwhile; ?>
    </div>

    <?php do_action( ‘bp_after_directory_members_list’ ); ?>

    <?php bp_member_hidden_fields(); ?>

    <!– Pagination –>
    <div class=”row”>
    <div class=”twelve columns pagination-centered”>
    <div class=”pagination” id=”pag-bottom”>
    <div id=”member-dir-pag-bottom” class=”pagination-links”>
    <?php bp_members_pagination_links(); ?>
    </div>
    </div>
    </div>
    </div>
    <!–end Pagination–>
    <?php else: ?>

    <div id=”message” class=”alert-box”>
    <?php _e( “Sorry, no members were found.”, ‘kleo_framework’); ?>
    </div>

    <?php endif; ?>

    <?php do_action( ‘bp_after_members_loop’ ); ?>

    <div class=”avatar”>

    in reply to: keeping scroll bar on the last position when refresh #5355
     willianlima83
    Participant

    wow.. it works very well… thank you very much…
    PS. This code works well without the Sticky Menu, because the Sticky Menu, if enabled, overrides the budpress menu..

    in reply to: Check if user is online #5284
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Check if user is online #5117
     willianlima83
    Participant

    Yes.. on my site this code not works too.. I don’t know what is the problem..

    in reply to: Check if user is online #4958
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Check if user is online #4938
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Check if user is online #4937
     willianlima83
    Participant

    Ok, thanks..
    Now the site is not blocked with the new code but not appear the ”signal online” on profile..

    in reply to: Email notification when a user do a registration #4927
     willianlima83
    Participant

    Thanks… but this plugin has not a option to disable notifications for ”new user registrations”..

    in reply to: Check if user is online #4906
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Create An account. #4876
     willianlima83
    Participant

    Hi, this plugin works perfectly..
    Thank you very much!

    in reply to: Check if user is online #4863
     willianlima83
    Participant

    Yes.. I edited a file and the text appears on my site…

    in reply to: Check if user is online #4758
     willianlima83
    Participant

    Yes.. Im sure…

    in reply to: Create An account. #4747
     willianlima83
    Participant

    Sorry my english is very bad lolololol
    I mean.. when a new user is creating his account, he receive a e-mail to open a link and activate his account…
    My question is: Can I activate his account for him on my wordpress admin panel, without he click on link in his email inbox?

    in reply to: Check if user is online #4746
     willianlima83
    Participant

    My theme that is active is:
    Tema actual
    Sweetdate Child
    Por SeventhQueenVersão 2.0

    I did copy the file to sweetdate-child/members/members-loop.php and edit there..
    I cant see the ”online signal” on profile..
    I’m did many tests with 2 different browsers with 2 member online.. and with 2 computers online in differents houses… Not works.. 🙁

    Now I have just a question: My theme was updated automatically some days ago, why the version that appear is 2.0 and not 2.2 (that was my last updated version I think)??????????????????
    PS. When the updated was completed the new version was actived, I remember that…

    in reply to: Create An account. #4582
     willianlima83
    Participant

    Hi
    Before a user create his accunt.. can I activate this account inside my wordpress panel?

    in reply to: Translation Problems #4578
     willianlima83
    Participant

    🙁

    Do you think is better turn off the auto update?

    in reply to: Check if user is online #4577
     willianlima83
    Participant

    Sorry.. I’m lost still…
    I edited the file and copy to sweetdate-child/members/members-loop.php

    Does not work… 🙁

    in reply to: Check if user is online #4505
     willianlima83
    Participant

    Hi
    I tryed to put the ”online symbol” on my site but it not works.. What I did wrong?
    1 – Need I put the code on sweet-child/Members/single/articles/loop.php
    Or
    sweetdate/members / members-loop.php???
    2 – Need I put the code inside the <?php …code… ?> ???

    in reply to: Translation Problems #4461
     willianlima83
    Participant

    Hi
    Today my theme did an update automatically.
    After that, many words lost their translation.
    On Codestyling Localization I opened the ThemeChild 2.2 > kleo_framework and there are no words translated.. then on home page the buttons Login, Logout, Profile, Singin is not translated… (and others words like Newest, Active and Popular)
    Is this an update error?
    How can I fix this?
    I think my old files .po and .mo was lost with this update and now I have a new file .po.. Do you know why?

    in reply to: keeping scroll bar on the last position when refresh #3947
     willianlima83
    Participant

    Ok.. I’m waiting for this solution 😛
    I know you are a genius… 🙂

    in reply to: Users online problem #3946
     willianlima83
    Participant

    Ok.. thank you!!!
    It’s is working well now..

    in reply to: Edit Profile Button… #3943
     willianlima83
    Participant

    I did, but not on child theme, I translated the plugin buddypress, textdomain kleo_framework, and now it’s working well…

    Thank you 🙂

    in reply to: Groups Navigation #3942
     willianlima83
    Participant
    This reply has been set as private.
    in reply to: Edit Profile Button… #3888
     willianlima83
    Participant

    Hi, please, can you help me?
    My site is not in English then I need to translate the PROFILE and LOGOUT button on the main menu.

    The translation I need is to pt_PT, but I want keep the button name for english too… I cant to do that with codestyling localization…

    in reply to: keeping scroll bar on the last position when refresh #3885
     willianlima83
    Participant

    When I click on a activity or comment, the page is always fixed on the same place… it’s verry good.. but on profile menu it not happen.. 🙁

    in reply to: keeping scroll bar on the last position when refresh #3884
     willianlima83
    Participant

    I think I didn’t explained the situation I want resolve.
    When I click on menu on my profile page (wall, profile, account, friends, My pictures), it open a new page correctly but on the top.
    Always I click on profile menu, the new page opened go to the top, then everytime I need to scroll down it to see the new page content because the space where the main picture is positioned is very big…
    There are an solution for this situation, please?

    in reply to: keeping scroll bar on the last position when refresh #3883
     willianlima83
    Participant

    Ok.. Thanks…

    in reply to: Users online problem #3863
     willianlima83
    Participant

    I edited the code in the Text mode, the ”span” is not there, but the problem is the same.. lolol sorry

    in reply to: Translation Problems #3830
     willianlima83
    Participant

    ok… thank you.. I will shearch some information on the Internet blogs..

    in reply to: Users online problem #3829
     willianlima83
    Participant

    I changed the image size for all images to 149×149 px, the problem is the same.. 🙁

    in reply to: Users online problem #3828
     willianlima83
    Participant

    All images has the same sixe, 213×149 px, the format is .PNG with transparent background..
    The problem is not the size.

    Any sugestion?

    in reply to: Translation Problems #3746
     willianlima83
    Participant

    Hey sqadmin,
    I’m here again.. lolol
    Do you know why there are an erros when I tranleted either plural word on Codestyling Localization plugin???

    in reply to: Users online problem #3743
     willianlima83
    Participant
    This reply has been set as private.
Viewing 40 posts - 81 through 120 (of 143 total)

Log in with your credentials

Forgot your details?