Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Unknown Location Details »»
Unknown Location
Version: 1.0.2, by nfn nfn is offline
Developer Last Online: May 2012 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.5 Rating:
Released: 02-01-2008 Last Update: 02-25-2008 Installs: 227
Uses Plugins
Translations  
No support by the author.

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!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 02-26-2008, 08:39 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're welcome.
Reply With Quote
  #33  
Old 02-26-2008, 11:44 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to add the code I gave you back in the link. The link is only showing the file name and not the do=anything.
Reply With Quote
  #34  
Old 02-29-2008, 05:09 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got this working for all but 1 link:

Tried:
../photos/showphoto.php/:Gallery

But still shows as unknownm location.
Reply With Quote
  #35  
Old 02-29-2008, 05:11 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

add your forums directory to tha beginning of it:

/forums/photos/showphoto.php:Gallery
Reply With Quote
  #36  
Old 02-29-2008, 06:48 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would I add forums to the front when the photos directory is in the root folder (mouse over provided link)?

I got this to work for PhotPost that also resides in the root folder but that uses a query string.
Reply With Quote
  #37  
Old 02-29-2008, 06:52 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, you didn't say it wasn't in the forums directory, now, did you?

Try adding a slash as the end of the link.
Reply With Quote
  #38  
Old 02-29-2008, 07:32 PM
nfn nfn is offline
 
Join Date: Feb 2007
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

In the Who's Online what is the path for Unknown Location?
Reply With Quote
  #39  
Old 02-29-2008, 08:40 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope this did not work either...

../photos/showphoto.php/:Gallery
Reply With Quote
  #40  
Old 02-29-2008, 08:42 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try:

/photos/showphoto.php:Gallery

or

./photos/showphoto.php:Gallery
Reply With Quote
  #41  
Old 02-29-2008, 09:32 PM
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Location: CT
Posts: 843
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just went back and tried those iterations and nope.

This works:
../photos/showgallery.php?:Gallery
../classifieds/contact.php?:Classifieds
../links/showlink.php?:Links
../links/browselinks.php?:Links

This wont:
../classifieds/showproduct.php:Classifieds
../photos/showphoto.php:Gallery

./classifieds/showproduct.php:Classifieds
./photos/showphoto.php:Gallery

/classifieds/showproduct.php:Classifieds
/photos/showphoto.php:Gallery


The difference is the ones that do not work are URLs (as shown on WOL)

/classifieds/showproduct.php/product/3/cat/all
/photos/showphoto.php/photo/69/cat/500/ppuser/2

Hope this helps.
Reply With Quote
Reply

Thread Tools

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 08:08 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.04431 seconds
  • Memory Usage 2,302KB
  • 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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete