Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    General discussion    Topic: IP in comments
Pages: [1]   Go Down
  Print  
Author Topic: IP in comments  (Read 662 times)
0 Members and 2 Guests are viewing this topic.
fashionisland
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: December 05, 2011, 20:02:02 »

Hi, How do I set that in the commentary in the form of a text was visible IP address?

I have a JComments 2.2.0.2 [12/09/2010]

//google  translate  Wink
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #1 on: December 06, 2011, 14:41:41 »

In my mind the IP is a private information so this is not good idea to make it visible for all. The administrators could see IP in backend and frontend (the small button is available on comment's moderation panel)/
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
fashionisland
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #2 on: December 06, 2011, 23:09:38 »

I understand but a lot of people impersonating someone else or writes and then itself is responsible. I came to the conclusion that the best idea. So in the templates I add this information? Please just a hint. I'll be very grateful for your help.
Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: December 07, 2011, 19:10:39 »

You can edit /components/com_jcomments/tpl/default/tpl_comment.php and use text code:
Code: (php)
<?php echo $comment->ip?>
to output comment author's IP...
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
fashionisland
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #4 on: December 08, 2011, 21:40:41 »

Great! Thanks!
Logged
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    General discussion    Topic: IP in comments
 
Jump to: