Author Topic: An "Eastern Egg" from Jan? :D  (Read 17317 times)

0 Members and 1 Guest are viewing this topic.

Offline Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: An "Eastern Egg" from Jan? :D
« Reply #15 on: April 09, 2005, 11:07:01 PM »
there is this code whats to do with it?

includes/page_header.php

there is this code
Code: [Select]
"url_top_images" => $site_sess->url(ROOT_PATH."top.php"),
  "url_top_cat_images" => $site_sess->url(ROOT_PATH."top.php".(($cat_id && preg_match("/categories.php/", $self_url)) ? "?".URL_CAT_ID."=".$cat_id : "")),


Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Administrator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: An "Eastern Egg" from Jan? :D
« Reply #16 on: April 09, 2005, 11:45:37 PM »
add it into page_header.php
the first line of that code is already in there, just search for it and add the second line.
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 Vincent

  • 4images Moderator
  • Addicted member
  • *****
  • Posts: 1.195
    • View Profile
    • www.foto-kocher.com
Re: An "Eastern Egg" from Jan? :D
« Reply #17 on: April 10, 2005, 06:41:37 PM »
RoadDogg it works perfect
but why this part of the code - both line have ben already inside!
vincent

Quote
there is this code

Code:
"url_top_images" => $site_sess->url(ROOT_PATH."top.php"),
  "url_top_cat_images" => $site_sess->url(ROOT_PATH."top.php".(($cat_id && preg_match("/categories.php/", $self_url)) ? "?".URL_CAT_ID."=".$cat_id : "")),
Beati pauperi spiritus

4images 1.7 // My Installed Mods


Offline RoadDogg

  • Sr. Member
  • ****
  • Posts: 488
    • View Profile
    • Düsipixel
Re: An "Eastern Egg" from Jan? :D
« Reply #18 on: April 10, 2005, 06:55:34 PM »
I don´t know, I just wanted to give the tip that we don´t have to define a new "url_top_cat_images" in page_header.php
For support requests please don´t forget link to your Gallery/to phpinfo.php
Code: [Select]
<?
phpinfo()
?>
safe_mode must turned OFF
Please check Error Messages

Offline Albert

  • Newbie
  • *
  • Posts: 45
    • View Profile
Re: An "Eastern Egg" from Jan? :D
« Reply #19 on: July 02, 2005, 09:29:08 AM »
Is there a way that I could pull out only the Most Viewed picture from the category with a tag.

Example: The tag {mostviewed_cat130}   would bring out only one thumbnail with a link to the details page.

Is this possible?

Cheers,

Albert Abrantes

 

Post your comments here