-
Author
-
December 31, 2013 at 08:17 #8924frenzzyParticipant
I have a couple of questions:
1. On a member’s page how do I make the ‘My Photos the default tab’
see here: http://unibuddy.me/members/mesholasmith/#about-me2. How do limit the picture size being uploaded to the Photo Album.
3. (a) How do I remove matching System. (b) How do I match only male and female and not female – female or male to male.
4. From a member activity, when you click an uploaded picture there is a Page xx menu added to the breadcrumb menu bar. see here: http://unibuddy.me/members/mesholasmith/album/picture/3/ http://unibuddy.me/members/mesholasmith/
5. How do I reduce the number of fields shown on the member profile see image below
https://www.dropbox.com/s/aqayh58pvv4glv5/question.png6. On member directory, How do I reduce the space between the excess space. Please see image below: https://www.dropbox.com/s/st4b9jlrqq7nzri/question%202.png
Thanks
January 3, 2014 at 01:31 #9005AbeKeymasterHello,
1.
You should see this topic for changing those tabs https://archived.seventhqueen.com/forums/topic/how-to-add-more-tabs-next-to-the-profile-image. You move the photos array in the code so it will be the first one like this:COPY CODEadd_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('My work', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => __('Looking for', 'kleo_framework'), 'group' => 'Looking for', 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __('About me', 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); $bp_tabs['social'] = array( 'type' => 'regular', 'name' => __('Social', 'kleo_framework'), 'class' => 'regulartab' ); }
2. Add this code to you sweetdate-child/functions.php and you will enable bp-album menu in WP admin:
COPY CODEadd_action( 'admin_menu', 'bp_album_add_admin_menu' );
3.
a) add this code to sweetdate-child/functions.phpCOPY CODEadd_action('after_setup_theme','kleo_my_hearts_actions'); function kleo_my_hearts_actions() { /* disable matching on member profile */ remove_action('kleo_bp_before_profile_name', 'kleo_bp_compatibility_match'); }
b) See this topic for changing matching system: https://archived.seventhqueen.com/forums/topic/match-numbers
4. We will take a look
5. Those are all the fields added to your groups in Users -Profile fields. Leave to that group only the fields you want.
6. Add this css to Sweetdate – Styling options – Quick css to remove some of the height
COPY CODE.search-item .search-body { height: auto; margin-bottom: 0; }
To show more members in one line you have to edit this template located in sweetdate/members/members-loop.php and replace “four columns” with “three columns”
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.January 3, 2014 at 07:53 #9015frenzzyParticipantThanks you soo much! I really appreciate your response.
I will make the edits, if I run into any issue I will sure let you know.January 3, 2014 at 11:04 #9018frenzzyParticipantHi,
CSS code is not working: What I intend doing is to reduce the space between a member’s name and the view profile button.
January 3, 2014 at 11:13 #9019frenzzyParticipantHi,
1. The Album tab was not activated when i added the code.
2. It’s like you skipped my question number 2 🙁
5. How do I show only fields I want and not all?
6. CSS code is not working: What I intend doing is to reduce the space between a member’s name and the view profile button. How do I achieve this?
January 3, 2014 at 13:09 #9023frenzzyParticipantHi,
For Question 5, is there a way to display the Album tab on the profile only. I am using the RTmedia for users to upload music and videos only and BP-Album for pictures only. I don’t want the RTmedia tab on the profile. Would appreciate if this can be done.
January 4, 2014 at 23:27 #9117AbeKeymasterHi,
1 and 5. This code will show bpAlbum images in the tab even when you have rtMedia
COPY CODEadd_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); /* Bp-Album tab */ $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); $bp_tabs['looking-for'] = array( 'type' => 'cite', 'name' => __('Looking for', 'kleo_framework'), 'group' => 'Looking for', 'class' => 'citetab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __('About me', 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); $bp_tabs['social'] = array( 'type' => 'regular', 'name' => __('Social', 'kleo_framework'), 'class' => 'regulartab' ); }
2. My answer is there 🙂
5. Not such an easy way but see this topic and adapt it to your needs. You require some PHP knowledge: https://archived.seventhqueen.com/forums/topic/hide-members-real-names
6. css works. make sure to get the whole code. to reduce the height even more add also this css:
COPY CODE.search-item .date { display: none; }
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. -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.