SnippetMaster Support Forums
Return to main website
 
February 19, 2018, 03:52:37 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 19, 2018, 03:52:37 AM

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

Posts: 3


[-] My request
« on: August 02, 2003, 08: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 & Feature Requests  |  Topic: My request « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!