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)
Anti-Spam Guide
Post Reply
User avatar
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Star rating system

Post by fliper4o » Mon Dec 25, 2017 8:21 pm

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: 68093
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Star rating system

Post by KevC » Mon Dec 25, 2017 8:24 pm

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
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
fliper4o
Registered User
Posts: 267
Joined: Wed Mar 23, 2011 8:15 pm
Contact:

Re: Star rating system

Post by fliper4o » 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)

User avatar
kaspir
Registered User
Posts: 203
Joined: Sun Jul 27, 2008 5:05 am
Name: Greg
Contact:

Re: Star rating system

Post by kaspir » Wed Mar 14, 2018 8:50 pm

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:
World of Phaos RPG online is making it's come back! Play free now!
Check out phpBB contributions & extension downloads. :P

Post Reply

Return to “Extension Requests”

Who is online

Users browsing this forum: No registered users and 8 guests