PDA

View Full Version : Mini Mods - AustraliaBound.org - Instant IP LookUP


TimberFloorAu
03-06-2010, 10:00 PM
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 !


"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

TimberFloorAu
03-07-2010, 08:59 PM
** Reserved **

If you wish to translate this mod, please do feel free to add translation here. I will update product accordingly.

VBULLETIN resource sites
DO NOT , I repeat DO NOT plaguerise our Modifications, by placing them on your modifications website. We chose to add this mod to Vbulletin.org because they are the number 1 resource for Vbulletin, and for all MEMBERS to enjoy and use.

If you wish you may LINK to this THREAD from your site, that is all.

DO NOT modify any of the code within this plugin, if you have a request or upgrade let us know, we will test and update where necessary.

PLEASE click INSTALL. If you dont we wont bother sharing our code with you again !

Do not hotlink images from us or Vbulletin.org ( from within this thread )

ProFifaLeagues
03-07-2010, 09:34 PM
Cheers looks good and i will install later tonight!

TimberFloorAu
03-07-2010, 09:48 PM
More than welcome mate, thankyou for clicking Installed :)

steve1966
03-07-2010, 09:52 PM
thanks will also try this

TimberFloorAu
03-07-2010, 09:55 PM
No problems Steve


"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 ;)

Sorted :up:

skol
03-07-2010, 09:56 PM
It grabs the IP of the poster ( their post.ip )
By clicking it a new window opens up and displays the users Geo Location.


Using what source to display the location?

Edit: You posted before me lol..whois ip i have found is not always correct geo wise.Yes to country, but actual location within that country is some what obscure..

TimberFloorAu
03-07-2010, 09:56 PM
Check the product code in the zip

TimberFloorAu
03-07-2010, 10:06 PM
Using what source to display the location?

Edit: You posted before me lol..whois ip i have found is not always correct geo wise.Yes to country, but actual location within that country is some what obscure..

In that case rely on nothing :) , stay AS IS and dont download or use

skol
03-07-2010, 10:10 PM
Fair comment..

TimberFloorAu
03-07-2010, 10:19 PM
Fair comment..

If you are running out of diskspace to download mods , trust me its only small.
By downloading , this FREE modification. You get to:

1. look at the files
2. check out the code
3. decide if it is for you or not.

Its a free decision you make, you are not obligated to us in anyway. But if you dont try you dont find out huh.
If after downloading and installing you have an issue, I will more than happily assist.

skol
03-07-2010, 10:46 PM
Look i'm not getting into a slanging match,your original post showed no source from were your mod was grabbing the info.I'm not knocking your mod just knocking the source you use.
So please refrain from using sarcastic comments to fellow members.As i said your comment was fair.

TimberFloorAu
03-07-2010, 10:50 PM
LOL

No one is being sarcastic, just explaining PAL !

skol
03-07-2010, 10:59 PM
In that case rely on nothing , stay AS IS and dont download or use

Yeah i saw...lol.Just explaining Pal.

icemann
03-08-2010, 04:35 AM
I love it, thanks bro. :cool:

Hornstar
03-08-2010, 04:45 AM
tagged for when I update. Thanks.

TimberFloorAu
03-08-2010, 04:54 AM
I love it, thanks bro. :cool:

Your welcome

tagged for when I update. Thanks.

Aint you upgraded yet Matt !! LOL

ProFifaLeagues
03-08-2010, 05:06 AM
Working superb and saves much time thanks again top rated!

TimberFloorAu
03-08-2010, 05:29 AM
Very welcome Rammie :)

RedHacker
03-08-2010, 05:04 PM
This show only Admins and Mods...?

zelnik
03-08-2010, 05:33 PM
Good work TimberFloor!

Am using this for vb3.8 https://vborg.vbsupport.ru/showthread.php?t=179362 and was going to miss it when I upgrade to vb4 in a few days.

Is there anyway of adapting it to search for other users using the same IP like the above mod?

thanks

TimberFloorAu
03-08-2010, 07:04 PM
This show only Admins and Mods...?

Only for Admin and Moderators

Good work TimberFloor!

Am using this for vb3.8 https://vborg.vbsupport.ru/showthread.php?t=179362 and was going to miss it when I upgrade to vb4 in a few days.

Is there anyway of adapting it to search for other users using the same IP like the above mod?

thanks

It doesnt actually search for IP, all this does it grab the "post ip" therefore it is lightweight and unobtrusive, no plans to extend that functionality are planned

