Welcome to Geeklog, Anonymous Thursday, April 24 2025 @ 06:20 am EDT
Geeklog Forums
Events
Anonymous
Anonymous
Is there any way to change the events block so it displays all upcoming events. when we post furutre events it doesnt seem to show them up!
is there any way of changing this?
10
8
Quote
Anonymous
Anonymous
how wouid i go about doing this?
Tim
10
7
Quote
Status: offline
jcz
Forum User
Chatty
Registered: 01/29/02
Posts: 39
Look for these lines. In this case I've made the site events out to 50 days and personal events to 28.
$eventSql = "SELECT eid, title, url, datestart, dateend FROM WHERE dateend >= NOW() AND "
. "(TO_DAYS(datestart) - TO_DAYS(NOW()) < 50) ORDER BY datestart, dateend";
$personaleventsql = "SELECT eid, title, url, datestart, dateend FROM WHERE uid = AND dateen$
. "(TO_DAYS(datestart) - TO_DAYS(NOW()) < 28) ORDER BY datestart, dateend";
9
7
Quote
All times are EDT. The time is now 06:20 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content