News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Hide First Message

Started by Suki, August 10, 2010, 07:38:55 PM

Previous topic - Next topic

Suki

Link to Mod

Hide first Message



By 130860





- No template modifications
- Work with every theme.
- clean install.
- you can choose the boards where the mod will work.
- You can choose which user groups the mod will affect, guest are included by default. 
- You can use the following:
     -{username} : will show the member name or "Guest" if the user is a guest
     -{register}: will show a link to your registration page.
     -{forumname} : will show your forum name.
- You can use bbc.
-If the custom message is empty the mod will show a default text: Sorry {username}, you can't see the content of this message.
- for 2.0 RC3 only.





Introduction
With this mod you can hide the first message of a topic on the boards you decide and for the member groups you decide.

Please be aware that the only way for the users to see the topic will be if they move on to another group.   even if they reply to the topic, the topic will not be show to them.

also be aware that if you enable this mod on a board where everybody can post,  the users affected by this mod will still be able to create post, one its created, the users will not see the topic anymore even if they reply to it,   users still have all the permissions you give to them.

This works only with the primary group of the user, will not work for secondary groups.

you can leave the user groups setting empty and the mod will only affect guest.

Languages
o English/utf8
o Spanish_es/utf8
o Spanish_latin/utf8



Install
Just install the mod with the packager manager, you don't have to worry about custom edits on templates.

Demo

a demo can be found on dev.oharascans.com 





Change log



1.0 - July 12, 2010
Initial release
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.


mirahalo

thanks ;)



I added a demo here http://dev.oharascans.com/index.php?topic=9.0   where you can see the mod in action

Aportadordelmix


Bugo

So, why mod is called "Hide First Message", but download file — "hide_first_topic"? :)

mirahalo

its a typo I made,  I realize the name hide first topic wasn't accuracy,  it will be changed on the next release.

slaytcafe.com



nice mod, but, why doesn't work at groups according to the number of messages ?

mirahalo

it should work with groups based on messages,  however, this mod only works with the primary group, it doesn't work with secondary groups, maybe on an update I will include support for secondary groups.

franklinrony

hi have a little bug, in recent post, the first topic is not hidden
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

mirahalo

do you mean this

http://www.simplemachines.org/community/index.php?action=recent ?

thanks for the report, I'll check that when I have some time.

franklinrony

yep, wait for the fix, is a great  mod!
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

franklinrony

i dont test but too must be check the print page option :)
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

Patriiick

The mod does hide posts for registered membres as weel, it does not work (SMF 2.0 C4)
webmaster AcadNETwork

mirahalo

@Patriiick   on the mods descriptions says:  Compatible With:
2.0 RC3


thats is, I cannot guarantee it will work on RC4  until I update it.


yes, the mod also works for registered members, you can specify what member groups  cannot see the content in the mod's admin page.

Patriiick

You are right, I will have a look to make the necessary changes, thanks.
webmaster AcadNETwork

Dan_y2k

Wow, what a great mod! It's just what I've been looking for!

But it needs to be updated for 2RC4, and Mr. 0 should also consider to make it work on every aspect where it is in effect. I mean - if it's in the recent topics, if it's in a hidden board, if it's on a printer friendly page - the content should still be hidden.

It is a VERY good mod in my opinion, and when it'll be updated to work for 2RC4, It'll be the first mod (and maybe even the only one, cause I'm planning to wait for SMF 2 Final) that I'll DEFINITELY use.

Mr. 0, keep up the good work and updating this mod! It is awesome!
Regards,
Dan_y2k.

Cvek

Mod works for Regular groups
Not works for Post count based groups



RC4

Arantor

It also doesn't cover the print-page view, RSS feeds, the posts in a user's profile, recent posts (as mentioned), and some themes it also won't work properly on (where the theme explicitly provides a preview of the first post!)

No, it doesn't work with post count based groups since the description actually *says* that... (it only works with regular groups, just as the mod's page says, though I doubt it would be a hard job to expand it)

mirahalo

this is just one nasty mod, I encourage people not to use it anymore,  since it has so little downloads and I do not have any desire to work in SMF anymore I will request to the cus team to put this in the Archived category.

thanks.

Arantor

It's not a nasty mod, just a mod that needs a little more care and attention to fulfill what it was intended to be.

Advertisement: