Author Topic: Ip Shows In Graphic  (Read 18396 times)

Offline ~Tyris~

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
  • The only yabbpak server you'll ever need
Ip Shows In Graphic
« on: October 10, 2004, 12:00:59 PM »
For administrators next to 'report to moderator' it also shows the ip; well i was wondering would it be possible to show the ip in a graphic with font of choice? just wondering how you'd do it! :P; and what files might need editing.

Offline Owdy

  • SMF Fossil
  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,595
  • Gender: Male
  • W00t!
    • janoloferiksson on LinkedIn
    • @@jaoler on Twitter
Re: Ip Shows In Graphic
« Reply #1 on: October 10, 2004, 12:05:51 PM »
Display.php find:
Code: [Select]
// Show the IP to this user for this post - because you can moderate?

Then you can do like this:
Code: [Select]
<a style="font-family:Comic sans ms, Impact, serif" href="', $scripturl, '?action=trackip;searchip=', $message['member']['ip'], '">', $message['member']['ip'], '</a> <a href="', $scripturl, '?action=helpadmin;help=see_admin_ip" onclick="return reqWin(this.href);" class="help">(?)</a>';
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue: