Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
cualupe Posted December 28, 2015 Posted December 28, 2015 I don't want my users to be able to give reputation on posts made in their profiles. How can I disable it here?
Woodsman Posted January 3, 2016 Posted January 3, 2016 ACP - Members - Reputation. Toggle off Reputation Enabled.
cualupe Posted January 3, 2016 Author Posted January 3, 2016 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.
Fnuxle Posted January 3, 2016 Posted January 3, 2016 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
Woodsman Posted January 3, 2016 Posted January 3, 2016 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.
cualupe Posted January 3, 2016 Author Posted January 3, 2016 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?
cualupe Posted January 4, 2016 Author Posted January 4, 2016 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.
Fnuxle Posted January 4, 2016 Posted January 4, 2016 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?
cualupe Posted January 4, 2016 Author Posted January 4, 2016 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?
Fnuxle Posted January 4, 2016 Posted January 4, 2016 1 hour ago, cualupe said: Can I edit that through ACP or I have to edit a direct file through FTP? FTP.
Woodsman Posted January 4, 2016 Posted January 4, 2016 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.
cualupe Posted January 4, 2016 Author Posted January 4, 2016 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:
Woodsman Posted January 4, 2016 Posted January 4, 2016 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.
cualupe Posted January 4, 2016 Author Posted January 4, 2016 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.
chilihead Posted January 4, 2016 Posted January 4, 2016 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.
cualupe Posted January 5, 2016 Author Posted January 5, 2016 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)
Woodsman Posted January 5, 2016 Posted January 5, 2016 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; }
Fnuxle Posted January 5, 2016 Posted January 5, 2016 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)
cualupe Posted January 5, 2016 Author Posted January 5, 2016 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.