PDA

View Full Version : Moderated Calendar hack v0.1


ethank
08-25-2001, 10:00 PM
Here's the Moderated calendar hack. Enclosed are an HTML file with the necessary edits, plus the new Moderated Calendar administrative utility.

This requires an additional column in the calendar_events table.

And you might want to change the graphic to add a public event to be Submit Public Event.

I've tested this on my board. If you encounter any problems installing I'll try to work them out. Its kind of the first hack I've released, so I hope I did it OK.

Ethan

SirSteve
08-26-2001, 04:22 AM
Worked like a charm! Just one thing... can the admin be notified via e-mail of a submitted event?

Thanks for this useful hack!

ethank
08-26-2001, 04:23 AM
Originally posted by SirSteve
Worked like a charm! Just one thing... can the admin be notified via e-mail of a submitted event?

Thanks for this useful hack!

Good feature, shouldn't be difficult to add. Tommorow.

EThan

SirSteve
08-26-2001, 12:49 PM
If you are on a broadband connection, you don't even see that redirect_calendaraddevent page fast enough to read it that it has to be approved first. Can you add a CONTINUE button to that page?

:)

SirSteve
09-07-2001, 04:17 PM
It'll show a submitted post awaiting approval under Today's Events on the forums home page.

???

ethank
09-08-2001, 04:47 PM
Originally posted by SirSteve
It'll show a submitted post awaiting approval under Today's Events on the forums home page.

???

Isn't "Todays Events" itself a hack? If so, then the SQL that uses needs to be changed.

Ethan

SirSteve
09-08-2001, 04:49 PM
Originally posted by ethank


Isn't "Todays Events" itself a hack? If so, then the SQL that uses needs to be changed.

Ethan

That's right (it's been so long I forgot about that). What needs to be changed in SQL?

LuBi
09-12-2001, 11:06 PM
What does this hack do exactly?

ethank
09-13-2001, 08:18 PM
Basically it lets anyone post a public event, but the admin has to approve it before it shows up on the calendar. I did it because I run a discussion board for a band and it lets me approve things like TV appearances.

EThan

LuBi
09-13-2001, 08:32 PM
Sounds like a great hack, I'll be sure to use it. thanks

SirSteve
09-13-2001, 09:12 PM
Can you tell me what I need to change to make it work with the Today's Events hack?

:)

and what about the admin being notified via e-mail of a submitted event?

ethank
09-14-2001, 05:19 PM
Originally posted by SirSteve
Can you tell me what I need to change to make it work with the Today's Events hack?

:)

and what about the admin being notified via e-mail of a submitted event?

Whats the link to the Today's Events hacked? Most likely it has to do with the "approved" column. Just add something to the WHERE statement in whatever the SQL Today's Events uses for "approved = 1"

As for the e-mail, haven't had a chance to hack it in, hopefully today or this weekend.

EThan

SirSteve
09-14-2001, 05:47 PM
Originally posted by ethank


Whats the link to the Today's Events hacked? Most likely it has to do with the "approved" column. Just add something to the WHERE statement in whatever the SQL Today's Events uses for "approved = 1"

As for the e-mail, haven't had a chance to hack it in, hopefully today or this weekend.

EThan

Today's Events Hack:
http://www.vbulletin.com/forum/showthread.php?s=&threadid=21232

Thanks!

ethank
09-14-2001, 05:52 PM
Thanks. I'll take a look at it.

Ethan

SirSteve
10-23-2001, 08:31 PM
You get a chance to look at it? And how about that feature e-mailing you to let you know there is a submitted event?

FleaBag
11-02-2002, 01:43 PM
Which hack is more efficient? This one or FireFly's?