Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 4 1 2 3 4
#197865 12/25/2002 3:07 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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! smile

Sponsored Links
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! laugh


- Allen wavey
- What Drives You?
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by AllenAyres:
yay! laugh
I couldn't think of a better way to say it myself...

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Question about something in the readme for this one:

Quote
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I mean if you're upgrading from an old version of Calendar hack which uses field #55

Sponsored Links
Joined: Mar 2001
Posts: 145
Member
Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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" tipsy

Joined: Mar 2001
Posts: 145
Member
Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Next year (in a few days) they'll have a hard time ACCESSING '2001, so no need to tipsy

Joined: Jun 2002
Posts: 111
Member
Member
Offline
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?

Sponsored Links
Joined: Mar 2001
Posts: 145
Member
Member
Offline
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
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
Offline
Joined: Jun 2002
Posts: 111
Quote
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No Joe, it's just laziness wink You can change it to have 2001 in public_new_calendar_event.pl, I think...

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Quote
quote:
No Joe, it's just laziness
Pretty please? I'll send you some videogames. smile

Joined: Mar 2001
Posts: 145
Member
Member
Offline
Joined: Mar 2001
Posts: 145
Quote
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
Offline
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
Offline
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
Offline
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? smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
You can add this event 12 times tipsy

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Well not quite the answer I was looking for. wink

Thanks for replying though LK.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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? tipsy (maybe in the middle add 35 instead of 28)

Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
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
Offline
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! laugh tipsy


Sue
adwoff.com
Joined: Jun 2002
Posts: 111
Member
Member
Offline
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
[/code]into this:

Code
</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
Offline
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
Offline
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
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Sue, it's pretty easy: in ubb_lib_calendar.cgi:
Find:
Code
[/code]replace with:
Code
</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 smile

Joined: Aug 2001
Posts: 103
Member
Member
Offline
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? laugh

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Quote
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? laugh
public_forum_summary

Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
That doesn't tell me much. What code do I put where and how, etc. etc. laugh

Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
Nice car laugh


1998 Firebird Formula with a blower and then some...
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
Quote
quote:
Originally posted by DarkFormula:
Nice car laugh
Stay on topic! laugh

Just kidding ... thanks. And could you UBB hackers please take a look at my request/question posted a couple up? tipsy

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Quote
quote:
Originally posted by ¥øüñg Tæ ßÿüñ:
quote:
[qb]Originally posted by DarkFormula:
Nice car laugh [/qb]
Stay on topic! laugh

When can i get that testdrive of a month in that car?

Just to be on topic, that is thumbsup

Do u use jctemplates?

Joined: Aug 2001
Posts: 103
Member
Member
Offline
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. tipsy

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Quote
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. tipsy
Ok, just bought the ticket for colerado.

U mean this:
[Linked Image]

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
Offline
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
Offline
Joined: Jun 2002
Posts: 111
Quote
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
twslex, what does the MD5 thing have to do with it? confused Also I couldn't find it in any of your posts in this topic....

Joined: Sep 2000
Posts: 159
Member
Member
Offline
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.

Page 1 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)