|
A few small bugs and suggestions
|
|
09-08-2009, 05:00 PM
Post: #1
|
|||
|
|||
|
A few small bugs and suggestions
Hello all,
I saw that nick opened a thread on our forum about the new version being released so i had to have a go on it lol! I installed it and did a few tests here is what i found out. Bug 1: Small bug lol: http://umarsvps.com/tht/client/ Hover over the green bug thing and you will see that "%SOFTWARE%" does not get replaced Smile Bug 2: Another one lol: http://umarsvps.com/tht/admin/?page=lof⊂=tchoose (admin page) When you change to "reloadedtwo" the page goes all funny like so: (check attachment). Attachment: http://www.hostwoot.com/forums/attachment.php?aid=84 Improvement: The client import feature from WHM should grab the email instead of using "imported-whm@account.com". This creates big problems in the future if you need to contact your clients. Thats all for now, sorry to report bugs already.. I don't personally use THT but i thought i should check v1.2 ![]() Thanks! |
|||
|
09-08-2009, 05:05 PM
(This post was last modified: 09-08-2009 05:06 PM by Kevin.)
Post: #2
|
|||
|
|||
|
RE: A few small bugs and suggestions
Bug 1:
Looks like we forgot to parse that. ![]() Bug 2: I don't think that theme was ever completed. Jimmie? ![]() Improvement: I believe the problem is that there is no easy way to grab the email from WHM. I don't see why thought. Jonny wrote that part. http://twiki.cpanel.net/twiki/bin/view/A...stAccounts Kevin Mark - TheHostingTool Lead Developer |
|||
|
09-08-2009, 05:12 PM
Post: #3
|
|||
|
|||
|
RE: A few small bugs and suggestions
There actually is a way to grab the email. I will write this up as soon as i get used to THT scripting.
The XML-API is not working ![]() Im guessing you use it like so?: http://umarsvps.com/tht/xml-api/index.ph...sion&auth=AUTHKEYHERE If you do then i keep getting: <error>Authentication failed.</error> If that is not how i use it then please do correct me lol.. |
|||
|
09-08-2009, 05:19 PM
Post: #4
|
|||
|
|||
RE: A few small bugs and suggestions
(09-08-2009 05:12 PM)umarsa Wrote: There actually is a way to grab the email. I will write this up as soon as i get used to THT scripting. If your server supports mod_rewrite then this url also works: Code: http://umarsvps.com/tht/xml-api/version/authYou can't just paste your auth key into it. You have to hash it a certain way. We'll be releasing some form of documentation on how to use this API soon!
Kevin Mark - TheHostingTool Lead Developer |
|||
|
09-08-2009, 05:21 PM
Post: #5
|
|||
|
|||
|
RE: A few small bugs and suggestions
Hmm i think most servers support mod_rewrite lol.
How on earth do i hash it?? |
|||
|
09-08-2009, 05:28 PM
Post: #6
|
|||
|
|||
|
RE: A few small bugs and suggestions
About the WHM Importer.
When you use the API to get all the information for the WHM accounts it doesn't pass along the email. Jonny H - THT Main Developer & Founder |
|||
|
09-08-2009, 05:32 PM
Post: #7
|
|||
|
|||
RE: A few small bugs and suggestions
(09-08-2009 05:21 PM)umarsa Wrote: Hmm i think most servers support mod_rewrite lol. Here's a copy & paste from our developmental forums: The format for the XML-API will be like: Code: xml-api/function/authIf you had to pass a param to the function you would do it like this: Code: xml-api/function/params/authNow how would you hash these functions to create a valid auth? If you have no params: PHP Code: hash('sha512', sha1($function) . sha1($key)) Now if you have parameters... PHP Code: hash('sha512', sha1($function . '|' . $params) . sha1($key)) (09-08-2009 05:28 PM)Jonny Wrote: About the WHM Importer. Yes it does... http://twiki.cpanel.net/twiki/bin/view/A...stAccounts Kevin Mark - TheHostingTool Lead Developer |
|||
|
09-08-2009, 05:38 PM
Post: #8
|
|||
|
|||
|
RE: A few small bugs and suggestions
Well it didn't when I wrote that function
I printed the whole of the array I got and it wasn't there.
Jonny H - THT Main Developer & Founder |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)




![[Image: standard.png]](http://twitstamp.com/kev1nmark/standard.png)
![[Image: standard.png]](http://twitstamp.com/thehostingtool/standard.png)


I printed the whole of the array I got and it wasn't there.