steve1966
03-08-2010, 07:17 PM
HelloTimberFloorAu i want to use this but i have hide ip of superadmins is there any way that you can have an option so that superadmins ip does not show becauase when i installed this this overrided the hide superadmin mod thanks

TimberFloorAu
03-08-2010, 07:25 PM
Will have a play with that and see what I can do mate

KEKforce
03-08-2010, 07:29 PM
HelloTimberFloorAu i want to use this but i have hide ip of superadmins is there any way that you can have an option so that superadmins ip does not show becauase when i installed this this overrided the hide superadmin mod thanks

Second that!

Great MOD!

TimberFloorAu
03-08-2010, 08:01 PM
We have never hidden mod and admin IP's can you tell me where this is within admincp, I will check the code.

Blue

svandanam
03-09-2010, 01:53 AM
awesome mod !! Downloaded and Installed.

TimberFloorAu
03-09-2010, 02:15 AM
Very Welcome mate, hows the site going ?

chingon
03-09-2010, 03:13 AM
We have never hidden mod and admin IP's can you tell me where this is within admincp, I will check the code.

Blue

There is a plugin to hide the superadmin ip, thank you for this but would appreciate the ability to hide the superadmin also.

https://vborg.vbsupport.ru/showthread.php?t=236785

Dr.osamA
03-09-2010, 10:40 PM
100%

thanxxx man good work

installed + 5
________
VAPIR OXYGEN (http://oxygenvaporizer.com)

War.Frog
03-10-2010, 02:59 AM
Fantastic idea! A question - is there any possibility of extending this IP lookup functionality to the Who's Online dialog as well? I find I use this a LOT more, particularly for Guest readers and other strange visitors. :D

TimberFloorAu
03-10-2010, 04:36 AM
If you know the hook for the IP in this area, which would not be POST ID, perhaps SIGNUP ID or similar , then yes I can extend it.

tuppyb
03-10-2010, 06:40 PM
Reserved :D

War.Frog
03-10-2010, 07:15 PM
If you know the hook for the IP in this area, which would not be POST ID, perhaps SIGNUP ID or similar , then yes I can extend it.

These are the hooks called for the Who's Online screen. Is anyone familiar with these and whether they relate to user IP in the Who's Online function? Perhaps fetch_userinfo?

init_startup
database_pre_fetch_array
database_post_fetch_array
fetch_userinfo_query
fetch_musername
fetch_userinfo
global_bootstrap_init_start
global_bootstrap_init_complete
cache_permissions
global_state_check
global_bootstrap_complete
global_start
style_fetch
cache_templates
template_register_var
parse_templates
notices_check_start
friendlyurl_resolve_class
notifications_list
process_templates_complete
fetch_foruminfo
global_setup_complete
online_start
online_query
postbit_imicons
online_location_preprocess
online_ids_titles
online_bit_complete
forumjump
online_complete
navbits
navbits_complete

TimberFloorAu
03-10-2010, 08:17 PM
Cheers , will have a play over next couple of days, see what I can do ;)

DeviantFlash
03-11-2010, 12:24 AM
Any chance of a button for dark themes?

princeedward
03-11-2010, 02:10 AM
great and nice....gonna install this later mate...after work...keep it coming

rated 5 and nominate....

:p:up:

TimberFloorAu
03-11-2010, 02:20 AM
Any chance of a button for dark themes?

Added to this post

great and nice....gonna install this later mate...after work...keep it coming

rated 5 and nominate....

:p:up:

No probs mate

12xbl
03-24-2010, 10:31 AM
Excellent mod, i'd like it for the Who's Online screen also ..... tagged for future use !

12xbl

adeel80
04-22-2010, 02:34 AM
Hi,

Just installed but it isn't showing the little icon instead shows the text "look up this ip" like this
http://loadpictures.net/pics/73587668e672c5aca62443b3601329de.png

I uploaded the folder with the image, i guess it is at the wrong spot. Kindly help the noob

basilrath
04-22-2010, 09:04 AM
Just a quick change .......... in the code line for opening new window the line

<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" />

Should be

<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" />

Pedantic i know lol but just a new window is important :)

TimberFloorAu
04-22-2010, 09:18 AM
thanks for spotting

jkcerda
04-25-2010, 04:56 AM
does it identify proxy IP's?

kfrosty
04-27-2010, 11:09 PM
Hello,

For some reason the links to mark as installed aren't showing up.

Also, do you have a mod for when you click on a user account? Our problem is we see a new registration, we want to click on the user name and then be able to see their IP address and not wait for a post to decide whether we ban them or not.

