Light
Back
  1. 18+ Content Filter

Tags

Extension
Nova 2

18+ Content Filter

Version 1.0

Reviews

5.0 out of 5 stars

Intended for sims with 18+ ratings that may want to protect a young-than-intended audience from reading their content, this modification will replace the content of a mission post or personal log with this message: "Due to material that may not be appropriate for all ages, you must be a member and logged in to view this content."

jts2485

Compatibility

Nova 2.7
This add-on may work with Nova 2.7, but members of the community haven’t confirmed
Nova 2.6
This add-on may work with Nova 2.6, but members of the community haven’t confirmed

Version Info

1.0

Last updated

Install instructions


CREDIT WHERE CREDIT IS DUE

This idea was originally provided by a user on the Anodyne Productions Forum by the name of TheDrew on Sunday, September 25, 2016. Unfortunately, he has not been active since 2017 on Anodyne's Forum. His coding worked, and I felt it was a good idea to add it to the Anodyne Xtras site. You can find his original code at the following:

https://forums.anodyne-productions.com/viewtopic.php?f=99&t=4245

I have adjusted the code to simplify it. Rather than multiple flag words/terms, I have consolidated it down to just one (as seen in the instructions below).

There are two different sets of files for two different purposes. Please, read the instructions fully and decide which method you wish to use.


FULL POST & LOG CONTENT BLOCKING

This modification to Nova will cause the system to display an alternate message rather than the posts or logs. This is intended for 18+ sims, or those sims that feel that their content may not be appropriate for all ages. If you wish to protect a younger-than-intended public from content they should not be viewing, then simply upload the "sim_viewpost.php" and "sim_viewlog.php" files from the "full blocking" folder into the following Nova directory:

Nova--->Modules--->Core--->Views--->_Base--->Main--->Pages

Once uploaded, you will then be required to login in order to read the full mission posts or logs. The logs and posts will be replaced by the following message until you are logged in:

"Due to material that may not be appropriate for all ages, you must be a member and logged in to view this content."

This will not change the short text that appears on the main page under "Latest Personal Logs" or "Latest Mission Posts." Those shortened beginnings will still appear. This will stop the general public from reading the full log, thereby protecting unintended audiences from gaining access to adult-level materials.


OPTIONAL POST & LOG CONTENT BLOCKING

If you wish to give your writers or yourself the OPTION to block content rather than blocking content completely, then upload the files "sim_viewpost.php" and "sim_viewlog.php" from the "optional blocking" folder into the same directory:

Nova--->Modules--->Core--->Views--->_Base--->Main--->Pages

For any post with 18+ content, simply use the "Tags" bar at the bottom of the post writing page, and add "18+", it will then block the content of that post by reading the flag word. This will allow you to display posts that do not contain adult material freely, while protecting unintended readers from accessing the logs you do not want to publicly display.

As always, before doing any of this, you should make copies of the original files before replacing them, so that you can put it back if you do not like the result.

Release notes

1.0) Initial Upload

Links

Customer Reviews

5 out of 5 stars

Based on 1 review

Review data

5 star reviews

100%

4 star reviews

0%

3 star reviews

0%

2 star reviews

0%

1 star reviews

0%

Share your thoughts

If you’ve used this add-on, share your thoughts with other users.

TheDrew

5 out of 5 stars

I'm the author credited for creating this and I approve of the add-on. :-)