Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Aiheen aloitti: CuTe_MaN - heinäkuu 29, 2007, 08:20:42 AP

Otsikko: Hide part of the topic
Kirjoitti: CuTe_MaN - heinäkuu 29, 2007, 08:20:42 AP
Hello all,

I have looked for this mod in the forum but I think there is nothing semillar

I have found a mod that will hide all posts from guests, I am looking for smothing that is almost the same

but if it is possible to allow user to open threads but when he gets in he can see only a part of the topic.

for ex: only the first 150 characters of the post and after that he will find a note that is saying if you want to see the rest of the post you have to login or register

and he gets links to register and login

so any body can help in making this mod?


CuTe_MaN
Otsikko: Re: Hide part of the topic
Kirjoitti: Eliana Tamerin - heinäkuu 29, 2007, 10:03:58 AP
http://custom.simplemachines.org/mods/index.php?mod=118

LainaaAllowed Groups who see hidden content without posting

You can use that. Not sure if there's a way to automatically parse the post after 150 characters into the [hide][/hide] tags, but it's not too impossible, I'm sure.
Otsikko: Re: Hide part of the topic
Kirjoitti: karlbenson - heinäkuu 29, 2007, 10:44:08 AP
or you can use http://custom.simplemachines.org/mods/index.php?mod=756
Which sets [logged][/logged] bbcode to hide parts of messages to guests, telling them to login or register (while showing the content to logged in users.


However ALSO note that Spiders will also be able to see what a guest sees. So if you limit them to 150 characters.  It won't know that much about your pages.  And you can't show spiders what you show to guests, because Google and all other major search engines PROHIBIT showing anything to spiders that guests don't see.