Forum Replies Created
-
Author
-
inetwebguyParticipant
Ok, that did work.. However I’m still wondering why you are using the function circularMatch and not circularMembers for this display of members?
inetwebguyParticipantattached is the screenshot. As you can see, the numbers are correct, but the circular counter breaks when I change the value from 100
Attachments:
You must be logged in to view attached files.inetwebguyParticipantHello, see above in the screenshot? That is what happens when I make the change you suggested.
inetwebguyParticipantHi Abe,
That is exactly what I did, and the above screenshot posted on 09/14 was the result of changing the number. Anytime I edit the file (just changed ‘max’:100, to ‘max’:999, ) it breaks.
inetwebguyParticipantI would also like to add that since this is not a “matching” number, but a number of users that 100 only makes sense if you are matching to a percentage (ie 100%) but since there are thousands of users on my site and hundreds of people in groups, the 100 limit seems odd.
inetwebguyParticipantI did as specified in the link you sent. I changed the max value of 100 to 999
/***************************************************
10. Circular Match Bar
***************************************************/
function circularMatch(){
jQuery(‘.greenCircle’).one(‘inview’, function (event, visible) {
jQuery(“.greenCircle”).knob({
‘min’:0,
‘max’:100,
‘readOnly’: true,
‘width’: 60,
‘height’: 60,
//’fgColor’: ‘#0296c0’,
‘bgColor’ : kleoFramework.mainColor,
‘fgColor’: ‘#ffffff’,
‘dynamicDraw’: true,
‘thickness’: 0.10,
‘tickColorizeValues’: true})
});
}inetwebguyParticipantThat worked to increase the number but broke the circular animation.
Attachments:
You must be logged in to view attached files.inetwebguyParticipantSo it seems a lot of the issues were related to our host. So we migrated to a new more wordpress-friendly host. However in the move it fixed a lot of the issues, but one issue (that you already helped us with before) came back.
The changes we made to our sweetdate child theme functions.php file aren’t working. See below… We have already tried uncommenting the delete_transient value and save, but no luck.
– – – – – – –
//delete_transient( ‘kleo_bp_meta_fields’ );//members page fields
add_action(‘after_setup_theme’,’kleo_my_member_data’);
function kleo_my_member_data()
{
global $kleo_config;
//this is the details field, right now it take the “About me” field content
$kleo_config[‘bp_members_details_field’] = ‘Guardian Classes’;
//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(
‘Platform’,
‘Time Zone’,
‘Guardian Classes’,);
}
function kleo_img_rounded( $atts, $content = null )
{
extract(shortcode_atts(array(
‘src’ => ”,
), $atts));$output = ‘<div class=”circle-image”>’;
$output .= ‘
</div>’;return $output;
}add_shortcode(‘kleo_img_rounded’, ‘kleo_img_rounded’);
add_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’);/* Replace the heart over images */
add_filter(‘kleo_img_rounded_icon’, ‘my_custom_icon’);/* Replace the heart from register modal */
add_filter(‘kleo_register_button_icon’, ‘signin’);/* Replace the heart from About us widget */
add_filter(‘kleo_widget_aboutus_icon’, ‘my_custom_icon_about_widget’);
}/* Replace the heart with a camera icon function */
function my_custom_icon () {
return ‘camera’;
}/* Replace the heart from register modal with a user icon function */
function my_custom_icon_register () {
return ‘user’;
}
/* Replace the heart from about us widget with a user icon function */
function my_custom_icon_about_widget () {
return ‘user’;
}inetwebguyParticipantScratch That.. The Add Friend Request on the users vCards will only work with the www. added to the WordPress Address (URL) in General Settings, but adding “www.” will randomly break the site.
So without “www.” removed add/remove friends from vCard does not work, but the site doesnt break.
With “www.” add/remove friends from vCard works, but site will break.
Please advide
inetwebguyParticipantGot It! I had to change the WordPress Address (URL) by removing the www. prefix. All is good!
inetwebguyParticipantHello, any resolution on this? Support would be greatly appreciated. Thank you
inetwebguyParticipantHi nkyantal, I’m not sure this is the same for you, but that section came back for me because I renamed the “Base” field group. Once I named it back to “Base” they returned.
Problem solved for me at least. Hope this helps you.
-
AuthorPosts