Boosted MR-S
12-21-2004, 11:25 PM
Hey everyone, I ported the Web Mail Login Block from PHPnuke over to work with VBadvanced. Its a very easy code and someone else has probly already done it but I figured I'd throw it over your way. Enjoy!
Goto - Style Manager - Find Your Theme and Click << >>>
Goto the scroll bar and select new template
Title adv_portal_mail
Goto the VBA control panels
Add Module
Module Title whatever you want
Identifier - Leave blank
File to Include - Leave Alone
OR Template - mail
Active - Yes
Column and Order - Up to you
Click Save
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Web Mail Login</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
<form action="http://mail.yourdomain.com/src/redirect.php" method="POST"">
<table border="0" ><tr><td align="left">
<table align="center" border="0"><tr><td align="left">Email Address:<br><input type="text" name="login_username" value="" />
</td></tr>
<tr><td align="left">Password:<br><input type="password" name="secretkey" />
<input type="hidden" name="js_autodetect_results" value="0" />
<input type="hidden" name="just_logged_in" value="1" />
</td></tr></table></td></tr><tr><td align="left"><center><input type="submit" value="Login" />
</center></td></tr></table></center></form>
</form>
</td>
</tr>
</table>
<br/>
Goto - Style Manager - Find Your Theme and Click << >>>
Goto the scroll bar and select new template
Title adv_portal_mail
Goto the VBA control panels
Add Module
Module Title whatever you want
Identifier - Leave blank
File to Include - Leave Alone
OR Template - mail
Active - Yes
Column and Order - Up to you
Click Save
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] Web Mail Login</b></span></td>
</tr>
<tr>
<td class="$getbgrow" align="center">
<form action="http://mail.yourdomain.com/src/redirect.php" method="POST"">
<table border="0" ><tr><td align="left">
<table align="center" border="0"><tr><td align="left">Email Address:<br><input type="text" name="login_username" value="" />
</td></tr>
<tr><td align="left">Password:<br><input type="password" name="secretkey" />
<input type="hidden" name="js_autodetect_results" value="0" />
<input type="hidden" name="just_logged_in" value="1" />
</td></tr></table></td></tr><tr><td align="left"><center><input type="submit" value="Login" />
</center></td></tr></table></center></form>
</form>
</td>
</tr>
</table>
<br/>