Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Search for IP Address V1.1a for YaBB 2.4 (Read 2299 times)
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Search for IP Address V1.1a for YaBB 2.4
Aug 10th, 2009 at 2:50am
Print Post  
Search for IP Address V1.1a

Description:
----------------
This mod allows Admins and Gmods (if allowed) to search the entire forum for posts that were posted or edited by a certain IP address.

Usage:
---------
Enter the IP you want to search for into the Search Field, make sure that the IP Address checkbox is checked and hit Search.

Credits:
----------
This Mod was coded by astropilot for YaBB 2.1 - I've updated it with his permission. Link to 2.1 Version
YaBB 1.3 version by KevinST.
Thanks to Mick for the German and German_Du translations.

Screenshot:
----------------


Installation:
----------------
1) Modify YaBB files using BoardMod or manually.
2) Upload modified files to your server in ASCII mode.  

Files to edit:
----------------
Admin/ModList.pl
Languages/English/Search.lng
Sources/Search.pl

Zip package:
----------------
Search_for_IP_Address_V1_1a.mod
Search_for_IP_Address_V1_1a_German.mod
Search_for_IP_Address_V1_1a_German_Du.mod

History:
----------
ver 1.0 - Updated for YaBB 2.4 - 10th August 2009
ver 1.0a - Fixed ip.gif image not showing in old 2.1 template and moved highlight feature to its correct sub - 11th August 2009
ver 1.1 - Fixed issue with Gmods being able to search for IP if they don't have permission to view IP's - 10th November 2009
ver 1.1a - Corrected image syntax - 10th November 2009

ver 1.0 - Original Update - 27th July 2005 - astropilot

YaBB 1.3 version by KevinST.
« Last Edit: Nov 13th, 2009 at 4:50am by Derek Barnstorm »  

Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Search for IP Address V1.0 for YaBB 2.4
Reply #1 - Aug 11th, 2009 at 9:06am
Print Post  
Hi Derek,

thanks for this Update! Runs well.

(Very small) Mod-Files for German- and German_Du-Files attached.

Edited:
Attached File deleted, because they are in the Package in first Post.
« Last Edit: Aug 11th, 2009 at 1:40pm by mick »  
Back to top
WWW  
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Search for IP Address V1.0a for YaBB 2.4
Reply #2 - Aug 11th, 2009 at 12:26pm
Print Post  
Thanks Mick! I've added them to the package.

I've also had to make a small fix because the ip.gif image wasn't showing in the old 2.1 template.

If you don't want to install the Mod again, find this line in Search.pl:

Code
Select All
                <img style="vertical-align: middle;" src="$imagesdir/ip.gif" alt="" border="0" /><span style="font-size: 10px;"> $mip</span> 


And add the highlighted:

Code
Select All
                <img style="vertical-align: middle;" src="$defaultimagesdir/ip.gif" alt="" border="0" /><span style="font-size: 10px;"> $mip</span> 

  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Search for IP Address V1.0a for YaBB 2.4
Reply #3 - Aug 11th, 2009 at 2:56pm
Print Post  
I'm afraid I've had to make another change to this - I've moved the highlight feature to its correct sub, rather than being seperate. If you've already installed it, unistall and reinstall, the only changes are in Search.pl anyway.

I haven't changed the version number because there haven't been any downloads since the last change.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Search for IP Address V1.1 for YaBB 2.4
Reply #4 - Nov 10th, 2009 at 3:18am
Print Post  
Version 1.1 attached to first post - Fixed issue with Gmods being able to search for IP if they don't have permission to view IP's.
  
Back to top
 
IP Logged
 
Derek Barnstorm
God Member
*****
Offline



Posts: 1146
Location: Warwickshire
Joined: Mar 23rd, 2008
Gender: Male
Re: Search for IP Address V1.1a for YaBB 2.4
Reply #5 - Nov 10th, 2009 at 6:54pm
Print Post  
One more small fix: I've corrected the img tag syntax as suggested by Carsten. See this post if you're interested: http://www.yabbforum.com/community/YaBB.pl?num=1257644912/3#3

New Zip attached to first post. I'll call this one done soon if nobody has any problems.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint