vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - YBMF - GoogleMaps - Geo IP Tracker ( one click ) (https://vborg.vbsupport.ru/showthread.php?t=234082)

woffie 01-25-2010 02:51 PM

Real nice! Thanks!

TheSupportForum 01-25-2010 06:39 PM

$find = '';
$add_before = "". PHP_EOL;
$output = str_replace($find,$add_before.$find, $output);
}

i would liek to use

this with it

Code:

<vb:if condition="$bbuserinfo['userid'] == 1"><a href="http://www.dnsstuff.com/tools/ipall/?tool_id=67&token=&toolhandler_redirect=0&ip={vb:raw post.ip}" alt="YoBroMoFo IP Tracker" title="YoBroMoFo IP Tracker"target="_blank"><img src="images/site_icons/account.png" border="0"></a></vb:if>

TimberFloorAu 01-25-2010 07:10 PM

Could you explain Simon. Sorry its early here in Brizzy and its "Australia Day" Yayyy

jonty 01-25-2010 07:27 PM

(not very well coded) change to show the external (proxy) IP if using Paul's Proxy to Real IP conversion (https://vborg.vbsupport.ru/showthread.php?t=231873).

Apologies if it's cheap and nasty.

PHP Code:

<!--yobromofo ip tracer-->
<
vb:if condition="can_moderate()">
   <
vb:if condition="$post['proxyip']==null">
      <
a href="http://www.dnsstuff.com/tools/ipall/?tool_id=67&token=&toolhandler_redirect=0&ip={vb:raw post.ip}" alt="YoBroMoFo IP Tracker" title="YoBroMoFo IP Tracker"target="_blank">
   <
img src="images/site_icons/account.png" border="0">
   </
a>
   <
vb:else />
      <
a href="http://www.dnsstuff.com/tools/ipall/?tool_id=67&token=&toolhandler_redirect=0&ip={vb:raw post.proxyip}" alt="YoBroMoFo IP Tracker" title="YoBroMoFo IP Tracker"target="_blank">
   <
img src="images/site_icons/account.png" border="0">
   </
a>
   </
vb:if>
</
vb:if>
<!--
end of yobromofo ip tracer--> 


TheSupportForum 01-25-2010 08:21 PM

Quote:

Originally Posted by TimberFloorAu (Post 1966408)
Could you explain Simon. Sorry its early here in Brizzy and its "Australia Day" Yayyy



well in php you can you $find $add_before etc...

but not sure how to use it correctly

it will search for a code in vbulletin and place the code where you want it

MarceloS 01-26-2010 11:42 AM

Awesome. Please make ti show a map with the location of the ip. It would be perfect.

TimberFloorAu 01-26-2010 05:48 PM

Quote:

Originally Posted by MarceloS (Post 1966979)
Awesome. Please make ti show a map with the location of the ip. It would be perfect.

Add MAP version to instructions ( see attachments 1st post )

Enjoy.

Ste

TheSupportForum 01-26-2010 06:03 PM

REQUEST:

to turn this into a product.xml file

i would like to see this auto inserted into postbit_legacy
this wasy it can be removed by unistalling the product

TimberFloorAu 01-26-2010 06:17 PM

Our code is reusable, and if anyone wants to do a product for it, then please feel free. I have no idea how to make product.xml files

jonty 01-27-2010 12:56 PM

1 Attachment(s)
Quote:

Originally Posted by TimberFloorAu (Post 1967306)
Our code is reusable, and if anyone wants to do a product for it, then please feel free. I have no idea how to make product.xml files

I've created and attached one here.
I've never created one before, so any and all disclaimers apply :D


All times are GMT. The time now is 10:16 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01017 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete