Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 4 1 2 3 4
Re: Calendar v 3.0 [Re: sf49rminer] #221082 07/18/2002 6:35 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
agreed.. since some events we have are weekend long events. Maybe have the starting day a full descript in the box, and in concurrent boxes it just says part of the event title and says "cont..." or something just to show it continues on.

Sponsored Links
Re: Calendar v 3.0 [Re: Maze_Brendan] #221083 07/18/2002 8:22 PM
Joined: Feb 2002
Posts: 67
Stefan_dup1 Offline
Power User
Offline
Power User
Joined: Feb 2002
Posts: 67
Max,

i'm just playing with this really nice hack ... any chance to get the displayed time in postlist.php changed to 24h - format?

Should be anwhere at

$h = strtolower(strftime ("%I", $tm));

(I've removed the am/pm correction successfully before)

Last edited by Stefan; 07/18/2002 8:23 PM.
Re: Calendar v 3.0 [Re: palmen] #221084 07/19/2002 10:31 AM
Joined: Apr 2002
Posts: 30
paulf Offline
User
Offline
User
Joined: Apr 2002
Posts: 30
Dave had written a PAL box for this in his first release of IIP for ubbt 5.5. It displays any upcoming events for the next week. I still use this pal box on my 6.0.2 board.

Since the table structure for the events table has not changed, the old pal code works just fine.

It dosent display a "mini calendar" but it does list all current upcoming events.


Paul Fries
Systems Administrator
CWIE LLC
Re: almost working [Re: Maze_Brendan] #221085 07/19/2002 11:04 AM
Joined: Apr 2002
Posts: 30
paulf Offline
User
Offline
User
Joined: Apr 2002
Posts: 30
Hiya Max.

Just FYI.
That code that JustDave wrote to delete the data from w3t_Events works fine with v6.

Also. I noticed in the w3t_Events table there are fields for recurring events, and Duration. Any plans to make use of these features in the future?

Thanks!


Paul Fries
Systems Administrator
CWIE LLC
Re: Calendar v 3.0 [Re: MRLefferts] #221086 07/19/2002 4:51 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Sorry Stefan, over my head, maybe someone else can help.
Max

Sponsored Links
Calendar v 3.0 - xhtml instructions [Re: Maze_Brendan] #221087 07/24/2002 12:24 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Nice one Testing here right now.. I redid the instructions to fix the xhtml in the code:

https://www.ubbdev.com/mods/6/52455-instructions.txt

It runs fine, if I find some more xhtml bugs, I'll update the file and post here


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 - xhtml instructions [Re: SurfMinister] #221088 07/24/2002 1:00 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
File updated with lots of little fixes The only thing not 100% xhtml is bordercolor and I am too sleepy to fix it right now I think I transferred all the changes from our files here to the instructions, if you see something different, please let me know and I'll update it


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 - xhtml instructions [Re: SurfMinister] #221089 07/24/2002 5:48 PM
Joined: Apr 2002
Posts: 30
paulf Offline
User
Offline
User
Joined: Apr 2002
Posts: 30
posted by AllenAyres:
File updated with lots of little fixes


Allan, all of your changes had to do with the xhtml compliency correct?


Paul Fries
Systems Administrator
CWIE LLC
Re: Calendar v 3.0 - xhtml instructions [Re: Lupar_Drake] #221090 07/24/2002 9:02 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Yes, I didn't change anything else


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 - xhtml instructions [Re: SurfMinister] #221091 07/25/2002 6:15 AM
Joined: Mar 2002
Posts: 147
casper_dup1 Offline
Member
Offline
Member
Joined: Mar 2002
Posts: 147
Suggestion:

In UBB.classic's calendar it automatically adds an event for a registered users birthday.

It would be great if we could get this calendar to do the same.
You could add an optional field inside the w3t_users table.

Sponsored Links
Re: Calendar v 3.0 - xhtml instructions [Re: zf98844] #221092 07/25/2002 1:45 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That might be good to co-ordinate with anything Rick might be working on regarding coppa, and the ubb.classic import script, as birthdays are already required there.


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 - xhtml instructions [Re: SurfMinister] #221093 07/25/2002 11:42 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
OK, it should be a bit easier to install now. I believe it is 100% xhtml compliant as well.

https://www.ubbdev.com/mods/6/calendar.zip

I included the template files pre-done and updated the instructions so that you are requiring the templates into the posting pages instead of adding the contents to the .php files. We are using these same files here.

Next up will be pulling the text out to make a language file... I'll work on it this weekend or so unless someone else wants to jump in there

Max feel free to do with this how you want, thank you for your work in getting it to v6 status


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 [Re: Maze_Brendan] #221094 07/29/2002 3:10 PM
Joined: Apr 2002
Posts: 2
Billster2K Offline
Lurker
Offline
Lurker
Joined: Apr 2002
Posts: 2
MAX,

This is AWESOME

I have one problem...?
I attempted your step nine(after I made sure everything else was working ok) and I CANNOT get the date and location to show up in the Subject line?

Nothing is breaking, it's just not showing up?

Any ideas, I have double checked the edits.

Cheers, Bill

Re: Calendar v 3.0 [Re: Maze_Brendan] #221095 07/30/2002 2:41 AM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Thanks Max,

Was a piece of cake to install some 15 calendars on my forums, for the various clubs that I have. Now they can all have their own calendar, and not all have to share one.

Thanks again.

Ian


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Re: Calendar v 3.0 [Re: Maze_Brendan] #221096 07/30/2002 9:23 AM
Joined: Apr 2002
Posts: 2
Billster2K Offline
Lurker
Offline
Lurker
Joined: Apr 2002
Posts: 2
I would change the UPDATE to be using the "Keyword" instead of the "Title".

I ran into problems with this because of multiple forums in different categories which have the same title!

I know this is just in your instructions and I simply used the Keyword to avoid any problems...but just an FYI nonetheless.

REALLY enjoying your work

Cheers, Bill

Re: Calendar v 3.0 [Re: Lupar_Drake] #221097 08/02/2002 7:24 AM
Joined: May 1999
Posts: 241
MattyJ Offline
Coder
Offline
Coder
Joined: May 1999
Posts: 241
Just got this IIP integration working with IIP4.3 and .threads 6.0.2... Wasn't hard at all, so if anyone needs the code, let me know and I can post it (with instructions) here.


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/
Week starts Monday instead of Sunday [Re: mazmanr] #221098 08/02/2002 7:33 PM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
For European users, i tried this in postlist.php:

// get what weekday the first is on
$tempDate = getdate(mktime(0,0,0,$mon,1,$year));
$firstwday= $tempDate["wday"]-1; //HACK: Monday starts week instead of Sunday: '-1' added
if ($firstwday==-1) {$firstwday=6;} //HACK: Monday starts week instead of Sunday: first day should not be -1


And here: (update the header namings...)
<tr class="tdheader"><th>Montag</th><th>Dienstag</th><th>Mittwoch</th><th>Donnerstag</th><th>Freitag</th><th>Samstag</th><th>Sonntag</th></tr>

Translation [Re: rodrigo1] #221099 08/02/2002 7:41 PM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
If you want to translate the calendar,
some code needs to be added after this:

if ($action = "findDate") {
$theDate = getdate(mktime(0,0,0,$mon,1,$year));
$month = $theDate["month"];
}

Add this:

//Hack im hack translation


switch($month) {
case "January":
$month2 = "Januar";
break;
case "February":
$month2 = "Februar";
break;
case "March":
$month2 = "März";
break;
case "May":
$month2 = "Mai";
break;
case "June":
$month2 = "Juni";
break;
case "July":
$month2 = "Juli";
break;
case "October":
$month2 = "Oktober";
break;
case "December":
$month2 = "Dezember";
break;
default:
$month2 = $month;
}
$month = $month2;
//Hack im hack ende

This is an example for German, you can change that after your needs for your language. Note that only Month names are changed in this example that are different in English than German.


Last edited by caymuc; 08/02/2002 7:44 PM.
Re: Calendar v 3.0 [Re: MRLefferts] #221100 08/02/2002 7:52 PM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
> $h = strtolower(strftime ("%I", $tm));

maybe:

$h = strtolower(strftime ("%H", $tm));

But I am still working to catch all those time-things myself, for example in addevent.php, this format change needs to be done, i think:

$date_string = date("j. n. Y, G:i",mktime ($hour_convert,$min,0,$mon,$day,$year)); //HACK AMPM


Last edited by caymuc; 08/02/2002 8:08 PM.
What does that >>> and »»»mean? [Re: rodrigo1] #221101 08/02/2002 8:21 PM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
What does that >>> and »»» mean?
I did not find out when what symbols are displayed.

if ($i > 0) {
$events .= "<hr width=95% align=center><font color=red><b>&#8250;&#8250;&#8250;</b></font> $Evnt<br>";
}
else {
$events .= "<font color=red><b>»»»</b></font> $Evnt<br>";
}


By the way: those >>> needs to be changed to that &#8250;&#8250;&#8250; code, or the MAC displays messy gremlins.

Re: Calendar v 3.0 [Re: Maze_Brendan] #221102 08/03/2002 2:58 AM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
Since I converted the Calendar somehow into German (not finished yet), I really start liking the idea of having one.

Thanks Max for your great work.

One thought: Do you think it is useful of having all the calendar entries also listed underneath?
The more entries the calendar has the more double information the page will have. I think I would prefer not showing the entries underneath but to have only the calendar displayed. - Other oppinions?

Last edited by caymuc; 08/03/2002 3:01 AM.
Re: Calendar v 3.0 [Re: rodrigo1] #221103 08/03/2002 6:50 AM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
posted by caymuc:
One thought: Do you think it is useful of having all the calendar entries also listed underneath?
The more entries the calendar has the more double information the page will have. I think I would prefer not showing the entries underneath but to have only the calendar displayed. - Other oppinions?



That is kind of my concern. After getting some use on my site I find people seeing a new post and they reply to it thinking today is the day of the event and such. I think it would be better t force users to just click the boxes and then be taken to the post info and replies.

Re: Calendar v 3.0 [Re: rodrigo1] #221104 08/03/2002 2:01 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
AllenAyres Offline
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Hey Caymuc, if you can share your German files, it would make it easier for me to finish the language file for the calendar

Pretty please...


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 [Re: SurfMinister] #221105 08/05/2002 2:47 AM
Joined: Jan 2001
Posts: 374
caymuc Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2001
Posts: 374
Hi, send me your email address to info @ chrom.de
I would mail you the code, as it is right now.

I prefer not to post my stuff online, it is translated but far from beeing finished. Also I changed this and that. So normal users would be rather confused than inspired by the hacks, but you will know what ro pick from it.

Greetings

Re: Calendar v 3.0 [Re: Lupar_Drake] #221106 08/05/2002 11:12 AM
Joined: Jun 2001
Posts: 3,273
JustDave Offline
That 70's Guy
Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
posted by paulf:
It dosent display a "mini calendar" but it does list all current upcoming events.


The next one does.

Re: Calendar v 3.0 [Re: sjsaunders] #221107 08/08/2002 9:43 PM
Joined: May 1999
Posts: 241
MattyJ Offline
Coder
Offline
Coder
Joined: May 1999
Posts: 241
posted by JustDave:
posted by paulf:
It dosent display a "mini calendar" but it does list all current upcoming events.


The next one does.


tease! how close are you nowadays?


--------------------
Matt Reinfeldt
http://www.mattreinfeldt.com/
Re: Calendar v 3.0 [Re: mazmanr] #221108 08/08/2002 10:50 PM
Joined: Jun 2001
Posts: 3,273
JustDave Offline
That 70's Guy
Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
hehehe I should have my test site open to public preview before this month is over with. I'm working on putting in a few extra rabbits to pull out of the hat for everyone's amusement... lol

This next version will be easier to set up but there will be alot of setting up to do... lol

Re: Calendar v 3.0 [Re: rodrigo1] #221109 08/18/2002 5:58 AM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Hi Caymuc,
It's relatively easy to hide the entries... that's how I had it at first, but my readers complained about not being able to easily identify new replies. This was the compromise I came up with, but other ideas are welcome.
Regards,
Max

Re: Calendar v 3.0 [Re: sjsaunders] #221110 08/21/2002 6:22 PM
Joined: Jan 2001
Posts: 62
kcweb Offline
Journeyman
Offline
Journeyman
Joined: Jan 2001
Posts: 62
I can't wait, JustDave.

the users on my board were very tickled with your world class IIP add-on that we're running with UBBT v5.5.1 at www.retailflorist.com.

I want to install the calendar add on etc but I'm thinking of waiting til the end of the month once you have it as a pal box.

would it be better to install it now and tiptoe up to your next release when it comes out or is it better to wait do it all in one big shot?

thanks,

Re: Calendar v 3.0 [Re: Braxton] #221111 08/21/2002 6:51 PM
Joined: Jun 2001
Posts: 3,273
JustDave Offline
That 70's Guy
Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
I would venture to say that you will be glad you waited.

Re: Calendar v 3.0 [Re: sjsaunders] #221112 08/21/2002 7:25 PM
Joined: Jan 2001
Posts: 62
kcweb Offline
Journeyman
Offline
Journeyman
Joined: Jan 2001
Posts: 62
posted by JustDave:
I would venture to say that you will be glad you waited.


okay, so you're saying I should wait and do it all in one big shot then?

what will you be releasing?

I haven't been keeping that up to date on features.

thanks,

Re: Calendar v 3.0 [Re: Braxton] #221113 08/21/2002 8:09 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
He's been working on the new IIP 5 for quite some time, what has it been, 6 months? lol j/k

But yeah, he's made some tremendous changes (or so I've heard) and like he said, it will be worth the little while to wait to do that.

