|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yes, that's what I mean.. though I will probably make it differently, which I have 2 main ideas: 1. %vars_calendar_events = ( calendar events );
%vars_calendar_birthdays = ( calendar birthdays );
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.
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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"...
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
|
|
|
|
Joined: Jun 2003
Posts: 2
Junior Member
|
Junior Member
Joined: Jun 2003
Posts: 2 |
any ETA on when this newest version of calendar will be released ?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote: Originally posted by LK: lol
it's done when 6.6 beta is out...When you see a public beta for 6.6, you can expect an update soon after for the calendar 
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
HTML: birthday.gif
Instructions to hack: no need to upload: calendar.txt
Templates: cp_vars_calendar.pl public_calendar_display.pl public_calendar_review.pl public_new_calendar_event.pl
CGI-BIN: Permissions @ 755 ubb_calendar_ssi.cgi ubb_lib_calendar.cgi
CGI-BIN: Permissions @777 vars_calendar.cgi vars_calendar_events.cgi vars_wordlets_calendar.cgi
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.
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
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... Sorry LK, I see now you already answered it 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
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)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
EDIT: I got the ubbcode buttons to work, but the smilies wouldn't show, so I used the popup feature it had. Thanks for your help 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Done for 2.1: - put version number at top of lib_calendar..
- put add new event at the line of "Events for".
- ability to add smilies to title
- totally redesigned Review page (now it looks like New Event page)
- now there is only one template - public_calendar.pl, and calendar uses only one ?ubb= shortcut (calendar).
www.lkworld.com/?ubb=calendar
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
LK, that sounds great. Thanks for your hard work.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
sounding good LK 
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
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  ...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
ahhh, the instructions i saw stated that it was ultimatebb.cgi?ubb=calendar_ssi.cgi?css=yes :X... Sorry...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
yeah, you're right, I forgot to update ubb_calendar_ssi.cgi...  it should be: quote: ## This file can be called with for today's event ## and for monthly events (or if you'll use CSS).
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
:x, i've just been an error finding midget lately haven't i.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yesterday I've finished creating Calendar v2.1, and I'm gonna publish it the moment 6.6.0 br1 is out, unless there's gonna be an unexpected problem... you'll rebuild the birthdays in the same place where you rebuild the member stat files, instead of adding a whole new subroutine for that. also vars_calendar_events.cgi is redesigned, but no fear, I made upgrade.cgi which updates your calendar_events file to v2.1... it removes all the birthdays, because it's a very simple procedure to rebuild member stat files from CP.
new vars_calendar_events.cgi example: [code][/code]oh, and all the fake smilies you see in @events, they were real smilies but I edited them in this post because I didn't want my post to enlarge this page (you know, long stuff in [code] tag make the topic page look really ugly).
|
|
|
|
Joined: Nov 2001
Posts: 96
Member
|
Member
Joined: Nov 2001
Posts: 96 |
Woohoo! Keep up the good work!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
question: should I add "Birthdays Today" to forum summary, like in vBullrtin? it's possible in 2.1
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
well what would be the big difference between that and the normal summary we get from the calendar on the main page?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
that it'd be like "Today's Birthdays: LK (21), Weird Al (59), Lincoln (195)" (links to profiles when you click on the name), instead of "Today's Events: LK's Birthday, Weird Al's Birthday, Lincoln's Birthday, I got a new computer, UBB 6.6 release" btw yeah, I know, you haven't really been born in '55 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by LK: that it'd be like "Today's Birthdays: LK (21), Weird Al (59), Lincoln (195)" (links to profiles when you click on the name), instead of "Today's Events: LK's Birthday, Weird Al's Birthday, Lincoln's Birthday, I got a new computer, UBB 6.6 release"
btw yeah, I know, you haven't really been born in '55 Oh, I like that. BTW: 55+59 would be 2014, not 2003  I'm a young'un
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Sorry, I meant 49 
|
|
|
|
Joined: Sep 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 2 |
I am new to UBB and I tried to install this calendar hack... why it never show any of my members' birthday? can LK help? 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
One thing you should do is update your profile and see if your birthday shows. You need to update your profile to add it to the calendar. If it isn't that, LK probably knows the problem 
|
|
|
|
Joined: Sep 2001
Posts: 2
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 2 |
I updated my profile. I mean add-in a date of birth right? BTW how do you add the profile to the calendar? My calendar works well in term of posting events and viewing events... but it just doesn't show any birthday.. I am using UBB classic 6.5
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I reccomend you verify all the steps in public_edit_profile.pl and ubb_profile.cgi. those are the files that control that
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
ok. im making the commitment and adding this mod!
will it be an easy apply to 6.5?
i know LK has said that some steps might be different ... anyone know for sure?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by drkknght: ok. im making the commitment and adding this mod!
will it be an easy apply to 6.5?
i know LK has said that some steps might be different ... anyone know for sure? I've got it up and running on my 6.5 without changing a letter in the install txt
|
|
|
|
Joined: Nov 2000
Posts: 1,271
Kahuna
|
Kahuna
Joined: Nov 2000
Posts: 1,271 |
woo! installed and workin smooth -- nice job! a question: new registered members show up a-ok, but lotsa posters on my board have already registered with their birthdays ... other than manually entering the events, is there anyway to add their b-days to the calendar?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
the only way to do it is to have them to update their profile. that might be different in the next version, but that'll be 6.6 only from what I've heard
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
LK, now hat 6.6 is out, and word on when 2.1 will be out?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
maybe you've heard differently but it's very difficult to post a hack when you're abroad.. anyhow... www.ubbdev.com/lk/calendar66.zip - alpha version... test please
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by LK: maybe you've heard differently but it's very difficult to post a hack when you're abroad..
anyhow... www.ubbdev.com/lk/calendar66.zip - alpha version... test pleaseI just think it's sad the way you think females can't post hacks. That's sexism (sorry, but I'm tired and this seems funny)
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
$total_members = (@members + 1); #the total number of registered users isn't in ubb_registration.cgi. my $total_members = scalar(@members) + 1; #the total number of registered users is I'll get back to you on the rest of the hack once I can get into my cp 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|