php forum
php mysql forum
php mysql smarty
 
Page 1 of 8 1 2 3 4 5 6 7 8 >
Topic Options
#197865 - 12/25/02 02:07 PM [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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]http://www.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
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197866 - 12/25/02 03:41 PM Re: [6.4 - 6.5] [beta] Calendar
AllenAyres Administrator Online   content
I type Like navaho

Registered: 03/10/00
Posts: 25452
Loc: Texas
yay! laugh
_________________________
- Allen wavey
- What Drives You?

Top
#197867 - 12/25/02 11:44 PM Re: [6.4 - 6.5] [beta] Calendar
RandyM Offline
Spotlight Winner

Registered: 06/28/01
Posts: 2642
Loc: Southern California | Guitar o...
Quote:
quote:
Originally posted by AllenAyres:
yay! laugh
I couldn't think of a better way to say it myself...
_________________________
3 time Spotlight winner.
Believe The Lie

Top
#197868 - 12/27/02 11:37 AM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
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.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197869 - 12/27/02 01:58 PM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I mean if you're upgrading from an old version of Calendar hack which uses field #55
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197870 - 12/27/02 02:01 PM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
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.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197871 - 12/28/02 01:57 AM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197872 - 12/28/02 09:24 AM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
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.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197873 - 12/28/02 10:41 AM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Next year (in a few days) they'll have a hard time ACCESSING '2001, so no need to tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197874 - 12/28/02 04:39 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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?

Top
#197875 - 12/28/02 04:54 PM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
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?
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197876 - 12/28/02 05:39 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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.

Top
#197877 - 12/28/02 11:08 PM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
No Joe, it's just laziness wink You can change it to have 2001 in public_new_calendar_event.pl, I think...
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197878 - 12/29/02 03:47 AM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
Quote:
quote:
No Joe, it's just laziness
Pretty please? I'll send you some videogames. smile
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197879 - 12/31/02 08:20 AM Re: [6.4 - 6.5] [beta] Calendar
Joe Siegler Offline
Member

Registered: 03/20/01
Posts: 132
Loc: Garland, TX USA
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.
_________________________
Joe Siegler
Webmaster - 3D Realms
Moderator - Infopop UBB Support Forums

Join the TiVolution !

Top
#197880 - 01/02/03 12:25 PM Re: [6.4 - 6.5] [beta] Calendar
slev Offline
Junior Member

Registered: 08/31/02
Posts: 2
Loc: UK
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

Top
#197881 - 01/03/03 04:15 AM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
At least this one:

Find in Public_topic_page.cgi:
<a name="$thisline[1]"></a>$linkname


Replace with:

<a name="$thisline[1]"></a>$linkname$birthdayfields[3]

Top
#197882 - 01/07/03 07:27 PM Re: [6.4 - 6.5] [beta] Calendar
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
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
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#197883 - 01/07/03 10:48 PM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You can add this event 12 times tipsy
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197884 - 01/08/03 07:13 AM Re: [6.4 - 6.5] [beta] Calendar
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Well not quite the answer I was looking for. wink

Thanks for replying though LK.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#197885 - 01/08/03 07:44 AM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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)
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197886 - 01/08/03 08:26 AM Re: [6.4 - 6.5] [beta] Calendar
PrimeTime Offline
Member

Registered: 11/06/01
Posts: 1046
Hahaa...I guess that's one way to do it. Not dynamic but effective.
_________________________
Members Spotlight Winner
bac-Clan
--------------------

Top
#197887 - 01/13/03 06:53 PM Re: [6.4 - 6.5] [beta] Calendar
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
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

Top
#197888 - 01/16/03 04:53 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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]
Enjoy.

And for those of u who are using JCTemplate, just modify this in public_forum_summary:

After this:
Code:
[/code]Place this line:
[code]
Enjoy it or not, at i will.

Top
#197889 - 01/16/03 06:22 PM Re: [6.4 - 6.5] [beta] Calendar
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
It looks great! But when I click the Calendar link, it looks for a ultimatebb.pl file in the /cgi-bin. Where is it?

Top
#197890 - 01/16/03 06:55 PM Re: [6.4 - 6.5] [beta] Calendar
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Disregard! I changed the .pl too .cgi and everything works GREAT!

Thank You!

Top
#197891 - 01/16/03 10:14 PM Re: [6.4 - 6.5] [beta] Calendar
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
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

Top
#197892 - 01/16/03 11:35 PM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Sue, it's pretty easy: in ubb_lib_calendar.cgi:
Find:
Code:
[/code]replace with:[code]
Open public_calendar_display.pl. Find:
Code:
[/code]replace with:[code]
Not tested, but should work smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197893 - 01/18/03 04:39 PM Re: [6.4 - 6.5] [beta] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
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

Top
#197894 - 01/18/03 04:43 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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

Top
#197895 - 01/19/03 04:52 AM Re: [6.4 - 6.5] [beta] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
That doesn't tell me much. What code do I put where and how, etc. etc. laugh

Top
#197896 - 01/19/03 01:58 PM Re: [6.4 - 6.5] [beta] Calendar
DarkFormula Offline
Member

Registered: 03/06/02
Posts: 74
Loc: Ohio
Nice car laugh
_________________________
1998 Firebird Formula with a blower and then some...

Top
#197897 - 01/19/03 02:13 PM Re: [6.4 - 6.5] [beta] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
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

Top
#197898 - 01/19/03 02:45 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Quote:
quote:</font><hr />Originally posted by ¥øüñg Tæ ßÿüñ:
<blockquote><font class="small">quote:
[qb]Originally posted by DarkFormula:
Nice car laugh [/qb]
Stay on topic! laugh
<hr /></blockquote>When can i get that testdrive of a month in that car?

Just to be on topic, that is thumbsup

Do u use jctemplates?

Top
#197899 - 01/19/03 06:44 PM Re: [6.4 - 6.5] [beta] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
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

Top
#197900 - 01/21/03 04:01 PM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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:


In the file: public_forum_summary.cgi
[code][/code]Pick one of the $calendar options in this piece of code.

Top
#197901 - 01/25/03 06:00 PM Re: [6.4 - 6.5] [beta] Calendar
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
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?

Top
#197902 - 01/26/03 05:01 AM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
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++

Top
#197903 - 01/26/03 06:01 AM Re: [6.4 - 6.5] [beta] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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....
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#197904 - 01/26/03 06:50 AM Re: [6.4 - 6.5] [beta] Calendar
Ellen Offline
Member

Registered: 09/15/00
Posts: 146
Loc: Clifton, NJ
I would really appreciate that. Could you please post a link for the modified hack? I am using ubb.classic 6.4.

Top
#197905 - 01/26/03 11:12 AM Re: [6.4 - 6.5] [beta] Calendar
twslex Offline
Member

Registered: 06/13/02
Posts: 100
Quote:
quote:
Originally posted by LK:
twslex, what does the MD5 thing have to do with it?