Forum Replies Created
-
Author
-
jenny555
ParticipantHello,
1) remove in your css
`#groups .six.columns:nth-child(2n+1) {
clear: right;
}`
2) look for the “shortcode” that displays the groups in your homepage and replace it with[kleo_section centered=1]
[kleo_row][kleo_one][kleo_h2]Find a Travel Cuckoo Meet Up Group[/kleo_h2][/kleo_one]
[kleo_row][kleo_one][kleo_h4]Looking for other travelers in your area? Traveling somewhere you’re not familiar with? Get the details from a Travel Cuckoo Meet Up Group.[/kleo_h4][/kleo_one]
[kleo_recent_groups]
[/kleo_row]
[/kleo_section]
jenny555
ParticipantHello Laura,
ftp
host: speedmazal.com
user: u75996062-laura
password : lauralaura
Dashboard (admin)
http://www.speedmazal.com/wp-admin
laura
password: lauralauraThanks
jenny555
ParticipantHi Laura,
sorry for the delay,
everything works perfectly (thank you a lot.) except joint attachments (and I didn’t find the plugin that prevents the video on the home page to run.).Also, I try to do what you said in this topic, but I can not, can you help me please? https://archived.seventhqueen.com/forums/topic/gender-related-question-sweetdate
Laura thank youjenny555
ParticipantHi jwchameleoncor,
Currently, your group appear better than before, but not as it should. Do as I tell you and normally they will display correctly.
1) remove the lines that I have said to you in your style.css
2) Open your home page and look at the shortcode that displays the groups (at the bottom).
I board before handling copy / paste the entire page into a file not to lose the layout, if it does not suit youhere’s shortcode as should be. by entering your text, you’ve probably change something. Either you replace your one. is looking for the errors and correcting them (if you’re afraid to make a bad manipulation).
Sorry, for the other questions, I don’t know.
[kleo_section centered=1]
[kleo_row][kleo_one][kleo_h2]Find a Travel Cuckoo Meet Up Group[/kleo_h2][/kleo_one]
[kleo_row][kleo_one][kleo_h4]Looking for other travelers in your area? Traveling somewhere you’re not familiar with? Get the details from a Travel Cuckoo Meet Up Group.[/kleo_h4][/kleo_one]
[kleo_recent_groups]
[/kleo_row]
[/kleo_section]
jenny555
ParticipantHello Laura.
Wow, you are great! really! thank you for the considerable work that you do! I shall have wanted help to relieve you a little, but I am still not able and my English is bad. but if you need anything, I’m here.I think if you have not been able to enter in the admin, it is because the “goodbyeaptchka” plugin. I turned off, you should normally have access.
Now I will test all this.And especially when you have a little more time, could you help me put the buddypress menu like as kleo ( with icons)…? Thank you, I wish you good luck. 😉
jenny555
ParticipantI think the problem is the shortcode in the home page.
can you copy / paste here the shortcodes of your homepage?
I try to help you. (not at private reply, because I’m not a moderator)
(you can delete what I have told you to stick in the css)jenny555
ParticipantHi,
try this in your style.css (child)COPY CODE#groups .six.columns:nth-child(2n+1) { clear: right; }jenny555
Participantjenny555
ParticipantHi,
Go to your admin panel -> Sweetdate –> Miscellaneous and check your username and API key ThemeForest are correct.
you can have your username and API key by logging on themeforest.net. In the top menu, do a roll over on your username and click settings. Bottom left you will find your API key.
Regardsjenny555
ParticipantMake sure you do not leave an open file (wp-config, .htaccess …) with your ftp, because both files are open, you can do this kind of problems (because the old file overwrites the new).
check your wp-config is correct, if changed, close it and open it again, but be careful to check your ftp (delete the local file, download and open again). If this does not help, try the file
htaccess, php ini …
Regards,
jennyjenny555
ParticipantI also wrote this message: https://archived.seventhqueen.com/forums/topic/sweetdate-wider-grafic
you can answer me here.
thanksjenny555
ParticipantHi Laura,
id: laura
password: laura987style.css :
COPY CODE/* Theme Name: Sweetdate Child Theme URI: Description: Child theme for Sweetdate Author: SeventhQueen Author URI: http://seventhqueen.com Template: sweetdate Tags: dating, clean, responsive, creative, minimal, modern, landing page, social, buddypress,bbpress, woocommerce License: GNU General Public License License URI: license.txt */ @import url("../sweetdate/style.css"); /* * Please add your custom styles below */ .sticky.fixed { background: rgb(0, 0, 0); background: rgba(0, 0, 0, 0.77); height: 43px; padding-top: 3px; -webkit-backface-visibility: hidden; backface-visibility: hidden; } ul#menu-sweetdate a { color: #C79F4B !important; } ul#menu-sweetdate a:hover { color: white !important; } #breadcrumbs-wrapp a: hover { color: #000; } #call-to-actions .alert { background-color: #101010; border: 1px solid #101010; } #call-to-actions .alert a:hover{ background-color: #C79F4B; border: 1px solid #C79F4B; } .form-footer { color: #D1A14F; padding: 20px 20px 10px; border-left: 10px solid #D1A14F; border-bottom: 10px solid #D1A14F; border-right: 10px solid #D1A14F; background-color: #1A1A1A; } .search-item .author { background-color: #C79F4B; } .search-item .date, .search-item .date a { height: 26px; overflow: hidden; color: #C79F4B; font-style: inherit; font-weight: bold; background-color: #303133; } .search-item .search-body { height: 60px; margin-bottom: 10px; overflow: hidden; text-align: justify; color: #737272; } .search-item { border: 1px solid #e5e5e5; list-style: none; text-align: center; margin-top: 100px; background-color: #fff; box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2); border-radius: 4px; width: 250px; } .four, .row .four { /* width: 33.33333%; */ /* clear: left; */ /* background-color: #303131; */ width: 250px; padding-left: 0px; padding-right: 0px; border-radius: 5px; margin-right: 15px; /* padding-top: 10px; */ } .bp-member-dir-buttons { margin-bottom: 0px; height: 35px; background: #d4d9dd; background-image: initial; background-position-x: initial; background-position-y: initial; background-size: initial; background-repeat-x: initial; background-repeat-y: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(212, 217, 221); margin-top: 0px; text-align: center; } #members-list .four.columns:nth-child(3n+1) { clear: left; background-color: #303131; width: 250px; padding-left: 0px; padding-right: 0px; border-radius: 5px; } /* background: rgba(14, 103, 143, 0.17); */ /* Search Box Borders Color */ .form-search { border-left: 10px solid #C79F4B !important; border-right: 10px solid #C79F4B !important; } /* Form Background color */ .form-search, .form-header, div.alert-box, div.pagination span.current { background: rgba(0, 0, 0, 0) !important; } .form-search .notch { border-top: 10px solid #202020 !important; } .form-header { border-left: 10px solid rgb(209, 161, 79) !important; border-top: 10px solid rgb(199, 159, 75)!important; border-right: 10px solid rgb(199, 159, 75) !important; } .form-footer { color: #D1A14F !important; border-left: 10px solid #D1A14F !important; border-bottom: 10px solid #D1A14F !important; border-right: 10px solid #D1A14F !important; background-color: #151515 !important; } /*footer*/ #footer hr { border: solid #fff; border-width: 1px 0 0; } .latest-blog span.avatar { background: rgb(199, 159, 75); } #footer h5 { color: #C79F4B; margin-bottom: 20px; } /*profil rounded avatar*/ #profile #item-header-avatar .avatar { border: 6px solid; width: 100%; border-radius: 100%; } #header { padding-top: 20px; padding-bottom: 10px; margin: 0 auto; /* background-color: #35406B; */ background: #232323;; } #breadcrumbs-wrapp { background: #3C5C8D; } ul.rtm-activity-media-list .rtmedia-list-item.media-type-photo a, ul.rtm-activity-media-list .rtmedia-list-item.media-type-photo .rtmedia-item-thumbnail, ul.rtm-activity-media-list .rtmedia-list-item.media-type-photo .rtmedia-item-thumbnail img { max-width: 100% !important; max-height: none !important; width: 100%; padding: 0px !important; margin: 0px !important; display: block; } .top-links { border-bottom: 1px solid #C79F4B; } div#message.updated p { background-color: #C79F4B; border-color: #C79F4B; color: #000000; } .activity-list .activity-content .activity-header, .activity-list .activity-content .comment-header { color: #C79F4B; font-size: 11px; line-height: 220%; } #footer h5 { color: #C79F4B; margin-bottom: 20px; } .regulartab dd { background: rgba(15, 15, 15, 0.63); color: #ffffff; } .circular-item .hearts { background: url(http://www.speedmazal.com/wp-content/uploads/2015/08/coeurs.png) no-repeat !important; display: block; width: 39px; height: 30px; position: absolute; right: 0; top: -20px; } #profile .generic-button a, .tabs.pill.custom dd:not(.active) a, #profile .callout, .regulartab dt, .regulartab dd { background: rgba(15, 15, 15, 0.65); color: #ffffff; } .dl-horizontal dt { float: left; width: 160px; line-height: 2.3em; overflow: hidden; clear: left; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-weight: bold; background: rgba(15, 15, 15, 0.65); }functions.php
COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ //Avatar default add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' ); function myavatar_add_default_avatar( $url ) { global $bp; $gender = xprofile_get_field_data('Je suis un(e)', bp_get_member_user_id()); if ($gender == "Homme") { return $img_url = '/wp-content/uploads/2015/08/man-avatars.jpg'; } else { return $img_url ='/wp-content/uploads/2015/08/woman-avatars.jpg'; } } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); add_filter( 'bp_core_default_avatar_user', 'myavatar_add_default_avatar' ); //manual total members add_filter( 'bp_get_total_member_count', 'kleo_my_total_members' ); function kleo_my_total_members($number) { $number = str_replace(".","",$number); return 1284; } //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 '195'; break; case "Woman": return $number+51; break; case "Man": return $number+134; break; default: return $number; break; } } //carte membres avec champs add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'Je suis un(e)', 'Courant religieux', 'Ville' ); //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'Je recherche...'; } //masque les membres du même sexe class BP_Custom_User_Ids { private $custom_ids = array(); public function __construct() { $this->custom_ids = $this->get_custom_ids(); add_action( 'bp_pre_user_query_construct', array( $this, 'custom_members_query' ), 1, 1 ); add_filter( 'bp_get_total_member_count', array( $this, 'custom_members_count' ), 1, 1 ); } private function get_custom_ids() { global $wpdb; //figure out if the logged-in user is male or female $sex = xprofile_get_field_data( 3, bp_loggedin_user_id() ); if ( $sex == 'Homme' ) $query = "SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = 'Femme'"; else if ( $sex == 'Femme' ) $query = "SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = 'Homme'"; else $query = "SELECT user_id FROM {$wpdb->prefix}bp_xprofile_data WHERE field_id = 3 AND value = ''"; $custom_ids = $wpdb->get_col( $query ); return $custom_ids; } function custom_members_query( $query_array ) { $query_array->query_vars['include'] = $this->custom_ids; } function custom_members_count ( $count ) { $new_count = count( $this->custom_ids ); return $new_count; } } function custom_user_ids( ) { new BP_Custom_User_Ids (); } add_action( 'bp_before_directory_members', 'custom_user_ids' ); ?>Regards,
Thanksjenny555
Participantwow !, I will like to have the same thing in sweetdate! also “quick navigation” in kleo is so cool! would well fit into the sweetdate.
jenny555
ParticipantHi,
1) to order the menu buddypress, download the attached plugin.
2) you can use loco translate to rename the tabs.
3) for adding tabs, there are plugins, but they are no longer updated. the plugin I mentioned at the beginning, did whatever you wanted, but it no longer works with the latest versions of buddypress (the name of the plugin is: BP custom menu profile).
Bye!jenny555
ParticipantHi, If you have not found a plugin, follow this LINK, sqadmin and abe have explained how to change the “Buddypress” menu.
jenny555
ParticipantHi, I know that there is a buddypress extension that does this, but I do not remember where it is. looking into wordpress extentions.
August 18, 2015 at 00:27 in reply to: How to use default man avatar and women avatar of my image files ? #73496jenny555
ParticipantHello Laura, problem solved! it works!
Here is the solution for members who have the same problem as me …
We do need to change, “I am a” and “Man” in your language (case sensitive). Then, this blocking, it is the “SECU.” before url in the code. I deleted it and it works.
Here are the correct code. But I have more questions then I’ll open another topic. In the meantime, thank you.COPY CODE//Avatar default add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' ); function myavatar_add_default_avatar( $url ) { global $bp; $gender = xprofile_get_field_data('Je suis', bp_get_member_user_id()); if ($gender == "Un Homme") { return $img_url = '/wp-content/uploads/2015/08/avatarh.png'; } else { return $img_url ='/wp-content/uploads/2015/08/avatarf.png'; } } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); add_filter( 'bp_core_default_avatar_user', 'myavatar_add_default_avatar' );jenny555
ParticipantHello Laura,
yes i have the french language activated. I tried what you told me to do, but it doesn’t work. Here is my functions file:COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ //Avatar default add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' ); function myavatar_add_default_avatar( $url ) { global $bp; $gender = xprofile_get_field_data('Je suis', bp_get_member_user_id()); if ($gender == "Homme") { return $img_url = SECU.'/wp-content/uploads/2015/08/avatarh.png'; } else { return $img_url = SECU.'/wp-content/uploads/2015/08/avatarf.png'; } } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); add_filter( 'bp_core_default_avatar_user', 'myavatar_add_default_avatar' ); //manual total members add_filter( 'bp_get_total_member_count', 'kleo_my_total_members' ); function kleo_my_total_members($number) { $number = str_replace(".","",$number); return 1284; } //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 '195'; break; case "Woman": return $number+51; break; case "Man": return $number+134; break; default: return $number; break; } } ?>what doesn’t work? Also I didn’t understand what I have to change in the homepage. Thanks
Note : Please do not reply to the another post, thanks
August 16, 2015 at 01:46 in reply to: How to use default man avatar and women avatar of my image files ? #73188jenny555
ParticipantHello Laura,
yes i have the french language activated. I tried what you told me to do, but it doesn’t. Here is my functions file:COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ //Avatar default add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' ); function myavatar_add_default_avatar( $url ) { global $bp; $gender = xprofile_get_field_data('Je suis', bp_get_member_user_id()); if ($gender == "Homme") { return $img_url = SECU.'/wp-content/uploads/2015/08/avatarh.png'; } else { return $img_url = SECU.'/wp-content/uploads/2015/08/avatarf.png'; } } add_filter( 'bp_core_mysteryman_src', 'myavatar_add_default_avatar' ); add_filter( 'bp_core_default_avatar_user', 'myavatar_add_default_avatar' ); //manual total members add_filter( 'bp_get_total_member_count', 'kleo_my_total_members' ); function kleo_my_total_members($number) { $number = str_replace(".","",$number); return 1284; } //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 '195'; break; case "Woman": return $number+51; break; case "Man": return $number+134; break; default: return $number; break; } } ?>what doesn’t work? Also I didn’t understand what I have to change in the homepage. Thanks
August 13, 2015 at 20:14 in reply to: How to use default man avatar and women avatar of my image files ? #72903jenny555
ParticipantHi, i try it, but it doesn’t work for me. I also have a problem with the display of women online and men online in homepage doesn’t work well, this may be related. Can you help me please?
-
AuthorPosts