Skip to Content Skip to Menu

AUP rating

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
9 years 10 months ago - 9 years 10 months ago #255152 by Giankomat
AUP rating was created by Giankomat
Hi, I use AlphaUserPoint as point system, there is an inner CB way to show the points in form of stars? I mean something like:
>10 pt = 1 star
>50 pt = 2 stars
>100 pt = 3 stars

Also, Can I add a field below the name like the screenshot?

Attachments:
Last edit: 9 years 10 months ago by Giankomat.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago - 9 years 10 months ago #255180 by krileon
Replied by krileon on topic AUP rating

I use AlphaUserPoint as point system, there is an inner CB way to show the points in form of stars?

We're not the developers of AUP so I can't really advise on AUP functionality. CB does have a rating field, rating jQuery, and the CSS associated with that rating jQuery, but I've no idea how AUP could utilize it without coding to use it.

Can I add a field below the name like the screenshot?

Yes, you can display stars below the name using the "Canvas Title Bottom" tab position or try adding another tab to the same position as the title (Canvas Title Middle).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 9 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
9 years 10 months ago - 9 years 10 months ago #255229 by Giankomat
Replied by Giankomat on topic AUP rating
Thanks i didn't noticed that much canvas positions, there is a documentation about the tab positions and the tab view options?
Last edit: 9 years 10 months ago by Giankomat.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255250 by krileon
Replied by krileon on topic AUP rating

there is a documentation about the tab positions and the tab view options?

No, not yet. You can view all the positions and display types by clicking the respective dropdowns while editing a tab though.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • Giankomat
  • Giankomat
  • OFFLINE
  • Posts: 56
  • Thanks: 0
  • Karma: -1
  • Add-ons
9 years 10 months ago - 9 years 10 months ago #255281 by Giankomat
Replied by Giankomat on topic AUP rating
To accomplish the star thing, there is an easy way to create a custom php plugin?
Last edit: 9 years 10 months ago by Giankomat.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48482
  • Thanks: 8283
  • Karma: 1443
9 years 10 months ago #255285 by krileon
Replied by krileon on topic AUP rating
You maybe able to do it using purely substitutions if the points value is a CB field. It might even work if you query for the users points using a CB Query Field then create a Custom HTML field with substitution IF statements. Example as follows.

Code:
[cb:if cb_points>="10" cb_points<"50"]<span class="fa fa-star"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span>[/cb:if] [cb:if cb_points>="50" cb_points<"100"]<span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span>[/cb:if] [cb:if cb_points>="100" cb_points<"150"]<span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star-o"></span><span class="fa fa-star-o"></span>[/cb:if] [cb:if cb_points>="150" cb_points<"200"]<span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star-o"></span>[/cb:if] [cb:if cb_points>="200"]<span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span><span class="fa fa-star"></span>[/cb:if]

CB comes with fontawesome built in so I've output the starts as fontawesome icons. With the above cb_points would be your CB Query Field, which queries for a users points. I can not help you with the query though as I am not familiar with AUP database structure.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: Giankomat

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum