Welcome to Geeklog, Anonymous Wednesday, May 15 2024 @ 06:23 pm EDT

Geeklog Forums

date


nixdorf

Anonymous
Hello,

i wold like to publish a date the is more than 14 days in the furutre. I habe changed $range in lib-common.php from 14 to 60. But i still cold use dates that are less than 14 days in the future.

$range = $_CONF['upcomingeventsrange'];
if( $range == 0 )
{
$range = 60; // fallback: 14 days

What cold i do?

Gretings Nixdorf
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Use the config.php variable:
Text Formatted Code
$_CONF['upcomingeventsrange']   = 14; // days
 

No need to patch lib-common.php

bye, Dirk

P.S. Sorry about the spam filter over at geeklog.info
 Quote

Nixdorf

Anonymous
Yes, now it works fine.

Greetings Nixdorf
 Quote

All times are EDT. The time is now 06:23 pm.

  • 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