The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cpanel Email per username -Simple extension Details »» | |||||||||||||||||||||||||||||||||||
Cpanel Email per username -Simple extension
Developer Last Online: Jan 2014
This cpanel email extension, allows you to add email@urdomain per username.
The script will use mysql field value to determine wether the user has activated an email or not. If not active will allow him to set email pass and activate. If active will allow to directly login to webmail. demo http://www.tchatting.com/forum/email.php Requires login ( "demo demo" pass 123456 ) but you will not be able to create a new email using it anyway thats why i added screenshots here. Requirements are ofcourse a Cpanel username + no limits on email creation. The script current features are : Page only for registered ( No groups set but can be configured via source code ) Replaces Spaces from usernames to . (dot ) since emails cannot contain spaces. REVISED : also characters such as # @ ~ If you prefer character _ instead of a . for spaces replacements it can be changed on line 92. The script contains working functions , but not fancy stuff . You can edit the template to add a faq section or something below logins. Also it can be extended to allow user to delete his email account or change his email password from the email page but i didnt think its a good idea so i left them out (though can be added ) Finaly , if you have ideas to further extend those functions let me know, id be glad to share if i had more extra time . Last note : Add a link wherever u want it to appear . March 8th: Updated the the files, moved the config into includes and added htaccess contents as per Frugil post. Added intrusctions on how to specify groups. INSTALLATION import the xml product . Upload the rest of the files into your forum root Link to the file ! Download Now
Show Your Support
|
Comments |
#52
|
|||
|
|||
yeah, forwarding would be nice!
|
#53
|
|||
|
|||
actually forwarding is much easier to create, but then i will have to re-post it in another script, because it will require deleting the code where to alter the database and to remove login box and so on, and only keep a value wether he has the forwarder created or not.
but typically a change would be in the url to be opened thats all ( the rest would be actually design wise because login boxes are then useless) http$ssl://$xxcpuser:$xxcppass@$xxdomain:$port/frontend/$xxcptheme/mail/doaddpop.html?email=$cpun1&domain=$xxdomain&passwo rd=$password"a=$xxquota"; shoud be like http$ssl://$xxcpuser:$xxcppass@$xxdomain:$port/frontend/$xxcptheme/mail/doaddfwd.html?email=$cpun1&forward=$email2"; know what, ill post this later as a whole code , maybe later on hopefully |
#54
|
|||
|
|||
just like idea:
in CP user has button/checkbox "Enable email forwarding" and input "forward to email" so if user enables forwarding, then in cpanel will be added entry with all these data (new email and where it forwarded), also wolud be cool to add 2 array, with letters replacing (by default " " -> "." (or maybe "_") also pips could add cyrilic->translit replacement (for ex) |
#55
|
||||
|
||||
if (!is_member_of($vbulletin->userinfo, 19) AND !is_member_of($vbulletin->userinfo, 22)) AND !is_member_of($vbulletin->userinfo, 6))
its giving me an error :-/ |
#56
|
||||
|
||||
and One of my users has a space in his name so its not working is there a way for it to add the . itself and when you login fixes all that?
Thanks |
#57
|
||||
|
||||
How can you delete an email addy .. I've removed it from the cpanel but it still shows in the forum and asks for a login to an email addy that no longer exists !?
|
#58
|
||||
|
||||
Quote:
Working perfectly only thing is user with a space doesnt create and doesnt even work example one of my users killa k says it was created but when i go in cpanel it doesnts how and even when they try to login it says fail |
#59
|
||||
|
||||
bump
|
#60
|
|||
|
|||
MissKalunji, by default as i described it will replace characters that cannot be accepted in email forms to a . (dot)
Which means their email by default is kala.k not kala k If you want to change that change the lines in email.php $cpun1 = str_replace( " ", ".", $cpun ); Replace the "." with your desired character , which can be mostly a dot or _ for example. |
#61
|
||||
|
||||
Thats what im saying...it doesnt CREATE IT AT ALL!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|