Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   The Lounge (http://www.alice.org/community/forumdisplay.php?f=4)
-   -   AODb ratings widget (http://www.alice.org/community/showthread.php?t=6992)

arty-fishL 07-24-2011 08:55 PM

AODb ratings widget
 
2 Attachment(s)
I'm bringing in a huge load of new features to the AODb before its big relaunch. Among these are user accounts and the ability to rate items in the AODb when logged in.

In the AODb ratings look like this:
[ATTACH]5275[/ATTACH]
There you can click on any star to rate that item, easy.

But, what I thought would be a cool feature would be rating and viewing ratings directly from here on the Alice community; so I invented the AODb ratings widget.

When this is finalised and released you will be able to grab some automatically generated BB code from your AODb account and paste it into any post on this website.

____________________________________________
[SIZE=4][COLOR=Indigo][U][B]The end result is this:[/B][/U][/COLOR][/SIZE]

[URL="http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=rateItem%283,%201%29"][IMG]http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=getImg%283,%201%29[/IMG][/URL][URL="http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=rateItem%283,%202%29"][IMG]http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=getImg%283,%202%29[/IMG][/URL][URL="http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=rateItem%283,%203%29"][IMG]http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=getImg%283,%203%29[/IMG][/URL][URL="http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=rateItem%283,%204%29"][IMG]http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=getImg%283,%204%29[/IMG][/URL][URL="http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=rateItem%283,%205%29"][IMG]http://www.arty-fishl.heliohost.org/aodb/ratingWidget.py?do=getImg%283,%205%29[/IMG][/URL]

This is the actual widget, not a mock up, play with it if you like (not that you can submit any ratings without user accounts ready).
____________________________________________

Just in case I have the AODb offline right now, here is a picture:
[ATTACH]5276[/ATTACH]
It is an image built from 5 segments, each a dynamically generated image so it can display the actual rating real-time (relative to page refreshes). You can click on any star to rate the item in question (which here is RP by X, this rating is just representative, I would give RP 5 stars) when accounts are up and running.

Tell me what you think.

legolizard 07-25-2011 06:55 AM

Really cool Arty-fishL, however ,and this just may be me, but on occasion parts of the widget do not show up and I just get an 'x'.

arty-fishL 07-25-2011 08:29 AM

[QUOTE=legolizard;39678]Really cool Arty-fishL, however ,and this just may be me, but on occasion parts of the widget do not show up and I just get an 'x'.[/QUOTE]If a page refresh doesn't fix this then its likely its you, but otherwise its probably just happening due to a very recent change in state on the database and a refresh will fix it.

legolizard 07-25-2011 11:25 AM

*sigh* Curse my terrible Internet!!!!!!!!!:mad::mad::mad: Yeah it is me I had a feeling it was,but still really cool.

jediaction 07-25-2011 11:49 AM

Awesome Idea. I wish I knew how to make the code for that stuff. My forums stink.

x2495iiii 07-25-2011 01:25 PM

[QUOTE=arty-fishL;39663]... Tell me what you think.[/QUOTE]

Dude.

That is ingenious.

Is that an image map or is it five close images?

Also, do you have any plans to support half-star ratings?

And finally, are accounts ready to be created yet, or should I wait to get in on this?

arty-fishL 07-26-2011 12:41 PM

[QUOTE=legolizard;39687]*sigh* Curse my terrible Internet!!!!!!!!!:mad::mad::mad: Yeah it is me I had a feeling it was,but still really cool.[/QUOTE]Oh well, you can still do ratings on the actual website for the AODb, so all is not lost.[QUOTE=jediaction;39689]Awesome Idea. I wish I knew how to make the code for that stuff. My forums stink.[/QUOTE]Thanks, the internet is full of tutorials, but your good at doing other coding anyway.[QUOTE=x2495iiii;39695]Dude.

That is ingenious.

Is that an image map or is it five close images?

Also, do you have any plans to support half-star ratings?

And finally, are accounts ready to be created yet, or should I wait to get in on this?[/QUOTE]Thanks. I posted this: [QUOTE=arty-fishL;39663]It is an image built from 5 segments, each a dynamically generated image so it can display the actual rating real-time (relative to page refreshes).[/QUOTE], but to elaborate if that didn't make much sense (sometimes I don't make a lot of sense), yes - it is five close images, I don't think image mapping is possible in BB code anyway. It would be great to have mouse-overs on the widget, but BB code limitations again :( .

Currently you cant rate half stars, but the rating can display half stars (look at it now) when more people rate it (as it's an average and it rounds to the nearest half).

Sorry, account signups aren't up yet, I'm still working on finishing it up. That being said, you do have an account, you've probably forgot though.

x2495iiii 07-26-2011 01:47 PM

I thought you'd reset everything a few times since then?

David B 07-26-2011 02:47 PM

I envy your ability to make cool things like that! What language did you use to design that? Python? Anyway, it looks really neat! When is the release of the new AODb going to take place?

P.S.: I posted a link to this on the AODb Community Forums.

arty-fishL 07-27-2011 04:50 AM

[QUOTE=x2495iiii;39751]I thought you'd reset everything a few times since then?[/QUOTE]No, I've made all changes backwards compatible (or I would lose my accounts on it and necessary stuff). All I've done is expand and advance.

[QUOTE=David B;39755]I envy your ability to make cool things like that! What language did you use to design that? Python? Anyway, it looks really neat! When is the release of the new AODb going to take place?

P.S.: I posted a link to this on the AODb Community Forums.[/QUOTE]Hopefully soon, basically ASAP is what I'm aiming for and that is as much as I can tell you. What I really need to do now is the final tedious, but essential areas I've been avoiding.


All times are GMT -5. The time now is 03:04 PM.

Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.