Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 01:33 pm EST

Geeklog Forums

New Links interval


Anonymous

Anonymous
sorry for posting again but .. imt ring to take out the time limit ( 2 weeks of the link script.. does anyone knows how do this? thanx .. i rather ask now then later.. sorry for bother
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
$_CONF['newlinksinterval'] = 1209600; This value in config.php specifies how long a submitted link is considered "new" (the time is in seconds). When you change that, please note that the text "last 2 wks" will not change - you will find it in english.php and can easily change it there. bye, Dirk
 Quote

Anonymous

Anonymous
ok but how do i make it so that it so that the link never expires?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You would have to hack the function COM_whatsNewBlock() in lib-common.php to do that. bye, Dirk
 Quote

All times are EST. The time is now 01:33 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