Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-12-2004, 07:48 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
Brad - for your consideration.

Ok, I'm getting kinda fed up with the lack of information available to be "exported" out of HSphere, simple things like a listing of customer details, plans they're on, domains loaded etc etc etc

What I was wondering is if Brad would consider commissioning some of his coding expertise at hand to create a series of scripts external to the core HSphere stuff that resellers could use to get simple .csv files or displays of data in the main PGSQL database pertinent to them.

For starters something really simple like a script where the Reseller could enter their reseller name and password, be presented with a list of basic customer related DB fields, select what they want to display and the script would then just select these from the database and either display or present to the user for download in a nice csv format.

I'm prepared to chuck a few $$$ Vortech's way to get something like this developed (and I'm sure there's other resellers too that would be happy to contribute too) I would also expect there to be a market for something like this to be sold/licensed to other HSphere resellers which would turn a few more dollars Vortech’s way.

The script would only ever allow the reseller to display information, never update it external to HSphere so I can't think of any real security issues with doing something like this, but I could be missing something too.
Reply With Quote
  #2  
Old 04-12-2004, 07:58 PM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
Does seem like exporting should not be a big deal. I suppose hsphere really has no interest in this since it may involve another program.
Reply With Quote
  #3  
Old 04-12-2004, 08:12 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
I can't understand why they haven't added the functionality into HSphere really, they already have the code there to "export" becuase several of the reports let you do this so adding it to say the search screens shouldn't be all that hard ... I've checked 2.4 and theres no sign of anything new in this regard hence asking if Brad could work something out ... I can't see it taking more than a few hours to actually even code personally.
Reply With Quote
  #4  
Old 04-12-2004, 09:05 PM
Bladesnitz
Guest
 
The core database is a huge mess to me. I'm sure Psoft has some sort of organization to it, but reliably pulling all the data can be a bit tedious. Let alone the fact that as a reseller, you only have access to you're data, so thats every select statement would have to ensure that the data pulled is yours. This can be tremendously difficult depending on what data. DNS records for example, are stored in a table with some ID, this ID points to another ID, etc. etc. There could be 3 or 4 "hops" before you hit a reseller id.

Either way, there would be a simple modular method to implement this... The best example I have to suggest you is the current reports section and whatnot... I guess Psoft just needs a way to export the data you pull up in searches.. :/


So its not just an easy coding and I believe any implementation would be a HUGE security risk.

I don't think this will be done as you describe.

BUT:

Look here:

http://www.psoft.net/HSdocumentation/devel/index.html

http://www.psoft.net/HSdocumentation...s_xml_api.html

http://www.psoft.net/HSdocumentation...re-xml-api.pdf


The XML API may be for resellers... Not sure ;/

Reply With Quote
  #5  
Old 04-12-2004, 09:42 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
My understanding was the XML API wouldn't be for resellers (but I'll cross my fingers and hope I'm wrong).

I would have expected that every column has something like the reseller ID etc as a key to be able to negate security issues, I guess if its so bad it would go a long way to explaining why performance is so p*** poor I guess ... they should be shot though too if its like that.

Looking at that first link I don't see it being all that bad really, seems theres a fairly logical structure to me .. obviously hard to say 100% without seeing the entire DB Schema

Actually just rereading your post again Matt it sounds to me like its fairly well normalised which isn't a bad thing after all

Last edited by Brangwyn : 04-12-2004 at 09:49 PM.
Reply With Quote
  #6  
Old 04-12-2004, 09:51 PM
Brangwyn Brangwyn is offline
T3CHN0 STUD
Vortech Inc. Customer
 
Location: New Zealand (Wellington)
Mind enabling the XML API on the 2.4 test install we have? The second doc you linked too explains how-to
Reply With Quote
  #7  
Old 04-12-2004, 10:03 PM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
Looks like someone is already using the pdf api. That's just a guess I really didn't look at the addon that closely. (hspheretools.com) Where's the 2.4 test...missed that...will go look.
Reply With Quote
  #8  
