Community Support Forums — WordPress® ( Users Helping Users ) — 2010-06-26T00:48:39-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=275 2010-06-26T00:48:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1223#p1223 <![CDATA[Re: Login & Registration Page Design]]> Statistics: Posted by Jason Caldwell — June 26th, 2010, 12:48 am


]]>
2010-06-25T19:18:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1212#p1212 <![CDATA[Re: Login & Registration Page Design]]>
Jason Caldwell wrote:
Also. if you would like to do this using a WordPress Filter, that would be better in the long run. That way you won't have to worry about changing this all the time when we release new versions of s2Member in the future. Here is a quick example.

Inside the functions.php file for your theme, add these lines, and adjust as necessary.
Code:
<?php
add_filter("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles($s2member_styles)
    {
        echo '<style type="text/css">';
        ?>

         Your stylesheet data goes here.

        <?php
         echo '</style>';
    }
?>



NICE :) Thank you for this priceless tip Jason

Statistics: Posted by drbyte — June 25th, 2010, 7:18 pm


]]>
2010-06-23T22:43:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1148#p1148 <![CDATA[Re: Login & Registration Page Design]]>
Inside the functions.php file for your theme, add these lines, and adjust as necessary.
Code:
<?php
add_filter("ws_plugin__s2member_login_header_styles", "my_login_styles");
function my_login_styles($s2member_styles)
    {
        echo '<style type="text/css">';
        ?>

         Your stylesheet data goes here.

        <?php
         echo '</style>';
    }
?>

Statistics: Posted by Jason Caldwell — June 23rd, 2010, 10:43 pm


]]>
2010-06-23T12:25:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1062#p1062 <![CDATA[Re: Login & Registration Page Design]]>
In v. 3.0.9
Lines: 64-72
Code:
            /**/
            //$s .= 'html, body { border: 0 !important; background: none !important; }' . "\n"; /* Clear borders & existing background. */
            $s .= 'html, body { border: 0 !important; background-color: #' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_color"] . ' !important; background-image: url(' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_image"] . ') !important; background-repeat: no-repeat !important; background-position: top center !important; }' . "\n"; /* Clear borders & existing background. */
            
            //$s .= 'html { background-color: #' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_color"] . ' !important; }' . "\n";
            //$s .= 'html { background-image: url(' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_image"] . ') !important; }' . "\n";
            //$s .= 'html { background: url(' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_image"] . ') !important; }' . "\n";
           
            /**/

Statistics: Posted by k4yti — June 23rd, 2010, 12:25 pm


]]>
2010-06-23T09:48:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1059#p1059 <![CDATA[Re: Login & Registration Page Design]]>
Look in under plugin>s2member>includes>functions>login-customizations.inc.php Starting around line 53

Code:
      $s .= 'html { background-image: url(' . $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]["login_reg_background_image"] . ') !important; }' . "\n";


Not sure if a new version of s2member will overrides it

Good Luck

Statistics: Posted by drbyte — June 23rd, 2010, 9:48 am


]]>
2010-06-23T08:21:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=275&p=1058#p1058 <![CDATA[Login & Registration Page Design]]> Many thnaks
Katie

Statistics: Posted by k4yti — June 23rd, 2010, 8:21 am


]]>