vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - v3 Arcade Lights Out Mode (https://vborg.vbsupport.ru/showthread.php?t=272803)

Gemma 11-11-2011 10:00 AM

Quote:

Originally Posted by woffie (Post 2266814)
Well, the link for turning on and off the lights is right above the game. I click on it and it changes status but does not actually turn off the lights.

I've updated this version. Sorry about that.

To upgrade from version 1.0.1 to version 1.0.2, unpack the archive and upload the files. No need to re-edit any templates(unless you've removed the edits ofcourse).

woffie 11-11-2011 04:59 PM

Kewl, hope the new version works for me. My members are gonna love this. I have some serious gamers on my site.

woffie 11-11-2011 09:39 PM

You do mean the headinclude for the forum not the arcade_headinclude right?

Gemma 11-11-2011 10:07 PM

Quote:

Originally Posted by woffie (Post 2267078)
You do mean the headinclude for the forum not the arcade_headinclude right?

Yes.

woffie 11-12-2011 12:38 AM

Still not working for me.

Mooff 11-12-2011 12:52 AM

check whether you are already using a jquery file on your server and if you do include it above the code Gemma provided. Loading multiple jquery files on the same site does break the jquery functionality in many cases.

You could try to remove the jquery line and try this codeblock instead:
Code:

<vb:if condition="THIS_SCRIPT == 'arcade'">
<script type="text/javascript" src="js/lights.js"></script>
<link rel="stylesheet" href="css/lights.css"/>
</vb:if>


Gemma 11-12-2011 08:03 AM

Quote:

Originally Posted by woffie (Post 2267104)
Still not working for me.

Can you try following the instructions in post #7

ofir24 11-12-2011 08:56 AM

how do i translate it to heb? i try to translate the words in js file but it didn't show good.

Gemma 11-12-2011 11:34 AM

Quote:

Originally Posted by ofir24 (Post 2267218)
how do i translate it to heb? i try to translate the words in js file but it didn't show good.

No sure to be honest, the only wording that would need changed is the bits in red.

in the v3Arcade_PLAY template edit
Code:

<div id="command"><a class="lightSwitcher" href="javascript:foo();">Turn off the lights</a></div>
And in the lights.js file
Code:

$(this).html("Turn off the lights").removeClass("turnedOff");
        else
            $(this).html("Turn on the lights").addClass("turnedOff");


ofir24 11-12-2011 11:37 AM

Quote:

Originally Posted by Gemma (Post 2267243)
No sure to be honest, the only wording that would need changed is the bits in red.

in the v3Arcade_PLAY template edit
Code:

<div id="command"><a class="lightSwitcher" href="javascript:foo();">Turn off the lights</a></div>
And in the lights.js file
Code:

$(this).html("Turn off the lights").removeClass("turnedOff");
        else
            $(this).html("Turn on the lights").addClass("turnedOff");


that's exactly what i did, it translate it not good, how can i defined the coding langauge in js?


All times are GMT. The time now is 05:57 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.02206 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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