 |
 |
 |
 |
#229473 - 12/18/02 03:44 PM
Calendar - 6.2
|
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 /> 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
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#229492 - 01/07/03 02:42 PM
Re: Calendar - 6.2
[Re: joeuser]
|
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("<","<",$PrintBody); <br /> $PrintBody = str_replace(">",">",$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("&","&",$FormSubject); <br /> $FormBody = str_replace("&","&",$FormBody); <br /> $formLocation = $html -> form_encode($formLocation); <br /> $formLocation = str_replace("&","&",$formLocation); <br />
_________________________
Regards Clint
Running on WIN2003 Web Server.
Paranoid people get followed too!
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|