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)
-   -   Miscellaneous Hacks - IP Address in Footer for vB 4 (https://vborg.vbsupport.ru/showthread.php?t=276749)

Boofo 01-09-2012 11:00 PM

IP Address in Footer for vB 4
 
1 Attachment(s)
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';
}


OldSchoolDSL 01-10-2012 07:56 PM

Installed and working

4.1.10 Beta 1

Very nice job, Boofo :)

Would be nice if it was about the site's time though ;)

Boofo 01-10-2012 08:10 PM

What do you mean "about the site's time"?

thecore762 01-10-2012 08:36 PM

awww, what happened to the dl?

Boofo 01-10-2012 08:43 PM

It's there. I forgot to add the version check and url links to the xml file.

No clicky install?

thecore762 01-10-2012 08:52 PM

Ah there it is :)
Installed
Awesome mod!

GhostHunter2010 01-10-2012 09:56 PM

marked but not installed yet

OldSchoolDSL 01-11-2012 03:45 AM

1 Attachment(s)
Quote:

Originally Posted by Boofo (Post 2286181)
What do you mean "about the site's time"?

If not above it as shown, than directly below it.

However... It's not really that important. I've been trying to figure out how to relocate a few things down there.

Boofo 01-11-2012 05:52 AM

Well, I had a choice between doing a template replace or using a hook. I chose the hook because that's how I have it on my site. You are more than welcome to do a manual template edit if you like. ;)

bulldog51981 01-11-2012 03:33 PM

Installed but doesn't show up on my custom templates. (Showed up in the default tho perfectly). What do I need to do (since this isn't a template edit) to add it to a custom style?


All times are GMT. The time now is 02:46 AM.

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.03057 seconds
  • Memory Usage 1,727KB
  • 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_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