• Resolved bkypes

    (@bkypes)


    I just want to say that I love this plugin so far. I just downloaded and installed it and it seems to be exactly what I am looking for.

    I just have one issue with it right now and a few questions. I am on the latest version of Superslider. I deactivated another plugin called gadget since it was a side navigation plugin and that did not effect my problem at all.

    Once the user is signed in and the slider is open the logout button is the only one visible while the close button is hanging off the slider tab. I am hoping to remove the logout button on the tab of the slider and only keep the text link logout.

    I was also hoping to be able to remove the “dashboard” link from the slider when a customer is logged in rather than an admin if that is possible.

    Would it be possible for me to add a short amount of shortcode from another plugin that displays a customers account balance? It’s not a huge deal but it would be great if we could.

    Thanks so much for this plugin, I’ve been searching all day for something like this. I’ll for sure be making a donation or upgrading to pro after I test this out some more!

    http://wordpress.org/extend/plugins/superslider-image/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter bkypes

    (@bkypes)

    Sorry I forgot to put a link to my site. http://zoxstraps.com/

    Plugin Author Daiv Mowbray

    (@daiv)

    RE: “the logout button is the only one visible while the close button is hanging off the slider tab”
    You’ll want to add some css to over ride the jigoshop style
    which is effecting your close tab.
    add this to your theme style file:
    .login li a.close {
    opacity: 1;
    float:none;
    }

    I was also hoping to be able to remove the “dashboard” link from the slider when a customer is logged in rather than an admin if that is possible.

    Sure, you’ll have to edit the file: login_panel.php
    line 130 add this before the a tag:
    <?php if ( current_user_can('activate_plugins') ) : ?>
    and add this after the a tag line:
    <?php endif ?>
    This will remove the button to open the slidein panel. If that’s what you want.

    Would it be possible for me to add a short amount of shortcode from another plugin that displays a customers account balance?

    I believe that you can add the following probably on line #24 of the file logon_panel.php,
    <?php do_shortcode([your shortcode]); ?>

    HTH

    Thread Starter bkypes

    (@bkypes)

    So I looked into adding the code you sent me into style.css and the file says not to make any modifications so I don’t feel comfortable changing that unless there is a different file you are referencing.

    I also tried adding that code to the /superslider-login.php file and it just added plain text to my slider under the greeting.

    Thanks again for your help. I really appreciate it.

    Plugin Author Daiv Mowbray

    (@daiv)

    well then add the css code to the superslider-login css file which will be in the folder plugins/superslider-login/plugin-data/superslider/ssLogin/( your theme)/theme.css

    when adding php to a php file you need to pay attention to the php opening and closing tags.
    try re-entering the code with the opening and closing php tags,
    these are : <?php ?>
    place the php code before the

    HTH.

    Thread Starter bkypes

    (@bkypes)

    Hey Daiv,

    Thanks for the help. I entered the code to adjust the close tab button and it adjusted it slightly but it is still hanging off the edge of tab and it is still above the logout button. Is there any specific code that I could put in to bring it down a few pixels and to the left a few?

    Also I’ve just noticed an issue with ‘ in my text. If I have a ‘ in my text such as in we’re whenever I edit and save the settings it adds one / before the ‘. I have we’re as the default in the superslider-login.php and the problem keeps happening.

    Is there a line of code I can add to my style.css file to turn the text white? I’ve tried editing it in a few spots and it didn’t change anything.

    Once again thanks for your help. I’m super new with coding so I really appreciate it.

    Plugin Author Daiv Mowbray

    (@daiv)

    You seem to have the plugin deactivated at the above noted site.
    If adding the css code hasn’t fixed the alignment issue, try this instead:

    .login li a.close {
    opacity: 1 !important;
    float:none !important;
    }

    yep, adding apostrophes to text can be an issue. try “we are”, easiest solution.
    to make the text white, add this to your plugin css, look for the rule:
    #loginpanel
    and add this:
    color: white;
    thus should work, but untill you have the plugin active I can’t check your situation. Site themes effect how to answer this question.

    Thread Starter bkypes

    (@bkypes)

    That still didn’t fix the button on it yet. Do you have any other suggestions for what I could try?

    I turned the small text white, is it possible to change the headers to white as well? I tried using head color:white; and head:white; and neither worked.

    Plugin Author Daiv Mowbray

    (@daiv)

    find the #loginpanel h2 rule and add the color:#f5f5f5 to that rule, then your h2 headers inside the login panel will be white.

    #loginpanel h2 {
        color: #F5F5F5;
        margin: 0;
    }

    as for the close tan arrow, add this line:
    position: inherit;

    .login li a.close {
        float: none !important;
        opacity: 1 !important;
        position: inherit;
    }
    Thread Starter bkypes

    (@bkypes)

    It works! Thanks so much for your help!

    Only thing I couldn’t get to work was the account balance displaying but everything is perfect now.

    Thread Starter bkypes

    (@bkypes)

    Hey Daiv,

    If you wouldn’t mind helping me there are a few small changes in the CCS that I can’t seem to figure out how to change.

    I’d like to remove the Zox Straps from the top of the slider and space down the text for registration since the email box is directly next to the username box. I don’t want our customers to get confused and it just doesn’t look good. I’ve uploaded a screenshot so you can see what I’m talking about.

    Also, on login the customers name is displaying as black, is it possible to change it to white?

    Thanks,
    Brandon

    http://screencast.com/t/C0GBBHXHtfUd

    Plugin Author Daiv Mowbray

    (@daiv)

    Hello,
    you could add this to your css file:

    #loginpanel input {
        display: block;
    }

    this will ensure that the labels are not inline with the inputs.

    As for the user name being black,
    Perhaps a css rule of #loginpanel h2 {color: #f5f5f5;} would help.

    Thread Starter bkypes

    (@bkypes)

    Hey Daiv,

    Thanks that helped with the spacing.

    I already had the text rule in but the link to the profile continues to appear black, any other suggestions?

    Thanks for your help@

    Thread Starter bkypes

    (@bkypes)

    Hey Daiv,

    How can I delete the guest text? I’ve searched through the files and deleted it from superslider-login/superslider-login.php and superslider-login-ui.php. Also, is it possible to change the text “A password will be emailed to you.”? Or is that something that I would have to find in the actual WordPress files?

    Thanks!

    Plugin Author Daiv Mowbray

    (@daiv)

    “A password will be emailed to you.”? is something that you would have to find in the actual WordPress files.
    set the guest text to nothing, have you tried setting the guest text to nothing in the settings page for the plugin?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Log Out Button.’ is closed to new replies.