Author Topic: [Mod] New Images in Category v2  (Read 84268 times)

0 Members and 1 Guest are viewing this topic.

Offline jengwen

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • http://www.jenrichardsphotography.com
[Mod] New Images in Category v2
« Reply #15 on: May 29, 2003, 04:44:10 AM »
Nice mod.  I did have one problem, though.  I have new images in a sub-subcategory (i.e. Zoo Events/Migratory Bird Day/Artwork).  It gives me the correct number of new images in each sub-subcategory, but when I click on the link, it shows me all new images in the subcategory (i.e. Migratory Bird Day instead of Artwork or Games or Birds).

Offline Fugaziman

  • Jr. Member
  • **
  • Posts: 80
    • View Profile
    • http://www.1024x768wallpapers.com
[Mod] New Images in Category v2
« Reply #16 on: May 29, 2003, 05:34:01 AM »
You need to make sure you correctly edited the Search.php

I had this problem myself when creating this mod so I know that this is were your problem is.

Hope that helps
Fugaziman
Please take time to visit us at ...
http://www.1024x768wallpapers.com
And don't forget to leave a comment or message.

Offline Legendary

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.idols-unlimited.com
Re: [Mod] New Images in Category v2
« Reply #17 on: May 03, 2005, 08:37:29 PM »
I have this mod installed, everything showed up fine!!  But I have a problem when clicking on the new images.  It doesn't take me directly to the cat_id, but instead it takes me to every new images that I have on my site.

I've try redoing the steps 4 or 5 times now...still can't figure out!!

My site is here, its on the right located under user login panel
http://www.idols-unlimited.com


Any help would be appreciated!

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: [Mod] New Images in Category v2
« Reply #18 on: May 04, 2005, 01:06:41 AM »
it should open the category page if u click on it's name, and search page if u click on the number ;)
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 Legendary

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.idols-unlimited.com
Re: [Mod] New Images in Category v2
« Reply #19 on: May 04, 2005, 07:01:02 AM »
I know, it doesn't do that even when i clicked on the number.

When I clicked on the number, it showed me every new pictures that i've added.  I know its not suppose to work like that.  I tested on the link provided on the first post, and it only shows the new images added to that specific catogory.

Offline artpics

  • Full Member
  • ***
  • Posts: 173
    • View Profile
    • my site
Re: [Mod] New Images in Category v2
« Reply #20 on: May 05, 2005, 05:33:18 AM »
I know, it doesn't do that even when i clicked on the number.

When I clicked on the number, it showed me every new pictures that i've added.  I know its not suppose to work like that.  I tested on the link provided on the first post, and it only shows the new images added to that specific catogory.

yes me too click on a number all new images appear from all catagorys ..

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: [Mod] New Images in Category v2
« Reply #21 on: May 05, 2005, 06:15:26 AM »
the only explanation to that is u didnt do properly the search.php modifications.
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 Legendary

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://www.idols-unlimited.com
Re: [Mod] New Images in Category v2
« Reply #22 on: May 05, 2005, 04:47:25 PM »
Yup, you were right Veno!!

It turned out that I have one extra line of code floating around with no purpose.  Deteled that line, and it works like a charm..thx for all the help guys!!

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] New Images in Category v2
« Reply #23 on: May 12, 2005, 10:24:20 AM »
still nice mode  :)
but i changed the layout of my page know i would like to have this {new_image_cats} in 3 Rows - which code part do i have to change?

sincerly
vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: [Mod] New Images in Category v2
« Reply #24 on: May 16, 2005, 12:34:01 AM »
up
maybe somebody will read it!

vincent
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: [Mod] New Images in Category v2
« Reply #25 on: July 22, 2005, 09:28:17 PM »
Does this work fine in 1.71?
Namaste,
Tina

TheOracle

  • Guest
Re: [Mod] New Images in Category v2
« Reply #26 on: July 30, 2005, 02:41:22 PM »
Interesting MOD. However,

this line :

Quote

$new_image_category = "<table border=1 cellpadding=3 cellspacing=1 width=\"100%\">";


could be replaced with

this one :

Code: [Select]

$new_image_category = "<table width=\"".$config['image_table_width']."\" border=\"0\" cellpadding=\"".$config['image_table_cellpadding']."\" cellspacing=\"".$config['image_table_cellspacing']."\">";


and this part of the code :

Quote

$new_image_category .= "<tr><td>


could be replaced

with this one :

Code: [Select]

$new_image_category .= "<tr class=\"head1\"><td>


to maintain the user's presentation and to keep the user's table configuration settings from his ACP - > Settings page. ;)

Offline IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: [Mod] New Images in Category v2
« Reply #27 on: August 02, 2005, 10:38:42 PM »
I cannot get this to work because my template's left side is located in my templates header.html because it was a PHPBB template converted to 4images. I have tried everything I can think of to get it to show on the left side in my header.html but nothing works. I can get it to show in home.html but only in the center areas (where categories, whos online, etc. are).

Is there a change I need to make somewhere in this mod so that it will work for me when I add {new_image_cats} to my header.html?
Namaste,
Tina

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: [Mod] New Images in Category v2
« Reply #28 on: August 03, 2005, 12:11:31 AM »
just move the code in page_header.php above
Code: [Select]
//-----------------------------------------------------
//--- Parse Header & Footer ---------------------------
//-----------------------------------------------------
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 IzyB

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • OmNamaste
Re: [Mod] New Images in Category v2
« Reply #29 on: August 03, 2005, 12:16:22 AM »
Thanks for the reply V@no! Just to clarify so I understand: Move that to my header.html? And then I would add the {new_image_cats} in header.html?

Thanks!
just move the code in page_header.php above
Code: [Select]
//-----------------------------------------------------
//--- Parse Header & Footer ---------------------------
//-----------------------------------------------------
« Last Edit: August 03, 2005, 12:24:26 AM by V@no »
Namaste,
Tina