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
IP Address in Footer for vB 4 Details »»
IP Address in Footer for vB 4
Version: 1.0.0, by Boofo Boofo is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 01-09-2012 Last Update: 01-09-2012 Installs: 56
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

IP Address in Footer for vB 4
Version 1.0.0
(By Boofo)

What does this product do?
This mod will add the viewing user's IP Address, OS version and Browser version after the copyright text in the footer template.

Version Information:
Version 1.0.0 --Initial release for vB 4

Installation Overview:
---------------------------
1 Product XML (1 Plugin and 4 Phrases)
2 Files (located in the upload/includes directory of this product ZIP file)

Installation Instructions:
----------------------------
1. Upload the files to the forums/includes directory on your site.

2. Go to your Admin CP
Scroll down to 'Plugin System'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the product-boofo_footer_ip.xml file on your computer
------------------------------------------------------

Done!
Enjoy!


Code:
if ($mark_as_installed != 'clicked')
{
	$you_get = 'squat';
}
else
{
	$you_get = 'support';
}

Download Now

File Type: zip IP_Address_in_Footer.zip (15.7 KB, 338 views)

Screenshots

File Type: png logged_in.png (2.7 KB, 0 views)
File Type: png logged_out.png (2.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
brishi

Comments
  #22  
Old 07-29-2012, 11:36 PM
DAMINK DAMINK is offline
 
Join Date: Jun 2010
Location: Melbourne Australia
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WHAT THE HELL! Rob died?
Holy crap! Sorry i had no idea!!!!!!!!!!
Sorry to jump the thread but i just read the above and well im lost for words!!!!!!!
What happened can anyone share with me?
Damn Rob was a great guy too!!!!!
Reply With Quote
  #23  
Old 07-29-2012, 11:51 PM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DAMINK View Post
WHAT THE HELL! Rob died?
Holy crap! Sorry i had no idea!!!!!!!!!!
Sorry to jump the thread but i just read the above and well im lost for words!!!!!!!
What happened can anyone share with me?
Damn Rob was a great guy too!!!!!
https://vborg.vbsupport.ru/showthrea...ighlight=boofo
Reply With Quote
  #24  
Old 07-25-2014, 09:21 PM
john7911 john7911 is offline
 
Join Date: Feb 2013
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much
Reply With Quote
  #25  
Old 03-12-2015, 05:51 PM
NetTraptor NetTraptor is offline
 
Join Date: Dec 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small mod to support IPv6.

Change

Code:
function isValidIPv4($addr) {
	$octs = explode('.',$addr);
        if (count($octs) != 4) return false;

        foreach ($octs as $oct) {
                if (!ctype_digit($oct)) return false;
                $oct = intval($oct);
                if ($oct < 0 || $oct > 255) return false;
        }  
	return true; 
}

?>
To this in the includes/functions_boofo.php

Code:
function isValidIPv4($addr) {

        return inet_pton($addr) !== false;
}
?>
Reply With Quote
  #26  
Old 04-16-2015, 03:09 AM
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed....works great with vB 4.2.2 pl 4, also working well with vB 4.2.3 Beta 4!
Reply With Quote
Благодарность от:
Lynne
  #27  
Old 02-11-2017, 08:08 AM
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had this mod for awhile now and it has worked great through various 4.x.x vB stages!

It's running now on 4.2.5 B1 with only one problem I found when switching to PHP 7...It kept logging in error log;

"PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Browser has a deprecated constructor in /home/xxxxx/public_html/includes/Browser.php on line 135 "

After searching the original author of the Browser PHP file, lead me to GitHub and a 2016 updated Browser PHP file...

More Info @ GitHub

Downloaded & replaced old file and PHP Deprecated Error logging stop!

Mod is working well!
I have attached the newer Browser PHP file for those that still use this great mod and running it with vB 4.2.5 and PHP 7.
Attached Files
File Type: php Browser.php (47.5 KB, 12 views)
Reply With Quote
  #28  
Old 02-15-2017, 03:24 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Techno Cowboy View Post
I've had this mod for awhile now and it has worked great through various 4.x.x vB stages!
Mod is working well!
I have attached the newer Browser PHP file for those that still use this great mod and running it with vB 4.2.5 and PHP 7.
For clarity, I'm still running vBulletin 4.13pl8 and PHP Version 5.6.30, but can I sill use your version of Browser.php?

Thanks..

Regards,
Doug
Reply With Quote
Благодарность от:
Techno Cowboy
  #29  
Old 03-10-2017, 04:18 AM
Techno Cowboy's Avatar
Techno Cowboy Techno Cowboy is offline
 
Join Date: May 2014
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
For clarity, I'm still running vBulletin 4.13pl8 and PHP Version 5.6.30, but can I sill use your version of Browser.php?

Thanks..

Regards,
Doug

Don't see why not,the updated Browser.php was written after PHP 5.6 was release!

Also FYI if you were not aware;

As it is the final PHP 5 release (EOL), support for PHP 5.6 has been extended: active support will run for an additional four months, and the security fix period has been doubled from one to two year

More Info here @ PHP Net ....

Many Blessings,
Cheyenne
Reply With Quote
  #30  
Old 03-10-2017, 10:03 AM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Techno Cowboy View Post
Don't see why not,the updated Browser.php was written after PHP 5.6 was release!
Thanks .. :up:

Regards,
Doug
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 06:11 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.04853 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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