Author Topic: [Mod] Variable number of new images on index page  (Read 16546 times)

0 Members and 1 Guest are viewing this topic.

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
[Mod] Variable number of new images on index page
« on: April 05, 2005, 09:48:35 PM »
Hi all!

I have made an advanced the MOD of SSL (http://www.4homepages.de/forum/index.php?topic=6669.0),
that you can can change the number of new images on the start page.
Also you can coustomize the number of rows and colls out of the controll panel.

If you want to post bugs or problems or any new features
please first look at http://www.the-deejay.com/mantis/ (4images/4images) for allready existing problem/bug/feature.
If you did not find what you want to know you are pleased to post it in the forum.

If someone translates the language files (admin_checkandgo.inc, main_checkandgo.inc) to his mother tongue i will be happy if he/she sends me the translated files, so i can include them in the zipfile for the mod.
And if someone send me additionally the install and update file translated too, then the mod would getting more and more simple to install.


Code: [Select]
Variable number of new images on index page MOD for 4images - Image Gallery Management System.

Version: 1.1

Date: 2004-08-17

Author: Daniel Janesch <admin@the-deejay.com> http://www.the-deejay.com

Description:

This MOD lets the admin change the number of rows and colls for new images shown on the index page out of the control center.
It is an enhancement of SSL’s MOD http://www.4homepages.de/forum/index.php?topic=6669.0


For a live-demo you can visit http://www.the-deejay.com.


New in v1.1 - 2004-08-17
    The rows can be changed two.
    Also you can decide if you want to show random new images or the last by the adding date.
    Enhancement that the rows and cells can be changed in the control panel.

v1.0 - 2003-08-13
    SSL released the MOD in the 4images forum (http://www.4homepages.de/forum/index.php?topic=6669.0).


Installation Level: Easy
Installation Time: 5 Minutes

Files To Edit: 4
        
        /4images/index.php
        /4images/admin/settings.php
        /4images/lang/english/admin.php
        /4images/lang/deutsch/admin.php


You can downlod the files (29KB) at: http://www.the-deejay.com/downloads/
the link no longer works, Rembrandt.

For a live-demo you can visit http://www.the-deejay.com.

deejay_
« Last Edit: July 23, 2011, 10:21:19 PM by Rembrandt »

Offline max.cady

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [Mod] Variable number of new images on index page
« Reply #1 on: April 18, 2005, 09:06:23 PM »
Great MOD! But how can I avoid that the images dissappear when they are not considered 'new' anymore?
Unless I upload other new images there won't be any image on the homepage after expiration of the 'new'-period.

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
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 max.cady

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [Mod] Variable number of new images on index page
« Reply #3 on: April 19, 2005, 08:12:17 PM »
Hi, thanks for the quick reply. Problem is that this thread suggests a replacement exactly in this part of the code which has been replaced by an inc-file in the variable number of new images mod.

Offline ryann

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: [Mod] Variable number of new images on index page
« Reply #4 on: April 29, 2005, 03:05:45 PM »
An Error Has Occurred!
The topic or board you are looking for appears to be either missing or off limits to you.

Offline Gulper

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [Mod] Variable number of new images on index page
« Reply #5 on: June 27, 2005, 03:36:47 PM »
try this one:
http://www.4homepages.de/forum/index.php?topic=4010.0

I have treid the suggestions... but it does not work with adding the RAND() function...
Can you please help me? Would be more than cool to have this mod with the feature, that when there are no new images, there will then older images be displayed... :)

Offline uriox

  • Pre-Newbie
  • Posts: 1
    • View Profile
    • FunWorld.Get-Web.net
Re: [Mod] Variable number of new images on index page
« Reply #6 on: September 27, 2005, 10:16:58 AM »
I like this mod very much but could it be possible to add a paging to it so that I could have 100 new images and still display only the first 5 for example and put the others on next page or something. The paging could be similar to the one that you have in categories but it will be for new images. Or even better, make a mod that displays the newest X images and makes all images (regardless the category) accessible with paging - sorted by date - latest first. This way you will actually have csomething like an archive of the whole gallery, it will display pictures from all categories, ordered by date (newest first).

I will be very happy if you write such mod, I am sure that there will be others too that would find it useful.
Cheers,
Oliver Reed
http://funworld.get-web.net - flash games, funny pictures, videos, TV commercials and desktop wallpapers