-
Author
-
November 17, 2015 at 23:18 #87777trevoraliParticipant
Hi,
How do I make the numbers look mre impressive in the kleo_status_icon areas? Right now im the only one signed up but need to add some numbers for things to look more impressive
Attachments:
You must be logged in to view attached files.November 20, 2015 at 01:49 #88232LauraModeratorHello, do you mean fake members number? https://archived.seventhqueen.com/forums/topic/manual-number-of-members-change
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
November 20, 2015 at 07:41 #88253trevoraliParticipantYup! That link doesn’t seem to work…
Please advise
November 20, 2015 at 23:28 #88382LauraModeratorHello, it does work but well i will paste here the codes 🙂 they go to functions.php of child theme
For the total members:COPY CODEadd_filter( 'bp_get_total_member_count', 'kleo_my_total_members' ); function kleo_my_total_members($number) { return 1000; }
COPY CODE//manual number online members add_filter( 'kleo_online_users_count', 'kleo_my_online_users', 10, 2); function kleo_my_online_users($number, $value) { switch ($value) { //ALL MEMBERS ONLINE case FALSE: return '1 MILION'; break; case "Woman": return $number+50000; break; case "Man": return $number+1000; break; default: return $number; break; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 21, 2016 at 13:38 #147661ArtemParticipantIt doesn’t work for me 🙁 Please help me.
Attachments:
You must be logged in to view attached files.December 21, 2016 at 20:03 #147717ArtemParticipantwell i fixed it. but member in total doesn’t work.
When I update my file with that code then I always get this message:
Warning: Cannot modify header information – headers already sent by (output started at /home/content/p3pnexwpnas16_data02/19/3659219/html/wp-content/themes/sweetdate-child/functions.php:45) in /home/content/p3pnexwpnas16_data02/19/3659219/html/wp-includes/pluggable.php on line 1179
Attachments:
You must be logged in to view attached files.December 24, 2016 at 00:42 #147925LauraModeratorHello, can you share access so i can check it out? 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 1, 2017 at 23:01 #148438LauraModeratorInvalid username, please let me know 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 5, 2017 at 20:15 #148941LauraModeratorHello, please i would prefer if you can post it here asa private reply, let me know 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 9, 2017 at 02:12 #149209LauraModeratorHello, you cant add admin users? Your hosting doesnt allow that?
Well the best way to help you is to check the issue myself, but i can try to give you a step by step guide if you preferHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 12, 2017 at 00:58 #149538LauraModeratorHello, ok 🙂
1- Go to your child theme functions.php
addCOPY CODEadd_filter( 'kleo_online_users_count', 'kleo_my_online_users', 10, 2); function kleo_my_online_users($number, $value) { switch ($value) { //ALL MEMBERS ONLINE case FALSE: return $number+6; break; case "Woman": return $number+8; break; case "Man": return $number+6; break; default: return $number; break; } } add_filter( 'bp_get_total_member_count', 'kleo_my_total_members' ); function kleo_my_total_members($number) { $number = str_replace(".","",$number); return $number+14; }
2- If step 1 does not resolve it, continue to step 2
Go to Pages > Home > Edit
Find the members online shortcodes, replace it withCOPY CODE[kleo_status_icon type="total" subtitle="Members in Total"] [kleo_status_icon type="members_online" subtitle="Members Online"] [kleo_status_icon type="custom" field="I am a" value="Woman" online="yes" subtitle="Women Online" image="wp-content/themes/sweetdate/assets/images/icons/steps/status_03.png"] [kleo_status_icon type="custom" field="I am a" value="Man" subtitle="Men Online" online="yes" image="wp-content/themes/sweetdate/assets/images/icons/steps/status_04.png"]
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
December 8, 2017 at 01:11 #182314alexhorieParticipantHello
the online users are working, but the total is not working for me, i want add more 1000 users so i changed the value for 1000, but nothing changes.
https://trans4date.com/test-home/
add_filter( ‘bp_get_total_member_count’, ‘kleo_my_total_members’ );
function kleo_my_total_members($number) {
$number = str_replace(“.”,””,$number);
return $number+1000;
}December 10, 2017 at 05:59 #182515LauraModeratorHello, please create a new topic about this issue 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
You must be logged in to reply to this topic.