Current time: 12-24-2024, 10:30 AM Hello There, Guest! (LoginRegister)


Post Reply 
New hosting-plans overview
Author Message
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #1
New hosting-plans overview
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
01-19-2009 05:10 AM
Find all posts by this user Quote this message in a reply
WolFree Offline
Junior Member
*

Posts: 50
Joined: Jan 2009
Reputation: 0
Post: #2
RE: New hosting-plans overview
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
01-19-2009 07:29 AM
Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #3
RE: New hosting-plans overview
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?
(This post was last modified: 01-19-2009 04:11 PM by DiXeoN.)
01-19-2009 04:10 PM
Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #4
RE: New hosting-plans overview
hmm.. doesnt quite seem like anybody knows? Or?

Anybody who knows what the default username for the ispcp-mysql account is?
(This post was last modified: 01-19-2009 09:54 PM by DiXeoN.)
01-19-2009 09:52 PM
Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #5
RE: New hosting-plans overview
Is here really nobody able to help me, with this little thing, as the default mysql password?
01-20-2009 05:10 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #6
RE: New hosting-plans overview
there is no default... you specify that during the installation...
01-20-2009 05:11 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #7
RE: New hosting-plans overview
Yes, but there is something written there by default (which i chose), and i just wanted to know what it was.
01-20-2009 05:12 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: New hosting-plans overview
open a mysql shell

mysql -u root -p mysql

then do

select * from user;

this will list all users...
01-20-2009 05:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
DiXeoN Offline
Member
***

Posts: 284
Joined: Feb 2008
Reputation: 2
Post: #9
RE: New hosting-plans overview
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
(This post was last modified: 01-20-2009 05:53 AM by DiXeoN.)
01-20-2009 05:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)