• Register
Forum Thread
  Posts  
Custom Theme (Forums : General Banter : Custom Theme) Locked
Thread Options
Oct 13 2013 Anchor

So, this started as me wanting to create a theme where I could hide certain games on my list that I also owned on steam, without having to remove them from my account, but then I wondered what else I could do :-)

Feature set:
Hide items by listing them in "hidden.txt" found in the html folder
Add Genre to items by listing them in "genre.txt" found in the html folder
Ability to "Group by genre" in the games section, much like seen in the favorites section, this is enabled by default
you now have a genre column which is sortable

Other stuff:
if you want to turn off grouping in the games section, just change the flag in "genre.txt" from "showGenreGroups=true" to "showGenreGroups=false"
currently "showGenreColumn=true" does nothing, but I plan for it to be able to remove the genre column for people who just want to be able to hide things, of for people who simply want to group them by genre.

for items to be hidden or have a genre, once you update them in the txt, you must save it and restart desura, I did this for speed reasons, I made it only read from the file once and use it throughout. Later I guess I can add an option for this.

Todo:
Rename it
Create unique preview image

Bugs:
The most notable bug I have seen was that games were not showing up, I am 99% sure it isn't my fault as desura treats js a bit weird at times, but I think I found work-arounds for it, but there are bound to be something I missed, just post it here.

Known issues:
in the grouped mode it looks weird when items are "ready" I need to fix this, I was just being lazy

Suggestions:
If you have any ides or features you would like to see, just know, I can only do so much, mostly how games are displayed in "favorites" and "games" tabs and a couple other screens, but that is about it.

Download: Fileswap.com

to install, simply place in your desura/data/themes folder and extract, then go into desura, settings > themes and choose mine (if you hover over it for a second, you can read the name of it, the image will be the same as of now I haven't changed it)

Update:
- Changed the genre to use the built in "getGenre" function, as I was not aware it existed until now (all genre's should be loaded automatically now)
- Changed the genre.txt to now function as a genre grouper, so you can put "Baseball, basketball, tennis" all in the "Sports" group
- Added the ability to rename a genre in the #TRANSLATE section of the genre.txt
- Added the missing code to hide/show the genre column based on the "genre.txt" #FLAG prefrences
- Added "hidden" section to show hidden games, also change pallet to off white to signify hidden
- Fixed column sorting, I realized I changed JS in a non-theme section which works for me, but not for anyone using the theme.

if you like it comment, if there is a bug comment, if you would like a feature, comment.

Edited by: Krum110487

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.