Jump to content

How to disable reputation in profile views


cualupe

Recommended Posts

Posted
6 hours ago, Woodsman said:

ACP - Members - Reputation. Toggle off Reputation Enabled.

I don't want to entirely disable it.

I want to turn it off on status updates and comments on people's profile areas and only allow it on the forum.

Posted

I haven't tested this fully, but it does seem to work:

Go to IPS_ROOT/applications/core/sources/Statuses/Status.php, you should see the class definition 

class _Status extends \IPS\Content\Item implements \IPS\Content\ReportCenter, \IPS\Content\Reputation, \IPS\Content\Lockable, \IPS\Content\Hideable, \IPS\Content\Searchable

Remove the \IPS\Content\Reputation from it:

class _Status extends \IPS\Content\Item implements \IPS\Content\ReportCenter, \IPS\Content\Lockable, \IPS\Content\Hideable, \IPS\Content\Searchable

You can do the same for a status reply (Reply.php), which is in the same folder as Status.php

Posted
1 hour ago, cualupe said:

I don't want to entirely disable it.

I want to turn it off on status updates and comments on people's profile areas and only allow it on the forum.

In this case ACP - Members - Groups - Social. At the bottom - Maximum number of positive reputation points allowed to give. Set to 0.

Posted
7 hours ago, Woodsman said:

In this case ACP - Members - Groups - Social. At the bottom - Maximum number of positive reputation points allowed to give. Set to 0.

I can't find any 'Social' in that section of the ACP?

Posted
9 hours ago, Woodsman said:

Under Members then Groups

That turns off reputation everywhere.

I only want to turn off giving reputation to status updates in the profile view.

Posted
1 hour ago, cualupe said:

That turns off reputation everywhere.

I only want to turn off giving reputation to status updates in the profile view.

How did my suggestion work for you? :) 

Posted
1 minute ago, Fnuxale said:

How did my suggestion work for you? :) 

Can I edit that through ACP or I have to edit a direct file through FTP?

Posted
6 hours ago, cualupe said:

That turns off reputation everywhere.

I only want to turn off giving reputation to status updates in the profile view.

No this turns off giving reputation by groups... Turn off only those groups you don't want giving reputation.

Posted
3 hours ago, Fnuxale said:
12 minutes ago, Woodsman said:

No this turns off giving reputation by groups... Turn off only those groups you don't want giving reputation.

FTP.

But the group all users are in is 'Members' so that's the only one I can adjust it on.

Either way that solution isn't what I need.

 

I'll try what Fnuxale said in the morning, it's like 1am here D:

Posted

If all are in the Members group yes I can see that being a problem. You will need to create new user groups for this method to work.

Example:

Members - (Already implemented)
Customers
Clients
Staff
VIP

And so on to make the above work properly with any way you choose.

Posted
8 hours ago, Woodsman said:

If all are in the Members group yes I can see that being a problem. You will need to create new user groups for this method to work.

Example:

Members - (Already implemented)
Customers
Clients
Staff
VIP

And so on to make the above work properly with any way you choose.

I want it to work for all users (everyone in Members). What you're saying just switches reputation off across the entire board for a particular group.

Posted
2 hours ago, chilihead said:

Perhaps hide Like/Rep button with css on profile posts (status updates)?

You'd have to ask someone how to do that but it may work.

That might be better than editing core files (Not really comfortable doing that)

Posted

No matter what or how you do it at this point all will be disabled.... I just spent a few hours trying to get this to work but no luck disabling profiles without disabling a group at the same time and vise a versa. Also using @chilihead example below unfortunately it removes the like button across the board from everybody.

But here are the file bits anyway.

global - framework - buttons.css

.ipsApp .ipsButton_alternate {
/*     background: {theme="alternate_button"};
       color: {theme="alternate_button_font"};*/
       background: transparent;
       color: transparent;
}

.ipsApp .ipsButton_alternate:hover { /* This one you need to add to your custom.css */
        background: transparent;

 

global - framework - engagement.css

.ipsLikeRep {
/*     background: #f0f0f0;*/
       background: transparent;
       border-radius: 2px;
       padding: 3px;
       line-height: 16px;
       display: inline-block;
       position: relative;
}

Posted
10 hours ago, cualupe said:

That might be better than editing core files (Not really comfortable doing that)

No, it's not better.

Also, you wouldn't be editing the file itself, really, just removing the definition that says it's an instance of reputation.. (likes)

Posted
8 minutes ago, Fnuxale said:

No, it's not better.

Also, you wouldn't be editing the file itself, really, just removing the definition that says it's an instance of reputation.. (likes)

Yeah cool i'll give it a shot. Thanks :)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...