2 Sep '10 - 20:09 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Bonjour, BS2000 (raina) Update  (Read 4497 times)
dantro
Guest
« on: 24 Apr '06 - 20:04 »
Reply with quoteQuote

Hi,

I've seen the credits for my BS2000 skin series in Dragan Jakovljevic's XLXM skin comments and got aware of the new support site which currently shows a 5-star rating for my skin. This made me updating the BS2000 skin during last weekend. It now has the long requested minimode with advanced options, a library button and some other features Ian suggested last year.

Bonjour, BS2000 (raina)


I send out greetings to raina who inspired the minimode, Dragan for keepin' it real, Rah'Dick for running the support site and all other XMPlay users around.

Rah'Dick: Could you please update the support sites with all the skin versions and themes from my work folder over @ http://www.danny-und-stefanie.de/xmpskins/

Also I'd like to sort the skins by their rating. Can this be implemented?

This update uses my sakura colour sheme. For all the people that are not so pleased with it, I am using the skin together with this wallpaper: http://www.danny-und-stefanie.de/xmpskins/Overcast.bmp.bz2

I'd love to see people creating their own colour shemes and adding them to the support sites. It really just takes 15 minutes to change the colours to your personal likes.

Regards,
Dan
Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #1 on: 24 Apr '06 - 20:39 »
Reply with quoteQuote

@Sorting by rating: I'm working on it - unfortunately it's not as easy as sorting by name or date.
Sorting by rating requires two database queries: one that selects all skins from the files table and one query for each file to give back the average of all ratings for that specific file, selected out of the comments table. It might be possible to accomplish this using JOINs, but I don't know how atm.
« Last Edit: 24 Apr '06 - 20:47 by Rah'Dick » Logged
Tombo
Posts: 7


« Reply #2 on: 24 Apr '06 - 21:13 »
Reply with quoteQuote

SELECT Skins.name, avg(Ratings.rating) AS average_rating
FROM Ratings, Skins
GROUP BY Skins.ID
WHERE Skins.ID = Ratings.SkinID AND
SORT BY average_rating

Something like this?
Logged
raina
Posts: 1005


« Reply #3 on: 24 Apr '06 - 21:54 »
Reply with quoteQuote

Hi Dan, glad you remembered my mockup. Smiley The minimode fits like a glowe on the window title bars (classic windows look). Did you forget your password or why aren't we seeing the alien-race-like sounding "sirdan" anywhere? Grin And wtf are you listening to?! Cheesy
Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #4 on: 25 Apr '06 - 01:57 »
Reply with quoteQuote

Something like this?

Almost.
select files.*, avg(comments.rating) as avg_rating
from files, comments
where files.category_id=5
and files.id = comments.target_id
and comments.target_type='file'
group by files.id
order by avg_rating desc;

The only problem is, this query returns skins which have ratings only - skins without comments or ratings don't show up.
Have to play around with it a little more.
Logged
Maserati
Posts: 156


« Reply #5 on: 25 Apr '06 - 03:06 »
Reply with quoteQuote

can you include the other color schemes like you did with the source from the last version?
Logged
dantro
Guest
« Reply #6 on: 25 Apr '06 - 07:38 »
Reply with quoteQuote

Hi,

raina: I didn't forget my password. My old user account was the name for my former domain. Since I don't maintain it anymore, I decided to go by my normal handle.

Maserati: You like a different colour sheme? Just change the updated version to your fav colours and send this version to Rah'Dick for inclusion on the support site.

Regards,
Dan
Logged
Torkell
Posts: 1157


« Reply #7 on: 25 Apr '06 - 19:50 »
Reply with quoteQuote

Possible idea: store the average rating in files, and recalculate it whenever someone rates it. Unrated skins can either sit at 0, or have a special value like -1.
Logged
Y@nekŪ
Posts: 206


« Reply #8 on: 25 Apr '06 - 20:18 »
Reply with quoteQuote

I want more Plastic color variations especially black (inversion of this white), please Rah'Dick make this skin with more colors - like Bonjour skin.  Wink
Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #9 on: 25 Apr '06 - 20:43 »
Reply with quoteQuote

Ok, sorting by rating works now. This is how I solved it:

I added another row to the files table that stores the average rating (thanks for the idea, BoggyB!) and each time someone adds a comment, these values are updated.

@ Color schemes: Maybe I should release the sources for Plastic...
Logged
Y@nekŪ
Posts: 206


« Reply #10 on: 25 Apr '06 - 20:53 »
Reply with quoteQuote

That is a very good idea.
Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #11 on: 25 Apr '06 - 21:34 »
Reply with quoteQuote

Then go for it, the files are up :-)
This is getting a bit off-topic, so I suggest to leave this thread alone, now that it's purpose is fulfilled.
Logged
Y@nekŪ
Posts: 206


« Reply #12 on: 27 Apr '06 - 20:15 »
Reply with quoteQuote

Then go for it, the files are up :-)
This is getting a bit off-topic, so I suggest to leave this thread alone, now that it's purpose is fulfilled.

Thank you.



 Cheesy
Logged
Aux
Posts: 91


« Reply #13 on: 2 May '06 - 09:18 »
Reply with quoteQuote

Rah'Dick, to make Your SELECT ordered by rating efficient, You should add one more field to table with skin info which will hold rating and recalculate that value each time someone rate skin. That will greatly improve speed of SELECT query and also You will always know how every skin is rated.

P.S. dantro, which tool did You use to create TTFs? I would like to insert cyrilic script.
« Last Edit: 2 May '06 - 09:36 by Aux » Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #14 on: 3 May '06 - 02:25 »
Reply with quoteQuote

Rah'Dick, to make Your SELECT ordered by rating efficient, You should add one more field to table with skin info which will hold rating and recalculate that value each time someone rate skin. That will greatly improve speed of SELECT query and also You will always know how every skin is rated.

That's exactly what I actually did - and I wrote about it some posts earlier. Smiley
Logged
dantro
Guest
« Reply #15 on: 3 May '06 - 16:51 »
Reply with quoteQuote

I just stumbled upon a desktop modding community and found it very interesting that people already use our skins to style their desktops. In my case a person from Sao Paulo redesigned my Bonjour, BS2000 series to make it fit to the rest of his background. Even though I am using internet for quite some time now, it still gives me a special feeling when my art reaches places of this earth I might never been able to travel to.

Link: http://www.winajuda.com/forum/viewtopic.php?t=26&start=720

Regards,
Dan
Logged
Rah'Dick
XMPlay Support
Posts: 914


« Reply #16 on: 3 May '06 - 20:31 »
Reply with quoteQuote

W00t, fun Smiley
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
Page created in 0.035 seconds with 14 queries.