| 

Joomlapolis! News

Be the first to know our latest news and releases!

twitter

facebook Joomlapolis RSS News Feed

23
Nov
2008

CB Rating Field Plugin Preview

Continuing the more detailed description of items mentioned in the Work in progress article, one of the items mentioned is the CB Rating Field Plugin. This is another item that demonstrates the power of the CB 1.2 API. This field-type plugin adds another CB field type to the existing list of available field types.

This plugin is installed just like any other CB plugin via the CB Plugin Management backend. Once installed and published, website administrators will see an extra field type available when creating a new CB field in the CB Field Management backend – a Rating field.

 A CB field of type ‘Rating field’ has a set of parameters that follows it in the right column area of the field management backend when editing or creating such a CB field. These extra parameters are illustrated in the following screenshot:

 

As you can see there are a number of nice parameters that can be applied to your specific field. You may select the number of rating stars to show (5 is the value shown in the example). You may select how the total rating is displayed (options are: Whole(1), Half(1/2), thirds(1/3), quarters(1/4)), the rating audience of the field (Profile Visitor or Profile Owner). This means that you can create a rating field that only the profile owner can rate - something like a 'how i see myself' rating field. You can specify if anonymous voting is allowed, if logging is enabled and if you want to allow multiple votes or not.

There is also a language string area that allows you to specify the wording that is to be used by the rating field. These text boxes can contain language strings (e.g., _UE_best, _UE_worst, etc) that are defined in your CB language plugin files for use in multiple language sites.

The result can be displayed on your profile just like any other CB field and the rating field can also be included during registration and in user lists!

You can create as many rating fields as you want. Example, rate my avatar, rate my resume, rate my forum activity, etc.

As mention in the “Work in Progress” article, this plugin at this time will be offered to documentation subscribers only after CB 1.2 is released.

Discuss this article on the forums. (27 posts)


Latest Tweets

  • 02:05 PM May 21 2012
    Much more to come next days, weeks, months from #jab12. It was a mutually #inspiring event: most things just started there #joomla #jos
  • 12:05 AM May 21 2012
    #jab12 is a HUGE #positive success! Thanks to each participant+organiser, @brianteeman @rdeutz @vdrover @gnomeontherun #joomla #jos #share
  • 01:05 PM May 20 2012
    CB 2.0: A new way to build web apps: 2nd #JAB12 Lightning talk Live video streaming starts in 10 min: http://t.co/9PvOzLnS #joomla #jos
  • 12:05 PM May 20 2012
    Must see: "CB 2.0: A new way to build web apps" 2nd #JAB12 Lightning talk! Live video starts in 1 hour: http://t.co/W1i5iIPw #joomla #jos
  • 11:05 AM May 20 2012
    Don't miss them: #JAB12 Lightning talks start in 2 hours with live video streaming: http://t.co/J8qvNhSd #joomla #jos
  • 10:05 AM May 20 2012
    Sorry, in 3:20 hours!
  • 10:05 AM May 20 2012
    Must see: "CB 2.0: A new way to build web apps" 2nd #JAB12 Lightning talk! Live video starts in 1 hour: http://t.co/H9v47zF3 #joomla #jos
  • 10:05 AM May 20 2012
    Must see: "CB 2.0: A new way to build web apps" 2nd #JAB12 Lightning talk! Live video streaming 12:50UTC: http://t.co/51G5VZyX #joomla #jos