php forum
php mysql forum
php mysql smarty
 
Page 1 of 7 1 2 3 4 5 6 7 >
Topic Options
#229473 - 12/18/02 03:44 PM Calendar - 6.2
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
[:"red"]WARNING: THERE ARE SOME ERRORS IN THE DOCUMENTATION FOR THIS HACK. YOU MAY WANT TO DELAY USING THIS HACK UNTIL THE ERRORS HAVE BEEN CORRECTED.[/] <br /> <br />
Code:
NAME:             Calendar <br />VERSION:          Dave_L.0.1 (temporary until someone decides what number this should be) <br />DESCRIPTION:      Enables one or more forums to be used as event calendars. <br />WORKING UNDER:    UBB.threads 6.2br2 <br />PREREQUISITES:    none <br />AUTHORS:          Gamejag, Max Fisch, Allen Ayers, Dave_L <br />CREDITS:          JustDave, Lunatik and others <br />DEMO:             none <br />FILES ALTERED:    postlist.php, showthreaded.php (optional changes) <br />DATABASE ALTERED: yes <br />NEW FILES:        addevent.php, newevent.php, postlist_event.php, <br />                  templates/default/addevent_preview.tmpl, templates/default/newevent.tmpl, <br />                  images/red_arrow.gif, images/red_arrow_1.gif <br /> <br />HISTORY: <br />  2002-12-18  Dave_L  Dave_L.0.0 <br />    Updated for UBB.threads 6.2 <br />    Use user's time zone offset and date/time format display preferences. <br />    Moved most of the postlist.php changes to a separate file postlist_event.php. <br />    Moved events table query in postlist_event.php out of loop for efficiency. <br />  2002-12-18  Dave_L  Dave_L.0.1 <br />    Corrected description above.
<br /> <br />----------------------------- <br /> <br />Notes: <br /> <br />1) This was based on the version of the Calendar hack in this post: http://www.threadsdev.com/threads/php/showthreaded.php?Cat=&Board=beta&Number=53193 <br /> <br />2) I didn't know what version this should be. Until someone else decides this, I temporarily numbered it "Dave_L.0.0". <br /> <br />3) As an experiment, I provided most of the change-instructions using BeyondCompare file-difference-report files. <br /> <br />----------------------------- <br /> <br />Updated to version Dave_L.0.1 - the only change was correcting the description above. I had copied the header info from another hack, and forgot to change it.


Attachments
62190-calendar-Dave_L-0-1.zip (160 downloads)



Edited by Dave_L (01/15/03 12:34 PM)
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229474 - 12/18/02 08:21 PM Re: Calendar - 6.2 [Re: joeuser]
PhotoPost Offline
Hacker

Registered: 02/03/02
Posts: 989
Dave, do you have a site where I can see this?
_________________________
[]http://www.danasoft.com/vipersig.jpg[/]
Viper Alley - http://www.viperalley.com
Extreme Fitness - http://www.extremefitness.com[/b]

Top
#229475 - 12/18/02 09:42 PM Re: Calendar - 6.2 [Re: gailg]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
I don't have the hack installed on a public site. You might check the older calendar thread(s) to see if someone has a demo site. The 6.2 hack is basically the same as version 3.0.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229476 - 12/20/02 03:11 PM Re: Calendar - 6.2 [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Michael,<br /><br /> If you would like to see the calendar visit my site<br /><br />http://www.reeftalk.com<br />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#229477 - 12/22/02 01:53 PM Re: Calendar - 6.2 [Re: sf49rminer]
Lunatik Offline
User

Registered: 06/18/02
Posts: 28
Woot. My name in the list <img src="/forum/images/graemlins/smile.gif" alt="" /> glad to be of help. Once 6.2 Beta 3 comes out ill test it out myself.

Top
#229478 - 12/26/02 06:36 PM Re: Calendar - 6.2 [Re: sari]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Dave,<br /><br /> You think you can tell me how to read a beyond compare difference report? I see nowhere in beyond compare to load it? I am missing something here. I can not read this to be able to install it.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#229479 - 12/26/02 07:01 PM Re: Calendar - 6.2 [Re: sf49rminer]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
They're just HTML files, so your browser should display them.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229480 - 12/26/02 07:13 PM Re: Calendar - 6.2 [Re: joeuser]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL I know I figured that out after beating myself over the head for asking such a stupid question. Just had me all turned around with the beyond compare thing. I was looking for some special thing until I woke up and brought them up in the browser.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#229481 - 12/31/02 06:28 AM Re: Calendar - 6.2 [Re: joeuser]
sportbikes Offline
Member

Registered: 10/29/02
Posts: 167
Loc: So Cal USA
I was wondering...<br /> - Does this use any kind of cache. I read in the previous version that large boards may have problems with it. I have a reasonably large baord, so I'm concerned.<br /><br /> - Is there a Pal box for v. 6.2?<br /><br />Thanks
_________________________
mike
www.esportbike.com

Top
#229482 - 12/31/02 07:27 AM Re: Calendar - 6.2 [Re: alsalmicom]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
This hack doesn't use any sort of cache.<br /><br />For the postlist, the number of queries was reduced by fetching all the events for a month with one query. The old version did a separate query for each day of the month.<br /><br />JustDave would have to answer the IIP question.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229483 - 01/01/03 04:04 PM Re: Calendar - 6.2 [Re: joeuser]
sportbikes Offline
Member

