configure default design settings of control panels


hi,
i want to configure default design settings such as skins and color schemes of admin and users’ control panels. how can i do it

advance thanks for any help

Changing Look& Feel in your admin control panel will affect all end users in your H-Sphere system.

To change the Look& Feel of the control panel, do the following:-

  1. Select Design Settings from the Look and Feel menu.
  2. On the page that appears select the default skin from the Choose Design box.
  3. Click the Modify button.
  4. On the page that appears, change the design settings
  5. Change control panel color and image set in the Color Scheme Setting section
  6. Create your own custom color scheme by changing default color schemes.
  • Click Preview Window to see how your settings will effect users’ control panel.
    -Click Reset to return to default color scheme.
  • Click Save to save your custom color scheme settings. It will appear in the Color Scheme drop-down box.
    If you don’t save Custom Color Settings and return to one of the four standard, all your custom configuration will be lost.

 

Cpwebhosting.net control panel


Cpwebhosting.net is having the H-shpere Control Panel (CP) which is the logical representation for managing servers and hosting resources via web interface. It is implemented as a Java servlet that runs on its own Apache server. CP is a separate logical server and is included in every H-Sphere configuration.

Softwares installed on the CP of cpwebhosting.net


On Cpwebhosting.net softwares that are installed with the H-shpere control panel are:

* Apache server v.1.3.31
* SSL support: OpenSSL v.0.9.7c
* CP back-end servlet engine:
– before v.2.4 — Apache JServ: jdk 1.3.x + jsdk2-2.0
– v.2.4 betas 1-3 — Jakarta Tomcat: jdk 1.4.x + jsdk2-2.0 + tomcat 4.1.x
– v.2.4 beta 4 and up — Jakarta Tomcat: jdk 1.4.x + jsdk2-2.0 + tomcat 5.1.x
* System database: PostgreSQL server v.7.1.3 or higher
* Additional packages:
SiteStudio v.1.6 – H-Sphere package that enables end users building their own sites even without basic web design knowledge.
– XFree86-Xvfb-4.x.x – package used by SiteStudio ImageMaker for image generation.

changing Default System Language


hi,
i have a web hosting account with H-Sphere control panel but now i want to change Default System Language to French language. plz. help

yes, u can change Default System Language.

Default language is the language of newly created accounts, including navigation menu, form and control labels, context help, and system messages. However, every user can override the default language with one of those available in the user control panel.

Currently H-Sphere comes with the following languages: English, Russian, Italian, French, Spanish, Dutch, German and Portuguese. You can also add new languages by installing language packages,compiling new language bundles, or bulding new language packages.

Default language affects the default regional settings. You can set custom currency or currency pattern, but mind that they will be lost once you change to another language.

To change the default language:

1. Go to Default Language in the Look and Feel menu.
2. Select language from the drop-down box.
3. Click Submit to save changes.
4. Proceed to Regional Settings configuration.

Can we change Admin Interface Language?

To change admin interface language:

1. Go to Language in the Admin User menu.
2. Select language from the drop-down box.
3. Click Submit to save changes.

Age verifcation code


Hello friends,

I am looking for a script or code to put it on a index page of adult site that asks for visitors age and verified it

can anyone help me with this please

why php, u can also do it with the use of HTML

why script, u can also do it with the use of HTML

No, I dont want this in HTML so that user has to go thru this every time.. i want it to set a cookie if user has already entered his/her age… once he dont have to do it again..

Use this PHP code

Code:
<?php

$verified = false;

if ($_POST['verify'])
{
    extract(array_map('intval', $_POST));

    if (!checkdate($month, $day, $year))
    {
        exit('Invalid birthday.');
    }

    $now = mktime(0, 0, 0);
    $birthday = mktime(0, 0, 0, $month, $day, $year);
    $age = intval(($now - $birthday) / (3600 * 24 * 365));

    if ($age >= 18)
    {
        setcookie('age_verified', 1, time()+3600*24*7, '/');
        $verified = true;
    }
    else
    {
        echo 'Sorry, you are too young.';
    }
}

