Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 4 1 2 3 4
Calendar v 3.0 #221042 07/13/2002 10:47 AM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Hi all, here's the beta Calendar upgrade, the old version was on this thread

Please note that this is a beta... the calendar is working fine for me, but I had to play around with the installation instructions a lot, and there is a chance for error.

Hold on to your old files, backup your database, etc etc... you may want to hold off from installing this in a production installation until some other users give us some feedback.

Max

[PS - oops, I forgot to clarify, at the end of the installation instructions, that you should also upload your new showthreaded.php ]

Attached Files
52455-instructions.txt (0 Bytes, 111 downloads)
Last edited by Max Fisch; 07/13/2002 10:52 AM.
Sponsored Links
Re: Calendar v 3.0 [Re: Maze_Brendan] #221043 07/13/2002 11:04 AM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Thanks Max - is there a demo anywhere of this running?

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] #221044 07/13/2002 12:58 PM
Joined: Jun 2002
Posts: 15
RTM_dup1 Offline
Newbie
Offline
Newbie
Joined: Jun 2002
Posts: 15
posted by Max Fisch:
Hi all, here's the beta Calendar upgrade


This is great, Max. Thank you for sharing your work. Is this Beta Calendar hack in use at your site, in the Events forum at The Hang?

Thanks,

Rob

Re: Calendar v 3.0 [Re: Michael_Moore] #221045 07/13/2002 2:51 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Yes it is.

Re: Calendar v 3.0 [Re: Maze_Brendan] #221046 07/13/2002 7:50 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
I want to see it in action, where is it?

Sponsored Links
Re: Calendar v 3.0 [Re: Maze_Brendan] #221047 07/13/2002 11:23 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
muchas gracias. will be installing here soon


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 [Re: SurfMinister] #221048 07/14/2002 8:34 AM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Looks great! Thank you.

Re: Calendar v 3.0 [Re: palmen] #221049 07/14/2002 5:49 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
you got a demo link?


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 [Re: SurfMinister] #221050 07/15/2002 4:05 PM
Joined: Apr 2001
Posts: 3,266
omegatron Offline
Member
Offline
Member
Joined: Apr 2001
Posts: 3,266
To really clean up this whole installation of the calendar one could attach the new files created to save time and then we simply would have to do a few basic steps to install this thing. Templates could also be made. I have updated the instructions a bit for those who want a simpler install and attach the neccesary files that are created which take alot of the work. Great work Max looks great.

Attached Files
52556-calandar.zip (0 Bytes, 18 downloads)
Re: Calendar v 3.0 [Re: sf49rminer] #221051 07/15/2002 4:46 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Agreed Omega, but Infopop has objections to posting complete modified scripts. That's what I did when I released V2, and Allen was kind enough to change it to a "differential" version.

Max

Sponsored Links
Re: Calendar v 3.0 [Re: Maze_Brendan] #221052 07/15/2002 5:21 PM
Joined: Apr 2001
Posts: 3,266
omegatron Offline
Member
Offline
Member
Joined: Apr 2001
Posts: 3,266
Ah so things are different that UBB for UBBThreads???

When one downloads a hack at UBBDEV.com the file contains the new files which are not normally a infopop file. I did not include modified UBBThreads files. I just included in the above post a modified install file and addevent.php and newevent.php. These are not infopop files. I figured from the rules I have read this is allowed. It is done in the UBB forum all the time. Oh well if I am mistaken my bad. Download any hack over at UBBDEV and the non infopop files are included in the distribution. I just thought this would save people time hacking as I installed your hack and it works good. It took along time creating addevent.php and newevent.php hense my post above.

Allen: If I am mistaken on the rules simply remove my attachment. The three files included in the attachment are an updated install and the two files created which are addevent.php and newevent.php

Re: Calendar v 3.0 [Re: sf49rminer] #221053 07/15/2002 6:31 PM
Joined: Jun 2002
Posts: 375
Aglavalin Offline
Enthusiast
Offline
Enthusiast
Joined: Jun 2002
Posts: 375
This calendar works great for me, thanks Max

Re: Calendar v 3.0 [Re: neuron] #221054 07/15/2002 10:05 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
You're welcome, enjoy
Max

Re: Calendar v 3.0 [Re: sf49rminer] #221055 07/16/2002 12:09 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
I haven't yet looked at the files, but if they don't contain Infopop code, then they should be fine.

