vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add Who's Online locations from Admin CP (https://vborg.vbsupport.ru/showthread.php?t=32849)

nafae 03-20-2002 01:35 AM

ok, I have a question~ I was curious, how can I make it (modify this hack) so that lets say a user is at /chatmain.php? -which is a session hash I believe, how can I make this hack recognzie such a thing IE any url past the &s and strip it. SO that way, if I put "chatmain.php" as the site I'm trying to remove "Unknown Location" from, it will find chatmain.php&s=blahblahblah and remove the &s and everything past it?

Just curious, this has been bothering me for quite some time...

diettalk 03-23-2002 11:26 PM

I'm also using vBPortal and the trouble I'm having is that I can get /download.php to work but it will not go to the actual location

/download.php?op=viewdownloaddetails&lid=2&ttitle=D iettalk.com_screensaver_1024x7 68

but it will only show /download.php

fyi.. I get the same thing with the "glossary".. it will only show glossary.php instead of the full location... so I doubt it's a "vBPortal" issue.

diettalk 03-24-2002 12:35 AM

I figured out the issue with locations in "glossary.php" and for vBPortal's sections.php, links.php, ect.

Filename: sections.php

Description: Viewing <a href="$userinfo[location]">Articles</a>

"modules" for vBPortal are still not working though and I would like to replace "Article" with a variable for the page title ($title does not work).

heretic 04-01-2002 11:27 PM

a problem I'm having is that I want it to go into a child directory, I'd like that to work.

right now I have www.warpstorm.com/forums/

and want it to link to the main page (www.warpstorm.com) and our Oracle (www.warpstorm.com/oracle/index.php)

is it ever possible to include child forums?

tkeil69575 04-23-2002 08:36 AM

[QUOTE]Originally posted by diettalk
I figured out the issue with locations in "glossary.php" and for vBPortal's sections.php, links.php, ect.

diettalk 04-28-2002 09:17 PM

If you have installed this hack.. just use...

filename: links.php

Description:
Viewing <a href="$userinfo[location]">Web Links</a>

But anything with a module, will not work at the moment.


[QUOTE]Originally posted by tkeil69575


can you elaborate on that, Im also using vbportal and would like to get the links.php and downloads.php to be found. I tried /links.php but it still is seen as an unknown location.

I also tried including the global.php in links.php but Im getting "function stripslashes cant be redefined".

mmh, maybe Im just too stupid ;)

tina

inetd 05-07-2002 09:23 PM

Good hack!
I installed it!

VirtueTech 05-13-2002 02:53 AM

Is there anyway to get it to recognize any sub directories of a domain?

So that no matter what sub directory under www.paintballcity.com (example: www.paintballcity.com/1/ and www.paintballcity.com/2/) it still says "Paintball City Homepage"?

Thanks.

filburt1 05-17-2002 12:30 AM

Hey Chen, do you know when you're going to make this hack golden?

Admin 05-17-2002 05:28 AM

"Right about now..."

[high]* FireFly dances ;)[/high]

FleaBag 05-17-2002 09:07 AM

I installed this hack in about 2 minutes, and I haven't had a single problem. It works for files above my forums folder too, such as the vBPortal files.

Brad 05-17-2002 09:19 AM

chen, you might wanna post the instructions to have a link in the admin cp to this :), been usin this for awhile, love the hack

Brad 05-28-2002 02:35 PM

ran into a problem. with 2.2.5

Parse error: parse error in /home/virtual/site20/fst/var/www/html/forums/admin/admin_online.php on line 85

Jeremy W. 06-04-2002 07:50 PM

I agree, when I tried to drop it into the actual admin system with:

makenavoption("Who's Online Admin", "admin-online.php", "<br/>");

It coughed (404 error)... Why is this? *L*

Jeremy W. 06-04-2002 08:09 PM

Ergh, aright, got that fixed, now the Who's Online doesn't work.

I get a parse error @ line 45 which is function show($userinfo) { *L*

Jeremy W. 06-04-2002 08:16 PM

Okay... My day for problems :)

