This topic has 9 replies, 2 voices, and was last updated 11 years by delcus.

  • Author
  • #3974
     delcus
    Participant

    Hi,

    First of all let me say, you’ve done an excellent job on this theme and judging by this forum, you’re support is fantastic as well, thanks and keep up the great work 🙂

    I just have a small issue:

    I’m trying to edit the general-login-modal.php file and any changes I make do not seem to be showing up (i’m trying to change wording in the modal). I have the child theme activated and copied the page parts folder to it to modify but that didn’t work. So I tried to modify the parent theme, that didn’t work either. I seem to have this problem on many files, when I modify the .php it doesn’t change the site in either parent or child themes.

    Any help would be greatly appreciated. Thanks.

    #3975
     delcus
    Participant

    Also, I’m trying to to get rid of the “add friend” “private message” and “public message” text/buttons/features from the profile pages. I couldn’t find any posts on here that explained it clearly. Any ideas? Thanks.

    #4013
     SQadmin
    Keymaster

    Hello and thanks for the kind words.

    Do you have a caching plugin? You must edit the files via FTP or something similar that changes the file on the hosting server.
    Normally you should have activated the sweetdate-child theme and copy the file you want to edit in the exact same location.

    If you want to get rid of those features, you can disable those specific Buddypress components from Settings -> Buddypress.
    After that you still need to add this code to disable the buttons for non-logged in users. Add it to sweetdate-child/functions.php

    COPY CODE
    
    add_action('after_setup_theme','kleo_remove_buttons');
    function kleo_remove_buttons() {
    //non-logged in users
    remove_action('kleo_bp_header_actions', 'kleo_bp_member_buttons');
     // Friends button
    remove_action( 'bp_member_header_actions', 'bp_add_friend_button', 5 );
    // Activity button
    remove_action( 'bp_member_header_actions', 'bp_send_public_message_button', 20 );
    // Messages button
     remove_action( 'bp_member_header_actions', 'bp_send_private_message_button', 20 );
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4050
     delcus
    Participant

    Hi,

    Thank you for your prompt reply. I don’t believe I have caching plugin installed – I’m not sure what that is, how would I check this? I am using an FTP from my hosting server and the site is live at the moment.

    I have activated the child theme but when I go to copy the file I want into the exact same location, the child theme seems to have less folders in it to the parent theme (however, I do place it in exactly the same location); for example if it was in wp-content > languages in the parent, I would place it in wp-content > languages in the child (if the folder is available, if not I copy the whole folder over)

    Is this right?

    Thanks.

    #4068
     SQadmin
    Keymaster

    Hi,
    By default sweetdate-child theme has only the style.css where you can add your own custom css and the functions.php where you add your custom php code.
    If you want to change a file template located in wp-content/themes/sweetdate for example header.php you just copy it to sweetdate-child and modify it there.
    If don’t know why you are referring to wp-content > languages.

    Files that are copied to sweetdate-child are from sweetdate theme.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4170
     delcus
    Participant

    Hi,

    Thanks for your response, I was referring to wp-content just > languages just as an example. I have been doing what you have mentioned in the above answer but sometimes it works and sometimes it doesn’t, it seems to be a little bit temperamental sometimes.

    Also, just one more thing, when I try to use the modal login in Internet Explorer by clicking “login” in the top right hand corner, everything just freezes, everytime, the whole screen just goes faded grey (with the site in the background but no functionality , you have to close the browser and type the web url in and start over). Not sure if this is a glitch in the theme or internet explorer. Have you had anyone else mention this happening to them, if so is there a remedy?

    Thanks for all your help.

    #4227
     SQadmin
    Keymaster

    Hi, That is not normal 🙂 It should work or not
    Also tested the IE and worked fine and haven’t heard this from other users

    Cheers
    GAF

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #4311
     delcus
    Participant

    Hi,

    The issue with internet explorer is still a problem, not sure what to do, it just keeps freezing. Also I pasted in the above code into the functions.php in both parent and child (as just putting it into child didn’t work) and nothing has happened. Is there any particular place within the functions.php I need to put it?

    #4363
     SQadmin
    Keymaster

    Hi, I modified the above code to work whether you are logged in or not. Try again with it. You should add it to sweetdate-child/functions.php and you need to have the child theme activated.,

    Give more details about IE, what version, what OS, 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 solution
    #4397
     delcus
    Participant

    Hi,

    Thank you for that, I think it’s all good now. I must’ve been doing something wrong in explorer because now it seems to be working fine. Thanks for all you help 🙂

Viewing 10 posts - 1 through 10 (of 10 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?