Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Last comments Question *Solved*  (Read 4428 times)

0 Members and 1 Guest are viewing this topic.

sizlintune

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Last comments Question *Solved*
« on: February 13, 2006, 03:43:15 pm »

I just upgraded to the newest version of coppermine and there is something I can't quite figure out. On my last comments page

http://www.slimtainment.com/coppermine/thumbnails.php?album=lastcom&cat=0

how do I just have the date and comment appear? I can't find where to modify this anywhere
« Last Edit: February 13, 2006, 08:02:00 pm by GauGau »
Logged
http://www.brentnatzle.com
<b> a little bit about nothing</b>

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Last comments Question
« Reply #1 on: February 13, 2006, 05:43:08 pm »

Logged

sizlintune

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Last comments Question
« Reply #2 on: February 13, 2006, 05:50:35 pm »

strange. its working for me.
Logged
http://www.brentnatzle.com
<b> a little bit about nothing</b>

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Last comments Question
« Reply #3 on: February 13, 2006, 06:02:08 pm »

DNS lookup for the domain fails for me, could you post an IP address instead?
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Last comments Question
« Reply #4 on: February 13, 2006, 06:05:47 pm »

I was able to access the site. I found the IP address in whois but the site is on a shared server.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Last comments Question
« Reply #5 on: February 13, 2006, 06:08:32 pm »

k, might be a DNS replication issue for me then - sorry, I'm out of this thread obviously :-\.
Logged

Nibbler

  • Guest
Re: Last comments Question
« Reply #6 on: February 13, 2006, 06:10:33 pm »

(IP: 72.29.78.93 - you can stick it in your hosts file)

You can disable

Display number of views below the thumbnail
Display number of comments below the thumbnail

globally in config, if you need specific settings for specific albums you'll need code changes.
Logged

sizlintune

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Last comments Question
« Reply #7 on: February 13, 2006, 06:16:31 pm »

I dont mind the view and comment. I want to remove the name of the comment poster and be able to format the way it looks a little different. I  managed to do this in 1.3.2 but dont remember how
Logged
http://www.brentnatzle.com
<b> a little bit about nothing</b>

Nibbler

  • Guest
Re: Last comments Question
« Reply #8 on: February 13, 2006, 06:20:23 pm »

Ah, then open your include/functions.inc.php, look for

Code: [Select]
            if ($row['author_id']) {
                $caption .= '<span class="thumb_caption"><a href ="profile.php?uid='.$row['author_id'].'">'.$row['msg_author'].'</a>: '.$msg_body.'</span>';
            } else {
                    $caption .= '<span class="thumb_caption">'.$row['msg_author'].': '.$msg_body.'</span>';
            }

and kill it

Code: [Select]
/*
            if ($row['author_id']) {
                $caption .= '<span class="thumb_caption"><a href ="profile.php?uid='.$row['author_id'].'">'.$row['msg_author'].'</a>: '.$msg_body.'</span>';
            } else {
                    $caption .= '<span class="thumb_caption">'.$row['msg_author'].': '.$msg_body.'</span>';
            }
*/
Logged

sizlintune

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Last comments Question
« Reply #9 on: February 13, 2006, 06:24:03 pm »

awesome checking it out now. this is exactly what I was looking for, I just couldn't find the code. I think in the old version I used it was in the language file, but I could be wrong. I will update this to solved if it works
Logged
http://www.brentnatzle.com
<b> a little bit about nothing</b>
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 15 queries.