vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   whois online in non-vB pages by showing the page title (https://vborg.vbsupport.ru/showthread.php?t=26838)

Ruth 08-29-2001 07:11 PM

could someone add some code to who is online in 2.0.3, so that when you include global.php in non vb pages it automatically display the user in whois online list, if the user on that page.

it works by capturing the title of your page, and show it in the whois online list.

thanks

Admin 08-29-2001 07:21 PM

Correction:
It doesn't "capture" the title of the page.
It gets the filename, and then uses the text specified for that filename (the text is set in online.php).

Ruth 08-29-2001 07:27 PM

FireFly, thats why i'm asking for a hack to get the title :rolleyes:

and what if i have 10 files named index.php, how can the script differentiate where the user is?

thanks

Admin 08-29-2001 07:38 PM

vBulletin removes from the url everything from / to the left, and from ? to the right, so I don't know how to do this.

Freddie Bingham 08-29-2001 07:42 PM

The 2.0.4/2.1 version allows you do this.

Ruth 08-29-2001 07:46 PM

great news

cheers :)

Admin 08-30-2001 04:49 AM

Ohh goodie. :D

Ruth 11-04-2001 07:22 PM

Quote:

Originally posted by freddie
The 2.0.4/2.1 version allows you do this.
Freddie, is this function present now in 2.2?

Admin 11-05-2001 11:09 AM

Yup. :)


All times are GMT. The time now is 07:13 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.01066 seconds
  • Memory Usage 1,719KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete