Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Monday, May 20 2013 @ 05:36 AM EDT


 Forum Index > Extensions > Cool Hacks New Topic Post Reply
 Static Pages from Files on Web Server Hack
   
Anonymous: phpsocialclub
 11/16/04 06:49PM (Read 1414 times)  



I have been working on a hack to allow you to use Dreamweaver or another HTML editor to edit your files off line and then upload them into your site via FTP and then have them show up as a static page from within geeklog.

I am wondering if people would like me to develop this into an official hack or try to get it into the official version

So far I have the following functions working.

Show static file as part of static page
Writeback from geeklog admin onto file.

I am sure there are plenty of security problems that I need to address.

What functions would people think I should add.

What security issues should I address

Andrew

 
 Quote
rjrufo
 11/20/04 09:40PM  
++++-
Regular Poster

Status: offline


Registered: 06/14/03
Posts: 95
Interesting idea. I think that would be a very useful hack, or maybe a plugin, so when you complete it, post it in the downloads area.

A question I have though, since the content of the staticpages is kept in the database, how do you go about editing the page in a WYSISWYG editor and sending it to the database? It seems that you'd have to upload the page, write code to copy the text from that page, and insert it into the database table. To me, that would be like duplicating the file.

Unless of course, you intend on doing away with the database altogether and formatting the static page to fit within the right and left blocks. Which might not be a bad idea...

 
Profile Email
 Quote
Anonymous: phpsocialclub
 11/23/04 07:38PM  



So far i have set the page to write back to the static file. You need to set the permissions up so that you can edit them along with the web server. Also, I load the page back into the database to make sure the backup of the DB and the search still work. It is kinda redundant, but it is a hack,

I am going to see if I can get it included in the development tree, but if not I will make a pluging

 
 Quote
Remdotc
 12/08/04 11:05AM  
+++--
Chatty

Status: offline


Registered: 06/12/02
Posts: 55
You could use the old "externalpages" plugin, if you want geeklog security without the rest of the functions.

 
Profile Email Website
 Quote
Anonymous: Me.
 12/16/04 12:21PM  



Quote by Remdotc: You could use the old "externalpages" plugin, if you want geeklog security without the rest of the functions.


Is there any additional information or manuals on the externalpages plugin?

I for the life of me can not figure out how to get it to work.

 
 Quote
Content generated in: 0.19 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content