Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: length of a comment in thumbnail view  (Read 2606 times)

0 Members and 1 Guest are viewing this topic.

Vargha

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 223
  • Persian Soldier
    • Rangarang
length of a comment in thumbnail view
« on: October 29, 2006, 01:28:27 am »

hi there, i would like to limit the length of a comment in thumbnail view, because it messes up the template
is the anyway to do this?
thanks alot for reading

Vargha~
« Last Edit: October 29, 2006, 07:20:58 am by Sami »
Logged
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: length of a comment in thumbnail view
« Reply #1 on: October 29, 2006, 06:09:27 am »

AFAIK you can't show comment under thumbnails on standard CPG
Are you using a MOD to display comment on thumbnail view ?
- Post a refernce to that mod
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: length of a comment in thumbnail view
« Reply #2 on: October 29, 2006, 06:45:16 am »

if you talk about the last comments meta album, then it's already limited to 50 chars. To change that find in functions.inc.php
Code: [Select]
            $msg_body = utf_strlen($msg_body) > 50 ? utf_substr($msg_body,0,50).'...': $msg_body;and change it to your needs

Vargha

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 223
  • Persian Soldier
    • Rangarang
Re: length of a comment in thumbnail view
« Reply #3 on: October 29, 2006, 07:20:20 am »

thanks alot, problem solved :)
Logged
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)
Pages: [1]   Go Up
 

Page created in 0.032 seconds with 16 queries.