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 |
#22
|
|||
|
|||
im scared about that fact, but then, I am always paranoid
|
#23
|
|||
|
|||
It seems safe enough. You have to remember PHP is processed SERVER side, so only the server will read the cPanel password, and nothing else. Seems ok to me.
|
#24
|
|||
|
|||
true enough as I suppose we leave our database passwords on the server
|
#25
|
|||
|
|||
Quote:
|
#26
|
||||
|
||||
Installed and works well ... great addition.
Thanks lebanon .. clicked install. |
#27
|
||||
|
||||
what happens with users who have other special characters in their name ... such as @ ~ # * etc?
|
#28
|
||||
|
||||
Quote:
|
#29
|
|||
|
|||
Quote:
I suggest you use a require or include to a file outside of webroot where it would be much safer which contains the cpanel info. Otherwise with the right domains in your pocket this hack is per chance very interesting. |
#30
|
|||
|
|||
so how do i configure the source code to add in groups that i'd want to access the email?
|
#31
|
|||
|
|||
Quote:
I already took care of users wit Blank spaces where you could find at Line containing ( in email.php ) $cpun1 = str_replace( " ", ".", $cpun ); Now you could rerun this same line for as much characters u suppose ur members or vbulletin allows and the second value is what it will be so you could do $cpun1 = str_replace( " ", ".", $cpun ); $cpun1 = str_replace( "#", ".", $cpun ); $cpun1 = str_replace( "~", ".", $cpun ); ( i didnt even notice any forum member containing such characters so i havent really even thought of it except for spaces ) For other questions asked : A live demo , that can be viewed on http://www.tchatting.com/forum/email.php but u will need to register thats why i added screenies instead . //nitro and PtP : As for the PHP security guys are bothered about , just remember ALL scripts, forums, cms shopping carts and every known portal has its KNOWN location of its config files , how come this question was raisen here and u have never worried about everything else you add ur info to ? PHP is processed before it outputs data to client side. (thus its safe ) Last comment i also read, someone suggested if php didnt run it will expose it , true , but trust me , if your server php stopped being processed for some reason your last worries would be my files !// freako9699 : u dont need to create emails for ur users, THEY will activate their own emails , thats what this extension is for ! You add your cpanel details into the config, then you announce to ur users that they can have their free email at /email.php and thats it. Snoop-It : to have a vb interface that will require a full email addon as well. I am projecting on doing such thing but that but still looking for Lots of free time. moonclamp : file to upload are on ur forum root not domain root. No strains on server no , and as for users deleted , they will keep their emails u should do it manually then , though we can add functions to this one. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|