ExcelsiorDDZ
Member
Registered: 08/09/99
Posts: 234
Loc: New York
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!
I have been working on porting this myself (and making quite a mess I must say <img src="/forum/images/icons/wink.gif" alt="" /> ).<br /><br />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.<br /><br />Then inside of the newpost.php, addpost.php, etc you would have some logic that says if $Calendar == Y then load the proper template.<br /><br />Am I on the right track here?
_________________________
Paul Fries Systems Administrator CWIE LLC
I had a somewhat working version of this with 6.0.br2.<br /><br />I communicated with Max though, and he said he was planning on updating the patch himself once v6 was final. <img src="/forum/images/icons/smile.gif" alt="" />
_________________________
Paul Fries Systems Administrator CWIE LLC
We would also love to see a Calendar add-on for ubb.threads 6.x<br /><br />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.<br /><br />Rah rah rah <img src="/forum/images/icons/wink.gif" alt="" /> <br /><br />Rob
Not sure if anyone is currently working on this or not, but I have been taking a stab at it.<br /><br />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.<br /><br />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).<br /><br />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.<br /><br />Any pointers would be much appreciated. Also, If anyone else is currently working on this, perhaps we could work together. <img src="/forum/images/icons/smile.gif" alt="" /> Shoot me an ICQ (2910712) or e-mail me. <br /><br />Thanks!<br />[]paul@cwie.net[/]
Yuck... attaching that file really blew the heck out of the text. <img src="/forum/images/icons/smile.gif" alt="" /> I will just paste this as inline text. Sorry for the long post: <br /> <br />
Edited by paulf (06/14/0203:33 PM)
_________________________
Paul Fries Systems Administrator CWIE LLC
Ian_W
Veteran
Registered: 02/22/02
Posts: 2575
Loc: England
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 <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />Editing the message, will also return this thread to a decent width <img src="/forum/images/icons/wink.gif" alt="" /><br /><br />Regards,<br /><br />Ian
_________________________ Fans Focus - Focusing on Fans of Sport
(Okay - mainly football (the British variety at the moment - but expanding all the time....)
I would like to see someone convert Max Fisch's Calendar Hack as well. I have been waiting patiently as well <img src="/forum/images/icons/wink.gif" alt="" />
Hi guys,<br /><br />Sorry for the long delay... I'm working on this, and making good progress. <br /><br />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.<br /><br />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.<br /><br />But I did cut out some minor features - more on this later.<br /><br />Give me a few days, the ETA is July 16th.<br /><br />Regards,<br />Max<br /><br /><br />