Post Reply  Post Thread 
Per reseller templates for domain index and logo
Author Message
tioan Offline
Junior Member
*

tioan
Junior Member
*


Posts: 22
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 0
Post: #1
Per reseller templates for domain index and logo
I think it will be good if every reseller can use its own personal templates for domain index and errors.
That can be realized as every reseller get its special directory, with two sub folders
$reseller/domain_default_page
and
$reseller/logo
Then the reseller need access to $reseller over ftp or ispcp-gui (like uploading personal logo).
Then the ispcp engine check if an new user are created if some files under $reseller/domain_default_page and copied them to $domain/htdocs or if $reseller/domain_default_page are emtpy /var/www/ispcp/gui/domain_default_page/ will be copied to the new users htdocs.

This way will also work for the reseller logos if $reseller/logo is empty ispcp default logo will be use if some image file exist under $reseller/logo/ exist that will be displayed as resellers personal logo.

I hope someone will support this idea and understand my bad english.

Mattheus

Using ispCP RC2 on Debian etch.
-----------------------
Make mod_f(ast)cgi more stable!
07-27-2007 01:56 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
****
Dev Team

raphael
Member
****
Dev Team


Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #2
RE: Per reseller templates for domain index and logo
You can open a ticket (enhancement, feature). But it probably won't be done that way. Storing the template in a MySQL table is easier.

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
07-27-2007 05:54 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Junior Member
**
Graph Team

BioALIEN
Junior Member
**
Graph Team


Posts: 238
Group: Graph Team
Joined: Feb 2007
Status: Offline
Reputation: 0
Post: #3
RE: Per reseller templates for domain index and logo
raphael Wrote:You can open a ticket (enhancement, feature). But it probably won't be done that way. Storing the template in a MySQL table is easier.

You mean just the template vars or everything? Because this will create a problem with servers where DB is the bottleneck.

BioALIEN
OS: Debian 4.0 Etch
ispCP Build: RC3 r953 - 28.12.07
Mods: AWStats dynamic
07-30-2007 06:45 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Junior Member
*

kilburn
Junior Member
*


Posts: 152
Group: Registered
Joined: Feb 2007
Status: Offline
Reputation: 5
Post: #4
RE: Per reseller templates for domain index and logo
I think that what raphael means is:

1. Let the reseller upload it's default page text to a GUI's textarea
2. Store this on a db field
3. Whenever a new client is created for this reseller, generate the .html file from this db field

No bottleneck this way, no ftp/vfs needed...
07-30-2007 08:00 PM
Find all posts by this user Quote this message in a reply
raphael Offline
Member
****
Dev Team

raphael
Member
****
Dev Team


Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #5
RE: Per reseller templates for domain index and logo
kilburn Wrote:I think that what raphael means is:

1. Let the reseller upload it's default page text to a GUI's textarea
2. Store this on a db field
3. Whenever a new client is created for this reseller, generate the .html file from this db field

No bottleneck this way, no ftp/vfs needed...

completely right Big Grin

YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more
Quote:This is Linux land. In silent nights you can hear the Windows machines rebooting.
If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price
07-31-2007 01:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this thread |

Forum Jump:

| All rights reserved : isp-control.net |