SnippetMaster Support Forums
Return to main website
 
November 27, 2005, 09:00:24 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 27, 2005, 09:00:24 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Suggestions  |  Topic: My request « previous next »
Pages: [1] Print
Author Topic: My request  (Read 251 times)
thepcman
Beta Tester

Posts: 3


[-] My request
« on: August 02, 2003, 09:15:59 PM »

I want to use snippetmaster to allow users to edit pre design templates.

I am planning to use Xpanel ( http://www.xpanel.org ) to assign the subdomain to the users and then use snippetmaster to allow them to edit their pages (logos, slogans etc)

It is perfect for that but I have a problem. I want to purchase multiple license then have it pre-installed in a folder then copied to the user account and ready for the user to use once they sign up.

can snippet master use variables in the config file and read site path?

Example => in config.inc.php
Code:

$PATH = "/home/snippetm/public_html/snippetmaster";

$ROOT = "/home/snippetm/public_html";

$PREVIEW = "http://www.snippetmaster.com";

$URL = "http://www.snippetmaster.com/snippetmaster";


Create a client variable path value ($clientsubdomain) which will be read from the server path where snippetmaster installed.

Example

Code:

$PATH = "/home/mysitename/public_html/$clientsubdomain/snippetmaster";

$ROOT = "/home/mysitename/public_html/$clientsubdomain";

$PREVIEW = "http://$clientsubdomain.mysite.com";

$URL = "http://$clientsubdomain.mysite.com/snippetmaster";

I am not a programmer, I speak english not php. I said it in english can you say it in PHP for me.



can this be done ????
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Suggestions  |  Topic: My request « previous next »
Jump to:  

Powered by MySQL Powered by PHP SnippetMaster Support Forums | Powered by SMF 1.0.5.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!