![]() |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|||
|
[plugin] PIN Support for ALL Modules... (Feb 2 Update)
THIS IS A GREAT WAY TO PIN PROTECT YOUR SETTINGS SCREEN
Author: Brett. Also thanks to Draven, creator of the awesome Dark Blue Skin for BTV and BM, for the lock image. Short Description: Adds a simple PIN screen to any desired module you setup. Version Number: 1.1 Status: Stable. Last Updated: 2/2/04 Homepage: This module is intended to be used with modified Beyond Media XMLs or other plugins. As an example, I have included a file below that will automatically do it for Beyond Media settings, it sets the password by default to 1234. Please NOTE you must replace the sample file with Beyond Media closed! The following are instructions on how I modified the XML. You can use these instructions within plugins you create or modify the XML yourself to protect various other modules. To kick things off you must first install the module by clicking on the download below. Alone, it will do nothing. You must either pair it up with another plugin, copy the sample xml, or modify your own xml for the PIN screen to work. CUSTOM IMPLEMENTATION OF PIN PROTECTION The next reading is optional, but explains what I did to make the attached sample menues.xml file... CLOSE BEYOND MEDIA and open up the file: C:\Documents and Settings\All Users\Application Data\SnapStream\Beyond Media\Menus.xml You should see stuff like for example photos: Code:
<MenuItem Label="Settings" Image="SSBM_MainMenu_Settings">
<MenuItem.Action>
<ShowScreen Screen="SettingsScreen"/>
</MenuItem.Action>
</MenuItem>
Code:
<MenuItem Label="Settings" Image="SSBM_MainMenu_Settings">
<MenuItem.Action>
<ShowScreen Screen="PINScreen" ScreenArgs="SettingsScreen,1234,Settings are Locked" />
</MenuItem.Action>
</MenuItem>
This only applies for the DVD/Photos/Video/Music modules First you will need to close FireFly (using the taskbar) and place this updated profile in: C:\Documents and Settings\All Users\Application Data\SnapStream\Firefly\Profiles\ You also need to close Beyond Media and place this new input mapping in: C:\Documents and Settings\All Users\Application Data\SnapStream\Beyond Media\ Make SURE to backup your other files! You can now edit InputBindings.xml to insert passwords similar to how you did it for Menues.xml Modify the code in the same way as above, such as: Code:
<FireflyBinding Button="Photos">
<FireflyBinding.Action>
<ShowScreen Screen="PINScreen" ScreenArgs="PhotoScreen,1234"/>
</FireflyBinding.Action>
</FireflyBinding>
DOWNLOAD NOW SAMPLE MENUES.XML THAT PROTECTS THE SETTINGS SCREEN (YOU MUST EXIT BEYOND MEDIA FIRST!)
Last edited by Brett; 02-09-2005 at 08:37 PM. |
|
|||
|
Re: [plugin] PIN Support for ALL Modules...
A quick idea to prevent reading the PINs from the XML files by people that shouldn't be allowed to do that.
Create a user account such as BeyondMediaAccount. Set the NTFS permissions on the necessary files to only allow reading/writing from the BeyondMediaAccount. Login to the system under a normal user account. Hold down shift, right click on the BeyondMedia icon. Select the "Run As" option to start BeyondMedia under the BeyondMediaAccount. Tada, now Beyond Media can read those files but a regular user can't. I think "Run As" may only be available on XP systems. Its been awhile since I've played with a 2k machine to be sure though.
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. |
|
|||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
Brett, would it be possible for you to echo a mask character to the sceen when a PIN character is entered? I keep the UI sounds off so I can't determine whether the keypress is picked up or not. An idea for future. Thanks a lot.
|
|
|||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
Brett
I have some code in my EMAIL module that does this if you want to share it. Mick
__________________
To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing/deleting of POP, IMAP and Hotmail based mail. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Allows viewing status of all tuners in alll BTV servers from BM Main Menu _______________ BTV Server (BM 1.0 + BTV 3.52 2 PVR 250 tuners) Asus MB | XP Pro SP2 | P4 2.8 | FX5200 128Mb | 512 Mb PC3200 | RAID 5 4 x 250Gb SATA drives | CM Water cooled |
|
||||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
Quote:
__________________
AMD Phenom 9500 quad core | Asus M2N-SLIMotherboard with NVidia chipset | HDHomeRun | PVR 500 | PVR 150 | HD PVR | 2 X Western Digital 500 GB SATA | GeForce 8800 GTS video card | 2 GB RAM | Pioneer Blue Ray/ DVD RW combo drive | 600 Watt Power Supply | 3 X External HDD | Windows Vista Home Basic | Firefly mini receiver/ Harmony 659 | To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Last edited by draven; 02-05-2005 at 05:19 PM. |
|
|||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
I don't know if this is relavent but:
will this plug work to deny people access to certain folders? for example in my videos folder in BM i have some that I want locked so only i can view them. is this possible? Anyway to create a wizard for dummies like me to do this if it is possible? me and computer code don't go well togeter..... |
|
||||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
Unfortunately no this will only work to block entire screens (ie: modules). So you could block the "browse" option but not individual folders.
That said, a crafty developer could integrate it into his screen and do stuff like you suggested. For example, Jason has integrated it into the DVD Library plugin so that it only locks certain movies. To respond to the rest of the comments here, I would like to update this to add *'s and a little more, but right now I have a priority list a mile long, and this is more of a "functional" plugin then really a feature plugin. -Brett
__________________
A Sample of My Beyond Media Projects: To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Browse and play your ROMS, Arcade Games, and PC Games within BM! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add MSN Messenger to BM. Includes MSN notifications over any module, and a chat client! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Add PIN protection to any module in BM, including the settings! To view links or images in signatures your post count must be 3 or greater. You currently have 0 posts. Brings the BTV Recording Library into BM with full show details. |
|
|||
|
Re: [plugin] PIN Support for ALL Modules... (Feb 2 Update)
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [plugin] MSN Messenger (Mar 31 Update) | SSDNAdmin | Beyond Media Downloads | 32 | 10-09-2008 12:14 AM |
| [plugin] BMTunerView (Feb 8 Update) | SSDNAdmin | Beyond Media Downloads | 70 | 10-09-2008 12:09 AM |
| [plugin] LCDSmartie Support for BTV (Sept 14 Update) | SSDNAdmin | Beyond TV Downloads | 159 | 05-27-2008 06:48 PM |
| [plugin] NHLScores (October 30 Update) | Kilrsat | Beyond Media Downloads | 36 | 10-30-2007 10:11 AM |
| [plugin] Comics (Jan 3 Update) | SSDNAdmin | Beyond Media Downloads | 56 | 11-08-2006 09:12 PM |