vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Unknown Location (https://vborg.vbsupport.ru/showthread.php?t=169451)

nfn 02-01-2008 10:00 PM

Unknown Location
 
Description:

This modification will let you define a name for your external files replacing the Unknown Location message, usually in Who's Online & Members Profile pages.

Tested With:
  • vBulletin 3.6.8
  • vBulletin 3.7.0 Beta 4
Changes:
  • [v1.0.2] fix a minor bug and support for multiple queries.
  • [v1.0.1] added a 3rd optional parameter to identify the page with a query string.
  • [v1.0.0] first release.
Installation & Upgrade Instructions:

Upload the product & configure the settings for the product Unknown Location.

Notes:

The location of your files are relative to you web root.
With multiple queries, using the standalone file simultaneously, you must ensure that the standalone file comes first:

/file.php:My File
/file.php?do=hello:My Hello:do=hello
/file.php?do=hello&do=goodbye:My Goodbye:do=goodbye

The change is made in the "online_location_unknown" hook. If your page doesn't call this hook, nothing will be changed. To know wich hooks are called, run your board with debug mode on.

How to Use:

File Name:Page Name:Optional Parameter for Query String

/portal.php:Portal
/forum/misc.php:Misc Page
/forum/misc.php?do=hello:Hello:do=hello (using 3rd parameter for misc.php?do=hello)
/forum/misc.php?do=thanks&do=something:Thanks:do=thanks (using 3rd parameter for misc.php?do=thanks)

Please Mark as Installed!

Jase2 02-02-2008 05:41 PM

Thanks for this.

Regards Jason :)

Brian30fl 02-02-2008 05:52 PM

nice mod clicks install

Glenshadow 02-02-2008 05:56 PM

Perfect THANKS !

xixxon 02-02-2008 06:07 PM

cool...installed

Magnumutz 02-02-2008 08:06 PM

Very nice, i know there were quite some people looking for such a hack.

Good job !

aeturner89 02-02-2008 09:56 PM

Awesome hack. *nominates*

Zaiaku 02-03-2008 12:47 AM

Excellent. I remember seeing this before but this is so much better.

projectego 02-03-2008 07:47 AM

Great idea for a hack! :D

Brent H 02-03-2008 02:55 PM

For some reason this isn't working for me.
Code:

/index.php?page=downloads:Downloads
isn't changing anything.


All times are GMT. The time now is 01:43 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.01129 seconds
  • Memory Usage 1,726KB
  • 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)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