Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
AustraliaBound.org - Instant IP LookUP Details »»
AustraliaBound.org - Instant IP LookUP
Version: 2.00, by TimberFloorAu TimberFloorAu is offline
Developer Last Online: Jan 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.0.x Rating:
Released: 03-06-2010 Last Update: 04-27-2010 Installs: 90
Uses Plugins
 
No support by the author.

This cracking little product, is a refinement of a previous mod of ours. Updated to work on all versions of vb4.0.0.x

If you use this MOD, please click Install

This Mod: adds an info icon below a members post.
It grabs the IP of the poster ( their post.ip )
By clicking it a new window opens up and displays the users Geo Location.

This is our MOST popular Modification for our admins, and allows them to track trace and locate users at ANY time.

To Install:

Upload the Image folder to your forum root. Allow merge.

Goto AdminCP>Plugins and Products>Add/Import Product

Navigate to: product-australiabound_iplookup.xml
Import

Done !

Nothing more to do.

ENJOY

When a moderator/admin staff clicks on the icon. A new window opens with google map, and the users ip location is displayed.

NO TEMPLATE EDITS !

Quote:
"There is nothing worse is there:

1. a new member posts
2. you hover over the IP button in their post
3. you then have to go into admincp , users, enter their username, grab the ip address
4. then open a whois ip lookup
5. paste the ip in
6. check them out

This REMOVES all that crap. Just click the Ip Icon
Wednesday 28th April: Updated product file. Thanks to BasilRath and Djbaxter

Download Now

File Type: zip Lookup_AustraliaBound-2.zip (53.7 KB, 329 views)

Screenshots

