vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Sorting whoisonline for page outside forum directory. (https://vborg.vbsupport.ru/showthread.php?t=318993)

Duckface 06-08-2015 03:36 PM

Sorting whoisonline for page outside forum directory.
 
I know how to change the whois online statement for a page within the forums directory.

However when I do this for a page outside it still doesn't work:

http://i.imgur.com/8NNf6nK.png

Code:

PHP Code:

switch ($userinfo['activity'])
{
    case 
'DonatePage':
        
$userinfo['where'] = '<a href="/forums/donate/donate.php?'.$vbulletin->session->vars[sessionurl].'">Donating to SpawnScape</a>';
        
$userinfo['action'] = "For the glory of SpawnScape and her empire!";
        
$handled true;
        break;


PHP Code:

switch ($filename)
{
    case 
'/forums/donate/donate.php':
        
$userinfo['activity'] = 'DonatePage';
        break;  



thetechgenius 06-12-2015 01:16 PM

Oh I know, I had the same problem awhile back, I pulled my hair out trying to figure it out. And I still haven't figured it out to this day. I hope you have better luck then I did.

MarkFL 06-12-2015 01:29 PM

Have you tried:

PHP Code:

switch ($filename)
{
    case 
'donate/donate.php':
        
$userinfo['activity'] = 'DonatePage';
        break;  



Duckface 06-13-2015 08:02 PM

Quote:

Originally Posted by thetechgenius (Post 2547685)
Oh I know, I had the same problem awhile back, I pulled my hair out trying to figure it out. And I still haven't figured it out to this day. I hope you have better luck then I did.

Like Britney?

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

Quote:

Originally Posted by MarkFL (Post 2547690)
Have you tried:

PHP Code:

switch ($filename)
{
    case 
'donate/donate.php':
        
$userinfo['activity'] = 'DonatePage';
        break;  



And no still doesn't work.


All times are GMT. The time now is 10:10 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.01174 seconds
  • Memory Usage 1,728KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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