Jump to content

Community

newbie LAC

(NB41) Content Ratings

Recommended Posts

@newbie LAC

When content ratings increase reputation, does it also increase the content item's reputation?  I think it only increases user's reputation.  

Example: I have IP.Page articles on homepage.  When someone uses content ratings to like / dislike, it does not increase the record's reputation.  

<ul class="ipsList_inline ipsType_left">
       				{{if $record instanceof \IPS\Content\Reputation and settings.reputation_enabled}}
    	 				<li class="postinfo_portal"><i class="fa fa-user"></i> {$record->author()->name} <i class="fa fa-heart"></i> {$record->reputation()}  <i class='fa fa-comment'></i> {$record->record_comments}</li> 
         				<li class="datestamp_portal ipsPos_right"><i class="fa fa-clock-o"></i> {datetime="$record->record_publish_date"}</li>
       				{{endif}}
     			</ul>

Please advise.

 

Share this post


Link to post
Share on other sites

Hello,

7 hours ago, Joel R said:

When content ratings increase reputation, does it also increase the content item's reputation?

No

7 hours ago, Joel R said:

I think it only increases user's reputation.

Yes

Edited by newbie LAC

Share this post


Link to post
Share on other sites
9 hours ago, newbie LAC said:

Hello,

No

Yes

Okay, thanks for clarification. 

As a feature suggestion, I'd like to recommend that it increases the content item's reputation as well.  

Share this post


Link to post
Share on other sites

Hello,

3 hours ago, Il_Picasso said:

Could you share the icons you use in the pictures of the applications?

https://invisionpower.com/forums/topic/433025-nb41-content-ratings/?do=findComment&comment=2658829

Quote

I can give you images. PM me.

 

15 hours ago, Joel R said:

As a feature suggestion, I'd like to recommend that it increases the content item's reputation as well.  

There are 3 types of ratings. What will be if someone gave neutral rating? Should I replicate "reputation actions". I mean increase/decrease reputation => send reputation notifications etc.

Edited by newbie LAC

Share this post


Link to post
Share on other sites

Yes, it should act the same way as regular reputation.  That would make the most sense :)

If positive rating, then +1 reputation.

If neutral eating, then +0 reputation. 

If negative rating, then -1 reputation. 

Share this post


Link to post
Share on other sites

Hello,

12 hours ago, Il_Picasso said:

Is it possible to add support to this? I don't know who would have to add support to

That's paid plugin. I don't know how it works.

You can PM me with plugin details and I'll help.

11 hours ago, Joel R said:

If neutral eating, then +0 reputation. 

Inbuilt reputation allow +1 and -1 points.

Share this post


Link to post
Share on other sites
15 hours ago, Phoeliok said:

Is there a way to hide rating images on owned posts when members are not allowed to rate their own post?

Hello,

Sound like a bug.

Temp fix

Open applications/nbcontentratings/hooks/nbContentRatingsContent.php

Find 

		if ($rating > 0 and ($this->author()->member_id == $member->member_id) and !\IPS\Settings::i()->nbcontentratings_can_give_themselves)

Change to 

		if (($this->author()->member_id == $member->member_id) and !\IPS\Settings::i()->nbcontentratings_can_give_themselves)

 

Share this post


Link to post
Share on other sites
On 10/14/2016 at 4:24 AM, newbie LAC said:

If someone else would be interested I will add this feature.

Would it be a new type or an additional setting on add/edit rating's form?

Wouldn't this just be a content rating with neutral score?  

My community is also very 'affirmative' and likes  to make things positive, so they're also hesistant about marking anything as negative.  With that said, I think the current settings to allow "neutral rating" already accomplishes what you want.  

On 10/11/2016 at 5:22 AM, Bill Edwards said:

I would be interested to know what icons other users have set up though.

Like, Dislike, Agree, Informative, Creative, Funny, Drama Queen, and then some that are unique to my community's content.

If you're a photography forum (I'm guessing, since you're asking for fa-camera icon), you can maybe create some fun ratings that are unique to your community such as "Panoramawow " (for great panoramic photos) or "Marcellous Macro" (for close-up macro photos) or "In the Moment" (for action photos).  Etc etc.  

Share this post


Link to post
Share on other sites

@newbie LAC

Any way to hide default IPS reputation ("like" button; green "up" red "down" votes) so we can use content ratings instead?  Right now, shows BOTH systems.  Maybe a custom CSS template change? 

Share this post


Link to post
Share on other sites
31 minutes ago, Joel R said:

@newbie LAC

Any way to hide default IPS reputation ("like" button; green "up" red "down" votes) so we can use content ratings instead?  Right now, shows BOTH systems.  Maybe a custom CSS template change? 

If you set all user groups to be able to give zero likes/reputation, they disappear

Share this post


Link to post
Share on other sites
44 minutes ago, Bill Edwards said:

If you set all user groups to be able to give zero likes/reputation, they disappear

Good point.  I thought I discovered this myself a couple of weeks ago but I forgot :( 

Share this post


Link to post
Share on other sites

Hello,

12 hours ago, Joel R said:

Wouldn't this just be a content rating with neutral score?  

I added already a setting.

9 hours ago, Joel R said:

Any way to hide default IPS reputation ("like" button; green "up" red "down" votes) so we can use content ratings instead?  Right now, shows BOTH systems.  Maybe a custom CSS template change? 

CSS change is a bad solution. Use Bill Edwards trick

or disable reputation and edit applications/nbcontentratings/hooks/nbContentRatingsContent.php

find 

		// Reputation disabled
		if (!\IPS\Settings::i()->reputation_enabled)
		{
			return false;
		}

change to  

		// Reputation disabled
		if (!\IPS\Settings::i()->reputation_enabled)
		{
			// return false;
		}

But this hide reputation anywhere. Maybe add new setting "Hide rep buttons"?

Edited by newbie LAC

Share this post


Link to post
Share on other sites
9 hours ago, newbie LAC said:

Hello,

Where you found leaderboard? Not sure what you mean

 
 

Thanks for the quick reply! It's the block you can see at the top of my IPS installation here:
adXCP.png
You can also see the full page you can view here: https://hyplex.co/forum/leaderboard/

You can read about the IPS announcement of the leaderboards here: 

 

Share this post


Link to post
Share on other sites

Hello,

13 hours ago, TheRealSnowBoi said:

It's the block you can see at the top of my IPS installation here:

My app is not linked with leaderboard. If you want to show "Top rated users" use widget

cr_widget.jpg

It looks like "Top contributors"

7 hours ago, Il_Picasso said:

how to get rid of this button? The hearth button 

Use new setting "Disable reputation buttons"

Share this post


Link to post
Share on other sites
14 minutes ago, newbie LAC said:

Hello,

My app is not linked with leaderboard. If you want to show "Top rated users" use widget

cr_widget.jpg

It looks like "Top contributors"

Use new setting "Disable reputation buttons"

I already did, thats the only thing missing 

Share this post


Link to post
Share on other sites
3 minutes ago, Il_Picasso said:

I already did, thats the only thing missing 

I can't reproduce. Maybe you have plugins related with reputation.

Please test on default IPS theme also. I see you use a custom skin.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...