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-03-2011 04:09 PM

Strange, your template works perfectly on my site - are you running any javascript compressor on your site?

Skyrider 11-03-2011 06:19 PM

Not that I know off.. I can't find any plugins that use compression capabilities. Maybe a conflict with another plugin?

Gemma 11-03-2011 06:27 PM

Could be, I'll put together a noConflict version and post it later

Edit: Try replacing the part between <!-- main --> and <!-- /main --> with this

Code:

<!-- main -->
<vb:if condition="THIS_SCRIPT == 'arcade'">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript">
var lo=$.noConflict();
        lo(document).ready(function(){
    lo("#shadow").css("height", lo(document).height()).hide();
    lo(".lightSwitcher").click(function(){
        lo("#shadow").toggle();
        if (lo("#shadow").is(":hidden"))
            lo(this).html("Turn off the lights").removeClass("turnedOff");
        else
            lo(this).html("Turn on the lights").addClass("turnedOff");
    });
});
    </script>
</vb:if>
<link rel="stylesheet" href="css/lights.css"/>
<div id="acontainer">
          <div id="header"> 
            <div id="command"><a class="lightSwitcher" href="javascript:void(0)">Turn off the lights</a></div>
        </div>
        <div id="movie">
            <div class="blockrow">{vb:raw flashcode}</div>
                       
            <!-- /main -->


Skyrider 11-03-2011 09:18 PM

Sorry mate, still doesn't work :(. I have to find the plugin that is causing this.

Gemma 11-03-2011 10:01 PM

Quote:

Originally Posted by FF|Skyrider (Post 2264199)
Sorry mate, still doesn't work :(. I have to find the plugin that is causing this.

If you cannot find a solution you can try the other version I released on v3arcade.com

http://www.v3arcade.com/forums/showthread.php?t=3952

I might go back and add some better visuals to that one when I get time at the weekend

Gemma 11-07-2011 07:41 PM

1 Attachment(s)
Started working on a new version at the weekend, still got some tweaking to do but I got distracted by Battlefield 3 :D

Skyrider 11-08-2011 05:39 PM

Looks actually pretty neat :)

woffie 11-09-2011 01:25 AM

Gemma, this is so kewl! I have tried the old and this new version and still cant get it to work.

Gemma 11-10-2011 05:04 PM

Quote:

Originally Posted by woffie (Post 2265864)
Gemma, this is so kewl! I have tried the old and this new version and still cant get it to work.

Try changing the headinclude template edit to this

Code:

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


woffie 11-11-2011 02:23 AM

Quote:

Originally Posted by Gemma (Post 2266616)
Try changing the headinclude template edit to this

Code:

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


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.


All times are GMT. The time now is 06:37 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.01229 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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