I've now fixed that, but when I added shoutbox.php as a location, it hasn't changed anything in the online.php page :(

ladyfyre 06-09-2002 06:56 PM

any plans to update this hack to work with 2.2.6?

Or will it work as-is?

inetd 06-10-2002 05:28 PM

ladyfyre, i have 2.2.6 and this hack well work.

DestyNova 06-13-2002 02:05 AM

[QUOTE]Originally posted by inetd
ladyfyre, i have 2.2.6 and this hack well work.

Mike Gaidin 06-15-2002 03:54 AM

Excellent hack FireFly!!

FleaBag 06-19-2002 07:43 PM

Working great on 2.2.6. Also, I haven't read all this thread [just the first page] so maybe this has also been mentioned. To add admin_online.php to your CP edit admin/index.php and replace...

PHP Code:

makenavoption("vBulletin Options","options.php?t=0","<br>"); 

...with...

PHP Code:

makenavoption("vBulletin Options","options.php?t=0","<br>");
makenavoption("Add Who's Online Location","admin_online.php?","<br>"); 

Sorted. :)

Admin 06-20-2002 05:10 AM

Stop following me!!

FleaBag 06-20-2002 09:17 AM

Following you?! :o

xug 06-24-2002 12:03 AM

Great Work FireFly, work like a charm on 2.2.6

I only hope that someday there will be a solution for the vbportal module file

Velocd 07-18-2002 07:03 PM

Can't seem to get it working with 2.2.6, but if others are then I must be doing something wrong =falls over=

I've installed everything perfectly but when I add locations like shoutbox.php and main_photogallery.php, or quiz.php, etc, they still show up as unknown location. If you could take a look at my online.php that would be great, just PM for it ^^;

jbear6 07-23-2002 12:12 AM

This hack works much better if you remember to upload the hacked online.php. Great hack Firefly

yetdog11 08-01-2002 05:13 PM

This post's issue is no longer relevant

yetdog11 08-04-2002 03:25 PM

I am getting an Unknown Location in WOL - it shows the link to the file and the session ID, but its titled Unknown Location, even thought I entered it in the admin_online.php file correctly.

Matthew Yette
matt@antsmarching.org

yetdog11 08-04-2002 10:57 PM

I followed directions perfectly, and I get this in WOL when someone is on a page I added through the admin_online control panel.

Unknown Location: /setlists/test.php?

The file in question's URL is www.antsmarching.org/setlists/test.php

and the path i use in the admin_online is ../setlists/test.php

Still no dice, though. Anyone? Please?

Matthew Yette
matt@antsmarching.org

FWC 08-05-2002 12:42 AM

I use complete urls for the paths and don't have any problems. That might work for you, too.

yetdog11 08-05-2002 02:50 AM

Ok - so in admin_online, I entered in the full URL into the filename box (http://www.antsmarching.org/setlists/test.php), and the link comes up as http://www.antsmarching.org/forum/ht...lists/test.php

The way I got it to work(basically link to the right place) was by entering "../setlists/test.php" into the filename field. But then I still get the Unknown Location error, complete with the &s=(random numbers) information.

Matthew Yette
matt@antsmarching.org

PS - thanks for replying, i hope that the information I provided can better help you understand my problem so that I might get this working soon.,

yetdog11 08-05-2002 06:12 PM

Top - I feel so close - anyone have anything?

yetdog11 08-06-2002 05:39 PM

Yikes - anyone? :(

Schorsch 08-10-2002 05:12 AM

works great, thanks FireFly!!

cu
Schorsch

Schorsch 08-10-2002 05:14 AM

[QUOTE]Originally posted by yetdog11
Ok - so in admin_online, I entered in the full URL into the filename box (http://www.antsmarching.org/setlists/test.php), and the link comes up as http://www.antsmarching.org/forum/ht...lists/test.php

Mr_P 08-11-2002 02:36 PM

works perfect on 2.2.6

even does files outside of main folder

Installed perfect and without one error - added to admin cp as well

Nice one Firefly - another good hack under your belt.

Mr_P 08-11-2002 02:42 PM

[QUOTE]Originally posted by Schorsch


just type the filename test.php into the location field, works fine for me.

cu
Schorsch

yetdog11 08-11-2002 04:04 PM

The problem is, the test file is not in the vB folder. And I haven't found a way to dynamically include the session if it is needed.

stangpower 08-12-2002 01:46 AM

Installed..works great

zachb 08-26-2002 03:19 PM

Anyway to get it to work with child forums yet? I'd like to link to http://www.planetplastica.com/home.html, but it always adds /forums/ to everything i add. :(


All times are GMT. The time now is 03:34 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.04133 seconds
  • Memory Usage 1,809KB
  • 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
  • (2)bbcode_php_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
  • (40)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