 |
 |
 |
 |
 |
| Author |
Message |
Mr R

Joined: 27 Sep 2005 Posts: 82 Location: Spain |
|
Problem with comments |
|
Well, i'll try to describe my problem, when i'm not logged i write my comment and i write my password, but when i push enter, it give me a blank page of news but comments was sended, because i can see it then
When i'm logged the problem is same, but i have not to write my password .
Is this correct??
www.misreflexiones.net/weblog.php
And: Why {author} shows username instead nickname in comments??
|
|
| Sun Oct 23, 2005 10:19 am |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Mr R

Joined: 27 Sep 2005 Posts: 82 Location: Spain |
|
|
|
anybody?
|
|
| Mon Oct 24, 2005 11:59 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
 |  | And: Why {author} shows username instead nickname in comments?? |
Open show.comments.php and change this (line 44):
 |  | if ($row['mail'] != 'none'){
if (preg_match("/^[\.A-z0-9_\-]+[@][A-z0-9_\-]+([.][A-z0-9_\-]+)+[A-z]{1,4}$/", $row['mail'])){
$output = str_replace('{author}', '<a href="mailto:'.str_replace('@', ' at ', str_replace('.', ' dot ', $row['mail'])).'">'.$row['author'].'</a>', $template_comment); |
to this:
 |  | if ($row['mail'] != 'none'){
if (preg_match("/^[\.A-z0-9_\-]+[@][A-z0-9_\-]+([.][A-z0-9_\-]+)+[A-z]{1,4}$/", $row['mail'])){
$output = str_replace('{author}', '<a href="mailto:'.str_replace('@', ' at ', str_replace('.', ' dot ', $row['mail'])).'">'.$name_to_nick[$row['author']].'</a>', $template_comment); |
(Not tested)
|
|
| Tue Oct 25, 2005 2:00 pm |
|
 |
Mr R

Joined: 27 Sep 2005 Posts: 82 Location: Spain |
|
|
|
Parse error: parse error, unexpected T_ELSE in /web/htdocs/www.misreflexiones.net/home/cn/inc/show.comments.php on line 49
|
|
| Tue Oct 25, 2005 9:58 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|