then calendar_birthdays is the one to be maintenanced...
or instead 2. I'll choose that when somebody edits profile or registers, it will automatically add it to a file in members dir, such as "birthdays.cgi"... and when you run ubb_lib_calendar, it will check this file... that'd probably make it simpler to be up-to-date.
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Well, I think there still needs to be something that completely cleans and rebuilds the birthdays (not the events).
This would cover all bases so we wouldn't have birthdays showing for deleted or banned members - that is unless you are going to add a "Remove Birthday" routine when banning or deleting.
If you can't make sure that there won't be an orphaned birthday out there with no way of knowing, then you need something that can clean and rebuild based on the "Allow others to see my birth date?" check in their profile.
The lack of tools for the calendar has been especially frustrating. You need to start offering some useful ones.
_________________________
"For who would lie idle when the king has returned?" www.MinasTirith.com
There will be something that completely cleans and rebuilds the birthdays. in my post above I said how it's gonna recognize what's birthdays and what's regular events (because you said in your post "All you would need would be a single character flag added to the calendar event that tells whether the event came from a user’s profile or was custom added"...
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
In CGI-BIN only if your upgrading from the prior version, Permissions @ 755: upgrade.cgi
Hope this helps... Good rule of thumb is the .cgi files always go in cgi-bin and the .pl always go in the Templates. Most of the mistakes I make are with the permissions.
quote: Originally posted by LK: .pl files to noncgi/Templates folder, .cgi to cgi-bin folder, .gif to noncgi folder. calendar.txt you don't upload, you open it and do the steps it tells you to...
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
LK, will there be a ton of new features? cause I just moved the hack to css, and I love it, but I don't wanna lose all my work to upgrade. will the main thing be the rebuild feature?
PS. you should check out the calendar on my boards, I added some cool css tricks to make the current day emboss
not tons of new features. just the ones I mentioned in the previous page, in todo list.
btw, I love what you did in the calendar (the effect of the current day)... you think I should add something like that to the next version? (so instead of "Today Background Color" it would be "Today CSS Text", with a textarea)
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
personally, I think everything on the net should be css, it's so easy to use and allows for a lot more flexibility. maybe you should give people a choice, cause a lot more people know hexcodes than know css. ie instead of multihack and text, css and the bad one
catcherman, would it be alright if I allow smilies and not images? (I guess you'll have to add a smiley for full moon and a smiley for new moon when you update the calendar, it's not that difficult)
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!
Gizmo
Wizard
Registered: 01/10/00
Posts: 5131
Loc: Portland, OR, USA
Hey LK, I'm trying to set it up so that I can access the calendar through SSI (well PHP includes but give or take it's the same thing) but when I try to go to http://tavern.undergroundnews.com/cgi-bin/ultimatebb.cgi?ubb=calendar_ssi&css=yes I recieve "You're trying to access a page that does not exist"... Any idea's? BTW, I used the mhk ...
yeah, you're right, I forgot to update ubb_calendar_ssi.cgi... it should be:
Quote:
quote: ## This file can be called with <!--#exec cgi="ubb_calendar_ssi.cgi" --> for today's event ## and <!--#exec cgi="ubb_calendar_ssi.cgi?s=yes" --> for monthly events (or <!--#exec cgi=ubb_calendar_ssi.cgi?s=yes&css=yes" --> if you'll use CSS).
_________________________ My Hacks Page (will be back with UBB 7!) UBBDev - We put the class into UBB.classic!