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 (https://vborg.vbsupport.ru/showthread.php?t=80637)

Adrian Schneider 04-27-2005 03:43 AM

Online Locations
 
I know how to add custom online locations, but how do you make more complex ones?

PHP Code:

case 'newlocation':
$userinfo['action'] = "New Location";
break; 

PHP Code:

case 'new_location.php':
$userinfo['activity'] = 'newlocation';
break; 

I figured out that you can use their requests using $userinfo['values']['request']. So say if they are viewing a game (ex ?g=1) and this is queried as say, $game, with a few basic fields (name, id), how do you get it to recognize them? (Similar to how showthread or forum does, it recognizes $forumid, $threadid, etc, and the name of thread/forum).

Thanks

Oblivion Knight 04-27-2005 04:58 AM

I've attempted to do this with v3arcade a couple of times, and have failed.. :(

Adrian Schneider 04-27-2005 07:48 PM

That sucks lol. Has this been done before? (Besides the obvious stock vB stuff)

Oblivion Knight 04-28-2005 08:15 AM

Quote:

Originally Posted by TheSpecialist
That sucks lol. Has this been done before? (Besides the obvious stock vB stuff)

It was done with the vB2 version of ProArcade, but I think a lot of code has changed since then because using the same approach gives me SQL errors.. :(

cinq 04-28-2005 11:06 PM

Quote:

Originally Posted by Oblivion Knight
It was done with the vB2 version of ProArcade, but I think a lot of code has changed since then because using the same approach gives me SQL errors.. :(

Hmm maybe I'll take a look at this as well, I've been trying to add this same WOL functionality as you guys for some time.

[high]* cinq subscribes to thread :D[/high]

Adrian Schneider 06-06-2005 09:42 PM

Hmm bump, this would still be really nice.


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