We can share templates and language files, but no php files (with IP's code).

Thanks for asking


- Allen wavey
- What Drives You?
Re: Calendar v 3.0 [Re: SurfMinister] #221056 07/16/2002 3:37 AM
Joined: Apr 2001
Posts: 3,266
omegatron Offline
Member
Offline
Member
Joined: Apr 2001
Posts: 3,266
Well based on your thinking then remove the attachment. Because any modified file even hacked and discombobulated contains still IP work. Weird the rules must have changed in the last 6 months or rather stricter in enforcement . Oh well my bad.

Re: Calendar v 3.0 [Re: Maze_Brendan] #221057 07/16/2002 1:50 PM
Joined: Nov 2000
Posts: 210
Pappy Offline
Member
Offline
Member
Joined: Nov 2000
Posts: 210
Hi Max
I installed the Calendar update for 6.02 and it went in like a dream. Very Easy. Thanks a Million, My users apreciate it.

Re: Calendar v 3.0 [Re: MercAqua] #221058 07/16/2002 5:02 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
You're welcome, good to hear - sorry it took me so long.
Max

Re: Calendar v 3.0 [Re: Maze_Brendan] #221059 07/16/2002 5:46 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Hey Max, just a question or two. My users have been dying without a calendar, so I really want to get it running. But knowing it is still in the working stages, how easy is it going to be to upgrade to newer versions/fixes you come out with?

I just wonder because it is a very in-depth hack, and just wondering what it will take to make any changes, or if your updated instructions for the new releases will specifically address upgrade issues?

Re: Calendar v 3.0 [Re: palmen] #221060 07/17/2002 6:32 AM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Hello msula,

It shouldn't be too hard to upgrade once you install it: I don't anticipate any database changes, and if you look at it, the only file that's changing from the standard code is postlist.php (the rest of the files are new). So re-installing an upgraded version shouldn't be particularly hard.

Regards,
Max



Re: Calendar v 3.0 [Re: Maze_Brendan] #221061 07/17/2002 9:44 AM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Thanks, sounds great then!

Re: Calendar v 3.0 [Re: Maze_Brendan] #221062 07/17/2002 9:48 AM
Joined: Jan 2002
Posts: 218
WrÅith Offline
Enthusiast
Offline
Enthusiast
Joined: Jan 2002
Posts: 218
Max:

Can you provide a link to a demo so we can see how this works?

almost working [Re: SDS] #221063 07/17/2002 2:21 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Hey max, or anyone? I installed the hack, everything works great, except my posts for new events don't show up in the calendar itself, only below it as a post What could be the problem?

Check it out
http://www.michiganjeepers.com/forums/postlist.php?Cat=&Board=calendar

Also, I know the arrow images don't work, that's fine for now

Re: almost working [Re: palmen] #221064 07/17/2002 4:44 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
I had the same problem -- not showing up in the calendar, but in the list. Before I had a chance to really pour over it and see what I missed, omegatron posted the attachment above, I used that to check what I'd missed, and there was a whole section I missed in addevent I believe. I really wish I could tell you what it was, but I don't think I have a copy of what I had before I fixed it. I'll look though, I have Beyond Compare set to automatically backup things I change. Heaven knows I don't ever remember.

I have a working version here:
http://www.fishingfordeals.com/forums2/postlist.php?Cat=&Board=calendar

if anyone wants to try it. It's just an empty testboard, and you should be able to post anonymously.

Last edited by Lisa_P; 07/17/2002 4:49 PM.

[:"red"]Lisa[/]
Re: almost working [Re: JacquiL] #221065 07/17/2002 4:48 PM
Joined: May 1999
Posts: 1,715
Gardener Offline
Addict
Offline
Addict
Joined: May 1999
Posts: 1,715
I get access denied with that link, and the calendar doesn't show up in the main index.

Re: almost working [Re: c0bra] #221066 07/17/2002 4:57 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
I'm sorry, please try again. It should work now.


[:"red"]Lisa[/]
Re: almost working [Re: JacquiL] #221067 07/17/2002 5:05 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
I used omega's attachment and uploaded the two add*.php files and it works fine now I followed those instructions perfectly I thought and went very slow. Hmm... but anyway, its working

Re: almost working [Re: palmen] #221068 07/17/2002 5:09 PM
Joined: Mar 2002
Posts: 305
Lisa_P Offline
Enthusiast
Offline
Enthusiast
Joined: Mar 2002
Posts: 305
I thought I followed them pretty closely too. There is either an error in the original instructions, or something that's confusing and caused me to put it in the wrong spot.


[:"red"]Lisa[/]
Re: almost working [Re: JacquiL] #221069 07/17/2002 5:19 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
I'm just wondering if any existing hacks had originally edited the files that were used to create those two new ones.. don't see anything missing yet, but I can't remember half the hacks I installed

Re: almost working [Re: palmen] #221070 07/17/2002 6:15 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
If you figure it out, please let me know so I can edit the instructions.

Regards,
Max

Re: almost working [Re: palmen] #221071 07/17/2002 9:11 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
looks very good on your site, and I must say, your whole site really has improved over the last few months nice work.


- Allen wavey
- What Drives You?
Re: almost working [Re: Maze_Brendan] #221072 07/17/2002 9:21 PM
Joined: Nov 2000
Posts: 210
Pappy Offline
Member
Offline
Member
Joined: Nov 2000
Posts: 210
Hi Max,
one problem I had is when I delete an event it does not delete from the main database? is there an updated editpost? or did I miss something?

Re: almost working [Re: SurfMinister] #221073 07/17/2002 9:39 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
posted by AllenAyres:
looks very good on your site, and I must say, your whole site really has improved over the last few months nice work.


Who's site were you commenting on? I was hoping mine, but I doubt it.. lol

Just wondering

Re: almost working [Re: palmen] #221074 07/17/2002 10:09 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
Yours, someone I know is outgrowing ubb, I pointed them to your site as an example of a good threads site


- Allen wavey
- What Drives You?
Re: almost working [Re: SurfMinister] #221075 07/17/2002 10:18 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Oh yay! I just got tingles, I'm so happy. haha j/k

But for real, thanks. It is growing fast, but threads is keeping up just fine. A few issues to work out with my header and everything will almost be set. Oh, and IIP 5.0 will be nice too

Re: Calendar v 3.0 [Re: Maze_Brendan] #221076 07/18/2002 4:44 PM
Joined: Feb 2002
Posts: 2,286
Ian_W Offline
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
Just one thought - how complicated would it be to display today's date in a different colour so that it stood out?

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: Gorlum] #221077 07/18/2002 6:02 PM
Joined: Feb 2002
Posts: 1,759
msula Offline
Addict
Offline
Addict
Joined: Feb 2002
Posts: 1,759
Max, or Dave, any thought on making this work for a pal box Basically, just a box that contained a mini-calendar with numbers, but the days that had something planned those boxes are a different color and when clicked on take you to the associated event?

