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)

KuraFire 12-17-2001 03:27 PM

I'll give that a shot then when I have some time for it. Thanks :)

Hooper 12-17-2001 03:32 PM

Welcome. :D

LuBi 12-18-2001 03:21 PM

Still beta, I wanna jump in and try this out! where do I begin.. just install? heh thanks

KuraFire 12-18-2001 04:27 PM

I don't think this belongs in the beta forum, by now. It works like a charm and I haven't encountered any bugs, nor anyone else that installed it. :):up:

Hooper 12-18-2001 05:03 PM

Had a chat with Chen. He mentioned moving this to the Full Version Hacks sometime soon. Glad to hear you have it working KuraFire. This hack gets two thumbs up! :)

KuraFire 12-19-2001 07:13 AM

I find nothing beta about this hack anymore. It installs smoothly and works like a charm :)

FWC 12-22-2001 08:32 PM

This is another great one, FireFly. I finally got around to removing all my manual additions to online.php and installing this last night. I love it. I need to add some more programs so I can make more entries. :)

VAN 12-23-2001 07:34 PM

Anyone get this to work alongside the jpilot chat integration hack?

If I add chatmain.php to the who's online area, I still get "Unknown location".

JJR512 12-23-2001 07:42 PM

It works fine for me.

My file is named main_chat.php, and it is in the forums directory.

VAN 12-23-2001 08:43 PM

[QUOTE]Originally posted by JJR512
It works fine for me.

My file is named main_chat.php, and it is in the forums directory.

TheCaver 12-25-2001 07:29 PM

Works great (2.2.1) but please remember to include the session information when you post in final release, had to hunt for this...

Also for including global.php in directories above the forums level use:

chdir($DOCUMENT_ROOT . "/forums");
include("$DOCUMENT_ROOT/forums/global.php");
chdir($DOCUMENT_ROOT);

JC

KuraFire 12-25-2001 09:09 PM

[QUOTE]Originally posted by KuraFire
I'll give that a shot then when I have some time for it. Thanks :)

djr 12-29-2001 07:59 PM

How do you include the thread the user is viewing? Currently I have:

file: palmthread.php
description: <a href="palmthread.php">Viewing PalmDOC-version of thread</a>

which shows up in Who's Online as not linking to the thread but to palmthread instead (ofcourse). How can I make it look like:

djr: Viewing PalmDOC-version of thread <thread here>

- djr

djr 12-30-2001 09:22 PM

anyone?

Furthermore: this very nick hack is ready for Full Release as far as I'm concerned :-)

Thanks Firefly!

- djr

Hooper 12-31-2001 07:48 PM

Hello DJR,

I saw your post the other day. I thought maybe Chen would answer. I'm not sure why you want the link that way. I have all of mine set up as you have mentioned

description: <a href="palmthread.php">Viewing PalmDOC-version of thread</a>

This works for me. It should be showing

"Viewing PalmDOC-version of thread" and that should be a link to the palmthread.php.

Is it working this way for you?

DroppedAtBirth 12-31-2001 07:49 PM

First I am using vbp.

I can get all mine locations working except thing like

/modules.php?op=modload&name=Gallery&file=index&do= showpic&pid=9&orderby=dateD&s=68fe503349f703f78144 7

I have tried to put in /modules.php and it still comes up unknown but have more than one module so I was hoping to be able to user something like /modules.php?op=modload&name=Gallery but that doesn't work either.


Any ideas?? :confused:

Hooper 12-31-2001 07:52 PM

Ah I see. vBPortal. I'm sorry I don't have any experience with the hack. There are a couple references to links within this thread. One was mine on page 5.

Viewing <a href="http://www.yoursite/yourforums/lastposts.php">Last 10 Posts</a>

If this doesn't work for you then I cannot help much with the implementation with vBPortal.

DJR,
If you are using vBPortal I cannot help much.

Sorry.
Maybe Chen would know how to help.
Rick

djr 01-01-2002 02:31 PM

Rick,

Thanks for your answers. I'm not using vbp (although planning to do so as soon as the review section gets better).

I feel the threadinfo is a really essential part of the Who's Online section. In the normal Who's Online you have:

