Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:33 pm EDT

Geeklog Forums

Gallery Block 1.1.1 question...


Status: offline

nytephal

Forum User
Junior
Registered: 07/01/04
Posts: 16
I just installed the Gallery Block 1.1.1 for use with Gallery to show the number of files and latest updates on the albums. It doesn't seem to update the MOST VIEWED portion at the bottom of the block. It has data...1 time...2 times...3 times. But no matter how many times I view the gallery albums...the data doesn't change.

It changes in the gallery front page, but not in the block. Any solutions for this?
Nytephal
The Game Machine Admin
 Quote

Status: offline

nytephal

Forum User
Junior
Registered: 07/01/04
Posts: 16
Well...after an hour or so went by...it looks correct. Maybe it doesn't read the cache every time you refresh the page. Probably a good idea.
Nytephal
The Game Machine Admin
 Quote

Status: offline

asmaloney

Forum User
Full Member
Registered: 02/08/04
Posts: 214
Quote by nytephal: Well...after an hour or so went by...it looks correct. Maybe it doesn't read the cache every time you refresh the page. Probably a good idea.


You can change the length of time between updates in the config file. Here's what I use:
Text Formatted Code
// Cache file expiry in seconds
$GB_CONF['cache_expiry'] = 7200;
 
 Quote

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