Hey max, or anyone? I installed the hack, everything works great, except my posts for new events don't show up in the calendar itself, only below it as a post <img src="/forum/images/icons/frown.gif" alt="" /> What could be the problem?<br /><br />Check it out<br />http://www.michiganjeepers.com/forums/postlist.php?Cat=&Board=calendar<br /><br />Also, I know the arrow images don't work, that's fine for now <img src="/forum/images/icons/smile.gif" alt="" />
Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
I had the same problem -- not showing up in the calendar, but in the list. Before I had a chance to really pour over it and see what I missed, omegatron posted the attachment above, I used that to check what I'd missed, and there was a whole section I missed in addevent I believe. I really wish I could tell you what it was, but I don't think I have a copy of what I had before I fixed it. I'll look though, I have Beyond Compare set to automatically backup things I change. Heaven knows I don't ever remember. <img src="/forum/images/icons/grin.gif" alt="" /> <br /> <br />I have a working version here: <br />http://www.fishingfordeals.com/forums2/postlist.php?Cat=&Board=calendar <br /> <br />if anyone wants to try it. It's just an empty testboard, and you should be able to post anonymously.
I used omega's attachment and uploaded the two add*.php files and it works fine now <img src="/forum/images/icons/confused.gif" alt="" /> I followed those instructions perfectly I thought and went very slow. Hmm... but anyway, its working <img src="/forum/images/icons/wink.gif" alt="" />
Registered: 03/09/02
Posts: 329
Loc: Michigan, USA
<img src="/forum/images/icons/laugh.gif" alt="" /> I thought I followed them pretty closely too. There is either an error in the original instructions, or something that's confusing and caused me to put it in the wrong spot. <img src="/forum/images/icons/crazy.gif" alt="" />
I'm just wondering if any existing hacks had originally edited the files that were used to create those two new ones.. don't see anything missing yet, but I can't remember half the hacks I installed <img src="/forum/images/icons/laugh.gif" alt="" />
#221071 - 07/17/0210:11 PMRe: almost working
[Re: palmen]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25452
Loc: Texas
looks very good on your site, and I must say, your whole site really has improved over the last few months <img src="/forum/images/icons/smile.gif" alt="" /> nice work.
Hi Max,<br />one problem I had is when I delete an event it does not delete from the main database? is there an updated editpost? or did I miss something?
<blockquote><font class="small">posted by AllenAyres:</font><hr /> looks very good on your site, and I must say, your whole site really has improved over the last few months <img src="/forum/images/icons/smile.gif" alt="" /> nice work. <hr /></blockquote><br /><br />Who's site were you commenting on? I was hoping mine, but I doubt it.. lol <br /><br />Just wondering <img src="/forum/images/icons/smile.gif" alt="" />
#221074 - 07/17/0211:09 PMRe: almost working
[Re: palmen]
AllenAyres
I type Like navaho
Registered: 03/10/00
Posts: 25452
Loc: Texas
Yours, someone I know is outgrowing ubb, I pointed them to your site as an example of a good threads site <img src="/forum/images/icons/smile.gif" alt="" />
Oh yay! I just got tingles, I'm so happy. haha j/k<br /><br />But for real, thanks. It is growing fast, but threads is keeping up just fine. A few issues to work out with my header and everything will almost be set. Oh, and IIP 5.0 will be nice too <img src="/forum/images/icons/wink.gif" alt="" />
Max, or Dave, any thought on making this work for a pal box <img src="/forum/images/icons/wink.gif" alt="" /> Basically, just a box that contained a mini-calendar with numbers, but the days that had something planned those boxes are a different color and when clicked on take you to the associated event?
Pappy,<br />see the notes in the instructions starting on line 14.<br />When you delete a post, it does get deleted from the main w3t_Posts table as usual, but not from the new "Events" table. The idea is that unless you're deleting hundreds of events, I judged that the tradeoff between modifying an additional script and just leaving a few "dead" entries in the Events database wasn't worth it.<br /><br />Having said that, see the "Additional note" in the instructions starting on line 30 - if you really want to delete entries in the Events database, you could adapt/update from this old thread <br /><br />Regards,<br />Max<br />
That's pretty easy... in postlist.php, find <br /><br /> if (($d == $thisDay) && ($mon == $thisMon)) {<br /> echo " class=\"darktable\"><table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\"><tr><td>$d.</td>";<br /><br />This prints the starting point for today's cell. It shows up in "darktable" colors, and other days show up in "lighttable" colors. You can either modify these in the stylesheet you use, or you can modify the above lines to your liking. The $d prints today's day of the month, so you could replace it with <font=red>$d.</font> or something like that.<br /><br />Regards,<br />Max<br />
That would be pretty cool<br />Maybe Dave would consider building it... He could steal the formatting from the box on http://ubbdesign.com/ <img src="/forum/images/icons/smile.gif" alt="" /><br /><br />Max<br /><br />
One suggestion though. It would be nice to post an event one time with a beginning and end date one time instead of having to post it all say 3 days. An example lets say would be a 3 day convention. If one wants to post this it would have to be posted 3 times on every day instead of one post which would then fill the corresponding days correctly on the calendar.