hosted by liquidweb


Go Back   Web Hosting Talk : Other Forums : Web Hosting Lounge : Looking for ideas...
Reply

Web Hosting Lounge Forum for general conversation, share interests, have a laugh or discuss topics not related to the above or below forums.
Forum Jump

Looking for ideas...

Reply Post New Thread In Web Hosting Lounge Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-12-2002, 01:54 AM
punaboy punaboy is offline
Registered User
 
Join Date: Mar 2002
Posts: 135

Looking for ideas...


I'm in the process of designing a static web site for a client. Although most of the site will be static the client wants a small area to update daily/weekly or as needed (one paragraph).

I'm trying to come up with the easiest and most simple way the client can update this area by himself without having much HTML knowledge. He does know how to use his FTP program (WSFTP) and has access to an Arachnophilia editor.

I thought about doing a small Iframe so he could just access/upload that file or inserting comment tags with some space in the coding so the client could find the area he needs to update.

Are there any other simple ways to do this? Thanks!

ADDED: I'm batting .000 on this one. Just got thrown a curve ball. I had a nice php script (tested on my server) but the client has no php/cgi/htaccess etc on his ISP server. Does anyone have any other ideas???? I'm almost ready to say "find a new host"


Last edited by punaboy; 12-12-2002 at 05:35 PM.
Reply With Quote
Sponsored Links
  #2  
Old 12-12-2002, 02:01 AM
Pucca Pucca is offline
Newbie
 
Join Date: Jul 2002
Posts: 21
how about using a blogger - http://blogger.com or b2? The blogger is easiest to use, but b2 has many more features.

Reply With Quote
  #3  
Old 12-12-2002, 02:26 AM
punaboy punaboy is offline
Registered User
 
Join Date: Mar 2002
Posts: 135
Pucca,

A blogger would be a great way to do it. Now why did that slip my mind. I guess maybe because of all the abuse and poor use of it on amateur sites. I'll consider it. Thanks.

[edited] Scratch the blog, just found out I need two small areas.


Last edited by punaboy; 12-12-2002 at 02:34 AM.
Reply With Quote
Sponsored Links
  #4  
Old 12-12-2002, 03:05 AM
Synthetic Synthetic is offline
Web Hosting Master
 
Join Date: Aug 2001
Location: Canada
Posts: 1,598
You could look into Coranto: http://coranto.gweilo.org

Great piece of software with many features enabled. Once it is installed, you can add as many addons as you like. You can also create seperate news categories that will allow you to have two seperate update areas.

Another suggestion is to look into the Hotscripts directory: http://www.hotscripts.com/PHP/Script...ews_Publishing

Reply With Quote
  #5  
Old 12-12-2002, 03:20 AM
skelley1 skelley1 is offline
Soldier, Author and Patriot
 
Join Date: Sep 2002
Location: Wherever they send me
Posts: 1,086
what about customizing something like postnuke?

__________________


Reply With Quote
  #6  
Old 12-12-2002, 05:36 AM
jameso jameso is offline
Junior Guru Wannabe
 
Join Date: Jun 2002
Location: Perth, Australia
Posts: 85
Just a suggestion...

If your server has php on it, you could just include 2 files. eg

PHP Code:
<?php require_once('paragraph1.inc'); ?>
Where paragraph1.inc would read something like:

Code:
This is paragraph one. etc...
All of this could also be achieved using SSI if your server doesn't support PHP.

In either case, your client would only have to edit the paragraph1.inc and paragraph2.inc files, then FTP them to the server.

Reply With Quote
  #7  
Old 12-12-2002, 05:48 AM
JustinH JustinH is offline
Web Hosting Master
 
Join Date: Nov 2000
Posts: 3,042
I almost posted exactly what james said. That would certainly be the easiest method. I've never been a fan of Bloggers, althought I'd say the Coranto software Synthetic posted a link too looks rather nifty .

__________________
A well-reasoned assumption is very close to fact.
- Adorno


Reply With Quote
  #8  
Old 12-12-2002, 05:55 AM
jameso jameso is offline
Junior Guru Wannabe
 
Join Date: Jun 2002
Location: Perth, Australia
Posts: 85
Quote:
Originally posted by comphosting
I almost posted exactly what james said. That would certainly be the easiest method. I've never been a fan of Bloggers, althought I'd say the Coranto software Synthetic posted a link too looks rather nifty .
It sounds like i just beat you to it, comphosting!

Reply With Quote
  #9  
Old 12-12-2002, 05:57 AM
JustinH JustinH is offline
Web Hosting Master
 
Join Date: Nov 2000
Posts: 3,042
Why not just setup a simple database that will display the news as he wants it? Could be done with PHP/MySQL or ASP/Access fairly easily.

__________________
A well-reasoned assumption is very close to fact.
- Adorno


Reply With Quote
  #10  
Old 12-12-2002, 06:01 AM
Lirath Lirath is offline
Web Hosting Master
 
Join Date: Nov 2002
Location: Fairbanks, Alaska
Posts: 708
yeah.. php/mysql is the way to do this fairly easy


just have a hidden form for him to update it www.hisdomain.com/myupdaterform.php or something which is just a form where he types something in there, clicks update, and it goes onto the page where he wants it.

<edit> kind of how you can edit your posts - he can just go to a form, see what's already there typed in, and make the changes, click update

__________________
www.neo-tech.us

- Computer Sales/Repair/Networking
- Web Design/Web Hosting

Reply With Quote
  #11  
Old 12-12-2002, 06:08 AM
jameso jameso is offline
Junior Guru Wannabe
 
Join Date: Jun 2002
Location: Perth, Australia
Posts: 85
Come to think of it, that's a better idea than including a file!

