ispCP - Board - Support
New hosting-plans overview - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: New hosting-plans overview (/thread-5472.html)



New hosting-plans overview - DiXeoN - 01-19-2009 05:10 AM

Hello.

I am interested in showing my hosting plans on my website, and therefore included the page, which works fine after some small modifications.

But then i have something that i would like to have some help with:

I would like to be able to show a short resume of the things you see when you click on the package-name, if you get it?
I want to show something like disk space, mysql accounts and so on.

Also, i would like to be able to show the setup fee.


I hope that somebody will help me.


Greetings


RE: New hosting-plans overview - WolFree - 01-19-2009 07:29 AM

If nobody know, how to directly get this information out of ispcp, I can help you with a parser, that parses the keyinformation in a php value, so you can include it. For that, you have to be able to open the template over /orderpanel/package_info.php in your ispcp domain so the parser can open it... this way is not that beautiful, but works. Smile


RE: New hosting-plans overview - DiXeoN - 01-19-2009 04:10 PM

Well, maybe i could make a new mini_pkginfo.php, and then include that one into it?

But I still need some help with the including process.

Maybe it would be best to take all the data directly from the mysql server instead of including all the documents?


RE: New hosting-plans overview - DiXeoN - 01-19-2009 09:52 PM

hmm.. doesnt quite seem like anybody knows? Or?

Anybody who knows what the default username for the ispcp-mysql account is?


RE: New hosting-plans overview - DiXeoN - 01-20-2009 05:10 AM

Is here really nobody able to help me, with this little thing, as the default mysql password?


RE: New hosting-plans overview - rbtux - 01-20-2009 05:11 AM

there is no default... you specify that during the installation...


RE: New hosting-plans overview - DiXeoN - 01-20-2009 05:12 AM

Yes, but there is something written there by default (which i chose), and i just wanted to know what it was.


RE: New hosting-plans overview - rbtux - 01-20-2009 05:14 AM

open a mysql shell

mysql -u root -p mysql

then do

select * from user;

this will list all users...


RE: New hosting-plans overview - DiXeoN - 01-20-2009 05:22 AM

What I get is:

root
pma
vftp
debian-sys-maint

and some i made myself.

Which one looks like the one i need?
Allright, i figured out that they are at the root user in the ispcp database and the hosting_plans row Smile