hooper: now reading [Who's Online locations from Admin CP]*

in Chen's hack you have:

hooper: [viewing PalmDOC version of thread]*

* = hyperlink

Whereas in example 1 you have a direct hyperlink to the thread as in example 2 you have only a link to the php-script, which is not the info you want in Who's Online.

Don't misunderstand me, I love the hack and I think it's a really cool addition to vb, but in my opinion the hack will even get better with threadinfo :-)

Admin 01-01-2002 03:04 PM

djr and DroppedAtBirth, you are both talking about something freddie had said in one of the early pages in this thread:
Quote:

While your at it firefly, save me the time and make it support different actions from the same file, i.e.

articles.php?do=add
articles.php?do=delete
Unfortunately this is not possible yet with this hack. :(

You must edit online.php directly and do it per page to achieve what you're looking for.

Hooper 01-01-2002 03:07 PM

:rolleyes:

Back from the dead. Hi Chen. :D

djr 01-01-2002 03:18 PM

Chen,

Oh? Ok :-) Hmmm... are you considering updating it to reflect Freddie's wishes?
In the meantime, I will take also take a look at it to see how I can improve it to support threadinfo.

thanks though for another wonderfull hack!

- djr

TWTCommish 01-14-2002 03:17 PM

Dang, I can't get this to work. I installed it without a hitch, but the new locations ain't showing up in the Who's Online page. Bummer...I REALLY needed this hack, too...it's a fabulous idea. Anything I can do to try and get this sucker working? :)

cyrus 01-15-2002 12:44 PM

I dont get what you have to put in "filename" ... I put file.php ( which is in the forums directory ) but It didnt show me what I wrote for it in whos online :(

what am I doing wrong ??

thanks

TWTCommish 01-15-2002 12:47 PM

Yeah, same problem I'm having. Dang...I REALLY wanna use this, man. :)

Admin 01-15-2002 01:06 PM

Is file.php requiring vBulletin's global.php?

TWTCommish 01-15-2002 01:10 PM

My two files are...glossary.php and shoutbox.php -- both using this line:

require("./global.php");

Still no go, though. :(

TWTCommish 01-22-2002 12:31 PM

Any idea what's wrong? I'm stumped -- and I've LOVE to get this working...easily one of the most useful hacks imaginable for me. :)

trilOByte 01-28-2002 02:56 AM

[QUOTE]Originally posted by FireFly
djr and DroppedAtBirth, you are both talking about something freddie had said in one of the early pages in this thread:

Unfortunately this is not possible yet with this hack. :(

You must edit online.php directly and do it per page to achieve what you're looking for.

TWTCommish 01-28-2002 03:05 AM

Man, I'm going batty. I want for this hack to work so very badly. :D It'd be beyond useful to me.

FWC 01-28-2002 04:42 AM

[QUOTE]Originally posted by TWTCommish
Man, I'm going batty. I want for this hack to work so very badly. :D It'd be beyond useful to me.

TWTCommish 01-28-2002 11:39 AM

Actually I had only "glossary.php" -- I'd never thought of the entire location. However, that doesn't seem to work either. :(

trilOByte 01-28-2002 01:12 PM

what is the path to your forum and what is the path to glossary.php

you tried "/glossary.php" ?

TWTCommish 01-28-2002 01:34 PM

That's it! The slash did it. Thanks so much. :)

trilOByte 01-28-2002 03:08 PM

welcome :)

X-Fan 02-11-2002 05:04 AM

Great hack! I'd also like to add a request for support for vbPortal, as well as support for locations with different actions, as that would be invaluable!

Hooper 02-11-2002 05:17 AM

Might see if the Portal Man could take a look and see what could be added for support. Chen most likely won't write for portal. :frus:

trilOByte 02-11-2002 09:25 AM

Wouldn't just adding support for actions, also make it compatible for portal?

looking at a portal page, the reference is "modules" with "op=modload&name="

At the moment, I have it set so that anyone looking at "modules" is displayed as "viewing a menu page".

nafae 02-21-2002 12:26 AM

it works sexily in 2.2.2 this hack is so awesome!!

Jay 02-25-2002 04:01 PM

found a bug.. :D

you need to add stripslashes to the discription or you'll have a bunch of \'s in front of your quotes (') :D

nafae 03-11-2002 07:34 PM

Is firefly still going to finish this hack, or is it now supportless :o Just want to check, although I am having no problems currently.


All times are GMT. The time now is 04:21 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.01937 seconds
  • Memory Usage 1,804KB
  • 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)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