Registered: 10/29/02
Posts: 167
Loc: So Cal USA
Was there a way to populate the calendar with the Birthdates automatically? I thought I saw that somewhere, but I can't find it. Maybe it was never done?<br /><br />
_________________________
mike
www.esportbike.com

Top
#229484 - 01/01/03 05:56 PM Re: Calendar - 6.2 [Re: alsalmicom]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I think Nikos put it together.<br /><br />I never got a chance to use it (yet). We need to find it and I should add it to the instructions. <br /><br />I haven't installed the calendar on any boards yet under 6.2, but I have a client that I probably will need to, so I'll be figuring it out eventually.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229485 - 01/03/03 05:45 PM Re: Calendar - 6.2 [Re: joeuser]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1966
Loc: Sweden, Stockholm
From what I could see this should be the latest and the greatest version of this mod, so I closed the other thread that was open. Please correct me if I'm wrong, I don't use the mod myself so I haven't really followed the development of it.
_________________________
/Gardener | Complete list of my mods

Top
#229486 - 01/03/03 07:19 PM Re: Calendar - 6.2 [Re: c0bra]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
I based the version I posted here on the latest version I could find in the other thread, so closing the other thread probably makes sense, now that 6.2 is released.<br /><br />I hereby turn over maintenance of this hack to ... everyone. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />The first task is to decide on a better version number.
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#229487 - 01/03/03 09:37 PM Re: Calendar - 6.2 [Re: joeuser]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
We ought to name our hacks with the threads version number, but add letters.<br /><br />Calendar 6.2.a<br />Calendar 6.2.b<br /><br />It would be easier to know what version it was written for. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#229488 - 01/03/03 11:14 PM Re: Calendar - 6.2 [Re: Daine]
Zackary Offline
Member

Registered: 03/01/01
Posts: 652
Loc: West Fargo, ND USA
Added this to my test board tonight to check it out. Looks like there are a number of documentation changes that need to be made. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />I was able to muddle through but a number of items didn't match up and I had to do some heavy searching to find the appropriate places to edit. <br /> <br />Seems to be working though. <img src="/forum/images/graemlins/smile.gif" alt="" /> Nice mod! <br /> <br /> <br />[EDIT: Should have mentioned I'm using 6.2 release <img src="/forum/images/graemlins/tongue.gif" alt="" />]


Edited by Zackary (01/03/03 11:16 PM)

Top
#229489 - 01/04/03 06:14 AM Re: Calendar - 6.2 [Re: ]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
I think this hack developed to be one of the "must-have"s for everyone. <br />What a pity that this calender does not support language files yet. <br />And for international versions it is essential to be able to <br />- exchange AM/PM against a 24hrs display <br />- switch to a display where Monday is 1st day of the week intstead of sunday. <br /> <br />Of course we could try to develope a German version from it (and discuss it on the German board), embedding the neccessary changes. The problem would be only that then two separate calendar hacks would be to maintain instead of only one, a situation that imho. should be avoided.... <br /> <br />Also I want to draw your attention again to a wonderful hack that combines Josh's phantastic BIRTHDAY hack with this cool one: it is displaying all found birthdays automatically in the calendar. This hack is burried deep inside this thread: <br />http://www.threadsdev.com/threads/php/sh...o=&vc=1 <br />Although I don't get it working with the new calendar hack, I think it is well worth not to be forgotten <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#229490 - 01/07/03 01:01 PM Re: Calendar - 6.2 [Re: rodrigo1]
Wando Offline
Power User

Registered: 04/10/02
Posts: 64
Loc: UK
worked a treat!<br /><br />Even I managed this one!!!!!!!!<br /><br />demo on www.audi-sport.net
_________________________
www.planet-audi.net

Top
#229491 - 01/07/03 01:05 PM Re: Calendar - 6.2 [Re: algorewon]
Pappy Offline
Member

Registered: 11/17/00
Posts: 235
Loc: Germany (US Citizen)
Yes Great Hack Thanks Dave <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#229492 - 01/07/03 02:42 PM Re: Calendar - 6.2 [Re: joeuser]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
Am I missing somthing i have had the hack installed for ages, but just went to upgrade to this version and the installation was fine but the addpost.php instructions seem all wrong, is this hack ok for 6.2 RC ?<br /><br />I cant find this bit for instance:<br />// ------------------------------------------------------------- <br />// If HTML is off then we need to get rid of < and > in the body <br /> if ( ($convert != "html") && ($convert !="both") ) { <br /> $PrintBody = str_replace("<","&lt;",$PrintBody); <br /> $PrintBody = str_replace(">","&gt;",$PrintBody); <br /> } <br /> $html -> send_header($ubbt_lang['PREV_POST'],$Cat,0,$user,$Extra,$ReadPerm); <br /><br /> <br /> $FormSubject = $html -> form_encode($FormSubject); <br /> $FormBody = $html -> form_encode($FormBody); <br /> $FormSubject = str_replace("&","&amp;",$FormSubject); <br /> $FormBody = str_replace("&","&amp;",$FormBody); <br /> $formLocation = $html -> form_encode($formLocation); <br /> $formLocation = str_replace("&","&amp;",$formLocation); <br />
_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
Page 1 of 7 1 2 3 4 5 6 7 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks