Previous Thread
Next Thread
Print Thread
Rating: 15
#216405 05/06/2002 12:36 PM
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
Has anyone tried porting Max Fisch's wonderful calendar add-on to 6.0?


Paul Fries
Systems Administrator
CWIE LLC
Sponsored Links
Joined: Aug 1999
Posts: 184
Member
Member
Offline
Joined: Aug 1999
Posts: 184
I would love to see this happen myself. And I have quite a few good ideas for him. Having a calendar in the forums is so much more convenient than an external program doing it.


Silly ricer.. Wings are for airplanes!
Franky #216407 05/06/2002 6:13 PM
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
If anyone accomplishes this, please post the diff output!


Paul Fries
Systems Administrator
CWIE LLC
Lupar_Drake #216408 05/08/2002 12:53 PM
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
I have been working on porting this myself (and making quite a mess I must say ).

I think what needs to happen is to create new templates for any "calendar" forums, and load those templates from newpost, addpost, etc.. The templates would be something like addpost_moderated.calendar.tmpl, newpost.calendar.tmpl, etc. They would be basically the same as their counterparts, but they would contain all of the modified HTML that the calendar mod incorporates.

Then inside of the newpost.php, addpost.php, etc you would have some logic that says if $Calendar == Y then load the proper template.

Am I on the right track here?


Paul Fries
Systems Administrator
CWIE LLC
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Sounds like you are

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
Sounds like it to me as well


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
*bump*

any news on this one now? it's time


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
I had a somewhat working version of this with 6.0.br2.

I communicated with Max though, and he said he was planning on updating the patch himself once v6 was final.


Paul Fries
Systems Administrator
CWIE LLC
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
That's good news

Many will be glad to see this back.

Joined: Jun 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 15
We would also love to see a Calendar add-on for ubb.threads 6.x

One of our client sites currently running on ubb.classic 6.2 has the Calendar hack developed over at ubbdev.com ... our users love it, and we would like to see a similar implementation once we migrate to threads.

Rah rah rah

Rob

Sponsored Links
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
I really need a calendar... so I'm patiently awaiting

Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
Not sure if anyone is currently working on this or not, but I have been taking a stab at it.

I think I am fairly close, but I am stuck on one piece of code... It is the part in postlist.php that actually displays the calendar.

Now - I can insert this code directly into postlist.php just like on 5.5.1, however this causes the calendar to be displayed before the tool and navbar. So I assume that most of this code needs to appear in a new template file. I have already created a new template file for the "Hidden Calendar" view, and it works fine. However the "show calendar" view is causing me a real headache since I cant just paste the old code into a template in the proper place (it prints some ugly PHP errors).

I have attached the code. I think I am just having trouble figuring out how to accomplish what this code does from using both postlist.php and a template file.

Any pointers would be much appreciated. Also, If anyone else is currently working on this, perhaps we could work together. Shoot me an ICQ (2910712) or e-mail me.

Thanks!
[][email protected][/]
Attachments
49969-calendar.txt (0 Bytes, 192 downloads)


Paul Fries
Systems Administrator
CWIE LLC
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
Yuck... attaching that file really blew the heck out of the text. I will just paste this as inline text. Sorry for the long post:


Last edited by paulf; 06/14/2002 3:33 PM.

Paul Fries
Systems Administrator
CWIE LLC
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
I don't know if you want to edit your code out in the post above - because your first attachment was fine - all you need do is view source to get the code - something I didn't realise until the other day

Editing the message, will also return this thread to a decent width

Regards,

Ian


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Gorlum #216419 06/14/2002 3:33 PM
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
heh. k. done. Sorry about that.


Paul Fries
Systems Administrator
CWIE LLC
Lupar_Drake #216420 06/18/2002 11:46 AM
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
Has anyone made any further progress on converting the calendar code into templates for v6?


Paul Fries
Systems Administrator
CWIE LLC
Joined: Jun 2002
Posts: 61
Power User
Power User
Offline
Joined: Jun 2002
Posts: 61
I would definately like this too, anyone manage it?

Much appreciated,

-Jason

AggieMan #216422 07/04/2002 10:00 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I would like to see someone convert Max Fisch's Calendar Hack as well. I have been waiting patiently as well

sf49rminer #216423 07/04/2002 10:12 PM
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
I am also still waiting

Lupar_Drake #216424 07/06/2002 1:02 AM
Joined: May 1999
Posts: 149
Enthusiast
Enthusiast
Offline
Joined: May 1999
Posts: 149
Hi guys,

Sorry for the long delay... I'm working on this, and making good progress.

I've got it working at this point, but I cut a few corners... instead of developing individual templates for the calendar, I just embedded the whole thing in the files. Less flexible, but easier to manage.

I also have replaced newpost.php and addpost.php with newevent.php and addevent.php , in order to avoid slowing down the regular posts with unnecessary code, and avoiding a million IF statements.

But I did cut out some minor features - more on this later.

Give me a few days, the ETA is July 16th.

Regards,
Max



Maze_Brendan #216425 07/07/2002 11:43 AM
Joined: Feb 2002
Posts: 19
User
User
Offline
Joined: Feb 2002
Posts: 19
Godd Stuff Max, thanks for the update

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yes, thanks for the update


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 30
User
User
Offline
Joined: Apr 2002
Posts: 30
wahoo! Thanks Max!


Paul Fries
Systems Administrator
CWIE LLC
Joined: Jun 2002
Posts: 15
Newbie
Newbie
Offline
Joined: Jun 2002
Posts: 15
posted by Max Fisch:
Sorry for the long delay... I'm working on this, and making good progress.
(snip)
Give me a few days, the ETA is July 16th.



Great stuff Max , thank you very much for the update.

RTM

Joined: May 1999
Posts: 149
Enthusiast
Enthusiast
Offline
Joined: May 1999
Posts: 149
Here it is!
Beta Calendar v3

SurfMinister #216430 07/13/2002 11:56 AM
Joined: May 1999
Posts: 149
Enthusiast
Enthusiast
Offline
Joined: May 1999
Posts: 149
You'll be pleased to see that I didn't post the entire scripts this time around

Maze_Brendan #216431 07/14/2002 12:24 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
heheh.. thanks for the work Max, I plan to give it a shot tomorrow night if possible


- Allen wavey
- What Drives You?

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)