Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:10 pm EST

Geeklog Forums

Manually update of x values not reflected in Admin Menu`


Status: offline

Habitual

Forum User
Chatty
Registered: 01/28/10
Posts: 54
Location:Yawnstown, Oh. USA
Hey now:

I didn't like the way the program "dropped" my links from the menu on the front page.
So, used the Links Admin Menu and put in 31636000 (1 Year) and now I get:
Links last %t %s
No recent new links

I put it back to 1209600 and my front page links showed up.
What am I missing if I want my links to stay permanently, unless they get "pushed off" by
the Links per Page value?

What is the Max value acceptable in gl_conf_values:newlinksinterval ?
Thanks for your time.
 Quote

Status: offline

Habitual

Forum User
Chatty
Registered: 01/28/10
Posts: 54
Location:Yawnstown, Oh. USA
P.S.

gl 1.6.1
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Looks like our function to create those texts in the What's New block ("last 2 days", etc.) has a few problems.

I'd say in this list here (in function COM_formatTimeString in lib-common.php):
Text Formatted Code
    // This is the amount you have to divide the previous by to get the
    // different time intervals: hour, day, week, months
    $time_divider = array( 60, 60, 24, 7, 30 );

The "30" should actually be a "4".

With that change, I can get 14515200 to display as "last 6 months". Once it gets closer to a year, we run into the next limit. Haven't quite figured out how to fix that.

I'd say submit a bug report. Someone needs to sit down with that function for an hour or two and figure out how it's supposed to work once we reach more than a few months ...

bye, Dirk
 Quote

Status: offline

Habitual

Forum User
Chatty
Registered: 01/28/10
Posts: 54
Location:Yawnstown, Oh. USA
Dirk:

Well, I'm glad it's not "me" (this time). Smile

Any hoo, I'll submit a report.

Thanks for the rapid response and your time!

You Rock!
 Quote

Status: offline

Habitual

Forum User
Chatty
Registered: 01/28/10
Posts: 54
Location:Yawnstown, Oh. USA
Reported:
http://project.geeklog.net/tracking/view.php?id=1158
 Quote

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