Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Doug Heffernan on April 16, 2020, 09:26:41 AM

Title: Force Users To Read Topics
Post by: Doug Heffernan on April 16, 2020, 09:26:41 AM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=4257)

This mod will set a topic as a must read for your users. They will not be able to browse the rest of the topics until they have read the must read topic set by the admin. Groups can be excluded from this restriction. Admins are automatically excluded btw.

The mod makes full use of hooks and does not require any file edits.
Title: Re: Force Users To Read Topics
Post by: -Rock Lee- on April 16, 2020, 02:31:16 PM
I was just looking for it but did not remember the name of an old version, great job! leave you the translation to Latin Spanish!


Regards!
Title: Re: Force Users To Read Topics
Post by: Doug Heffernan on April 17, 2020, 07:37:45 AM
Quote from: Rock Lee on April 16, 2020, 02:31:16 PM
I was just looking for it but did not remember the name of an old version, great job! leave you the translation to Latin Spanish!

Regards!

Latin Spanish language supported added. Thanks Rock Lee.
Title: Re: Force Users To Read Topics
Post by: pocttopus on April 29, 2020, 11:33:11 AM
Hello.
Is there any way to set up this mod to force the new members to read a specific topic (i.e. rules of the forum) before posting?

Thanks.
Title: Re: Force Users To Read Topics
Post by: Doug Heffernan on April 29, 2020, 12:36:37 PM
Quote from: pocttopus on April 29, 2020, 11:33:11 AM
Hello.
Is there any way to set up this mod to force the new members to read a specific topic (i.e. rules of the forum) before posting?

Thanks.

No, there isnn't.
Title: Re: Force Users To Read Topics
Post by: Dave J on June 11, 2023, 09:04:49 AM
Any chance of this being updated to 2.1 please Doug
Title: Re: Force Users To Read Topics
Post by: Doug Heffernan on June 13, 2023, 02:49:14 PM
Quote from: Dave J on June 11, 2023, 09:04:49 AMAny chance of this being updated to 2.1 please Doug

Right now I don't have much free time to work on this. However, I think that this can be compatible with 2.1.x as well. Can you open the package-info.xml file and change this part:

<install for="2.0 - 2.0.99">
to:

<install for="2.1 - 2.1.99">
And this:

<uninstall for="2.0 - 2.0.99">
to:

<uninstall for="2.1 - 2.1.99">
Save the changes, repackage the mod package and install it through the Package Manager.
Title: Re: Force Users To Read Topics
Post by: Dave J on June 13, 2023, 04:54:25 PM
Quote from: Doug Heffernan on June 13, 2023, 02:49:14 PM
Quote from: Dave J on June 11, 2023, 09:04:49 AMAny chance of this being updated to 2.1 please Doug

Right now I don't have much free time to work on this. However, I think that this can be compatible with 2.1.x as well. Can you open the package-info.xml file and change this part:

<install for="2.0 - 2.0.99">
to:

<install for="2.1 - 2.1.99">
And this:

<uninstall for="2.0 - 2.0.99">
to:

<uninstall for="2.1 - 2.1.99">
Save the changes, repackage the mod package and install it through the Package Manager.

I'll check it out tomorrow thanks Doug
Title: Re: Force Users To Read Topics
Post by: Doug Heffernan on June 13, 2023, 05:08:28 PM
Quote from: Dave J on June 13, 2023, 04:54:25 PMI'll check it out tomorrow thanks Doug

No problem. Let me know how it will go.
Title: Re: Force Users To Read Topics
Post by: Dave J on June 14, 2023, 01:17:52 AM
It's creating an error Doug, see attached. I should add that the mod is not enabled and that all I've done is install it.