Thanks

TimberFloorAu
04-27-2010, 11:46 PM
Hello,

For some reason the links to mark as installed aren't showing up.

Also, do you have a mod for when you click on a user account? Our problem is we see a new registration, we want to click on the user name and then be able to see their IP address and not wait for a post to decide whether we ban them or not.

Thanks

From my limited knowledge there are several IP's saved for user.

Registration IP
Post IP.

It wouldnt be hard to add this to memberinfo page and add conditionals so that only viewable to admins etc.
But its the registration IP hook, I dont know the variable used.

dodgeboard.com
04-28-2010, 01:48 AM
Fantastic idea! A question - is there any possibility of extending this IP lookup functionality to the Who's Online dialog as well? I find I use this a LOT more, particularly for Guest readers and other strange visitors. :D


I was going to make this VERY suggestion.

I too, would like this functionality extended to the WOL page.

AWESOME MOD by the way!!

Installed and nominated MOTM. :up:

djbaxter
04-28-2010, 02:25 AM
Bug:

In file product-australiabound_iplookup.xml around line 16:

<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" />

You have an extra " character before target so it doesn't actually open in a new page.

Change to:

<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" />

TimberFloorAu
04-28-2010, 02:45 AM
Thanks: spotted in https://vborg.vbsupport.ru/showpost.php?p=2025302&postcount=41

Will change 1st post and zip when I get the time.

::: Product and Zip updated

djbaxter
04-28-2010, 02:57 AM
Missed gthat post. :o

Also an uncached template australiabound_post_control_bit.

I'm not sure where this needs to be added to cache it.

Added...

Solution:

Create another plugin for this mod:

Product: AustraliaBound.org IP Lookup

Hook Location: cache_templates

Title: Cache template australiabound_post_control_bit

Plugin PHP Code:

if (THIS_SCRIPT == 'showthread')
$cache[] = 'australiabound_post_control_bit';
Plugin is Active: Yes

BadgerDog
05-12-2010, 05:21 PM
Installed...

Nice mod, thanks .... but have some kind of a cosmetic problem with the display of the icon .. :confused:

Fixed the first problem with path to icon, but there color (style CSS?) match is odd for our background. It's white and we need to have it blend better.

Anyone know how to clear this up before I uninstall?

Thanks .. :)

Regards,
Badger

djbaxter
05-12-2010, 06:07 PM
Installed...

Nice mod, thanks .... but have some kind of a cosmetic problem with the display of the icon .. :confused:

Fixed the first problem with path to icon, but there color (style CSS?) match is odd for our background. It's white and we need to have it blend better.

Anyone know how to clear this up before I uninstall?

Thanks .. :)

Regards,
Badger

Edit the image in a garphics editor to make it transparent, or if you can't do that match the background to the background of your style.

BadgerDog
05-12-2010, 06:44 PM
Edit the image in a garphics editor to make it transparent, or if you can't do that match the background to the background of your style.

Thanks partner .. :)

I don't have a graphics editor, other than what comes with my Apple Macbook, so I'll see if I can get someone to do that ...

Regards,
Badger

djbaxter
05-12-2010, 08:37 PM
Thanks partner .. :)

I don't have a graphics editor, other than what comes with my Apple Macbook, so I'll see if I can get someone to do that ...

Regards,
Badger

Try this (attached).

edit: attachment deleted

BadgerDog
05-12-2010, 08:50 PM
Appreciate the attempt, but it still seems to be a white box with the blue icon in the middle. (see pic) .....

I think you're right that I need the blue icon with a transparent background. I've just spent the last few hours searching the net for a Mac program that would let me work with icons. I found and downloaded several, but none of them permit a transparent background thing.

Perhaps it's the realm of very expensive graphics packages?

Thanks again for your help... :)

Regards,
Badger

djbaxter
05-12-2010, 10:34 PM
Appreciate the attempt, but it still seems to be a white box with the blue icon in the middle. (see pic) .....

I think you're right that I need the blue icon with a transparent background. I've just spent the last few hours searching the net for a Mac program that would let me work with icons. I found and downloaded several, but none of them permit a transparent background thing.

Perhaps it's the realm of very expensive graphics packages?

Thanks again for your help... :)

Regards,
Badger

OK. That was a quick attempt only from my laptop. Will redo at home on my desktop later.

djbaxter
05-13-2010, 12:23 AM
All right, this one works. I've tested it on a dark and a medium background.

Upload this to /images/buttons/info.png for each of your styles if you have more than one.