?>

<?php

if (isset($_COOKIE['age_verified']) OR $verified)
{
    // Page content
}
else
{
?>
<form action="" method="post">
<select name="day">
<option>Day</option>

<?php

for ($day = 1; $day <= 31; $day++)
{
    echo "t". '<option value="'. $day .'">'. $day ."</option>n";
}
?>
</select>

<select name="month">
<option>Month</option>

<?php

for ($month = 1; $month <= 12; $month++)
{
    echo "t". '<option value="'. $month .'">'. $month ."</option>n";
}
?>
</select>

<select name="year">
<option>Year</option>
<?php

for ($year = date('Y')-80; $year <= date('Y'); $year++)
{
    echo "t". '<option value="'. $year .'">'. $year ."</option>n";
}
?>
</select>

<input type="submit" name="verify" value="Submit" />
</form>

<?php
}
?>

Communication between different servers



Communication of servers in H-shpere clusters is done through Control Panel. There is no way for servers like web and DNS exchange commands directly.

Control Panel uses Shell or Perl scripts via SSH protocol (port 22) as the cpanel user, to communicate with Linux/Unix servers.
Communication between the CP and Windows servers is performed through the SOAP protocol (port 10125), which allows for cross-platform exchange of data in XML documents via HTTP.

default icons and control images


i want to change default icons and control images of my web hosting account . plz. help

To change default icons and control images:

  1. Select Design Settings in the Look and Feel menu.
  2. Ask your parent host to send you the default control panel images. Create “IMAGES” directory and put the received images into it. Place the directory with the images to a custom location.
  3. Replace the images you want to change. New images must have the same sizes as the defaults.
  4. Go to Look and Feel -> Design Settings and click Change at the bottom of page.
  5. In the Base Image Directory field, enter the path to the IMAGES directory

If you made a mistake and your images do not show, just clear the Base Image Directory field, and click Submit. The original path will be restored.

move the thread data from PHP to ASP



hi,
Resently i have made a website and forum in ASP but my old website and forum in PHP. now I am wondering if there was a way to move the thread data from the old php to the new ASP?
If your information was stored in something like MySQL or other SQL engines, there will be no prolems transfering it… It is better to say – no need for transferring, cause data storage is apart.
forum information is not stored in “PHP” or “ASP.” they’re stored in databases.
if u r using the same forum software, it should be convertable quite easily. if it’s not, it’ll be complicated.
if you’re moving from one platform to another though– say vbulletin to some-crazy-asp-board-software, the database structure will be different.

Location Of Control Panel Files And Directories


By default, the cpanel user home directory is /hsphere/local/home/cpanel.

Files and Directories that can be located in the control panel:

CP Apache installation
apache

CP Apache configuration
apache/etc

CP Apache configuration file
apache/etc/httpd.conf

H-Sphere related binary and config files
shiva

H-Sphere config files
shiva/psoft_config

H-Sphere config file
shiva/psoft_config/hsphere.properties

file that contains version number of H-Sphere
shiva/psoft_config/HS_VERSION

H-Sphere templates location, DocumentRoot for Apache server
shiva/shiva-templates

Redirect to control panel; served when the http://cp.cpwebhosting.net.com:8080/ CP URL is accessed
shiva/shiva-templates/index.html

SiteStudio config file (could be on a different server)
/hsphere/shared/SiteStudio/psoft_config/masonry.properties

Removing name server from zone files


Is there any way to remove a NS record from zone files in hsphere?

I’m doing some Spring cleaning and want to remove one of the name servers from my cluster.

If its actually being used you can’t just remove it. What do you see as far as

Master DNS Servers – XXX
Slave DNS Servers – XXX

Any numbers here other than zero ??

DNS Creator is a utility that re-creates DNS data to new DNS servers. Use this utility to republish DNS data to a different box or add an extra DNS server.

To create DNS:

1. Log into your control panel server as the cpanel user.

2. Run DNS Creator