 |
 |
 |
 |
 |
| Author |
Message |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
Auto-modify some characters in comments |
|
I'd like the some string of characters in comments change automatically to some text. For example, if anyone would write the URL adress, tho comment will show XXX (instead of www)... I guess it's the same way as in the emails (@ changes to "at")?!
|
|
| Fri Mar 24, 2006 2:16 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2801 Location: Germany |
|
|
|
Open show.addcomment.php and find this:
 |  | // Add the Comment |
add above:
 |  | $comments = str_replace('www', 'xxx', $comments); |
|
|
| Fri Mar 24, 2006 3:16 pm |
|
 |
PJR
Joined: 17 Oct 2005 Posts: 161 Location: Czech republic |
|
|
|
So simply, so useful, thank you 
|
|
| Fri Mar 24, 2006 9:33 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
|
|
 |
 |
 |
|