• Kaleb.G

    (@kalebg)


    This seems like a great plugin, but it seems bizarre that it won’t allow the “register for this site” text to be changed. That text is all in your face and is begging for customization. Can this feature please be added? Thanks in advance!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author radiok

    (@radiok)

    I see what your saying, no ones ever mentioned it before, but it’s a pretty quick change. I’ll definitely address this in the next update.

    Thread Starter Kaleb.G

    (@kalebg)

    Much appreciated! I’m looking forward to the next update. =}

    FrancescoRizzi

    (@francescorizzi)

    +1 for this request – I had made myself a note to hack it via jQuery after page load, but it’s great to see you’re looking at making this configurable! Thanks in advance

    Hi.
    I’m thinking along the same lines as Kaleb.G, but am interested in changing the colour of the text box as well.
    It looks a bit odd because I have customized the input fields to match my theme’s colour, and the pale yellow “register for this site” is totally out of place.
    Will this become customizable? Or can you direct me to the code where I can change it?
    Thanks Much!
    The plugin ROCKS , btw.

    That would be great… Is there a place in the code to just remove this for now? I’m going to have “Register for https://www.mysite.com” as my logo anyway. Thanks!

    While I have not found a way to actually remove that box altogether as I would like to do, or change its sick colors so that they match the rest of the form fields, you can change the actual text that is found in the box by opening “wp-login.php” and editing line 464 in a virgin copy of the file.

    Concerning the ugly light yellow background with the dirty yellow border on that top box, just as Register Plus borrows that text string from the “wp-login.php” file, it also appears to borrow some code from jquery for its colors. In jquery, the colors are not represented by HTML codes, but rather by plain English names, as well as by RGB values.

    More specifically, if you look at line 1320 in the “register-plus.php” file, you will see that it makes calls to wp-includes/js/jquery/jquery.color.js where you will find the codes for the light yellow and dirty yellow that are used on the top box.

    I haven’t figured out yet how to change the colors on that box yet, using the above information, but if anyone else does before I do, please let us all know.

    Even better yet, if anyone figures out how to eliminate that top box entirely, please let us know.

    Thanks!

    @wordweaver,
    eliminating the box is easy – just add this to the custom CSS box:

    div.updated, .login .message {
        display: none
    }

    Thanks for that very useful tip, Paul W.

    For those of you who want to make that top box pretty much match the style of the other white div boxes with shadow, I just played around a bit and came up with the following code. Place it in both of Register Plus Redux’s custom CSS boxes in its settings area:

    div.updated, .login .message {
        -moz-border-radius: 10px;
        border-radius: 10px;
        border:solid 1px #ffffff;
        background-color:#ffffff;
        -moz-box-shadow: 4px 4px 5px #dedede;
        -webkit-box-shadow: 4px 4px 5px #dedede;
        box-shadow: 4px 4px 5px #dedede; solid #ffffff;
    }

    Put this code in the “Required Fields Style Rules” field in Register Plus Redux’s settings to make the required fields boxes white with a blue border radius of 3 pixels and a light box shadow:

    -moz-border-radius: 3px; border-radius: 3px; border:solid 1px #3300ff; background-color:#ffffff; -moz-box-shadow: 2px 2px 3px #dedede; -webkit-box-shadow: 2px 2px 3px #dedede; box-shadow: 2px 2px 3px #dedede; solid #ffffff;

    If you want a different border color, change 3300ff to the color of your choice.

    If you want to see what this and the previous change actually look like, just go to our blog at https://www.endtimeprophecy.net/Blog/ and pretend that you are going to register.

    To change this text you only have to add this to your functions.php file:

    function custom_register_msg()
    {
    echo ‘<p class=”message register”>Your custom message</p>’;
    }
    add_filter(‘login_message’,’custom_register_msg’);

    Hope this is useful to everyone.
    By the way, this works whether or not you’re using Register Plus Redux

    Actually that isn’t the best way yet, because that outputs your message on Login form and Register form indiscriminately. The corrected code would be something like this

    function custom_register_msg($msg)
    {
    	$pattern = '/Register For This Site/';
    	$custom_msg = 'Your custom message.';
    	 return preg_replace($pattern, $custom_msg, $msg);
    }
    add_filter('login_message','custom_register_msg');

    That way it specifically replaces only that message for yours. You could do the same to replace any of the other messages. I also removed the <p class=”message_register></p> because using this method it conserves that part of the default message

    Enjoy!

    +9999999999 for adding this feature!

    Also removing the AIM/jabber/Yahoo nonsense would be useful too. I mean who use this feature any more. WP should remove it!

    I’ve used the Customize Meta Widget to change the “Register” link, among other things.

    I don’t know if it conflicts though…

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Register Plus Redux] Ability to change "register for this site"’ is closed to new replies.