Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
  • in reply to: Button to hide/unhide own profile part. #82214
     ElectroMagnetic
    Participant

    Yeah!…Toggle own profile header (min & Max) (hide & unhide) would make the profile field easier to edit/measage etc…Great idea.

    in reply to: CSS styling for profile, edit, checkbox label #36763
     ElectroMagnetic
    Participant

    Hi Laura.
    OK, so if you have a javascript that can do the job I would really appreciate it 🙂
    I will then put this to buddypress to include in their updates.
    Thank you for all the help

    in reply to: CSS styling for profile, edit, checkbox label #36717
     ElectroMagnetic
    Participant

    I know, maybe that why I couldn’t find another element in the CSS…only ( .standard-form div.checkbox label ) but that changes all the labels in the same field and all other checkbox fields.

    Which file did you modify last so that I can change it back….as I dont see it in the style.css or quick css.

    Do you think that perhaps there is another solution to this problem other than CSS?

    in reply to: CSS styling for profile, edit, checkbox label #36714
     ElectroMagnetic
    Participant

    Hello Laura.

    No… not all the labels in the checkboxes….Just the “heading/title” of All the checkboxes fields in all the profile groups. see screen shot below

    http://awesomescreenshot.com/0b43wdw228

    The reason I asked for this was that I can’t find the CCS that points specifically to the “heading/title” of the checkbox fields.

    This .standard-form div.checkbox label changes all the labels in the checkbox fields …..I only want to change the heading/title.

    Thank you for all your input and hopefully we can find a solution

    in reply to: CSS styling for profile, edit, checkbox label #36703
     ElectroMagnetic
    Participant
    This reply has been set as private.
    in reply to: CSS styling for profile, edit, checkbox label #36685
     ElectroMagnetic
    Participant
    This reply has been set as private.
    in reply to: CSS styling for profile, edit, checkbox label #36551
     ElectroMagnetic
    Participant

    Hello Laura

    That for the text lable field….I’m trying to change the “checkbox “label field heading.
    See the resuld of the CSS here in the attached link

    http://awesomescreenshot.com/01b3wtdn7e

    in reply to: CSS styling for profile, edit, checkbox label #36548
     ElectroMagnetic
    Participant
    This reply has been set as private.
    in reply to: Add menu item to the Profile drop down menu #27440
     ElectroMagnetic
    Participant

    Sorry about the last post…grrrr had finger trouble…I meant this way

    COPY CODE
    
    add_filter('header_profile_dropdown', 'my_profile_link');
    function my_profile_link($links) {
    	$links[] = '<li><a href="http://mydomain.com/help" rel="nofollow">Help</a></li>';
            $links[] = '<li><a href="' . bp_loggedin_user_domain().'profile/edit">Edit profile</a></li>';
    	return $links;
    }
    
    in reply to: Add menu item to the Profile drop down menu #27439
     ElectroMagnetic
    Participant

    Thanks for that Abe.
    Do I string it in like this?

    COPY CODE
    
    add_filter('header_profile_dropdown', 'my_profile_link');
    function my_profile_link($links) {
    	$links[] = '<li><a href="http://thegiftvillage.com/help" rel="nofollow">Help</a></li>';
            $links[] = '<li><a href="' . bp_loggedin_user_domain().'profile/edit">Edit profile</a></li>';
    	return $links;
    }
    
    in reply to: Profile Field Descriptions below select boxes #21808
     ElectroMagnetic
    Participant

    Hi Abe, thanks for the suggestion….but it did not make any difference
    Do you perhaps have any other thoughts?

     ElectroMagnetic
    Participant

    Hi Abe
    I found the jquery worked well, but did not work on the Profile > edit > submenu items…as my client has a huge profile group an field section.
    I added this into you jquery #profile-edit-form ul.button-nav li a and it seems to work well, but not sure if that is the correct way to approach the problem.
    Please could you check this jquery below and let us all know if its good to go or if its just a hack! and you have a better solution to this.

    <script>
    jQuery(document).ready(function() {
    jQuery(“#item-nav .item-list-tabs a, #subnav li a, #profile-edit-form ul.button-nav li a”).each(function() {
    jQuery(this).attr(‘href’,jQuery(this).attr(‘href’)+”#main”);
    });
    });
    </script>

    Look forward to your input.

    in reply to: Profile Field Descriptions below select boxes #21098
     ElectroMagnetic
    Participant

    Hi there Catalin
    I ended up at the wordpress forum and one of the developers of buddy press “donmik” posted a fix for this problem as a javascript solution. I have tried it in my “register.php” in the child theme…but I cant get it to work even when encased in <script>…. </script>
    This is the code he gave:

    Question : How can I put description text below my field’s label ?
    How to : For now, you can use javascript to do this. Write this javascript at the end of your template file (register.php for example).
    Code:

    // For each description we have.
    jQuery(‘p.description’).each(function() {
    // Clone description.
    // Looking for parent div.
    // Looking for label of checkbox field or radio field first.
    var desc = jQuery(this).clone(),
    parent = jQuery(this).parent(),
    label = parent.find(‘span.label’);
    // If there is no label of checkbox field or radio field, we look for normal labels.
    if (!label.length) {
    label = parent.find(‘label’);
    }
    // If there is a label.
    if (label.length) {
    // Putting the description after the label.
    label.after(desc);
    // Removing the original description.
    jQuery(this).remove();
    }
    });

    Please, Please can you help me with this…Logically, on any form the description should be before the answers you want the client to give.
    I would really appreciate your help here.

    in reply to: Long Profile field names get cut off #20703
     ElectroMagnetic
    Participant

    OK Abe.
    Thanks for the great support!!!

    in reply to: Long Profile field names get cut off #20627
     ElectroMagnetic
    Participant

    Hi Abe & Robert.
    So I have the latest 2.6.1 version and still the same problem.
    I check the CSS in Chrome “inspect elements” an saw that the text for the heading justifies from the right, with a with of 160px.
    I used the following changes to the Child Styles sheet and found it worked…see attached pictures.

    body.buddypress .profile .dl-horizontal dt {
    width: 170px;
    }

    My concern is that : if I made any other heading longer that the 170px then I would have to adjust the CSS again.
    Is there maybe and “AUTO” adjustment to the right of the heading allowing for the longest heading.
    I hope my question is explained correctly ( I’m not a coder in CSS or php)
    Thank you

    Attachments:
    You must be logged in to view attached files.
    in reply to: Long Profile field names get cut off #20512
     ElectroMagnetic
    Participant

    Hi Robert.
    Do you mean I must install a previous version? currently my version is sweetdate 2.6.1 and buddypress 2.0.1.

    in reply to: Long Profile field names get cut off #20137
     ElectroMagnetic
    Participant

    Hi Catalin
    The new CSS you provided does wrap the field title, and the next field title is displayed out of line with the answer….like airsidworld said
    see the sample attached

    Attachments:
    You must be logged in to view attached files.
    in reply to: Long Profile field names get cut off #20078
     ElectroMagnetic
    Participant

    Hi Catalin
    I tried that in both the quick CSS in styling options as well as the Styles CSS in the child theme….no change, still getting cut off.
    any other suggestions?

    in reply to: Long Profile field names get cut off #19667
     ElectroMagnetic
    Participant
    This reply has been set as private.
Viewing 19 posts - 1 through 19 (of 19 total)

Log in with your credentials

Forgot your details?