Author Topic: Removing name of poster  (Read 5538 times)

0 Members and 1 Guest are viewing this topic.

Offline jarmen

  • Newbie
  • *
  • Posts: 23
    • View Profile
Removing name of poster
« on: December 18, 2002, 08:28:12 AM »
Can someone tell me where I can find the code that would allow me to remove the link ((admin) or (userxxx) that shows who uploaded the image.  It's the one next the thumbnail and any subsequent image lists.

Thanks
Josef

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Removing name of poster
« Reply #1 on: December 18, 2002, 09:29:01 AM »
See thumbnail_bit.html ({user_name_link})

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline jarmen

  • Newbie
  • *
  • Posts: 23
    • View Profile
Thanks
« Reply #2 on: December 18, 2002, 03:50:20 PM »
That hit the spot!

that Dude

  • Guest
Re: Removing name of poster
« Reply #3 on: March 18, 2005, 06:14:30 AM »
Can someone tell me how can I add "Viewed: X times" next to thumbnail? I removed ({user_name_link}) from thumbnail_bit.html and just wanted to use viewed (so many) times insted. Thanks.

I am using Viewed: {image_hits}<br /> and seems like it works but is it the right code though? And why {lang_hits} {image_hits}<br /> doesn't work?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: Removing name of poster
« Reply #4 on: March 18, 2005, 09:47:08 AM »
This is because the var {lang_hits} is only registered for the detailed view. To register it for the thumbnails too, open includes/functions.php and search for the following line

Code: [Select]
"image_hits" => $image_row['image_hits'],
and add this line below

Code: [Select]
"lang_hits" => $lang['hits'],
Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

that Dude

  • Guest
Re: Removing name of poster
« Reply #5 on: March 18, 2005, 10:55:24 AM »
Thank you Jan!