Maybe for the login you would want to make a different page instead of just linking the Admin Login ... use the login part of the template tutorial, but echo each line from a code page. make it less obvious, what CMS is behind it.
But if you create a page only designed with a login form (the code is in the WIKI, template Tutorial), people cann not see immediately that they are dealing with WebsiteBaker which gives you a little advantage over "wannabe" hackers ...If you now take the code from the Tutorial, put it into a page of type code and wrap every line in an "echo" statement (with the required form changes), you have a login form fitting the design of your template.
Quote from: kweitzel on February 01, 2007, 08:36:41 PMBut if you create a page only designed with a login form (the code is in the WIKI, template Tutorial), people cann not see immediately that they are dealing with WebsiteBaker which gives you a little advantage over "wannabe" hackers ...If you now take the code from the Tutorial, put it into a page of type code and wrap every line in an "echo" statement (with the required form changes), you have a login form fitting the design of your template.I can't find the code in the Wiki. Are you sure its available in english? I have no idea how to speak or read german.
<form class="login_table" method="post" action="http://www.runaway-music.de/account/login.php?redirect=http://www.runaway-music.de/pages/mitgliederbereich.php" name="login"> <table width="50%" cellspacing="0" cellpadding="5" border="0" align="center"> <tbody> <tr> <td style="text-align: right;">Benutzername:</td> <td><input type="text" name="username" /></td> </tr> <tr> <td style="text-align: right;">Passwort:</td> <td><input type="password" name="password" /></td> </tr> <tr> <td style="text-align: left;"> </td> <td><input type="submit" value="Anmelden" name="submit" /></td> </tr> <tr align="left"> <td style="text-align: center;" colspan="2"><a href="http://www.runaway-music.de/account/forgot.php">Anmeldedaten vergessen?</a></td> </tr> </tbody> </table></form>
<?php if(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?> <a href="<?php echo WB_URL; ?>/pages/mitgliederbereich.php">Mitgliederbereich</a> <?php } ?> <?php page_footer(); ?> <?php if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { ?> <a href="<?php echo WB_URL; ?>/pages/login.php">Login</a> <?php } elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?> <a href="<?php echo LOGOUT_URL; ?>">Logout [ <?php echo $wb->get_display_name(); ?> ]</a> <?php } ?>
<form class="login_table" method="post" action="http://www.holysoundproductions.us/account/login.php?redirect=www.holysoundproductions.us/admin/index.php" name="login"> <table align="center" border="0" cellpadding="5" cellspacing="0" width="50%"> <tbody> <tr> <td style="text-align: right;">Usuario:</td> <td> <input name="username" type="text" /></td> </tr> <tr> <td style="text-align: right;">ContraseƱa:</td> <td> <input name="password" type="password" /></td> </tr> <tr> <td style="text-align: left;"> </td> <td> <input value="Somete" name="submit" type="submit" /></td> </tr> <tr align="left"> <td style="text-align: center;" colspan="2"><a href="http://www.holysoundproductions.us/account/forgot.php">Olvido su ContraseƱa?</a></td> </tr> </tbody> </table></form>
<?php if(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?><a href="<?php echo WB_URL; ?>/admin/index.php">Login</a><?php } ?><?php page_footer(); ?><?php if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') { ?><a href="<?php echo WB_URL; ?>/pages/login.php">Login</a><?php } elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) { ?><a href="<?php echo LOGOUT_URL; ?>">Logout [ <?php echo $wb->get_display_name(); ?> ]</a><?php } ?>
The content is not all there but it's up and running.http://www.holysoundproductions.us/I want to thanks the WB community for helping me put the original template to work with WB. It was a bit of a pain but WB is awesome so it was well worth it.So give me your opinions.