Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
v3 Arcade Lights Out Mode Details »
v3 Arcade Lights Out Mode
Mod Version: 1.0.2, by Gemma (Coder/Designer) Gemma is offline
Developer Last Online: Jul 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 3.67 average) Installs: 14
Released: 25 Oct 2011 Last Update: 11 Nov 2011 Downloads: 66
Not Supported Template Edits Additional Files Re-usable Code  

I did this a long time ago, so I'd advise you to back up your v3ARCADE_PLAY template before you do anything else, just incase I've forgotten something

I released a simplified version of this to Premium Members on v3arcade.com, now here is the more advanced version.

What Does This Do?
Basically, when you turn lights down, the entire page darkens and let you play the game in the 'dark' which cuts out distractions.

I've also added a section of code which will show a game description (if one is available) above the game instructions.

Open your headinclude template and add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the template.

In your v3ARCADE_PLAY template and find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace that with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Still in v3ARCADE_PLAY find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below that add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Save the template.

Upload the contents of the zip file to your server using your FTP

css/lights.css
js/lights.js
images/arcade/light_bulb.png
images/arcade/light_bulb_off.png
images/arcade/shade5x5.png

You can see a live demo in our arcade, play a game and click on 'Turn The Lights Off'.

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

Version History
1.0.1 - Initial release on vB.org
1.0.2 - Added new lights.css file

If anyone wants to further develop any of my addons, you are free to do so.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	lights.jpg
Views:	290
Size:	80.0 KB
ID:	134070   Click image for larger version

Name:	lights_out.jpg
Views:	173
Size:	27.2 KB
ID:	134071  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Mini Mods Let your links' lights be on and off yilmaz68 vBulletin 3.8 Template Modifications 3 09 Jan 2010 17:52

Comments
  #2  
Old 25 Oct 2011, 22:12
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Sorry, I had a bit of the code wrong. If you had already installed and it wasn't working, change the headinclude template to this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Reply With Quote
  #3  
Old 29 Oct 2011, 22:18
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Updated the css file to fix a problem when viewing with Google Chrome. If you're updating, just replace the css file.
__________________
Reply With Quote
  #4  
Old 03 Nov 2011, 14:23
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Installed, doesn't seem to work on Google Chrome. In fact, it doesn't work at all I'm afraid. I tried IE, FireFox and Chrome. None of them worked. I copy/pasted the exact lines as instructed.

Last edited by Skyrider; 03 Nov 2011 at 14:29.
Reply With Quote
  #5  
Old 03 Nov 2011, 14:46
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Does the demo link work for you?

Can you PM me a link to your site so I can have a look
__________________
Reply With Quote
  #6  
Old 03 Nov 2011, 15:50
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Yea, demo works fine: http://forum.esforces.com
Reply With Quote
  #7  
Old 03 Nov 2011, 15:58
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Try this,

In your v3ARCADE_PLAY template find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Below add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Upload the images and the css file, no need to upload the js file or do the headinclude template edit.
__________________
Reply With Quote
  #8  
Old 03 Nov 2011, 16:25
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Doesn't work either I'm afraid. Makes the light button unclickable. Nothing happens. Not even the light text changes to on.

Btw, I know this is off-topic, but I've made a edit reply in the main arcade thread regarding new threads/replies on highscores ^^.
Reply With Quote
  #9  
Old 03 Nov 2011, 16:36
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Just below:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Try adding:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If that doesn't work, can you send me your v3ARCADE_PLAY template so I can have a look
__________________
Reply With Quote
  #10  
Old 03 Nov 2011, 16:39
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Nothing still I'm afraid, here's my play template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With the adjustments from the one you have given me.
Reply With Quote
  #11  
Old 03 Nov 2011, 17:09
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Strange, your template works perfectly on my site - are you running any javascript compressor on your site?
__________________
Reply With Quote
  #12  
Old 03 Nov 2011, 19:19
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Not that I know off.. I can't find any plugins that use compression capabilities. Maybe a conflict with another plugin?
Reply With Quote
  #13  
Old 03 Nov 2011, 19:27
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Could be, I'll put together a noConflict version and post it later

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


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________

Last edited by Gemma; 03 Nov 2011 at 19:33.
Reply With Quote
  #14  
Old 03 Nov 2011, 22:18
Skyrider Skyrider is offline
 
Join Date: Feb 2006
Sorry mate, still doesn't work . I have to find the plugin that is causing this.
Reply With Quote
  #15  
Old 03 Nov 2011, 23:01
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Originally Posted by FF|Skyrider View Post
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
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:00.

Layout Options | Width: Wide Color: