Author Topic: Which mod is it?  (Read 3081 times)

0 Members and 1 Guest are viewing this topic.

Offline lakeside

  • Full Member
  • ***
  • Posts: 123
    • View Profile
Which mod is it?
« on: May 03, 2003, 04:58:01 AM »
I've seen on some sites on the index.php page that shows the images, and underneath it, it shows, votes, comments, hits, size etc. Which mod does this? Or are there built in variables that I just have to plugin to my home page or somewhere else?

Thanks

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
Which mod is it?
« Reply #1 on: May 03, 2003, 06:40:20 AM »
yes, just edit /templates/<yourtemplate>/thumbnail_bit.html
use those tags:
{image_hits}
{image_votes}
{image_comments}
{image_downloads}
{image_rating}
{image_file_size}

for more tags, just look in the /includes/functions.php
after: "image_id" => $image_row['image_id'],
everything that is in the quotes at left side ( "...." => $blah ) can be used in the thumbnail_bit.html just insert them in { }
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)