Jump to content

Following content anonymously


Isabel

Recommended Posts

Hi guys, do you know if it is possible, in ACP, to prevent users from following content anonymously?

I have looked in ACP but unfortunately I have not found the solution
Is there a possibility?

2020-03-12-061607.png

Link to comment
Share on other sites

10 minutes ago, Birdman said:

Do you mean this: ACP - Login & Registration - Login - Allow anonymous logins?

No, not the login: I would like to prevent users from "following content anonymously".
When you click on the "Follow" button in a topic, the popup you see in the screen above will open, where you have the option to show / hide to other users, that you are following that topic.
I wish users could not do it anonymously

Link to comment
Share on other sites

  • 1 month later...
  • Administrator

Template edits don't appear to remove the option so it seems you would need to make the edits locally. Just search for follow_public and follow_anonymously. Presumably table.php or something along those lines. Specifically, the following code:

{{if $table instanceof \IPS\core\Followed\Table}}
							<optgroup label="{lang="adjust_follow"}" data-icon='bell' data-action='adjust_follow'>
								<option value='follow_immediate'>{lang="follow_type_immediate_prefixed"}</option>
								<option value='follow_daily'>{lang="follow_type_daily_prefixed"}</option>
								<option value='follow_weekly'>{lang="follow_type_weekly_prefixed"}</option>
								<option value='follow_none'>{lang="follow_type_none"}</option>
							</optgroup>
							<optgroup label="{lang="adjust_follow_privacy"}" data-icon='ban' data-action='adjust_follow_privacy'>
								<option value='follow_public'>{lang="follow_public"}</option>
								<option value='follow_anonymous'>{lang="follow_anonymous"}</option>
							</optgroup>
							<option value='unfollow' data-icon='times'>{lang="unfollow"}</option>
						{{endif}}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...