File Type: png sample.png (51.7 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #62  
Old 05-13-2010, 08:27 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djbaxter View Post
I see what you mean. I'm afraid this is beyond me... not sure what needs to be done.
Thanks anyway, really appreciate your efforts...

I guess I'll wait until the author gets back here and has a look to see if he can offer a solution. I know the "Thanks" mod and others that use the this bottom area of postbit blend right into our style without a problem, adapting to it's color scheme transparently. I think it has something to do with the coding, but now, like you, it's way above my pay grade.

I've been wondering if there's something I can add to this code to handle using the current style coloring.

Code:
<!--AustraliaBound.org ip tracer-->

   <vb:if condition="can_moderate()">
      <a href="http://www.infosniper.net/index.php?ip_address={vb:raw post.ip}&map_source=1&two_maps=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank" />
   <img class="inline" src="{vb:stylevar imgdir_button}/info.png" alt="Lookup this {vb:rawphrase ip}" title="Lookup this {vb:rawphrase ip}: {vb:raw post.ip}" />
   &nbsp;</a>

</vb:if>
<!--end AustraliaBound.org ip tracer-->

Here's the "post_thanks" code where they do it, so I wonder if there's something in here that could be done to the IP template, since I see the word "transparent".

Code:
<script type="text/javascript" src="clientscript/post_thanks.js"></script>

<style type="text/css">
.postbitlegacy .postfoot .textcontrols a.post_thanks_button, .postbit .postfoot .textcontrols a.post_thanks_button{
background: url({vb:stylevar imgdir_button}/post_thanks.png) no-repeat transparent {vb:stylevar left};
padding-{vb:stylevar left}: 20px
}
.postbitlegacy .postfoot .textcontrols a.post_thanks_button:hover, .postbit .postfoot .textcontrols a.post_thanks_button:hover{
background: url({vb:stylevar imgdir_button}/post_thanks-hover.png) no-repeat transparent {vb:stylevar left} }
</style>

Perhaps I'll see if I can find and pay a code developer to have a look and see what he can do, as I'd really like to use this mod on our site. :up:

Regards,
Badger
Reply With Quote
  #63  
Old 05-13-2010, 09:30 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I dont have this installed at present.

Have you tried adding:

no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px;

After
src="{vb:stylevar imgdir_button}/info.png"
Reply With Quote
  #64  
Old 05-13-2010, 09:58 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks ..

Just tried it, but see no change...

Seems to be a larger field box than the pic itself?

By the way, nice mod ... love to get it integrated ..

Thanks for your efforts ... :up:

Regards,
Badger
Attached Images
File Type: jpg Screen shot 2010-05-13 at 6.56.37 AM.jpg (6.1 KB, 0 views)
Reply With Quote
  #65  
Old 05-13-2010, 10:02 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

easiest thing to do would be to change the image to merge with your CUSTOM style background.
Reply With Quote
  #66  
Old 05-13-2010, 10:21 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again ...

Tested your icon (see attached) ....

I don't believe it's the image itself. I think it's the fact that the field should be a composite of both the image and the white box (for lack of a better expression). Note your last image posted with the style color background set to my color is fine, but the rest if the field it's sitting in is white. The icon pic actually seems to be "left justified" in that white box field?

Note the "Thanks" add-on mod graphic and its field right next to your mod. That construction is differently coded and the field consists of both the background box (link) and thanks graphic integrated.

Regards,
Badger
Attached Images
File Type: jpg Screen shot 2010-05-13 at 7.15.39 AM.jpg (6.1 KB, 0 views)
File Type: png Screen shot 2010-05-13 at 7.16.28 AM.png (13.4 KB, 0 views)
Reply With Quote
  #67  
Old 05-13-2010, 10:32 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB 4 uses style vars and hover state, if you look at other mods, they utilise two images.
Perhaps that is the key.

Sorry I couldnt help more
Reply With Quote
  #68  
Old 05-13-2010, 10:36 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem, I understand ..

Out of curiosity, I simply substituted the call to the "Thanks" graphic icon next to yours and I've attached the result. It does the same thing.

I wonder if it's as simple as the setting of the field size for that box (showing white) someplace, to better correspond with the size of the info icon left justified and embedded in it.

Regards,
Badger
Attached Images
File Type: jpg Screen shot 2010-05-13 at 7.33.06 AM.jpg (5.9 KB, 0 views)
Reply With Quote
  #69  
Old 05-13-2010, 06:53 PM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in postbit.css, find
Code:
/* Text button hover images */
and underneath, insert
Code:
.postbitlegacy .postfoot .textcontrols a.abipinfo, .postbit .postfoot .textcontrols a.abipinfo  {
	background: url({vb:stylevar imgdir_button}/info.png) no-repeat transparent {vb:stylevar left};
	padding-{vb:stylevar left}: 20px;
}
.postbitlegacy .postfoot .textcontrols a.abipinfo:hover, .postbit .postfoot .textcontrols a.abipinfo:hover  {
	background: url({vb:stylevar imgdir_button}/info.png) no-repeat transparent {vb:stylevar left};
	padding-{vb:stylevar left}: 20px;
}
then replace the contents of the AustraliaBound IP Lookup template with
Code:
<!--AustraliaBound.org ip tracer-->

   <vb:if condition="can_moderate()">
      <a class="abipinfo" href="http://www.infosniper.net/index.php?ip_address={vb:raw post.ip}&map_source=1&two_maps=1&overview_map=1&lang=1&map_type=1&zoom_level=7" target="_blank" />
   
   &nbsp;</a>

</vb:if>
<!--end AustraliaBound.org ip tracer-->
I've got a futher altered version that works with Pauls proxy mod, but the above works fine.
Reply With Quote
  #70  
Old 05-13-2010, 07:25 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Jonty :up:
Reply With Quote
  #71  
Old 05-13-2010, 08:35 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you Jonty .... :up:

That improved it a LOT!

The white box has gone away and the icon appears "left justfied" within that area. When I put my mouse over the icon area, the icon disappears and I'm able to click my mouse to go to the IP site.

I assume I could use a different sized icon, perhaps more centered for the size of the field and this code change would still adapt to that?

Again, thanks and I appreciate your help....

Regards,
Badger

Note: left pic is with mouse not near field area. right pic is with mouse hovering over icon area.
Attached Images
File Type: jpg Screen shot 2010-05-13 at 5.31.48 PM.jpg (6.1 KB, 0 views)
File Type: jpg Screen shot 2010-05-13 at 5.31.59 PM.jpg (6.2 KB, 0 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:24 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04856 seconds
  • Memory Usage 2,359KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete