XvG-Murk
02-10-2013, 05:27 PM
Ok I have successfully got this to work.
Guests can create cpanel email accounts. I will try and explain this as good as I can.
First, the zip contains 2 files. Only edit cpanelemail.php with your domain info.
Main parts are:
$ip = "YOUR IP HERE" , $account = "cpanel username" and $passwd ="cpanel password" ..
You will also find custom html I made below at the bottom.
Second, upload those 2 files to root of vbulletin forum.
The last part is the vbulletin "Custom Page" tutorial here:
https://vborg.vbsupport.ru/showthread.php?t=228112
Your must do this part to input into a custom page with your layout.
However, the second part "Create the Template:" instead of entering "text" you will enter:
<iframe src="http://www.YOURdomain.com/forum/cpanelemail.php" width="75%" height="400
Which is the link to the cpanelemail.php file.
None of the files were mine but I was able to do both steps to get it to work.
Hopefully someone can make this into a plugin. But it does work. That enables my members to create their own emails.
So a quick breakdown... The cpanel files are put "in frame" into vbulletins custom page.
As far as protection, I'm thinking it's not as secure as if you were to put the php files before "public_html"
I'm just hoping someone can make a plugin.
Hope you guys like it. It's a few extra steps but it works!
Guests can create cpanel email accounts. I will try and explain this as good as I can.
First, the zip contains 2 files. Only edit cpanelemail.php with your domain info.
Main parts are:
$ip = "YOUR IP HERE" , $account = "cpanel username" and $passwd ="cpanel password" ..
You will also find custom html I made below at the bottom.
Second, upload those 2 files to root of vbulletin forum.
The last part is the vbulletin "Custom Page" tutorial here:
https://vborg.vbsupport.ru/showthread.php?t=228112
Your must do this part to input into a custom page with your layout.
However, the second part "Create the Template:" instead of entering "text" you will enter:
<iframe src="http://www.YOURdomain.com/forum/cpanelemail.php" width="75%" height="400
Which is the link to the cpanelemail.php file.
None of the files were mine but I was able to do both steps to get it to work.
Hopefully someone can make this into a plugin. But it does work. That enables my members to create their own emails.
So a quick breakdown... The cpanel files are put "in frame" into vbulletins custom page.
As far as protection, I'm thinking it's not as secure as if you were to put the php files before "public_html"
I'm just hoping someone can make a plugin.
Hope you guys like it. It's a few extra steps but it works!