vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   which "if condition"? (https://vborg.vbsupport.ru/showthread.php?t=156996)

winsoftware 09-04-2007 06:20 AM

which "if condition"?
 
i'm looking for a "if condition" to check if i'm in the forum area or in the arcade area.

can someone help me?

MrZeropage 09-05-2007 07:17 PM

I don't know any if-condition to check the SCRIPT value ...

MortysTW 09-10-2007 12:21 PM

Quote:

Originally Posted by winsoftware (Post 1331977)
i'm looking for a "if condition" to check if i'm in the forum area or in the arcade area.

can someone help me?

Just to maybe help you down the right path, open up arcade.php file and look for the lines that allow the "Users Active in the Arcade (Total Users: #, Record Total: ##)" to display. I bet you can snag that code some how with a pinch of cinnamon and a couple drops of lemon juice and make a delicious little IF statement.

Might not do a Forum OR Arcade display type thing, but at least be able to have a remote display of who's in the arcade when they are or have a tag on a username showing them when they are in "both" locations.


All times are GMT. The time now is 03:00 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.02666 seconds
  • Memory Usage 1,709KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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