You may need to hard refresh your browser and/or to delete your cache and reload the page to see the difference.

BadgerDog
05-13-2010, 01:11 AM
Ok, see attached pic ... :)

I cleared caches etc....

I think the pic is fine and the background is transparent. I beginning to think that the problem is the way the mod has been implemented, as I'm pretty sure now the square area showing white behind it is actually part of a larger field.

If you look at the other items on the same postbit bottom line, there's several that have both the graphic pic and a phrase that represent in totality a piece of information with a link.

I think the author needs to look at how he uses the pic here, as it seems to be the ONLY item across that line that I can right click and save the pic, whereas the other items are integrated together and the pic is part of a larger entity. For example, the "Thank You" icon next to the INFO mod can't be clicked on in any way to save the "thumbsup" graphic.

Am I explaining that clearly?

Thanks again for your help .. :)

Regards,
Badger

ShawneyJ
05-13-2010, 01:30 AM
** Reserved **

If you wish to translate this mod, please do feel free to add translation here. I will update product accordingly.

VBULLETIN resource sites
DO NOT , I repeat DO NOT plaguerise our Modifications, by placing them on your modifications website.

it made it to vbteam.info pretty quick lol.
just typed into google AustraliaBound.org - Instant IP LookUP and found it.

anyway great addon keep up the good work.

djbaxter
05-13-2010, 02:50 AM
Ok, see attached pic ... :)

I cleared caches etc....

I think the pic is fine and the background is transparent. I beginning to think that the problem is the way the mod has been implemented, as I'm pretty sure now the square area showing white behind it is actually part of a larger field.

If you look at the other items on the same postbit bottom line, there's several that have both the graphic pic and a phrase that represent in totality a piece of information with a link.

I think the author needs to look at how he uses the pic here, as it seems to be the ONLY item across that line that I can right click and save the pic, whereas the other items are integrated together and the pic is part of a larger entity. For example, the "Thank You" icon next to the INFO mod can't be clicked on in any way to save the "thumbsup" graphic.

Am I explaining that clearly?

Thanks again for your help .. :)

Regards,
Badger

I see what you mean. I'm afraid this is beyond me... not sure what needs to be done.

djbaxter
05-13-2010, 02:50 AM
it made it to vbteam.info pretty quick lol.
just typed into google AustraliaBound.org - Instant IP LookUP and found it.

anyway great addon keep up the good work.

Friggin' pirates! :mad:

BadgerDog
05-13-2010, 08:27 AM
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. :D

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

<!--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". :D

<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

TimberFloorAu
05-13-2010, 09:30 AM
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"

BadgerDog
05-13-2010, 09:58 AM
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

TimberFloorAu
05-13-2010, 10:02 AM
easiest thing to do would be to change the image to merge with your CUSTOM style background.

BadgerDog
05-13-2010, 10:21 AM
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

TimberFloorAu
05-13-2010, 10:32 AM
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

BadgerDog
05-13-2010, 10:36 AM
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

jonty
05-13-2010, 06:53 PM
in postbit.css, find
/* Text button hover images */
and underneath, insert
.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
<!--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.

TimberFloorAu
05-13-2010, 07:25 PM
Cheers Jonty :up:

BadgerDog
05-13-2010, 08:35 PM
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.

jonty
05-14-2010, 05:24 AM
:up:

To align the images in the centre, replace the css with:
.postbitlegacy .postfoot .textcontrols a.abipinfo, .postbit .postfoot .textcontrols a.abipinfo {
background: url({vb:stylevar imgdir_button}/info.png) no-repeat transparent center;
}
.postbitlegacy .postfoot .textcontrols a.abipinfo:hover, .postbit .postfoot .textcontrols a.abipinfo:hover {
background: url({vb:stylevar imgdir_button}/info.png) no-repeat transparent center;
}

Change the second image path to be the image you want displayed when you hover over it.

If the image disappears make sure you've put the .hover set of css entries. basically it states not to change when you hover over it. If it's missed out, the image disappears.

BadgerDog
05-14-2010, 10:04 AM
Change the second image path to be the image you want displayed when you hover over it.

If the image disappears make sure you've put the .hover set of css entries. basically it states not to change when you hover over it. If it's missed out, the image disappears.

That worked perfectly jonty .... :up:

Centered in field and now it doesn't disappear when mouse is placed (hovered) over the field. I think you were right and I missed the second set of entries when I cut-n-pasted the first time. :D

I'll see if I can get some one to create a second image to show the hovering effect as a test, then I'll post the pics here.

Again, appreciate your help .... very gracious of you. :up:

