TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 728
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 462
  • Total: 463
  • @rjen

SMF Calendar Block

Started by Lesmond, September 03, 2005, 11:30:42 AM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

TimUSA

Same problem here, is showing everything for the 2nd, and 7th but not the 4th

TimUSA

is the problem that o am using an article and not a block?

TimUSA

solved! i dont know why but when i added a new event on the 4th it listed. but not showing the vents already posted. easy enough i will delete them and start over.

jacortina

Are you saying that the array print itself isn't showing the entry information for the 4th?

New ones are showing now?

Are you using a mod for 'repeating events'?

TimUSA

Ok, not solved. I put in a test event and it listed. When I deleted the events and reposted them, no luck.

1. The array print is not showing the 4th.
2. New ones are not showing in array other then the "test", even after deleting and reposting.
3. I am using a repeating event mod, but the events are not set to repeat.


jacortina

Well, let's try something else.

Get rid of those three lines to print the $context sub-array and find:
ksort($events);

Then print out THAT array:
print ( '<pre>' )  ;
print_r($events);
print ( '</pre>' )  ;


That gets the event list from a different function (and in the latest code, I've done away with the mf_loadCalendarInfo() call altogether; but let's see if that's going to help).

TimUSA


TimUSA

OK Well i have found a work around.

When I title the event as the original post was titled, it does not list.
If i title it different it does.

example:
original = ZONE A HOST - DFOG (no luck)
now: ZONE A HOST DFOG (good to go)

this is weird but I can live with it...lol

jacortina

Quite weird. I was about to have you go in and simply browse your smf_Calendar table as that second function should pull everything in the given date range, whether or not you've selected to display the events on the calendar via Admin settings.

It still 'may' have something to do with the repeating mod if it uses its own storage of events in some way (even if they don't repeat).

And why this all was Sunday stuff first and then...

Color me confused.

TimUSA

now that i think about it, my site has been getting database disconnect messages for a bit here. this could have something to do with it. I am working on it with my host.

This website is proudly hosted on Crocweb Cloud Website Hosting.