This topic has 22 replies, 6 voices, and was last updated 10 years by willianlima83.
-
Author
-
July 16, 2013 at 13:53 #662enricoeurParticipant
In my website i changed the name of users type
Woman = Donna
Man = UomoAfter this change, the front page counter that let see Woman and Man online doesnt work anymore. I changed so the code inside the buddypress custom function file:
switch ($type) {
case 'total':
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_01.png' : $image;
$number = bp_get_total_member_count();
break;
case 'members_online':
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_02.png' : $image;
$number = bp_get_online_users();
break;
case 'women_online':
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_03.png' : $image;
$number = bp_get_online_users("Donna");
break;
case 'men_online':
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_04.png' : $image;
$number = bp_get_online_users("Uomo");
break;default:
if ($type == 'Uomo') {
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_04.png' : $image;
} elseif($type == 'Donna') {
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_03.png' : $image;
} else {
$image = ($image == '')? get_template_directory_uri().'/assets/images/icons/steps/status_01.png' : $image;
}
$number = bp_get_online_users($type);
break;
}
But nothing the counter continue to not work. How to solve ?
Thanks
July 16, 2013 at 14:29 #664SQadminKeymasterYou should just the the Sex fields under Sweetdate -> Buddypress and after that change the shortcodes in the Homepage like this:
COPY CODE[kleo_status_icon type="Uomo" subtitle="Men online"]
Also do not change main theme files, activate the sweetdate-child theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 16, 2013 at 22:34 #687angelgallegosParticipantI’ve translated Men and Women online fields to spanish but it doesn’t appear on homepage counter online users…
I’m using the field which I use for Sex field too, so, I don’t know why it doesnt show me…
I hope you can help.
Thanks,
Angel
October 3, 2013 at 12:59 #3778SQadminKeymasterThe problem is with the image because it is higher that all others. Make all icons the same dimension.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 4, 2013 at 03:40 #3828willianlima83ParticipantAll images has the same sixe, 213×149 px, the format is .PNG with transparent background..
The problem is not the size.Any sugestion?
October 4, 2013 at 04:38 #3829willianlima83ParticipantI changed the image size for all images to 149×149 px, the problem is the same.. 🙁
October 5, 2013 at 01:10 #3861SQadminKeymasterI see you added those in a span .. that shouldn’t be there.
Try editing in the Text mode instead of visualHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 5, 2013 at 01:22 #3863willianlima83ParticipantI edited the code in the Text mode, the ”span” is not there, but the problem is the same.. lolol sorry
October 5, 2013 at 17:52 #3898SQadminKeymasterYou added the code wrong. You have column one and inside you have added more column without adding them in a row
See this:
[kleo_one][kleo_status_icon type=”total” image=”http://str8act.com/wp-content/uploads/2013/09/Total-Membros.png” subtitle=”Total de Membros”] [kleo_status_icon type=”members_online” image=”http://str8act.com/wp-content/uploads/2013/06/Membros-online.png” subtitle=”Membros online”]
[/kleo_one]
[kleo_row]
[kleo_status_icon type=”Mulher” image=”http://str8act.com/wp-content/uploads/2013/06/Mulheres-online.png” subtitle=”Mulheres online”] [kleo_status_icon type=”Homem” image=”http://str8act.com/wp-content/uploads/2013/06/Homens-online.png” subtitle=”Homens online”] [kleo_status_icon type=”Casal” image=”http://str8act.com/wp-content/uploads/2013/10/Casais-online.png” subtitle=”Casais online”] [kleo_status_icon type=”Amigo Secreto” image=”http://str8act.com/wp-content/uploads/2013/10/Amigo-Secreto-online.png” subtitle=”Amigos Secretos online”]
[/kleo_row]Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 7, 2013 at 22:11 #3946willianlima83ParticipantOk.. thank you!!!
It’s is working well now..December 5, 2013 at 00:59 #7721agirParticipantI did your instruction, it does not always work (http://reseau-benevolat.org
please help ?
December 6, 2013 at 03:29 #7752SQadminKeymasterHi, Please paste the code since we can’t guess where you made the mistake.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 6, 2013 at 03:35 #7753agirParticipant[kleo_status_icon type=”total” subtitle=”Membres total”] [kleo_status_icon type=”members_online” subtitle=”Membres en ligne”] [kleo_status_icon type=”associations” subtitle=”women_online” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/Associations.png” subtitle=”Associations”] [kleo_status_icon type=”benevoles” subtitle=”benevoles_online” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/benevoles.png” subtitle=”Bénévoles”] [/kleo_one]
[/kleo_call_to_action][/kleo_section]
December 6, 2013 at 03:41 #7754SQadminKeymasterSystem won’t ever know to get the users if your profile value is: “Une association” and you added it like “associations” and “benevoles” with “Bénévole”
I think you understand where is the problem and is not with us
Correct example:
[kleo_status_icon type=”Une association” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/Associations.png” subtitle=”Associations”]Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 6, 2013 at 03:57 #7759agirParticipantI made the change.
Nothing appears
[kleo_status_icon type=”total” subtitle=”Membres total”] [kleo_status_icon type=”members_online” subtitle=”Membres en ligne”] [kleo_status_icon type=”D’associations” subtitle=”women_online” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/Associations.png” subtitle=”Associations”] [kleo_status_icon type=”Bénévoles” subtitle=”benevoles_online” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/benevoles.png” subtitle=”Bénévoles”] [/kleo_one]
December 6, 2013 at 04:02 #7760agirParticipantin the first configuration of the form, I remove the sex field (origin)
coment I do?
December 7, 2013 at 02:33 #7831SQadminKeymaster@ceun You still aren’t adding them right. I think I was pretty clear with the instructions and also gave an example but you haven’t followed it.
Correct example:
[kleo_status_icon type=”Une association” image=”http://reseau-benevolat.org/wp-content/uploads/2013/12/Associations.png” subtitle=”Associations”]where “Une association” from type=”Une association” should be the value of your sex profile field set in WP admin – Users – Profile fields. And it should be the exact value if you want to count the users withe those profile value.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 7, 2013 at 02:44 #7832agirParticipant@sqadmin :
Excuse me if I do not understand.
No need to be aggressive!
this is the last time I buy a theme on ThemeForest.
You know take the money, but for the rest, it’s a different story.December 7, 2013 at 02:48 #7834SQadminKeymaster@ceun We are just trying to help, not being aggressive. I really don’t know what upset you when we are doing our best to help everyone.
Responses don’t come right away since there is a queue as you imagine.
haven’t we responded all the times to your questions? It passed weeks and not responded?
Please revise your behaviour.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2013 at 15:01 #7902willianlima83Participant@ceun
I’m a guy who not understand about configurations, I don’t speak English very well and I buy many themes on ThemeForest, and I can say you:
The sweetdate suport is the best suport I see on ThemeForest.
Be patient and try to configure again… You can do that.. 🙂December 9, 2013 at 21:40 #8004AbeKeymasterThanks @willianlima83 for appreciating us 😉
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.December 10, 2013 at 13:19 #8065willianlima83ParticipantI just sad the true, this support is fantastic.. Goog Job!!!
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.