Regards,
Badger (Doug)

BadgerDog
05-14-2010, 11:16 AM
By the way, how difficult would it be to move the function over next to the IP con, as shown in the attached pic?

Thanks ... :)

Regards,
Badger

mikez006
05-30-2010, 01:16 PM
Feature request: I'd like it so that all members could see the users location without seeing the IP address.

spillage
09-21-2010, 01:32 AM
Feature request:
Have this available next to the IP Address on the User Profile page, of the AdminCP.

COL NIL SATIS
09-22-2010, 07:32 PM
tagged

COL NIL SATIS
09-22-2010, 07:49 PM
installed!!!! fantastic little mod ..rates 5 stars

BadgerDog
11-05-2010, 10:46 AM
If I wanted to be able to make this mod option available to a specific (or more than just admin) set of usergroups. where do I modify or add the code to do that? :)

Thanks for any help ....

Regards,
Badger

Edit: ok, I figured it out ... I'm using this around the template ..

<vb:if condition="is_member_of($bbuserinfo,5,6,7,9,10)">

</vb:if>

So, another question...

If I don't want anyone to see the locating ICON at the bottom of a post by Admin usergroup 6, how do I get that excluded from the above condition. Is it another condition after that one that somehow excludes executing if the post is by an Admin? You can tell, I'm not a coder .. :D

BadgerDog
11-18-2010, 10:52 AM
I'm not a coder, so if anyone could help me with this addition to the mod, I'd appreciate it ...

I have the following code ..

<vb:if condition="is_member_of($bbuserinfo,5,6,7,9,10)">

<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>

So, the small i icon for IP lookup only appears at the bottom of posts for the user groups indicated and it works great.

Now, what can I add that causes the small i icon for IP lookup NOT to appear at the bottom of a post for specific userID's that I list in an array. In other words, I don't want the icon to appear in the postbit for certain useID's, regardless of whether the user group can see them or not.

I hope I explained that ok .. :D

I would think that it's a simple piece of HTML code to add to this template?

Actually, maybe this is the wrong place to try and put this condition, as perhaps the post is already displayed at this point, so if there's another place in the plugins etc where I can do this, that would be helpful too ...

Thanks for any feedback .. :)

Regards,
Doug

BadgerDog
11-26-2010, 11:11 AM
Anyone help with the above request? :)

Thank you ...

Regards,
Doug

lycheepassion
12-13-2010, 06:32 PM
I Love it. Marked installed

djbaxter
12-13-2010, 06:56 PM
Since upgrading to 4.10, the icon is misaligned with the others (see attachment). This occurs in the default style as well as all the custom styles I have installed.

What do I need to do edit to align this correctly?

Pamela
08-27-2011, 06:24 AM
I have the strangest error...no matter which member's IP I try to look up, it just gives me my own IP and location. Each post shows the image no problem, but no matter what member's IP I click on, it just shows up as MY computer's IP and MY location, no matter where they are in the world.

Any clue at all what might be wrong??? :confused:

(Right now I'm running 4.1.5...but it was doing the exact same thing when I first tried installing this on 4.0.)

1320Nation
09-02-2011, 03:57 AM
4.1.5

Installed: image does not show anywhere. This mod should be in mod graveyard if developer is not going to support it. :down:

@ngel
09-02-2011, 11:53 AM
I decreased the image dimensions to 14x14 and it's aligned now!

gezuvor
10-03-2011, 09:04 PM
I was also having a problem with the image not showing. Plus, I didn't want two IP icons on each post, so I did the following:

In postbit_proxyip, I found the following:
<vb:if condition="($post[proxyip] == '')">
<a class="ip" href="postings.php?{vb:raw session.sessionurl}do=getip&amp;p={vb:raw post.postid}" title="{vb:rawphrase ip}: {vb:raw post.ip}">&nbsp;</a>
<vb:else />


And replaced it with this:

<vb:if condition="($post[proxyip] == '')">
<a class="ip" 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" title="{vb:rawphrase ip}: {vb:raw post.ip}">&nbsp;</a>
<vb:else />

It is not an elegant (or permanent) solution, but it basically does the same thing. Hopefully the coder will show up and help us all out with this!

exhibitionpoult
11-27-2011, 09:47 PM
Anyone know where the style is to make the 'lookup ip' box wider.

bosanci28
11-28-2011, 04:28 AM
i am having the same problem images not showing right ,look at the screens...

not working in 4.1.8 !

spillage
11-11-2012, 06:36 PM
Working on 4.2.0 PL3