Star rating system

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Ideas Centre
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm

Star rating system

Post by fliper4o »

Hi.
Just gonna provide some link with already started topic on the same request.

viewtopic.php?f=71&t=2138292
viewtopic.php?f=46&t=1599505
viewtopic.php?f=438&t=579376&start=1995#p9425615
http://fontawesome.io/examples/#custom (Star Ratings (inspired by CSS Tricks))

thanks
Last edited by fliper4o on Mon Dec 25, 2017 8:30 pm, edited 1 time in total.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72652
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Star rating system

Post by KevC »

None of those are topics for the same extension request. They're all at least 6 years old for 3.0.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm

Re: Star rating system

Post by fliper4o »

Yeah, anyway. Look what I found:
5-Star Topic RateKit by RateKit Script Author: andfinally / Bootstrap Star Rating jQuery Author: Kartik Visweswaran / Extension Author: kaspir
https://forums.thetopfew.com/viewtopic.php?f=53&t=748
Personally I'm looking for (IMDb) star rate not threads but just in topic from 1 to 10.
I've got an option with smiles or pics for full star, half star & empty star. Example below - 7 full + 1 half + 2 empty but... it's so lame in my opinion, still tho. Still would like to hear some other ideas.
Image
Image
Image(I like those stars more)
kaspir
Registered User
Posts: 208
Joined: Sun Jul 27, 2008 5:05 am
Name: Greg

Re: Star rating system

Post by kaspir »

fliper4o wrote: Mon Dec 25, 2017 8:45 pm Yeah, anyway. Look what I found:
5-Star Topic RateKit by RateKit Script Author: andfinally / Bootstrap Star Rating jQuery Author: Kartik Visweswaran / Extension Author: kaspir
https://forums.thetopfew.com/viewtopic.php?f=53&t=748
Personally I'm looking for (IMDb) star rate not threads but just in topic from 1 to 10.
I've got an option with smiles or pics for full star, half star & empty star. Example below - 7 full + 1 half + 2 empty but... it's so lame in my opinion, still tho. Still would like to hear some other ideas.
Image
Image
Image(I like those stars more)
Why didn't you just ask?! Because Ratekit was designed to store data in a file, it's easy to make changes even as an extension and may also include the postrow.POST_ID to accomplish this without difficult adjustments. Example at the test grounds: https://phpbb.thetopfew.com/viewtopic.php?f=2&t=1

Do, create a new event template named: viewtopic_body_contact_fields_after.html and add this code (do not alter the input id! Used 'p#' as a delimiter to POST_ID so no conflict with the TOPIC_ID):

Code: Select all

<!-- IF SHOW_RATEKIT -->
	<dd id="ratekit-ext" class="red ratekit-post"<!-- IF not USE_RATEKIT --> title="{L_RATEKIT_VIEWTOPIC_DISABLED}"<!-- ENDIF -->>
		<span class="rateme-postlabel">Rating</span>
		<input id="p#{postrow.POST_ID}" class="rating" data-show-label="false" data-size="xs"<!-- IF not USE_RATEKIT --> disabled<!-- ENDIF -->>
	</dd>
<!-- ENDIF -->
Save and upload to, /ext/thetopfew/ratekit/styles/all/template/event/
Purge cache, enjoy.

I did this quickly, I may add this with some more options in a new version. Join our forums conversations. Luckily, I found this page while scanning google months later! :lol:

Return to “Extension Requests”