Re: Calendar v 3.0 [Re: palmen] #221114 08/21/2002 8:24 PM
Joined: Jan 2001
Posts: 62
kcweb Offline
Journeyman
Offline
Journeyman
Joined: Jan 2001
Posts: 62
great thanks,

but this suspense is killing me.

what are some of the new features it will have?

Re: Calendar v 3.0 [Re: Maze_Brendan] #221115 09/14/2002 12:51 AM
Joined: Jun 2002
Posts: 375
Aglavalin Offline
Enthusiast
Offline
Enthusiast
Joined: Jun 2002
Posts: 375
Here are updated instructions for 6.1

Attached Files
56605-calendar-3.1beta.txt (0 Bytes, 85 downloads)
Re: Calendar v 3.0 [Re: neuron] #221116 09/20/2002 3:00 PM
Joined: Aug 2001
Posts: 128
Datal Offline
Member
Offline
Member
Joined: Aug 2001
Posts: 128
You forgot in the directions how to create a forum to be a calendar. How do I do this??

Re: Calendar v 3.0 [Re: Macthorn] #221117 09/20/2002 3:06 PM
Joined: Jun 2002
Posts: 375
Aglavalin Offline
Enthusiast
Offline
Enthusiast
Joined: Jun 2002
Posts: 375
Hmm, it's not mentioned in the original directions. If memory serves, I think you just make a normal forum. I called mine 'calendar' in the keyword, and used that in the script where you put in your forum's keyword.