Re: almost working [Re: MercAqua] #221078 07/18/2002 6:14 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
Pappy,
see the notes in the instructions starting on line 14.
When you delete a post, it does get deleted from the main w3t_Posts table as usual, but not from the new "Events" table. The idea is that unless you're deleting hundreds of events, I judged that the tradeoff between modifying an additional script and just leaving a few "dead" entries in the Events database wasn't worth it.

Having said that, see the "Additional note" in the instructions starting on line 30 - if you really want to delete entries in the Events database, you could adapt/update from this old thread

Regards,
Max

pretty easy [Re: Gorlum] #221079 07/18/2002 6:20 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
That's pretty easy... in postlist.php, find

if (($d == $thisDay) && ($mon == $thisMon)) {
echo " class="darktable"><table width="100%" cellpadding="0" cellspacing="0"><tr><td>$d.</td>";

This prints the starting point for today's cell. It shows up in "darktable" colors, and other days show up in "lighttable" colors. You can either modify these in the stylesheet you use, or you can modify the above lines to your liking. The $d prints today's day of the month, so you could replace it with <font=red>$d.</font> or something like that.

Regards,
Max

Re: Calendar v 3.0 [Re: palmen] #221080 07/18/2002 6:23 PM
Joined: May 1999
Posts: 149
Max Fisch Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: May 1999
Posts: 149
That would be pretty cool
Maybe Dave would consider building it... He could steal the formatting from the box on http://ubbdesign.com/

Max


Re: Calendar v 3.0 [Re: Maze_Brendan] #221081 07/18/2002 6:31 PM
Joined: Apr 2001
Posts: 3,266
omegatron Offline
Member
Offline
Member
Joined: Apr 2001
Posts: 3,266
One suggestion though. It would be nice to post an event one time with a beginning and end date one time instead of having to post it all say 3 days. An example lets say would be a 3 day convention. If one wants to post this it would have to be posted 3 times on every day instead of one post which would then fill the corresponding days correctly on the calendar.

Page 1 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
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,524
Posts293,716
Members13,832
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 87
Topics Created 0
Posts Made 1
Users Online 1
Birthdays 14
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,790
Greg Hard 4,625
Top Posters(30 Days)
isaac 13
Gizmo 3
Top Likes Received
isaac 27
Brett 7
Morgan 2
Slaz 1
Top Likes Received (30 Days)
isaac 27
Brett 7
Morgan 2
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 20191214.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.123s Queries: 98 (0.051s) Memory: 3.6330 MB (Peak: 4.0772 MB) Data Comp: Zlib Server Time: 2019-12-15 03:02:32 UTC
Valid HTML 5 and Valid CSS