vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Display Users Viewing non-vBulletin Pages in "Online Users" (https://vborg.vbsupport.ru/showthread.php?t=157329)

Stryker412 07-16-2008 11:37 AM

Does this work with custom vba pages?

NeutralizeR 07-16-2008 01:35 PM

Quote:

Originally Posted by Stryker412 (Post 1576737)
Does this work with custom vba pages?

Yes, as long as you include the iframe on the page.

Stryker412 07-16-2008 02:35 PM

Hmm, the way I did it now is from bbcode. Would I have to adjust for an html page?

http://www.shatteredplanet.org/index...d=serverstatus

NeutralizeR 07-16-2008 04:33 PM

Quote:

Originally Posted by Stryker412 (Post 1576864)
Hmm, the way I did it now is from bbcode. Would I have to adjust for an html page?

http://www.shatteredplanet.org/index...d=serverstatus

Not sure how you did it. It should be ok if the php contents are being executed.

Stryker412 07-16-2008 05:21 PM

I did my page by going in to Add Page, then bb code page.

Edit: Ok I recreated my page using the HTML template method in vba but following your tutorial. I've done all the steps but users are still showing as:
Unknown Location
/forum/extra_online_users.php


Here is the new page:

http://www.shatteredplanet.org/index.php?pageid=servers

NeutralizeR 07-16-2008 06:28 PM

Quote:

Originally Posted by Stryker412 (Post 1577028)
I did my page by going in to Add Page, then bb code page.

Edit: Ok I recreated my page using the HTML template method in vba but following your tutorial. I've done all the steps but users are still showing as:
Unknown Location
/forum/extra_online_users.php


Here is the new page:

http://www.shatteredplanet.org/index.php?pageid=servers

Oh, sorry. The file must be different. I mean both index.php or index.php?pageid are same for this script. Maybe you should check vBadvanced support forums.

Stryker412 07-16-2008 06:38 PM

Well the second method I did for a page just uses a html file and displays it within VBa, so your directions should work.

If you view just the source page: http://www.shatteredplanet.org/forum/serverstatus.html

You still get unknown location.

I have the plugin code as:

Code:

if ($userinfo['activity'] == 'extra_online_users')
{
    $handled = true;
    $userinfo['action'] = 'Viewing Server Status';
    $userinfo['where'] = '<a href="http://www.shatteredplanet.org/index.php?pageid=servers">servers</a>';
}


Stryker412 07-21-2008 12:05 PM

Any help Neutralize?

NeutralizeR 07-21-2008 04:26 PM

Quote:

Originally Posted by Stryker412 (Post 1580539)
Any help Neutralize?

Then it must be:
Code:

$userinfo['where'] = '<a href="http://www.shatteredplanet.org/forum/serverstatus.html">servers</a>';

Stryker412 07-21-2008 04:36 PM

Quote:

Originally Posted by NeutralizeR (Post 1580713)
Then it must be:
Code:

$userinfo['where'] = '<a href="http://www.shatteredplanet.org/forum/serverstatus.html">servers</a>';

No change, still says unknown location.

--------------- Added [DATE]1216663563[/DATE] at [TIME]1216663563[/TIME] ---------------

Here is the entire text of my html file:

Code:

<br>
<center><a href="http://www.gametracker.com/server_info/208.122.57.234:3658/" target="_blank">
<img src="http://cache.www.gametracker.com/server_info/208.122.57.234:3658/b_560x95.png" border="0" />
</a></center>
<br>
<center><a href="http://www.gametracker.com/server_info/208.122.57.234:16567/" target="_blank">
<img src="http://cache.www.gametracker.com/server_info/208.122.57.234:16567/b_560x95.png" border="0" />
</a></center>
<br>
<center><a href="http://www.gametracker.com/server_info/64.34.165.20:8855/" target="_blank">
<img src="http://cache.www.gametracker.com/server_info/64.34.165.20:8855/b_560x95.png" border="0" />
</a></center>
<iframe src="http://www.shatteredplanet.org/forum/extra_online_users.php" scrolling="no" allowtransparency="true" frameborder="0" width="0" height="0"></iframe>



All times are GMT. The time now is 06:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01342 seconds
  • Memory Usage 1,742KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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