Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Friday, May 16 2008 @ 02:38 AM EDT
   

Hivemail Integration

AnnouncementsHas anyone attempted a hivemail login block or some form of GL and Hivemail integration??

Below is the code from a login block for postnuke what would I need to chage to get it to work in GL ..... I have searched all over for this before posting here hoping other had done this before me.


<table width="100%"><tr><td align="center">
<form method="post" action="/pathtohivemail/index.php" name="hivemail_login"><input type="hidden" name="POSTNUKESID" value="325417190cf070aab0e8c3e24cb04105" />

<input type="hidden" name="login" value="1">
<input type="hidden" name="_postvars" value="a:0:{}">
<input type="hidden" name="_getvars" value="a:0:{}">
<input type="hidden" name="skinid" value="0">
<table cellpadding="2">
<tr>
<td valign="top" align="left">Account name:<br /><input type="text" name="username" size="16" /> <input type="hidden" name="userdomain" value=";@e-cdf.com" /></td>
</tr>

<tr>
<td valign="top" align="left">Password: <br /><input type="password" name="password" size="16" /></td>
</tr>

<tr>
<td valign="top" align="left">Remember me for:<br /><input type="radio" name="staylogged" value="fornow" id="fornow" checked="checked" /> <label for="fornow">this session</label><br /><input type="radio" name="staylogged" value="days" id="fordays" /> <label for="fordays"> <input type="text" name="days" size="2" class="bginput" onClick="fordays.checked = true;" /> days</label><br /><input type="radio" name="staylogged" value="forever" id="forever" /> <label for="forever">forever</label></td>

</tr>
<tr>
<td align="center" colspan="2"><br /><input type="submit" value="Log in" /></td>
</tr>

</form>
</table>
</td></tr></table>
<div align="center"><a href="http://www.ourdailycross.com/odcmail">New Mail User</a></div>

Story Options

Hivemail Integration | 2 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Hivemail Integration
Authored by: ScurvyDawg on Sunday, April 20 2003 @ 08:05 PM EDT
THis is what I have ended up with thus far.

<code>
<form action="/mail/index.php" method="post" name="Email" target="_parent" id="Email">
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Username:
<input name="username" type="text" id="$uname" size="20" maxlength="25">
</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Password:
<input name="password" type="password" id="$pass" size="20" maxlength="25" >
<input type="submit" name="Submit" value="Go!">
</font></p>
</form><center>
<a href="http://mail.scurvydawg.com">Create an Account</a></center>
</code>
If you are not familiar with Hivemail check out www.hivemail.com
Hivemail Integration
Authored by: Anonymous on Wednesday, May 07 2003 @ 10:21 AM EDT
Your version leaves out quite a lot of the input fields (shown below).. im assuming Hivemail needs these when logging you in.. and as your form doesnt have these values, its not logging in.. ( I had a similar problem when integrating a GreyMatter login to my website.. it complained if i changed even the slightest of things..)

Try keep your form exactly the same as the original, incuding the form & field names.. just change the action as you have.. or add any other extra data such as ur URL..

<pre>
<input type="hidden" name="login" value="1">
<input type="hidden" name="_postvars" value="a:0:{}">
<input type="hidden" name="_getvars" value="a:0:{}">
<input type="hidden" name="skinid" value="0">
</pre>

------------------------
Name : Anup
Website : http://lupid.co.uk
email : anup_1@hotmail.com

Havent gotten round to creating an account.. feel free to contact me if u need any help.. ;D