SnippetMaster Support Forums
Return to main website
 
May 23, 2012, 08:53:02 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?
May 23, 2012, 08:53:02 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Website creation kit « previous next »
Pages: [1] Print
Author Topic: Website creation kit  (Read 1303 times)
ShaunsSite

Posts: 4


WWW
[-] Website creation kit
« on: April 22, 2003, 12:37:53 AM »

Hey there..

Just thought I'd let you know how I'm planning to use Snippetmaster; maybe it'll give you a few ideas, and maybe you can help me out with some problems I am going to face! (sorry this post may be quite long!)

OK, I know you said it's for editing pre-built websites, and not for creating new sites - but I thought I could adapt it to my needs. You see, I have been offering free hosting on my site for people's personal sites (friends at college, etc.) for a long time now, but they had to use Frontpage and I had to give away my website's password, so I looked into other methods and found this!

I installed snippetmaster some time ago, but had problems. Now I remembered about it, and tried the newest version of Lite - and it works fine so I think I'll get Pro soon.

Basically what I'm planning to do is as follows:

1. Create copy of snippetmaster for each user, in a directory like "/login-username"

2. In each user's directory [/username], add a template file [template.php]


The template file will contain the stylesheet, the overall look of the site and also the following include:

Code:
<?php include&#40;"$page.htm"&#41;;?>


3. In each user's directory, add 10 blank pages. [1.htm, 2.htm... 10.htm]

Each of the pages will be as follows:

Code:
<body>

<snippet name="Main">

Insert your HTML here!

</snippet>

</body>


Basically a completely blank page

4. In each user's directory, an index page

The index page will be as follows:

Code:
<? header("Location:template.php?page=1"); ?>


So that it goes straight to page 1.

So all the webmaster has to do is edit "1.htm" for the index page, and each other page for extra pages he/she wants on the site.

Problems:
- Is there any way to disable the "upload" function in Pro? Or only enable it if I allow them? Cos I don't want them uploading things willy-nilly

- In order to link to each page, they'd have to link to something like:

Code:
template.php?page=5


This could be annoying!

- If they wanted more than 10 pages, I'd have to upload more.

- If they wanted to change the template, I'd have to do it for them [I could make the template a snippet, but then would risk them messing it up]

- - - - -

What do you think? I think it could work pretty well.

Obviously, I'm not charging them for it - so is it ok for just a pro regular license?

Thanks for reading my ramblings!

Shaun  Laughing
Report to moderator   Logged

admin
Forum Administrator
*
Posts: 3070

SnippetMaster Author


WWW
[-] Website creation kit
« Reply #1 on: April 22, 2003, 05:41:29 PM »

The next version of snippetmaster allows the ability to enable/disable uploading based on username and permissions.

I think your concept is good.. although rather complicated.  I do think the next vesion of SM will be much better suited for what you're trying to do, because you could simply add a new user, limit what folders they can see, and then specify each snippet they can see.

One license is all you need as long as everything is on the same domain name.

Cheers!
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Website creation kit « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!