vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Online Locations for custom page not working (https://vborg.vbsupport.ru/showthread.php?t=199537)

Chunky Monkey 12-22-2008 05:57 PM

Online Locations for custom page not working
 
Hi all,

I followed the instructions here to update the who is online location for my custom vb page but only see the location "Unknown common/lists.css" instead of what I've specified via the plugin manager. Does anyone know anything about this and if so can you help?

Thank you

Lynne 12-22-2008 06:04 PM

Post the code you used in both plugins.

Chunky Monkey 12-22-2008 07:09 PM

Thanks, Lynne:

online_location_process

Quote:

switch ($filename)
{
case 'mypage.php':
$userinfo['activity'] = 'mylog';
break;
}
online location unknown:

Quote:

switch ($userinfo['activity'])
{
case 'mylog':
$userinfo['where'] = '<a href="mypage.php?'.$vbulletin->session->vars[sessionurl].'">My Page</a>';
$userinfo['action'] = "Viewing My Page";
$handled = true;
break;
}

Lynne 12-22-2008 07:42 PM

You need to replace things like "mypage.php", "mylog", "My Page", and "Viewing My Page" with your own page urls/names.

Chunky Monkey 12-22-2008 08:31 PM

I had actually named my page mypage.php and defined THIS_SCRIPT as 'mylog', so those are my own page urls/names...

Thanks, Lynne.

Lynne 12-22-2008 08:48 PM

Ha! You did that just to confuse me, huh? :)


Did you make sure to turn the plugins on? And it actually says "Unknown common/lists.css" ? Can unregistered users see your online page?

Chunky Monkey 12-22-2008 09:36 PM

Hi Lynn,

The plugins are on. It actually does say "Unknown Location common/common.css" (said lists before). Guests cannot see the online page.

And no, I would never try to confuse such a helpful, hard working cat with a face like that. :-)

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

I got it to work, Lynn. Thank you very much for your help.


All times are GMT. The time now is 12:16 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.01839 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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