vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add Who's Online Locations From Admin CP (https://vborg.vbsupport.ru/showthread.php?t=66569)

Dan 06-26-2004 10:44 PM

Quote:

Originally Posted by princeton
installation was flawless :up:

very nice :) looks very useful for some people

SnowBot 06-27-2004 12:14 AM

Question

If you have to files with same name but in 2 seperate directories how would you add them?

For example

forum/index.php
/links/index.php

ChrisBaktis 06-27-2004 12:17 AM

Awesome Hack!!!! I have been pulling my hair out trying to figure out how to do this manually - your a life saver!

** Chris Clicks Install!

Trigunflame 06-27-2004 12:48 AM

Ok people, cause of 58Sniper I updated the hack to allow you to enable/disable whether links are shown or not for locations.

Enjoy.

Trigunflame 06-27-2004 12:53 AM

Quote:

Originally Posted by SnowBot
Question

If you have to files with same name but in 2 seperate directories how would you add them?

For example

forum/index.php
/links/index.php

Unless you rewrote partly how vbulletin does this stupid, I dont believe that is possible. Vbulletin automatically finds filename by using REGEX to determine base filename, and then compares it doesnt look for which directory it is located in, as everything in its eyes are relative to itself (online.php)

Maybe try renaming one of them to a slightly different name, ie index2.php this can be done easily enough in vbulletins configuration files plus the

// Example
define('THIS_SCRIPT','index2.php');

directive at the top of each script name, helps the script know what its current filename is, when it referrs to itself.

ImportPassion 06-27-2004 12:55 AM

Quote:

Originally Posted by RapCheck
Would this be able to differ things such as, index.php, index.php?page=contact, index.php?page=links all as different who's online locations?


So basically, using vbindex created pages, would I be able to add the extra pages to the who's online with this hack?

I would like this as well, along with being to distinguish between 2 index.php in 2 diff dirs.
At least this is a jumping point.

SnowBot 06-27-2004 01:28 AM

Quote:

Originally Posted by Trigunflame
Ok people, cause of 58Sniper I updated the hack to allow you to enable/disable whether links are shown or not for locations.

Enjoy.

where are the upgrade instructions ? what do we have to change ? :) thanks

SnowBot 06-27-2004 01:31 AM

i got it btw but you may wanna add that to your first post :) to just overwrite the file :)

Trigunflame 06-27-2004 01:32 AM

Quote:
----------------------------------------------------------
I would like this as well, along with being to distinguish between 2 index.php in 2 diff dirs.
At least this is a jumping point.
----------------------------------------------------------

It would require a good bit of modification, I might release an update for that in a day or 2.

Quote:
----------------------------------------------------------
i got it btw but you may wanna add that to your first post to just overwrite the file
----------------------------------------------------------

Well you need to replace that code in the readme, on the (functions_online.php) file also, as I changed some directives.

wrongful 06-27-2004 01:47 AM

Thanks a lot. This is exactly what I needed. Installed fine. :)


All times are GMT. The time now is 08:13 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.01188 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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