|
|
Joined: Nov 2001
Posts: 54
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 54 |
phew!! I thought I had buggered it!!
ouch, I would love to know where to start.......lol
config inc is set from contol panel==>writes to ubbt inc? which is by editdisplay????????
my brain hurts.........am I on the right track to anything?
cheers,
dRiver
|
|
|
|
Joined: Nov 2001
Posts: 54
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 54 |
found this piece of code and was wondering if it will fis the time offset and the best way/place to insert it into the hack
$hourdiff = "16"; // hours difference between server time // and local time in this case, we're *ahead* // of our server by 16 hours $timeadjust = ($hourdiff * 60 * 60); $melbdate = date("l, d F Y h:i a",time() + $timeadjust); print ("$melbdate");
dRiver
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I added links to the current files in the first post, you can also find them on the 7th page and here: For those experienced that can handle diff comparisons, I have the differences between stock 5.5.1 threads files and the calendar modification (v2.2). diff.zip (stock 5.5.1 on the left and modifications on the right) For us mere mortals, here is a more understandable instruction set: calendar_2_2.zip
|
|
|
|
Joined: Mar 2002
Posts: 15
Newbie
|
Newbie
Joined: Mar 2002
Posts: 15 |
I love you Guys ****Cries***** this is awesome really thank you so much Allen and Max and everyone who made this Possible!!!!!!:)
|
|
|
|
Joined: May 1999
Posts: 149
Enthusiast
|
Enthusiast
Joined: May 1999
Posts: 149 |
A second little bugfix... In addpost.php, find the following: ************************************************************ // ------------------------------------------------------- // Make sure there's a location or it's a reply if($Calendar == 'Y') { if ( !$Location && !$replyto ) { $html -> not_right($ubbt_lang['ALL_FIELDS'],$Cat); } } ************************************************************ And replace with: ************************************************************ // ------------------------------------------------------- // If this is a reply, don't treat this as a calendar if ( $replyto ) { $Calendar = 'N' ; } // ------------------------------------------------------- // Make sure there's a location or it's a reply if($Calendar == 'Y' && !$Location) { $html -> not_right($ubbt_lang['ALL_FIELDS'],$Cat); } ************************************************************ As a result of the bug, addpost was making unneeded entries into the Events table for replies. If desired, you can delete entries in the w3t_Events table which don't have a location listed. Also, an old/incorrect date was being shown in the preview of replies on the calendar board. Regards, Max
|
|
|
|
Joined: Mar 2002
Posts: 15
Newbie
|
Newbie
Joined: Mar 2002
Posts: 15 |
Hi Max I could not find this code in the Files that Allen posted above?
|
|
|
|
Joined: Jun 2001
Posts: 3,273
That 70's Guy
|
That 70's Guy
Joined: Jun 2001
Posts: 3,273 |
This link https://www.ubbdev.com/mods/5.5/calendar_2_2.zip seemed to be working for me. Maybe Allen didn't have the files uploaded at the time you tried to access them. []/forum/images/icons/smile.gif[/]
|
|
|
|
Joined: May 1999
Posts: 149
Enthusiast
|
Enthusiast
Joined: May 1999
Posts: 149 |
Hmmm... not sure... You need to apply the change to the end-result. If you implemented the changes using Allan's "differential" approach, and care to send me the resulting addpost.php, I can take a look and post the necessary change. But you should be able to find the following string !$Location && !$replyto in your addpost.php to locate the section in question. Regards, Max
|
|
|
|
Joined: Mar 2002
Posts: 15
Newbie
|
Newbie
Joined: Mar 2002
Posts: 15 |
thanks got it working []/forum/images/icons/smile.gif[/] I tried to find the whole thing and I guess the spaces were off hehe
|
|
|
|
Joined: Jan 2001
Posts: 62
Journeyman
|
Journeyman
Joined: Jan 2001
Posts: 62 |
I've just played with it and I must say its quite nice as v1.0 add-on. it would be nice to see thei ability to view quarterly and/or yearly view as well but this isn't as critical. monthly is the most important initially. KurtC
|
|
|
|
Joined: Jan 2001
Posts: 62
Journeyman
|
Journeyman
Joined: Jan 2001
Posts: 62 |
I've just played with it and I must say its quite nice as v1.0 add-on. it would be nice to see the ability to view quarterly and/or yearly view as well but this isn't as critical. monthly is the most important initially. KurtC
|
|
|
|
Joined: Nov 2000
Posts: 210
Member
|
Member
Joined: Nov 2000
Posts: 210 |
Small bug or maybe an improvement needed? when you have a board using dark colors such as what is created with nettomos Dark Style sheet you can not see the numbers for the dates. is ther a way to make the border change color and the dates depending on the stylesheet?
|
|
|
|
Joined: Aug 1999
Posts: 184
Member
|
Member
Joined: Aug 1999
Posts: 184 |
Look at the caledars I have in http://forums.theddz.com I use a dark CSS and I don't see that problem.
Silly ricer.. Wings are for airplanes!
|
|
|
|
Joined: Nov 2000
Posts: 210
Member
|
Member
Joined: Nov 2000
Posts: 210 |
ok.... is that the same hack? the Netomo stylesheet has an image on a orange background. the image is black bricks. I wonder if it is only due to the back ground then? the other forums using that stylesheet come out normally sao maybe it is a problem with the stylesheet?
|
|
|
|
Joined: Apr 2002
Posts: 30
User
|
User
Joined: Apr 2002
Posts: 30 |
[]/forum/images/icons/smile.gif[/] Any idea if/when this hack will be modified to work with v6?
Paul Fries Systems Administrator CWIE LLC
|
|
|
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.
|
|
Posts: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|