|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Original Author: jordo. Description: This modification will add a calendar to your UBB™. UBB™'s birthday will show up in the calendar and add an avatar near the user's name in his/her birthday. You will also be able to post an announcement and set a calendar date and it will show it in the calendar. It's 100% Templetized and Wordletized™ and includes a CP interface. Requirements: Valid license, UBB™ 6.4.0. Download: ZIP File or MultiHack File Demo: http://www.lkworld.com Number of Downloads: [img]https://ubbdev.com/lk/num.php?s=calendar64.zip,calendar64.mhp[/img] Differences from 6.3 version: Calendar SSI now can be used as JavaScript, if you add "?j=yes" (or ";j=yes" in little calendar); little calendar SSI: ubb_calendar_ssi.cgi?s=yes instead of ultimatebb.cgi?ubb=calendar_ssi. Good luck! 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
yay! 
|
|
|
|
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
|
Spotlight Winner
Joined: Jun 2001
Posts: 2,849 |
quote: Originally posted by AllenAyres: yay! I couldn't think of a better way to say it myself...
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
Question about something in the readme for this one: quote:
# NOTE: Do NOT upload upgrade.cgi if # # you're not upgrading. #
Upgrading what? Upgrading the calendar hack, or UBB itself? That seems a bit unclear to me.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I mean if you're upgrading from an old version of Calendar hack which uses field #55
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
Ah, OK. I got it working after some initial trouble where I could not see any options in the control panel.
Turns out I uploaded the template to the JCTemplates directory - Duh!
Anyway, is there a way to delete entered calendar entries? If something gets in there by mistake, I can't see a way to edit/remove it.
Also, what about entering events with old dates? I wanted to use this on my board and put in the release date history for our old products, but there doesn't seem to be a way to enter events with a year before the current one. I could put them all in the current year, but that's not really what I wanted to do.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You can delete by clicking on the "Review today's events" link, right after the events list About last year, just put it this year and choose to make it yearly or add "One Year Anniversary" 
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
So there's no real way to add events in the past, eh? Any chance of that happening? I'd really like to enter old dates.
Edit: Thought of a way around it. I can create accounts with the names of our videogames, and assign them birthdays with the actual release dates. That'll work, but I still would like to create events with past dates.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Next year (in a few days) they'll have a hard time ACCESSING '2001, so no need to 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
MMMnnn, just been testing it on a test board, it seems to work fine with standard templates but not with my jctemplates (latest version). Am i missing something?
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
I use JC Templates, didn't have a problem getting it working. I had to adjust a bit in the public_common template, but otherwise it wasn't that difficult. quote: Next year (in a few days) they'll have a hard time ACCESSING '2001, so no need to Well, I've been abler to go into 2006 anyway, as Dec 2005 seems to be the highest selectable date in the dropdown, but if you go that month and start using "Next month", you can go further. Why the restriction anyway? Is there a technical reason why we can't enter dates in the past?
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote: Originally posted by Joe Siegler: I use JC Templates, didn't have a problem getting it working. I had to adjust a bit in the public_common template, but otherwise it wasn't that difficult.
MMnnn, shall have a look again. Thnxs.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
No Joe, it's just laziness  You can change it to have 2001 in public_new_calendar_event.pl, I think...
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
quote: No Joe, it's just laziness Pretty please? I'll send you some videogames. 
|
|
|
|
Joined: Mar 2001
Posts: 145
Member
|
Member
Joined: Mar 2001
Posts: 145 |
quote: Originally posted by Joe Siegler: Edit: Thought of a way around it. I can create accounts with the names of our videogames, and assign them birthdays with the actual release dates. That'll work, but I still would like to create events with past dates. Found a better way. In editing a birthday event, I noticed it computes the number of years back by using this: <--1993--> w00t! Forget my quoted idea. I can create them with any old year, and then insert that in there for "Duke Nukem 3D v1.0 was released <--1996--> years ago on this day". Works much nicer than the user account/birthday idea.
|
|
|
|
Joined: Aug 2002
Posts: 3
Junior Member
|
Junior Member
Joined: Aug 2002
Posts: 3 |
Hi There
Trying to install this in 6.40 using JC Templates
I see Joe has it sorted any chance you paste the code here please
Thanxs in advance
slev
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
At least this one: Find in Public_topic_page.cgi: $linkname Replace with: $linkname$birthdayfields[3]
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Very useful hack LK...I've been using it for the past 2 upgrades. I noticed that if there is a repeating event (every week of every month) there is only the "weekly" option which means if I entered a weekly event in January it will no longer show up in February. I'm not a coder but is it possible for you to add a weekly option that will rollover every month? Maybe even a monthly option? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You can add this event 12 times 
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Well not quite the answer I was looking for. Thanks for replying though LK.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You can add the event once, say in the last week of January, open vars_calendar_events.cgi and add 28 days 11 times?  (maybe in the middle add 35 instead of 28)
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
Hahaa...I guess that's one way to do it. Not dynamic but effective.
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
LK, I installed this to my test 6.4 board w/the Multihack file, and I had no problems. Thank you for creating/porting such an "easy" hack for people like me! 
Sue adwoff.com
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
Just a little adjustment to the calander code to make it more look a like to the other features: Change this in ubb_forum_summery: [/code]into this:
</pre></div></div>Enjoy.<br><br>And for those of u who are using JCTemplate, just modify this in public_forum_summary:<br><br>After this:<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> Place this line: [code] Enjoy it or not, at i will.
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
It looks great! But when I click the Calendar link, it looks for a ultimatebb.pl file in the /cgi-bin. Where is it?
|
|
|
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
Disregard! I changed the .pl too .cgi and everything works GREAT!
Thank You!
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
LK, I do have one suggestion for the Calendar; let's say you click on January 17 ... it'd be great if there would be an "anchor" that would take the user to the actual event at the bottom of the calendar.
Would this be easy or difficult to do?
Sue adwoff.com
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Sue, it's pretty easy: in ubb_lib_calendar.cgi: Find: [/code]replace with:</pre></div></div>Open public_calendar_display.pl. Find:<div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> replace with:[code] Not tested, but should work 
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
Quick suggestion ... how about putting the 'calendar' where it shows today's events underneath the 'Recent Visitors' of the main page instead of all the way down at the bottom of all the forums? And where would you make that change? Please? 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote: Originally posted by ¥øüñg Tæ ßÿüñ: Quick suggestion ... how about putting the 'calendar' where it shows today's events underneath the 'Recent Visitors' of the main page instead of all the way down at the bottom of all the forums? And where would you make that change? Please? public_forum_summary
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
That doesn't tell me much. What code do I put where and how, etc. etc. 
|
|
|
|
Joined: Mar 2002
Posts: 78
Member
|
Member
Joined: Mar 2002
Posts: 78 |
Nice car 
1998 Firebird Formula with a blower and then some...
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
quote: Originally posted by DarkFormula: Nice car Stay on topic! Just kidding ... thanks. And could you UBB hackers please take a look at my request/question posted a couple up? 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote:
Originally posted by ¥øüñg Tæ ßÿüñ: quote: [qb]Originally posted by DarkFormula: Nice car [/qb] Stay on topic!
When can i get that testdrive of a month in that car? Just to be on topic, that is Do u use jctemplates?
|
|
|
|
Joined: Aug 2001
Posts: 103
Member
|
Member
Joined: Aug 2001
Posts: 103 |
No, I do not use JC Templates. You will get a ride as co-pilot when you visit Colorado along with getting back to the original subject. 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote: Originally posted by ¥øüñg Tæ ßÿüñ: No, I do not use JC Templates. You will get a ride as co-pilot when you visit Colorado along with getting back to the original subject. Ok, just bought the ticket for colerado. U mean this: ![[Linked Image]](http://www.warmass.nl/ubbdev/calendar.jpg) In the file: public_forum_summary.cgi [code][/code]Pick one of the $calendar options in this piece of code.
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
Everything works perfectly until I try to add or edit an event. Then I get this message:
"You are not logged in. You must be logged in (and registered) to perform this function. Login"
Can anyone please tell me if they have any idea what I have done wrong?
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote: Originally posted by Ellen: Everything works perfectly until I try to add or edit an event. Then I get this message:
"You are not logged in. You must be logged in (and registered) to perform this function. Login"
Can anyone please tell me if they have any idea what I have done wrong? if u are using ubb.classic 6.4, then yes. Download from one of the early posting of me the modified hack which includes the md5 hash encryption needed for ubb6.4++
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
twslex, what does the MD5 thing have to do with it?  Also I couldn't find it in any of your posts in this topic....
|
|
|
|
Joined: Sep 2000
Posts: 159
Member
|
Member
Joined: Sep 2000
Posts: 159 |
I would really appreciate that. Could you please post a link for the modified hack? I am using ubb.classic 6.4.
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|