Forum Replies Created
-
Author
-
SQadminKeymaster
yes it seems that the paragraph has a default 14px font size.
Please customize the font size by adding this code to Sweetdate -> Styling options -> Quick css box:COPY CODEp {font-size: 17px;}
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I can help you with this functions that check if a user is online or not. You need to add them to your sweetdate-child/functions.phpCOPY CODEfunction kleo_is_user_online($user_id, $time=5) { global $wpdb; $sql = $wpdb->prepare( " SELECT u.user_login FROM $wpdb->users u JOIN $wpdb->usermeta um ON um.user_id = u.ID WHERE u.ID = %d AND um.meta_key = 'last_activity' AND DATE_ADD( um.meta_value, INTERVAL %d MINUTE ) >= UTC_TIMESTAMP()", $user_id, $time); $user_login = $wpdb->get_var( $sql ); if(isset($user_login) && $user_login !=""){ return true; } else {return false;} }
To show the status in member directory you have 2 options:
1. edit members/members-loop.php and add this by hand where you want to appear inside the members loop:
<?php if (kleo_is_user_online(bp_get_member_user_id())) { echo "Online"; } else { echo "Offline"; } ?>
2. Add this code to sweetdate-child/functions.php to show it before the members name:
COPY CODEadd_action('bp_members_meta', 'kleo_online_status'); function kleo_online_status() { if (kleo_is_user_online(bp_get_member_user_id())) { echo "Online"; } else { echo "Offline"; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 5, 2013 at 12:34 in reply to: Add Request Friendship Button to Member Search Results Page #2297SQadminKeymasterHi,
This is a bit complicated but we worked it out to reproduce that button in the members loop.
There are some files to be modified from the parent theme and we will make this as a basic functionality.
We will add this in the next update but if you really need it right now we will try to give you the files you need to replace.
here is a screen-shot with the button added: http://d.pr/i/eZFyHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, right now you can’t have this option but we plan to implement something like this in feature updates, maybe with isotope filter effect.
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, please send us some screenshots to look closer. You ca use some free online services like http://droplr.com/hello or even better http://redpen.io/
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, for those icons you have psd source files in download kit -> Main Files/PSD/status_icons.psd
These are simple shapes created with Photoshop.Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, you need to go in admin settings -> General and tick Anyone can register.
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, you can change the path to your image manually in: ../themes/sweetdate-child/page-templates/contact.php at line 42 http://d.pr/i/xBcW
ps: You need also to clear browser cache or rename your picture.
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYes you do have the option in Membership -> Advanced to check Logged in or Not Member(this is a user that hasn’t subscribed)
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi.
The error come from the 404 page because you have a older PHP version. Take a look at this topic to fix it:
https://archived.seventhqueen.com/forums/topic/404-page-errorThe error shouldn’t appear. Make sure to conigure all buddypress pages and set pretty permalinks from Settings -> Permalinks
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterIt should look like this, your Advanced page:
http://d.pr/i/yd1GThere is an option: Restrict users from sending private messages
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterThere are several ways you can restrict content.
– On the page/post edit area you can set specific level restrictions
– Using Shortcodes:COPY CODE[membership level="0,1,3,4"] //where 0,1,3,4, are the level ids for which you want to show content
– Using PHP:
COPY CODEif pmpro_hasMembershipLevel($level_id) { //allowed to view content } else { //not allowed to view content }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterThat link should be in the /sites page.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Please see this topic that is similar:
https://archived.seventhqueen.com/forums/topic/how-to-disable-modal-loginHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
We’ll look into it. You could just not create the FREE level and assume it as free if a user hasn;t applied for a levelHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, We tested and it acts right. Do you have a link to your site?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterSince version 2.0 you can add this function to sweetdate-child/functions.php to override default text:
COPY CODEfunction kleo_copyright_text() { echo "My custom text"; }
You need to replace/add your own text in it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
You can’t use the just like that.
To get the url this is the complete code to use. $url will have the blog link:COPY CODE$site_info = get_active_blog_for_user(get_current_user_id()); if ($site_info) { $url = $site_info->siteurl; } else { $url = home_url(); } echo $url;
Then just echo $url where you need it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
To change the fields that affects the matching system you need to override the default options.
To change those fields you need to add a code to sweetdate-child/functions.php and modify it to match your needs like this:COPY CODE//change matching system add_action('after_setup_theme','kleo_my_match'); function kleo_my_match() { global $kleo_config; $kleo_config['matching_fields']['starting_score'] = 1; //If we want to match by members sex. values: 0|1 $kleo_config['matching_fields']['sex_match'] = 1; //required for initial match. If the sex preference matches it will continue to the specified fields below $kleo_config['matching_fields']['sex'] = 'I am a'; $kleo_config['matching_fields']['looking_for'] = 'Looking for a'; //sex percentage $kleo_config['matching_fields']['sex_percentage'] = 49; //single value fields like select, textbox,radio $kleo_config['matching_fields']['single_value'] = array ( 'Marital status' => 20, 'Country' => 5, 'City' => 5 ); //multiple values fields like multiple select or checkbox $kleo_config['matching_fields']['multiple_values'] = array ( 'Interests' => 10, 'Looking for' => 10, ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I don’t know if I understood correctly but to change the default icon for the online members edit your Home page and change your existing shortcode to have an image attribute like this:[kleo_status_icon type=”members_online” image=”http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/apple-touch-icon.png” subtitle=”Members online”]
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
If you have translated or change the default sex field “I am a” you need to set the Sex field from Sweetdate -> Buddypress. This is used for the member count.
Then if you have different options than Man and Woman you need to modify the shortcode in the page like this:COPY CODE[kleo_men_online field="My renamed value"]
You can use the kleo_men_online with different field attributes for every new value you want to show.
Basically [kleo_men_online] is similar to [kleo_men_online field=”Man”] and by adding the field attribute you override the default value.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
if you want to change the login link to wp-login.php and the register to wp-login.php?action=register you need to edit header.php:
line 134:
– remove this: data-reveal-id=”login_panel”
– change the href=”#” to
href="<?php echo home_url();?>/wp-login.php"
and
line 136
-remove: data-reveal-id=”register_panel”
– change the href=”#” to
href="<?php echo home_url();?>/wp-login.php?action=register"
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterOh sorry 🙂
Add it to wp-content/themes/sweetdate-child/functions.php
Make sure to have the sweetdate-child theme activated.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Please add this code to Sweetdate -> Styling options -> Quick css box:COPY CODE.rtmedia-media.flex-video {height:auto;padding-top:inherit;padding-bottom:inherit;margin-bottom:0;}
That will fix it. We will include the fix in the next update
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
In the edit page of the new forum you can set it’s parent in the right box.
You can put the forum link in the url box if you added as a link in the menuHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2013 at 19:25 in reply to: Issues with setting up Buddypress with Multisite and your theme #2240SQadminKeymasterHI,
For you new question, the count should update automatically. If you have translated or changed the values of the fields follow this topic:
https://archived.seventhqueen.com/forums/topic/big-bug-with-manwoman-number-and-search
Also in order for the users to appear they should login at least once.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Can you put a sample of the code? We tested and tested and it looks goodHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterTo add extra fields to the registration form you should edit sweetdate/page-parts/home-register-form.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterI have a quick fix for you. It will work with the 2.0 version. Add this to sweetdate-child/functions.php:
COPY CODEadd_action('fb_popup_register_button_front', 'fb_register_button_front' );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterIn addition to the style that makes the images square I did this custom function for you. Is the best I could do. You can style it further:
http://d.pr/n/tdvhHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2013 at 14:29 in reply to: Add Request Friendship Button to Member Search Results Page #2224SQadminKeymasterHi.
You nees to modify the file template located in members/members-loop.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterThe shop section is a different template and is rendered by woocommerce
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterWe will check on Opera.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterI don’t know what you are trying to achieve. Paste your code here. I am sure it has something misspelled.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
You have some predefined access restriction that you can configure in Memberships -> Advanced tab. You can restrict for example PM and media.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterWe haven;t changed anything regarding your issue. Maybe you have done some settings if it were there and now it is gone.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
We fixed this in out latest update (2.0)
Update and if you already translated “Back” string it should automatically display the translated one.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2013 at 10:30 in reply to: Issue with "Custom Metaboxes and Fields for WordPress" Script #2207SQadminKeymasterFixed. Please update to 2.0.1
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
We’re fine thank you. Just released v2.0 and we need some sleep 🙂
1. add this css to make the image square to Sweetdate -> Styling options -> Quick cssCOPY CODE#groups .avatar {border-radius: 0;}
to change the structure you need modifications of the shortcode.
2. Also changes to a function. Let me take a closer look and will let you know the solution.
3. This is easy. you need to change the shortcodes type attribut to match your new field value, like type=”Employer”Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterThis should happen only on mobile mode since when you click the parent a new page opens with child items.
Screenshot?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts