Author Topic: New images on homepage no longer update  (Read 19095 times)

0 Members and 1 Guest are viewing this topic.

Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
New images on homepage no longer update
« on: April 26, 2005, 11:25:52 AM »
Hi.  The new images on homepage no longer update. They are set to the same four for the last month or so. I only just noticed and it's way too long to retrace mod's etc. Is this a standard thing anyone knows how to fix?

We've added 2000+ images and the same 4 images stay on the homepage.

Thanks.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: New images on homepage no longer update
« Reply #1 on: April 26, 2005, 03:08:25 PM »
It's always the last 4 added and the timeout for new images is controlled from the admin CP Number of days each image is marked as new

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: New images on homepage no longer update
« Reply #2 on: April 26, 2005, 03:49:56 PM »
Well, if the "time" is your problem, Chris's answer could help you :),
and if you'd like to randomize the "new pictures" then you might be interested in this mod:

[Mod] Randomizing {new_images}
MAяTRIX


Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #3 on: April 26, 2005, 11:14:21 PM »
I totally understand what it's supposed to be doing, but it's not doing that. we add images all day long. the 'new' images on the homepage are stuck. they stay the same no matter what.

;)  thanks for any help you can give.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: New images on homepage no longer update
« Reply #4 on: April 27, 2005, 12:43:48 AM »
If you're usng 1.7.1, turn off the caching system and then the home page will update with each load.  Just edit the cache settings in your config.php file  :wink:
Code: [Select]
cache_page_index

Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #5 on: April 27, 2005, 08:18:05 AM »
it still wont change. I have cleared the cache folder. made sure it was chmodded to 777, I have added the line to the config.php file;

$db_servertype = "mysql";
$db_host = "MYHOST";
$db_name = "*******";
$db_user = "*******";
$db_password = "*********";

$table_prefix = "4images_";

define("4IMAGES_ACTIVE", 1);

$cache_enable = 0;


But it still wont change. what else am i missing?

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: New images on homepage no longer update
« Reply #6 on: April 27, 2005, 08:54:32 AM »
what is the time, you've set for an image to be new?
MAяTRIX


Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #7 on: April 27, 2005, 10:12:58 AM »
1 day.

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: New images on homepage no longer update
« Reply #8 on: April 28, 2005, 12:33:50 AM »
Without a link to where this is happening, I'm out of ideas

Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #9 on: April 28, 2005, 12:51:51 AM »
http://www.stipkomedia.com/contentengine/gallery5/

i'm happy to email you the sql info

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Re: New images on homepage no longer update
« Reply #10 on: April 28, 2005, 01:17:52 AM »
I guess you've somehow modified the PHP code because the dates on those "new" images are 13.04.2005 06:23 which is well past a 1 day limit for showing new images.  I'm afraid you're on your own on this one.  Good luck

Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #11 on: April 28, 2005, 04:19:17 AM »
lol. well, certainly not intentionally. Which php file should I replace back to the original to revert? Any suggestion?

Thanks again,

Aaron   :oops:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: New images on homepage no longer update
« Reply #12 on: April 28, 2005, 04:22:48 AM »
index.php
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline stipko

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: New images on homepage no longer update
« Reply #13 on: April 28, 2005, 09:26:55 AM »
This may be an indicator: If I RESET STATS, I dont get an error, but my stat's dont clear.

I only get the following after resetting stats in all categories:

Edit categories


Edit images


Does that help you help me?  :)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: New images on homepage no longer update
« Reply #14 on: April 28, 2005, 02:28:54 PM »
I have no idea what are u talking about...that has something to do with the problem with new images?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)