PDA

View Full Version : PORTED: Web Mail Login


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/>

+buG
02-16-2005, 11:39 AM
Which Email software do I need to use for this to work?

Our Sponsors
 

Boosted MR-S
02-16-2005, 07:26 PM
Squirrel Mail

Polo
02-16-2005, 10:16 PM
thanks for sharing ;)

Our Sponsors
 

Boosted MR-S
02-17-2005, 12:59 AM
No problemo :D

+buG
02-22-2005, 02:39 PM
Tip: Cpanel users use this link.

http://yoursite.com:2095/3rdparty/squirrelmail/src/redirect.php

Boosted MR-S
02-22-2005, 06:46 PM
Tip: Cpanel users use this link.

http://yoursite.com:2095/3rdparty/squirrelmail/src/redirect.php

Thanks for that!

Graham
02-23-2005, 01:28 PM
Hi, how can I get this to work with my webmail?

http://www.horde.org/

It won´t log in from the module in CMPS !!!

http://villasolrealestate.com

Boosted MR-S
02-23-2005, 06:21 PM
Graham can you post your code up please...

There seems to be an error in the redir.

Graham
02-24-2005, 04:12 AM
<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://webmail.villasolrealestate.com/redirect.php" method="POST"">
<table border="0" ><tr><td align="left">
<table align="center" border="0"><tr><td align="left">User:<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/>

Boosted MR-S
02-24-2005, 06:40 PM
http://webmail.villasolrealestate.com/horde/redirect.php

Try that instead

-Chef-
02-27-2005, 02:11 AM
http://www.xxxxxx.com/webmail/src/redirect.php

Works for me.

axi
02-27-2005, 02:35 AM
any chance of gettin it to work with HORDE?

axi
02-27-2005, 02:44 AM
hmm added it but not showing up in the center or anywhere

axi
02-27-2005, 02:54 AM
its working now thanks just figuring out the horde way

Gri
02-27-2005, 10:58 AM
For Cpanel, it should be like +bug's way.

axi
02-28-2005, 09:28 AM
when using this email portal my cpanel popup comes asking for the user pass just the way it would ask when i go www.mysite.com/webmail you get me ???

how can we override this so it automatically enters the popup by itself by the portal.

Graham
02-28-2005, 03:52 PM
axi,

How did you get it to work with Horde?

share it with me please ......

axi
02-28-2005, 10:38 PM
i use this link as its for my site
http://www.beastclub.com.au:2095/horde/index.php

so should be similiar for you

anyone know how to get rid of the second user/pass prompt? please help..

krim
03-03-2005, 03:02 PM
Anyone find out how?

-Chef-
03-03-2005, 09:55 PM
Try:
yourdomain/horde/imp/redirect.php

MaTtY PiMpZ
03-03-2005, 10:41 PM
can some1 post a full code to use with aol and / or yahoo mail plz

krim
03-03-2005, 11:31 PM
Anyone have it where when a user subscribes to your board they will automatically be signed up for an email address? Or just when they register for your site in general? Would love to have this.

Boosted MR-S
03-04-2005, 04:00 AM
With most of these email utilities, you must access a completely seperate prog to add emails.

JayJ
03-13-2005, 03:47 AM
How would one go about including a pop-up script, or opening the mail in a seperate window?

Arial
03-22-2005, 06:59 AM
Does anyone have an example page showing the block?

Boosted MR-S
03-23-2005, 12:57 AM
http://driftchat.com

-edit, only mods and admins can see it sorry