Re: Calendar v 3.0 [Re: Macthorn] #221118 09/21/2002 12:05 AM
Joined: Nov 2000
Posts: 210
Pappy Offline
Member
Offline
Member
Joined: Nov 2000
Posts: 210
In the table w3t_boards (or prefix_Boards) set Bo_Calendar to Y in the calendar forum (s). I think?

Re: Calendar v 3.0 [Re: MercAqua] #221119 09/21/2002 4:02 AM
Joined: Apr 2001
Posts: 3,266
omegatron Offline
Member
Offline
Member
Joined: Apr 2001
Posts: 3,266
Aglavalin and Pappy are both right

First you set a special forum up named Calendar. Now when you first did this hack you did an SQL command. This inserted Bo_Calendar under W3T_Boards. Simply make sure any forum you want a calendar in mark Y. In my case I have one forum named Calendar like above. I have ALL forums marked N and only one forum marked Y. This will create the desired effect of one special place for a calendar like here at Threadsdev etc.

Re: Week starts Monday instead of Sunday [Re: rodrigo1] #221120 09/21/2002 6:13 PM
Joined: Jun 2001
Posts: 3,273
JustDave Offline
That 70's Guy
Offline
That 70's Guy
Joined: Jun 2001
Posts: 3,273
Just checking..

The only difference between the calendar week from western > european is that Monday starts off the european week?


Re: Week starts Monday instead of Sunday [Re: sjsaunders] #221121 09/21/2002 6:32 PM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Yes...

Doesn't it in most countries?



Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Page 2 of 4 1 2 3 4

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
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,523
Posts293,714
Members13,832
Most Online5,166
Sep 15th, 2019
Top Posters(All Time)
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,789
Greg Hard 4,625
Top Posters(30 Days)
isaac 12
Gizmo 2
Today's Statistics
Currently Online 97
Topics Created 0
Posts Made 1
Users Online 2
Birthdays 12
Top Likes Received (All Time)
isaac 27
Brett 7
Morgan 2
DCPhil 1
Slaz 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2019 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191201.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.122s Queries: 97 (0.056s) Memory: 3.6313 MB (Peak: 4.0858 MB) Data Comp: Zlib Server Time: 2019-12-12 19:42:36 UTC
Valid HTML 5 and Valid CSS