MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Number each comment?
AuthorText
Peter12
Senior Member
Avatar

Posts: 129
Contributes: 127

Gender: _MALE_
Online: No
Date: 30/08/2008 18:41
Number each comment?
#post11377
Is it possible to do this:

#1 - by Peter on 30.08.2008
Comment

#2 - by Peter on 30.08.2008
Comment

Show the number of the comment for each news?
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 129
Contributes: 127

Gender: _MALE_
Online: No
Date: 03/09/2008 20:18
Re: Number each comment?
#post11477
Is this not possible?
Edited: 03/09/2008 20:19
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 635
Contributes: 487

Gender: _MALE_
Online: No
Date: 03/09/2008 22:12
Re: Number each comment?
#post11478
yes it is Smile i will try and have a look tommorow Smile
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 129
Contributes: 127

Gender: _MALE_
Online: No
Date: 03/09/2008 23:16
Re: Number each comment?
#post11480
ok, thanks Smile
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 04/09/2008 15:55
Re: Number each comment?
#post11490
inc/class/comments.class.php

Find
code
if ($result = $dblink->get_list("SELECT *,DATE_FORMAT(date,'".$siteConfig['timestamp']."') as date_out FROM memht_comments WHERE whr=".$this->whr." AND wid=".$this->wid." AND moderate=0 ORDER BY id")) {
on row 146

add after

code
$nn = 0;


Find
code
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td valign='top'><a $link
on row 166

Replace with
code
$nn++;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td valign='top'>#{$nn} <a $link
Edited: 04/09/2008 15:55
Delete Edit Quote
 
freaky
Crazy Member
Avatar

Posts: 635
Contributes: 487

Gender: _MALE_
Online: No
Date: 04/09/2008 16:18
Re: Number each comment?
#post11495
hahah mem Smile I just finished to make this.
Thx Smile
"Don't Talk about It, Be about it! PEACE" - Mos Def

vote -- here
View Image resized (Original file: 468x60)
Thumb
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 129
Contributes: 127

Gender: _MALE_
Online: No
Date: 04/09/2008 23:14
Re: Number each comment?
#post11503
thanks!
Delete Edit Quote
 
Peter12
Senior Member
Avatar

Posts: 129
Contributes: 127

Gender: _MALE_
Online: No
Date: 15/09/2008 00:35
Re: Number each comment?
#post11976
How do i change the date format for the comments to the date format you set in admin panel?
Delete Edit Quote
 
mem
MemHT's Dad
Admin & Developer

Avatar

Posts: 5137
Contributes: 2480

Gender: _MALE_
Online: No
Date: 15/09/2008 10:19
Re: Number each comment?
#post11982
The "standard" date is already in comments as hover on usernames
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo