animeonline
11-23-2004, 06:58 AM
Hi guys,
Here is a simple hivemail module you may use to put a hivemail login box on your index page. It's very simple and takes about 5 minutes to install. You can view the finished product at my site (www.animeonline.net).
1. Create a template called "adv_portal_email", and insert the following code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="12" height="12" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"><tr><td></td></tr></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<br>
<FORM STYLE="margin-bottom:0;" METHOD="POST" ACTION="http://www.YOURSITE.net/YOURHIVEDIR/index.php">
<input type="hidden" name="login" value="1">
<input type="hidden" name="_postvars" value="$_postvars">
<input type="hidden" name="_getvars" value="$_getvars">
<DIV ALIGN="center">
<CENTER>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD ALIGN="right">
<FONT FACE="Verdana" SIZE="1" color="#CCCCCC"><B>User: </B>
</FONT></TD>
<TD>
<INPUT TYPE="text" NAME="username" SIZE="15" STYLE="font-family: Verdana; font-size: 9px; background-color: #27323B; color: #FFFFFF; font-weight: bold">
</TD>
</TR>
<TR>
<TD ALIGN="right">
<B><FONT FACE="Verdana" SIZE="1" color="#CCCCCC">Pass:</FONT></B><FONT FACE="Verdana" SIZE="1"><B> </B>
</FONT></TD>
<TD>
<INPUT TYPE="password" NAME="password" SIZE="15" STYLE="font-family: Verdana; font-size: 9px; background-color: #27323B; color: #FFFFFF; font-weight: bold">
</TD>
</TR>
<TR>
<TD HEIGHT="25"></TD>
<TD HEIGHT="25">
<INPUT TYPE="submit" NAME="submit" VALUE="Check email!" CLASS="text" STYLE="font-family: Verdana; font-size: 9px; font-weight: bold"></TD>
</TR>
</TABLE>
</CENTER>
</DIV>
<br>
<CENTER><B><FONT FACE="Arial" SIZE="1">
<A HREF="/YOURHIVEDIR">Get your own free email!</A><BR></FONT></B>
</CENTER>
</td>
</tr>
</tbody>
</table>
<br />
2. Replace "YOURSITE" and "YOURHIVEDIR" with your actual site addy and hivemail directory.
3. Create a module called "Email Login" with the following specs:
- File to include = "no"
- Template to include = "email"
- Active = "yes"
And that's it! Hope this helps someone out :)
Here is a simple hivemail module you may use to put a hivemail login box on your index page. It's very simple and takes about 5 minutes to install. You can view the finished product at my site (www.animeonline.net).
1. Create a template called "adv_portal_email", and insert the following code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
<td class="tcat smallfont" style="font-weight: bold;"><a style="float: $stylevar[right]" href="#" onclick="return toggle_collapse('forumhome_$mods[filename]')"><img id="collapseimg_forumhome_$mods[filename]" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_randomtopic].gif" width="12" height="12" border="0" alt="Collapse/Expand" /></a>$vba_options[portal_blockbullet] $mods[title]</td>
</tr>
</thead>
<tfoot style="display: none;"><tr><td></td></tr></tfoot>
<tbody id="collapseobj_forumhome_$mods[filename]">
<tr style="$vbcollapse[collapseobj_forumhome_randomtopic]">
<td class="$getbgrow">
<br>
<FORM STYLE="margin-bottom:0;" METHOD="POST" ACTION="http://www.YOURSITE.net/YOURHIVEDIR/index.php">
<input type="hidden" name="login" value="1">
<input type="hidden" name="_postvars" value="$_postvars">
<input type="hidden" name="_getvars" value="$_getvars">
<DIV ALIGN="center">
<CENTER>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0">
<TR>
<TD ALIGN="right">
<FONT FACE="Verdana" SIZE="1" color="#CCCCCC"><B>User: </B>
</FONT></TD>
<TD>
<INPUT TYPE="text" NAME="username" SIZE="15" STYLE="font-family: Verdana; font-size: 9px; background-color: #27323B; color: #FFFFFF; font-weight: bold">
</TD>
</TR>
<TR>
<TD ALIGN="right">
<B><FONT FACE="Verdana" SIZE="1" color="#CCCCCC">Pass:</FONT></B><FONT FACE="Verdana" SIZE="1"><B> </B>
</FONT></TD>
<TD>
<INPUT TYPE="password" NAME="password" SIZE="15" STYLE="font-family: Verdana; font-size: 9px; background-color: #27323B; color: #FFFFFF; font-weight: bold">
</TD>
</TR>
<TR>
<TD HEIGHT="25"></TD>
<TD HEIGHT="25">
<INPUT TYPE="submit" NAME="submit" VALUE="Check email!" CLASS="text" STYLE="font-family: Verdana; font-size: 9px; font-weight: bold"></TD>
</TR>
</TABLE>
</CENTER>
</DIV>
<br>
<CENTER><B><FONT FACE="Arial" SIZE="1">
<A HREF="/YOURHIVEDIR">Get your own free email!</A><BR></FONT></B>
</CENTER>
</td>
</tr>
</tbody>
</table>
<br />
2. Replace "YOURSITE" and "YOURHIVEDIR" with your actual site addy and hivemail directory.
3. Create a module called "Email Login" with the following specs:
- File to include = "no"
- Template to include = "email"
- Active = "yes"
And that's it! Hope this helps someone out :)