BLOG:CMS :: Support Forum

Support Forum for BLOG:CMS

You are not logged in.

#1 23.11.2005 14:21

ihra
BLOG:CMS Senior
From: Helsinki, Finland
Registered: 03.08.2004
Posts: 83
Website

HOWTO: Making future posts available

Do you need to make postings to future, perhaps to show incoming happenings?

Modify /admin/libs/BLOG.php
line 469: comment this line out

/admin/libs/ITEM.php
line 529: put ; -character after query.
line 531: comment line out (/* blah blah */)


/admin/plugins/NP_Calendar.php (if you want to show future postings in calendar / archive-view too):
line 144: delete timestamp checking (and itime=unixtime(timestamp)), remove '-characters in queryline too.

And if you update your BLOG:CMS then remember to make changes again.

Examplesite:
www.nominaali.com/~freebooters
(Finnish World of Warcraft guildsite)

Thanks to Radek to helping me with code (again).

See http://forum.blogcms.com/viewtopic.php?id=1811 (NP_Events.php) to show next 5 future events in your skin.

Works in Blog:cms 4.0.0c and 4.0.0e

Last edited by ihra (24.11.2005 14:26)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

TOPlist