You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 145 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Email Management System [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
auotst
Nuke Soldier
Nuke Soldier


Joined: Aug 28, 2004
Posts: 16


PostPosted: Sat Aug 28, 2004 1:37 am Reply with quoteBack to top

Hey Chaps!
Im a new user to phpNuke (v7.2).
Am quite impressed with it! Customisability is impressive!

Got a question for anyone that can help me.

My Site: www.auotst.com (americas army (game) clan page)

What I would like to do is set up a email login page for Nuke. Currently to access the email that my hosting provides, i must use the link to the port 2095 (eg www.auotst.com:2095).
I would like, if i can, to install a script (preferrably php, but CGI/Perl is ok) that logs in without redirecting to the cpanel page. Basically if you look at any site that provides webmail they all have some type of login page - thats what im looking to do without cpanel!

I have 3 webmail program choices. 1.Neomail; 2.Horde; 3.Squirrelmail (same as Yahoo! uses).

Any help on this would be greatly appreciated!

Thanks in advance,
Chris Very Happy
Find all posts by auotstView user's profileSend private message
auotst
Nuke Soldier
Nuke Soldier


Joined: Aug 28, 2004
Posts: 16


PostPosted: Sat Aug 28, 2004 10:20 pm Reply with quoteBack to top

Scratch the post i made (now deleted) regarding the solving of my problem.
After actually installing the software, it does not provide an email gateway as the product description and documentation suggested.

So my original questions stands! Smile
Any help appreciated!

Chris
Find all posts by auotstView user's profileSend private message
auotst
Nuke Soldier
Nuke Soldier


Joined: Aug 28, 2004
Posts: 16


PostPosted: Sun Aug 29, 2004 8:12 pm Reply with quoteBack to top

Very Happy I know what your all thinking - he likes to post to himself Laughing !

Anyway,
Perhaps there is another way i can address my problem.
Does anyone know of a phpNuke block which allows direct logon to email via username/password?

I think something like this would make a useful project for someone with the coding skills, which unfortunately i do not have! Sad Modification to suit the way i would need it to run (at writers permission of course) is fine, but compiling something like this is above me! <sigh>

Cheers Guys,
Chris
Find all posts by auotstView user's profileSend private message
auotst
Nuke Soldier
Nuke Soldier


Joined: Aug 28, 2004
Posts: 16


PostPosted: Tue Aug 31, 2004 5:17 am Reply with quoteBack to top

OK OK OK! Ill stop talking to myself soon.

I found a script on the net which does what i require. It is simple javascript html, and i modified it to suit me. If anyone would like a post of the script let me know. To see what the login page appears to be, click the link.

http://mail.auotst.com

You only see the login page there, but also a registry fix to change the fact that you need to support username and password in the address bar (and an example of what i mean there too!). I could not see any other way of submitting the logon details with my lack of code developing skills! Confused lol!

Cheers guys,
Chris
Find all posts by auotstView user's profileSend private message
only1russ
Nuke Soldier
Nuke Soldier


Joined: Nov 17, 2004
Posts: 13


PostPosted: Mon Nov 29, 2004 5:24 pm Reply with quoteBack to top

If you are using squirrell mail:

(It needs modification):

taken from:
http://www.squirrelmail.org/wiki/en_US/EmbeddedSquirrelMailLogin


For those of you using PhPNuke with Squirrelmail, the following is a block that automagically adds the preset domain name after the user name so if you're lazy like me it's less typing. Simply copy, paste into a file called block-squirrelmail or whatever and activate from w/in Nuke. Gotchas: Make sure to modify to suit your needs. Make sure the text is formatted properly. Thanks to jaysolomon, Et Al on http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20787568.html




<?php
if (eregi("block-Block_Creator.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$someVarName = <<<_JSCODE_
<script type="text/javascript">
<!--
function addDomain(element){
var str = element.value;
if(str.search(/@yourdomain.com/)==-1){
element.value = element.value + "@yourdomain.com";
}
}
// -->
</script>
_JSCODE_;
echo $someVarName;

$content = "<form method=\"post\" name=\"logon\" action=\"http://www.yourdomain.com/webmail/src/redirect.php\"> <small>Your Co. Name, ";
$content .= " <BR> Email Login</small><BR> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" width=\"7%\" height=\"19\">";
$content .= " <tr>";
$content .= " <td width=\"100%\" height=\"1\">User ID:</td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td width=\"100%\" height=\"1\"><font color=\"#FF0000\" size=\"1\">ex. \"fsmith\"</font></td>";
$content .= " </tr>";
$content .= " <tr>";
$content .= " <td width=\"100%\" height=\"22\"> ";
$content .= " <input type=\"text\" size=\"16\" maxlength=\"128\" name=\"login_username\" onChange=\"javascript:addDomain(this);\"></td>";
$content .= " </tr>";
$content .= " </table>";
$content .= " <p>Password:<BR> <input type=\"password\" size=\"16\" name=\"secretkey\" maxlength=\"128\"><BR><input type=\"hidden\" name=\"js_autodetect_results\" value=\"SMPREF_JS_OFF\" /> <input type=\"hidden\" name=\"just_logged_in\" value=\"1\" /> <input type=\"submit\" value=\"Login\" name=\"do.login\">;
$content .= "</form>";
?>
Find all posts by only1russView user's profileSend private message
jimbo
Nuke Soldier
Nuke Soldier


Joined: Nov 19, 2004
Posts: 11


PostPosted: Tue Jan 11, 2005 12:08 pm Reply with quoteBack to top

I've tried this block several times with no luck.
I've changed the action to read http://xxx:2095/3rdparty/squirrelmail/src/redirect.php" target="_blank">\n";

Whether I do that or not I get an error about an unexpected \ around line 40.

Has anyone had better luck?

Thanks!
Find all posts by jimboView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.589 Seconds - 95 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::