[MOD] Kiosk Mode

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Crookas Offline
Skilled Skinner
Posts: 104
Joined: Jan 2010
Reputation: 2
Location: Adelaide, Australia
Smile  [MOD] Kiosk Mode Post: #1
Before updating to Camelot (and Confluence) I used a version of the Aeon skin. A feature I found very useful was the “Kiosk Mode” which allowed you to turn off the menus which change the views in the media screens (ie the menu bars that slide out from the left-hand side). Here is a mod I did to bring that functionality to Confluence – once you turn on the setting (SYSTEM-Skin-General) the left slide-out menu will no longer appear when you press left or up. I hope some other people out there find it useful:


[Image: ConfluenceKioskMod.png]


Its not too hard to implement if you know where to look.


STEP 1: Edit custom_SkinSetting_1111.xml (back it up first) and after line 197 add this control:

<control type="radiobutton" id="1010">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>Enable Kiosk Mode (disable slideout menu)</label>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.ToggleSetting(kiosk)</onclick>
<selected>Skin.HasSetting(kiosk)</selected>
</control>




STEP 2: Edit MyVideoNav.xml (back it up first) and after line 4 (<views>50,500,501...etc</views>) add the following on a new line:

<visible>!Skin.HasSetting(kiosk)</visible>



STEP 3: Repeat Step 2 for MyMusicNav.xml and MyPics.xml (and to reiterate, back them up first)



Now you can toggle Kiosk Mode on and off by going to SYSTEM > SKIN > GENERAL and its up the top under ‘Miscellaneous’.

Note: This mod also disables the scroll bars - you can still see them, you just can't 'select' them for ultra-fast scrolling.
find quote
isamu.dragon Offline
Posting Freak
Posts: 949
Joined: Feb 2009
Reputation: 4
Location: T.A.R.D.I.S.
Post: #2
Thanks, can you upload a copy of your mod, for easier use

[Image: all-fanart.jpg]
XBMC Server/Client:
Database Type: MySQL
OS: WIN7 64-Bit/XBMCuntu CPU: i7/Intel Atom (Dual Core)
GPU: Nvidia GeForce GTS450/Nvidia Ion RAM: 12GB/2GB (512MB GPU)
XBMC Version: Frodo 12.2/XBMCbuntu Frodo 12.2Skin: Aeon Nox
find quote
yiarkyiark Offline
Senior Member
Posts: 130
Joined: Nov 2008
Reputation: 2
Location: Paris
Post: #3
Thank you, really useful.
find quote
manemies Offline
Junior Member
Posts: 13
Joined: Jun 2010
Reputation: 0
Post: #4
I just want to thank Crookas for this fantastic modification in Confluence.
With this Kiosk -mode I can "lock" the views so that the wife and kids don't get confused with different views after accidentally changing them Big Grin

Thanks also for Weirded who mentioned in thread,
http://forum.xbmc.org/showthread.php?tid=70128
that you also need to modify the MyVideo.xml. Kiosk mode did not work for me until I modified MyVideo.xml (aswell as MyVideoNav.xml)

Thanks a bunch guys !
find quote
xbs08 Offline
Posting Freak
Posts: 1,298
Joined: May 2008
Reputation: 0
Location: Portugal
Post: #5
Thanks Crookas.
I applied your ideas to my Confluence mod for the Xbox and by putting the visible condition in the slideout menu i have full working scrollbars.
find quote
kjlowe Offline
Junior Member
Posts: 14
Joined: Jun 2010
Reputation: 0
Post: #6
Good tip xbs08. For anybody else I added the <visible> code before lien 157 of MyVideoNav.xml

I never had to make any changes to MyVideo.xml

Code:
..
<include>CommonPageCount</include>
<include>BehindDialogFadeOut</include>
<include>ScrollOffsetLabel</include>
<control type="group">
    <visible>!Skin.HasSetting(kiosk)</visible>
    <animation effect="slide" start="0,0" end="250,0" time="400" tween="quadratic" easing="out" condition="ControlGroup(9000).HasFocus | ControlGroup(9001).HasFocus | Control.HasFocus(8999)">Conditional</animation>
..
find quote
drgonzoishere Offline
Junior Member
Posts: 8
Joined: Aug 2010
Reputation: 0
Post: #7
what editors are you using to edit? ive been using notepad! ha so when you say line 197 does that mean ill have to count down to 197th line?

Cheers,
jamie
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,935
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
Post: #8
Notepad++

[Image: sig_zps3af3b48e.jpg]
find quote
drgonzoishere Offline
Junior Member
Posts: 8
Joined: Aug 2010
Reputation: 0
Post: #9
I stopped been lazy and just did the count, love the kiosk mode, no more confusion when other people are usign it now Wink
find quote
David Rad Offline
Junior Member
Posts: 6
Joined: Dec 2010
Reputation: 0
Post: #10
Hi Crookas, great idea! Can you do a similar mod for PM3.HD as well? I have no idea about programming, but me and plenty of others would appreciate it a lot.
find quote
Post Reply