Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Adding a moderator field

Quote Reply
Adding a moderator field
In addition to the field underneath a users name in a post:

IP: 66.185.84.72
Ban: User | IP | Site IP
Disable: User
Thread: Keep | Lock | Move
Post: Detach & Move


I would like to do this:

IP: 66.185.84.72 | Whois
Ban:
User | IP | Site IP
Disable:
User
Thread:
Keep | Lock | Move
Post:
Detach & Move

Where the "whois" links to the whois database at ARIN, or where ever with that user's IP address. It would be very handy.

The link would be: http://www.arin.net/...ryinput=66.185.84.72

Thanks!
Quote Reply
Re: [earthgolf] Adding a moderator field In reply to
That's easy to add. Just add it to include_post_display.html. It would be something like:
Code:
<a href="http://www.arin.net/cgi-bin/whois.pl?queryinput=<%post_ip%>">Whois</a>

Adrian
Quote Reply
Re: [earthgolf] Adding a moderator field In reply to
Or download the plugin we just put it up which does a dns lookup on the domain, and also displays the arin and whois results for it. =)

There is currently a bug (in GForum sadly, not the plugin) that administrators can't use it, only moderators. I'll put a fix for that shortly.

Cheers,

Alex
--
Gossamer Threads Inc.