Old 04-12-2004, 10:06 PM
Bladesnitz
Guest
 
Its on now... Works too...

As admin:

>searchbydomainname vortechhost.net
>Params:1:vortechhost.net
User name - wwwuser
Account id - 1136
Created - 2004-01-14 15:43:52.67
Email - webmaster@vortechhost.net
Billing type - Check
Balance - 0.0
Credit - 0.0
PEnd - 2004-04-14
Account description - Account
Domain - vortechhost.net
Domain type - Service Domain


As a reseller:

>searchbydomainname vortechhost.net
>Params:1:vortechhost.net
Error : java.lang.Exception: Not found admin resource
Reply With Quote
  #9  
Old 04-12-2004, 10:13 PM
Bladesnitz
Guest
 
Also:

http://cp.vortechhost.net:8180/psoft...et/AxisServlet
Reply With Quote
  #10  
Old 04-12-2004, 10:30 PM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
Cool...have to check it out.
Reply With Quote
  #11  
Old 04-12-2004, 10:53 PM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
Quote:
Originally Posted by Bladesnitz
Its on now... Works too...

As admin:

>searchbydomainname vortechhost.net
>Params:1:vortechhost.net
User name - wwwuser
Account id - 1136
Created - 2004-01-14 15:43:52.67
Email - webmaster@vortechhost.net
Billing type - Check
Balance - 0.0
Credit - 0.0
PEnd - 2004-04-14
Account description - Account
Domain - vortechhost.net
Domain type - Service Domain


As a reseller:

>searchbydomainname vortechhost.net
>Params:1:vortechhost.net
Error : java.lang.Exception: Not found admin resource


When I log onto demo and go into admin and Search by domain name using vortechhost.net I don't get anything. I don't see it listed in generic searches either. Am I missing something?
Reply With Quote
  #12  
Old 04-12-2004, 10:58 PM
Bladesnitz
Guest
 
Uhm no.. vortechhost.net isn't your domain... Its owned by admin. I was using the command line test utility psoft provides to demonstrate that when I logged in as ADMIN I could look up vortechhost.net, but when I was a reseller underneat, I couldn't. So the security of data is preserved... IE I can only lookup what I should...?

Can you look up hsphere.cc in your current control panel?
Reply With Quote
  #13  
Old 04-13-2004, 12:04 AM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
Quote:
Originally Posted by Bladesnitz
Uhm no.. vortechhost.net isn't your domain... Its owned by admin. I was using the command line test utility psoft provides to demonstrate that when I logged in as ADMIN I could look up vortechhost.net, but when I was a reseller underneat, I couldn't. So the security of data is preserved... IE I can only lookup what I should...?

Can you look up hsphere.cc in your current control panel?

I knew it wasn't mine and owned by admin I just assumed when you said as admin in search by domain that is what you meant in cp. I used the demo and logged in as admin. So apparently, you are really logged in as admin. Thanks for clarification, I was confused.
Reply With Quote
  #14  
Old 04-13-2004, 12:05 AM
Bladesnitz
Guest
 
I wasn't logged into the CP, was using the Hsphere XML API test utilities...
Reply With Quote
  #15  
Old 04-13-2004, 12:08 AM
mresell's Avatar
mresell mresell is offline
ePerson
Vortech Inc. Customer
 
Location: Around the \bin
If I use my real admin cp and put hsphere.cc into search by domain name I get nothing.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Brad, you're my only hope... jmbeach Chit Chat Public 81 09-23-2004 07:05 AM
BRAD... Please help me understand Funnyhat Chit Chat Public 1 11-07-2003 07:59 PM
@mail - question for Brad jmbeach Chit Chat Public 0 09-18-2003 11:41 AM
is it possible that brad will get some sleep tonight? bootNumlock Chit Chat Public 14 05-09-2003 01:19 PM


All times are GMT -5. The time now is 02:45 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Vortech Inc. ©2005
Page generated in 0.64614 seconds with 14 queries
[Output: 107.26 Kb. compressed to 98.46 Kb. by saving 8.80 Kb. (8.21%)]