Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some issues with tht
#1
Hello sir,
this is sai mohit and I really appreciate your hardwork in thehostingtool which is really cool !!!.I also use it for my host http://pro-hoster.org

I really find it quite easy and professional to use . But I also wanted to do some changes within the tht and need some help

1.Integration of secure remote logins in cpanel . I want my users to directly access cpanel via whm . I want it via login page (if possible) . If not some via menu ,here is where I could find the moreinformatio

http://docs.cpanel.net/twiki/bin/view/Al...moteLogins

2.I also wanted to delete some custom orfer fields , please be explainatory

3.I also indeed wanted to know how to delete the ticket section . I wanted to show some offline message to my customers , showing that support is only available through forums

Any help would be really appreciated and I would be greatful

PLease HELP HELP HELP

Thanks and Regards,
Sai Mohit
Reply
#2
Moved Topic as not a direct support request more of a feature request,
Thanks for reading my post guys!
EddiesLife247 - YouTube Producer - THT Support Team
WEB: http://eddieslife247.co.uk/

Supporting TheHostingTool Community!

Need help, i don't mind pms but please post support questions in the general support board.
Reply
#3
Also regarding cpanel remote login integration i had found some interesting facts as follows

It can be integrated in 2 ways :

1.By sending a request to the server like http://www.yourdomain.com:2082/login/?us...=$pass , when clicked on login button . I think this is super and quite easy for kenvin to integrate.

2. By keeping a cpanel access button :
And to be coded as follows
#!/usr/bin/perl
use lib '/usr/local/cpanel';
use Cpanel::LogMeIn ();

my $user =
USERNAME; #cPanel, WHM, or Webmail username entered at login
my $pass =
PASSWORD; #cPanel, WHM, or Webmail password entered at login
my $host = DOMAIN
; #Domain name associated with the cPanel, WHM or webmail account being pulled from a database
my $service =
'cpanel'; #The service we want to login to (cpanel or whm or webmail)

my ( $login_ok, $login_message, $login_url ) =
Cpanel::LogMeIn::get_loggedin_url(
'user' => $user,
'pass' => $pass,
'hostname' => $host,
'service' => $service,
'goto_uri' => '/'
);

if ($login_ok) {
print "Location: $login_url\r\n\r\n";
}
else {
print "Content-type: text/plain\r\n\r\n";
print "LOGIN FAILED: $login_message\n";

If any details please ask and i want kenvin to do this for me .At least something is better than nothing

Also regarding cpanel remote login integration i had found some interesting facts as follows

It can be integrated in 2 ways :

1.By sending a request to the server like http://www.yourdomain.com:2082/login/?us...=$pass , when clicked on login button . I think this is super and quite easy for kenvin to integrate.

2. By keeping a cpanel access button :
And to be coded as follows
#!/usr/bin/perl
use lib '/usr/local/cpanel';
use Cpanel::LogMeIn ();

my $user =
USERNAME; #cPanel, WHM, or Webmail username entered at login
my $pass =
PASSWORD; #cPanel, WHM, or Webmail password entered at login
my $host = DOMAIN
; #Domain name associated with the cPanel, WHM or webmail account being pulled from a database
my $service =
'cpanel'; #The service we want to login to (cpanel or whm or webmail)

my ( $login_ok, $login_message, $login_url ) =
Cpanel::LogMeIn::get_loggedin_url(
'user' => $user,
'pass' => $pass,
'hostname' => $host,
'service' => $service,
'goto_uri' => '/'
);

if ($login_ok) {
print "Location: $login_url\r\n\r\n";
}
else {
print "Content-type: text/plain\r\n\r\n";
print "LOGIN FAILED: $login_message\n";

If any details please ask and i want kenvin to do this for me .At least something is better than nothing
Reply
#4
I have written the above Perl function in PHP but I'm in the process of contacting cPanel to make sure there won't be any licensing/copyright issues.
Kevin Mark - TheHostingTool Lead Developer
Reply
#5
I had contacted them already and they said no copyright issues
Reply
#6
After speaking with cPanel's VP of Operations, LogMeIn.pm is now dual-licensed allowing modification and use elsewhere as long as a copyright and license notice stays intact. This is the port I'll be using in THT to provide the required functionality: https://gist.github.com/4440574
Kevin Mark - TheHostingTool Lead Developer
Reply
#7
Can you also please tell me how to edit the logmein.php , according to my needs
Also how to make a page with default template in tht
And how can i add a tab in the customer menu

Please sir, help me .Thank you for your great afforts
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)