[PHP] Decent Web Calendar With Moderated Public Postings

2001-08-30 Thread Mike Gifford

Hello,

I'd like to find a good web calendar which will allow the general public to enter 
suggested events 
into a web calendar.  I would want these suggested events to be moderated so that they 
can be verified.

Does anyone know of a package that would allow this type of moderated public posting?  
I looked at 
Webcalendar:
http://webcalendar.sourceforge.net/

Which looks great for a number of things, but it doesn't seem to allow moderated 
anonymous posting.

Suggestions would be appreciated.

Mike
-- 
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Offering everything your organization needs for an effective web site.
Abolish Nuclear Weapons Now!: http://pgs.ca/petition/
It is a miracle that curiosity survives formal education. - A Einstein


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Decent Web Calendar With Moderated Public Postings

2001-08-30 Thread Rasmus Lerdorf

 I'd like to find a good web calendar which will allow the general public to enter 
suggested events
 into a web calendar.  I would want these suggested events to be moderated so that 
they can be verified.

 Does anyone know of a package that would allow this type of moderated public 
posting?  I looked at
 Webcalendar:
   http://webcalendar.sourceforge.net/

 Which looks great for a number of things, but it doesn't seem to allow moderated 
anonymous posting.

 Suggestions would be appreciated.

Well, the one on php.net is very simple, but it meets those basic
requirements.  http://www.php.net/cal.php

You can grab the source for it out of cvs.  See http://cvs.php.net

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Decent Web Calendar With Moderated Public Postings

2001-08-30 Thread Mike Gifford

Rasmus Lerdorf wrote:
 Well, the one on php.net is very simple, but it meets those basic
 requirements.  http://www.php.net/cal.php

This looks like it would probably work!

 You can grab the source for it out of cvs.  See http://cvs.php.net

I couldn't get it from here, but I think I was able to grab the source files for all 
of the related 
files..

Mike
-- 
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Offering everything your organization needs for an effective web site.
Abolish Nuclear Weapons Now!: http://pgs.ca/petition/
It is a miracle that curiosity survives formal education. - A Einstein


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Decent Web Calendar With Moderated Public Postings

2001-08-30 Thread Mike Gifford

Hello Ramus,

Rasmus Lerdorf wrote:
 Well, the one on php.net is very simple, but it meets those basic
 requirements.  http://www.php.net/cal.php
 You can grab the source for it out of cvs.  See http://cvs.php.net

Ok..  I've got the source..  However, pulling the calendar out of php.net is a bit 
trickier than it 
seems.

I'm getting some results:
http://pgs.ca/calendar/cal.php

But it certainly wasn't built to allow other folks to easily incorporate this calendar 
into their sites.

I suppose that they have had to conseal some things for the sake of security.  
However, it is 
proving to be a real nussance..  This has likely got all that I need for an event 
calendar.. 
However, I can't add events (big pain).

It is just a bloody nussance to untangle.

I think I now have the authorization figured out..  The trouble I think is in this 
line of code (and 
it's sister Reject_Selected which follows shortly after:

 if(isset($HTTP_POST_VARS['Approve_Selected_x']) || 
isset($HTTP_POST_VARS['Approve_Selected']) || 
isset($HTTP_POST_VARS['Approve_Selected_y'])) {
 foreach($entries as $entry=$val) {
 $result = mysql_query(update phpcal set approved=1, 
app_by='$user' where 
id=$entry);
 if(!$result) echo mysql_error();
 }
 }

This doesn't seem to be doing anything and I can not echo any results from:
echo $HTTP_POST_VARS['Approve_Selected_y';

What the heck am I doing wrong here?

Mike
-- 
Mike Gifford, OpenConcept Consulting, http://openconcept.ca
Offering everything your organization needs for an effective web site.
Abolish Nuclear Weapons Now!: http://pgs.ca/petition/
It is a miracle that curiosity survives formal education. - A Einstein


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Decent Web Calendar With Moderated Public Postings

2001-08-30 Thread Dave Freeman

On 30 Aug 01, at 13:40, Mike Gifford wrote:

 I'd like to find a good web calendar which will allow the general public to
 enter suggested events into a web calendar.  I would want these suggested
 events to be moderated so that they can be verified.

I've got one that I downloaded from freshmeat and adjusted to do more 
things that I was after.

You can find a sample of the output at:

http://calendar.outbackqld.net.au/lsc/

The source is available as a tar.gz if you click on the application copyright 
link in the footer of the pages.

I'm actually doing a re-write at the moment to add a more robust admin 
module but it's a while away from being released as I've got other more 
pressing projects on the go.

CYA, Dave


---
Outback Queensland Internet - Longreach, Outback Queensland - Australia
http://www.outbackqld.net.au  mailto:[EMAIL PROTECTED]
---

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]