1
mjoel
status and ip address in the comments
  • 2007/7/29 15:48

  • mjoel

  • Quite a regular

  • Posts: 325

  • Since: 2006/12/9


how can i change the position of status and ip address in the comments?

i know it is only viewable to admin but my friend(client) insist me to put it somewhere
else ......which file i've to edit ?

thanks

2
ewonline
Re: status and ip address in the comments
  • 2007/7/29 16:12

  • ewonline

  • Not too shy to talk

  • Posts: 198

  • Since: 2004/11/17


I believe its in /class/xoopscomments.php

if ( $adminview ) {
$ip_image "<img src='".XOOPS_URL."/images/icons/ip.gif' alt='".$this->getVar("ip")."' />";
} else {
$ip_image "<img src='".XOOPS_URL."/images/icons/ip.gif' alt='' />";
}
if ( 
$adminview || ($xoopsUser && $this->getVar("user_id") == $xoopsUser->getVar("uid")) ) {
$edit_image "<a href='editcomment.php?comment_id=".$this->getVar("comment_id")."&amp;mode=".$mode."&amp;order=".intval($order)."'><img src='".XOOPS_URL."/images/icons/edit.gif' alt='"._EDIT."' /></a>";
}
Resized Image

3
maxxy
Re: status and ip address in the comments
  • 2007/7/30 1:16

  • maxxy

  • Quite a regular

  • Posts: 286

  • Since: 2007/6/11


thanks

Login

Who's Online

244 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits