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 ".XOOPS_URL."/images/icons/ip.gif' alt='".$this->getVar("ip")."' />";
} else {
$ip_image ".XOOPS_URL."/images/icons/ip.gif' alt='' />";
}
if ( 
$adminview || ($xoopsUser && $this->getVar("user_id") == $xoopsUser->getVar("uid")) ) {
$edit_image ".$this->getVar("comment_id")."&mode=".$mode."&order=".intval($order)."'>.XOOPS_URL."/images/icons/edit.gif' alt='"._EDIT."' />";
}
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

377 user(s) are online (291 user(s) are browsing Support Forums)


Members: 0


Guests: 377


more...

Donat-O-Meter

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

Latest GitHub Commits