Either way you could have the form where he can update the paragraphs. This would be possible whether you include a file, or include information from a mysql db.

Reply With Quote
  #12  
Old 12-12-2002, 06:17 AM
Toolz Toolz is offline
Web Hosting Master
 
Join Date: Nov 2002
Location: ???
Posts: 637
A PHP/MySQL solution would be hot but given the simple requirements here it would be kind of heavy handed.

Since the client knows how to use FTP and only "paragraphs" are required then a text file will do the job. SSI the text files into the main page and the paragraphs'll inherit the format in the paragraph tags.

Advantage of this solution is it's portable to nearly any hosting environment. 99% offer SSI (even free ones) but you can't rely on them being able to host whichever database or script solution you choose.

__________________
Lawnmower for hire - enquire within

Reply With Quote
  #13  
Old 12-12-2002, 06:29 AM
Perlboy Perlboy is offline
Web Hosting Guru
 
Join Date: Dec 2001
Location: QLD, Australia
Posts: 284
Ok,

I found a script I wrote a LONG time ago (in my infant days admittedly). I make no warranties for it, but you may find it useful. Basically, you can define the file to modify within the variables (fairly self explanatory) set a username/password and let the user update it via the web.

Like I said, I do NOT support this NOR do I make any warranties, just digging some old stuff up I had.

#!/usr/bin/perl

use strict;

# Print to the server.
print "Content-Type: text/html\n\n";

# File to open and modify. Full path.
my $file = '/path/to/file/bob.txt';

# This scripts location
my $script = 'http://address.to.script/location/script.cgi';

# username and password for access
my $username = 'user';
my $password = 'password';

my %FORM;

&FormParse;

&CheckPass;

my $uid = 0;
my $pid = 0;

if(($uid eq '0') or ($pid eq '0')) { &Wrong; exit; }

unless($FORM{'update.txt'} eq 'confirm') {


open(FILE,$file) or print "Can't open $file";
my @FILE = <FILE>;
close(FILE);



print qq~

<center>
<font face="arial, helvetica" color=red size=+1>
<strong>Update File<br><br></strong></font></font></font>
<form method=POST><input type=hidden name="update.txt" value="confirm"><input type=hidden name=username value="$FORM{'username'}"><input type=hidden name=password value="$FORM{'password'}">
<div align=center>
<center>
<table border=1 width=600>
<tr>
<td width=100 valign=top align=left>File:</td>
<td width=500><textarea rows=10 name=file cols=60>@FILE</textarea></td>
</tr>
<tr>
<td width=100></td>
<td width=500><input type=submit></td>
</tr>
</table>
<br><br>
<table border=1 width=200>

~;


}

else {

my @Content = $FORM{'file'};

open(REALFILE,">$file");
foreach my $line (@Content)
{
$line =~ s/\r\n/<p>/g;
print REALFILE "$line \n";



}
close(REALFILE);







print "<b>File Update occured. </b> This script was executed at $script";
print "<br> Thanks, bye. "





}

sub Wrong {

print "<b>Wrong Username and Password combo<br></b>";

}

# FORM PARSING
sub FormParse
{

# CGI.pm loading
use CGI;
my $q = new CGI;

CGI::ReadParse();

# Load up the formInformation hash
my $formVariableName;
foreach $formVariableName ($q->param) {
$FORM{$formVariableName} = $q->param($formVariableName);
}


}


sub CheckPass {

if(!(($FORM{'username'}) or ($FORM{'password'}))) {


print qq~

<center>
<font face="arial, helvetica" color=red size=+1>
<strong>Please Login<br><br></strong></font></font></font>
<form method=POST>
<div align=center>
<center>
<table border=1 width=600>
<tr>
<td width=100 valign=top align=left>Username:</td>
<td width=500><input name=username></td>
</tr>
<tr>
<tr>
<td width=100 valign=top align=left>Password:</td>
<td width=500><input name=password>
</tr>

<td width=100></td>
<td width=500><input type=submit></td>
</tr>
</table>
<br><br>
<table border=1 width=200>

~;

}

else {

if($FORM{'username'} eq $username) { $uid = '1'; }
if($FORM{'password'} eq $password) { $pid = '1'; }


}

}

Hope it helps somewhere *shrugs*.

Stuart

__________________
Seekbrain.com - Personal Blog
Wordpress48 - Professional Wordpress Installs in 48 hours, guaranteed.

Reply With Quote
  #14  
Old 12-12-2002, 11:38 AM
punaboy punaboy is offline
Registered User
 
Join Date: Mar 2002
Posts: 135
Thanks! I'm taking a look at ALL the suggestions and different ideas. I'll see which one works best and the easiest for the client. Thanks again, great help.

Reply With Quote
  #15  
Old 12-12-2002, 11:41 AM
jameso jameso is offline
Junior Guru Wannabe
 
Join Date: Jun 2002
Location: Perth, Australia
Posts: 85
Good luck! I hope you client likes it.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Phoenix NAP Aims to Improve Cloud Hosting through Customer Feedback Website Web Hosting News 2013-01-17 13:59:49
Solar VPS COO Ross Brouse Discusses new VPS Management Console Whir Tv 2012-11-12 13:38:25
New on WHIR TV: Open-Xchange CEO Rafael Laguna at the OX Partner Summit Blog 2011-12-02 16:10:28
Profiting From Domains for Web Hosts, with Christoph Donnemiller of PartnerGate Web Hosting News 2011-10-27 18:52:21
GlowTouch CSO Michael Fountain Gives Blueprint for Turning Ideas into Products Web Hosting News 2011-08-10 23:29:24


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?