Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SeAlVa on May 16, 2007, 05:10:13 PM

Title: hidden for guests
Post by: SeAlVa on May 16, 2007, 05:10:13 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod)

With this mod, authors can hide part of its messages (posts) to guests.

** In spanish **
Con esta mod, los autores podrán ocultar parte de sus mensajes (posts) a invitados


Mods made to get 1.0.3 version
- It now works with most of themes.
- If it is used between [code ] and [/code ] it use another sentence.

--------------
Languages available:
- Spanish (by me)
- English (by me)
- French (by not said yet)
Title: Re: hidden for guests
Post by: Apllicmz on May 16, 2007, 06:15:22 PM
Hello when iam install i see that red erro

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi157.photobucket.com%2Falbums%2Ft77%2Fjoomlamz%2Fsshot-5-9.png&hash=ea709e38e973852d22a8c1e9bede1e207d6d670c)
Title: Re: hidden for guests
Post by: SeAlVa on May 16, 2007, 07:03:58 PM
sorry, there was a missing capital letter (Modifi...)

It must be fixed right now
Title: Re: hidden for guests
Post by: Apllicmz on May 16, 2007, 07:12:55 PM
Thank You
Title: Re: hidden for guests
Post by: pvisser on May 23, 2007, 05:04:34 PM
Its an Super mod. But i think there is one Bug or isn't? Wen i pres the print button when i'm viewing the post as an geust. I see the hidden Coding also the hidden text. What can i do to hide that also.

PS. Thank is an Super mod..
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 12:27:08 AM
I get this eeeror message as well when trying to install this mod. Can you please, tell me how to fix it, cuase I would like to install this mod in my forum as I find it very handy. Thank you

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Themes/default/Post.template.php    Test successful
2.    Execute Modification    ./Sources/Search.php    Test successful
3.    Execute Modification    ./Sources/Recent.php    Test successful
4.    Execute Modification    ./Sources/Display.php    Test successful
5.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test failed
6.    Extract File    ./Themes/default/images/bbc/lockguest.gif    
Title: Re: hidden for guests
Post by: Apllicmz on May 24, 2007, 01:06:13 AM
install that mod and open modifications english and puty
She work Good

$txt['hide_for_guests'] = 'Some part of this message have been locked';
$txt['hide_for_guests2'] = 'You have to <a href="./index.php?action=login">Log-In</a> to unlock it';
$txt['description_lock_guests'] = 'Hides part of your message to guests';
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 01:18:21 AM
Thank you for your answer joomlamz, but can you tell me where exactly to put that code, cause I ain''t so good with this coding thing.
Title: Re: hidden for guests
Post by: Apllicmz on May 24, 2007, 01:32:07 AM
After this Code

$txt['ajax_in_progress']
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 01:34:12 AM
Thanks again, I will give it a try
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 01:43:37 AM
Now it worked like a charm, thank you very much joomlamz

P.s. Should I enable this mode anywhere in order to function, or only installing would do
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 01:56:27 AM
I figured it out. I read the read me file and the solution was there
Title: Re: hidden for guests
Post by: Apllicmz on May 24, 2007, 02:14:33 AM
now she work
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 02:34:18 AM
Yes, now it works fine. Thanks again for your help
Title: Re: hidden for guests
Post by: pvisser on May 24, 2007, 04:15:24 AM
How about the printing function like the post above. joomlamz. Do you have an solution? for me. And i found this coding.

$txt['hide_for_guests'] = 'Some part of this message have been locked';
$txt['hide_for_guests2'] = 'You have to <a href="./index.php?action=login">Log-In</a> to unlock it';
$txt['description_lock_guests'] = 'Hides part of your message to guests';

Should it not be:

$txt['hide_for_guests1'] = 'Some part of this message have been locked';
$txt['hide_for_guests2'] = 'You have to <a href="./index.php?action=login">Log-In</a> to unlock it';
$txt['description_lock_guests'] = 'Hides part of your message to guests';

in the modifications file? because else $txt['hide_for_guests'] gives an undefined index error.
Title: Re: hidden for guests
Post by: babjusi on May 24, 2007, 07:08:34 AM
Hi pvisser. Add exactly the code that joomlamz stated above and it will work for sure, like it did with me
Title: Re: hidden for guests
Post by: pvisser on May 24, 2007, 09:58:44 AM
Oke I'm using SMF 1.1.2 and thats where the error came from. I fixed it whit the coding above. What about the printing button in each message? because Wen i pres the print button when i'm viewing the post as an geust. I see the hidden Coding also the hidden text. What can i do to hide that also. Please Advice
Title: Re: hidden for guests
Post by: SeAlVa on May 31, 2007, 11:53:42 AM
ops, that's my fault. I lock the text in recent's posts, in search form, in normal view, but I forgot to lock it in Print view. I'm sorry, I'm with exams now. I will fix it when I finish them.

I apologize
Title: Re: hidden for guests
Post by: SeAlVa on May 31, 2007, 12:00:02 PM
you can temporaly fix this problem by editing ./Sources/Printpage.php and adding require_once("./Sources/Display.php");
$row['body'] = preparehidecontent($row['body']);
after censorText($row['subject']);
censorText($row['body']);
Title: Re: hidden for guests
Post by: stonedste on June 04, 2007, 03:13:27 PM
Ive installed this mod into 1.1.2 and done all the file modifications but posts are still not hidden to guests and im getting no error messages. Can't find anything to turn it on in the CP but i am running a different theme so maybe thats why its not working?
Title: Re: hidden for guests
Post by: babjusi on June 04, 2007, 03:56:49 PM
All the mods work only with the default theme, so yes, that is the reason why it is not working.
Title: Re: hidden for guests
Post by: webfritz on June 05, 2007, 04:17:38 PM
QuoteAll the mods work only with the default theme, so yes, that is the reason why it is not working.
It is not working at all. The default installation ends with a corrupted Modifications.english.php and  undo is not possible. I was stuck in the installation and rolling back corrupted finally the theme. Hey, i don't say anything if there are errors in and it's corrected after some time, but leaving the installation files with this error is only,honestly speaking, a pure impertinence! :-[
Title: Re: hidden for guests
Post by: SeAlVa on June 05, 2007, 04:56:56 PM
QuoteIve installed this mod into 1.1.2 and done all the file modifications but posts are still not hidden to guests and im getting no error messages. Can't find anything to turn it on in the CP but i am running a different theme so maybe thats why its not working?
could you please post the url to check the html?
QuoteThe default installation ends with a corrupted Modifications.english.php and  undo is not possible
if it gave you some errors, it could be possible that the mod is not compatible with another mod. would you mind posting the url, please?
Title: Re: hidden for guests
Post by: webfritz on June 06, 2007, 06:04:07 PM
Quotecould you please post the url to check the html?
I had to restore the whole site, because I was not sure, which files were affected and which not. Please, understand that I am not amused. The url is:
http://www.c-work.de/sql5_tx/index.php (http://www.c-work.de/sql5_tx/index.php)
Please note, there is no more of this mod in, because of the restore ...  :'(. If you want to have added infos, write it down here. Cu, Fritz!
Title: Re: hidden for guests
Post by: webfritz on June 07, 2007, 11:29:39 AM
Quote from: babjusi on June 04, 2007, 03:56:49 PM
All the mods work only with the default theme, so yes, that is the reason why it is not working.
I think, you're right. Poor situation, because the idea is brilliant, but ...
Title: Re: hidden for guests
Post by: SeAlVa on June 08, 2007, 03:08:16 AM
I'am develping a new version that will probably work with every theme.
let me finish me exams and I will post it (or even before finising them if I get overflowed. xD )
Title: Re: hidden for guests
Post by: webfritz on June 08, 2007, 05:25:58 AM
Fine. I will sit and wait ... :-X Would be nice if you answer to this and give us a signal when you are finished with that.
Title: Re: hidden for guests
Post by: SeAlVa on June 09, 2007, 08:56:05 AM
Updated.!
Title: Re: hidden for guests
Post by: webfritz on June 09, 2007, 01:07:28 PM
Fine! I dared to install and it installed fine! But, nothing changed ...

Anyway, first of all I installed the mod, then the language pack ... :D ... but nothing changed ... Hmmh ... I copied Modifications.english.php to my current theme language folder .. and changed to english ... nothing happened ... and, the forum slowed down after this istall in a teriffic way ..

Thanks, I am through with that ...
Title: Re: hidden for guests
Post by: SeAlVa on June 09, 2007, 02:53:12 PM
do you mind creating a new account for me on your forum and sending the log-in info by PM?

I will check the HTML code and try to understand why it doesn't work to you.

I know lots of people who have it installed and working perfectly.

I think that it could be possible that the problem is because of your server.

If someone else have any problem with this mod, please post it and I will be pleased to read and studying them.
Title: Re: hidden for guests
Post by: bodyboard_jerez on June 27, 2007, 03:58:54 PM
Hello !! Great Mod !!, but it doesn't runs at signatures... How can I solve it please? It is very important to me, really it is.

Thank you very very much !!
Title: Re: hidden for guests
Post by: SeAlVa on June 27, 2007, 05:26:36 PM
which version do you have installed? (version of the mod, of course)

to me, last release of this mod works on signatures aswell :S
Title: Re: hidden for guests
Post by: bodyboard_jerez on June 27, 2007, 06:02:59 PM
Sorry... an old version... I'm going to upgrade it... thanks a lot !!
Title: Re: hidden for guests
Post by: RiderRaghav on June 28, 2007, 11:58:02 PM
Hey.....
I'm getting an error(The package you are trying to download or install is either corrupt or not compatible with this version of SMF.) I'm using smf 1.1.3 .....
What should I do ? ....
Title: Re: hidden for guests
Post by: SeAlVa on June 29, 2007, 07:27:59 AM
i aplogize, i forgot to change the string for="1.1.2" to for="1.1.2,1.1.3". I will change it right now.

Thanks!

let me know if it works after that change, please
Title: Re: hidden for guests
Post by: RiderRaghav on June 29, 2007, 12:28:56 PM
Quote from: SeAlVa on June 29, 2007, 07:27:59 AM
i aplogize, i forgot to change the string for="1.1.2" to for="1.1.2,1.1.3". I will change it right now.

Thanks!

let me know if it works after that change, please

It's working fine now :) .....

Thanks a lot ;)
Title: Re: hidden for guests
Post by: Aquire on July 10, 2007, 03:04:18 PM
Nothing happens..I've installed successfully without any error.Paste that gif into required directory.

Now I cannt see any thing on post template?

My smf version is 1.1.3.

whats the prob?
Title: Re: hidden for guests
Post by: SeAlVa on July 11, 2007, 04:58:32 AM
do you mind posting the url?
Title: Re: hidden for guests
Post by: CuTe_MaN on July 30, 2007, 01:20:28 PM
hello

I am using smf 1.1.2 and I have installed the mod without any problems

but I didnt have any thing changed

what do I have to do to get it working?

do I need to check any thing with permissions?


note: I am using a rich text editor on my site is that the problem?

CuTe_MaN
Title: Re: hidden for guests
Post by: GC on August 14, 2007, 02:22:33 PM
is it possible to get this mod so that it will ONLY show the first 5 lines or so to guest then have it say 'You must register to see the rest of this topic' and they cannot see the rest of the posts?
Title: Re: hidden for guests
Post by: medflux on August 16, 2007, 05:16:14 PM
hey SeAlVa , this is a very very wonderful MOD , i REALLY REALLY WANT it to work on myforum cuz right now , it doesn't and i think it's becuz i'm using a different theme .... it's Aa New Damage ...

If u don't mind i sent u the url of my forum may be u can help
Title: Re: hidden for guests
Post by: SeAlVa on August 17, 2007, 05:00:58 AM
Hi there,

it works, but the problem is that the icon is not shown, maybe its because you need to copy the file lockguest.gif to the folder that the readme said. (I have sent u the folder name by Priv. Mess.)

I look forward hearing your news.
Title: Little Problem
Post by: JhonV on August 18, 2007, 05:31:33 PM
HI there!
This mod is very nice! Thanks for make!

I have a little problem too...
I install  the mod and works perfectly , but only in english... i have my forum in spanish ,I look the code for edit , but i dont see what part of the code is

Do you -Please- says me  , what code edit for see correctly this mood ?
Now  the mod >
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg507.imageshack.us%2Fimg507%2F6268%2Fdibujodt4.jpg&hash=380863f5c6e64315b1b1ed9eee0f71107b2ed5dd)


I have SMf 1.1.3 and Dilbert MC

Thanks a lot for everyone!
Title: Re: hidden for guests
Post by: SeAlVa on August 19, 2007, 12:43:39 PM
PM sent in spanish.
Title: Re: hidden for guests
Post by: medflux on October 06, 2007, 01:19:10 PM
now there is a problem , i upgraded to 1.1.4 and it doesn't work .... when i tried to install it give me this message

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: hidden for guests
Post by: medflux on October 06, 2007, 01:19:47 PM
now there is a problem , i upgraded to 1.1.4 and it doesn't work .... when i tried to install it give me this message

QuoteThe package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: hidden for guests
Post by: SeAlVa on October 21, 2007, 05:04:01 AM
Updated!
Title: Re: hidden for guests
Post by: grknzsy on November 21, 2007, 09:27:24 AM
thanks....  ;) :D
Title: Re: hidden for guests
Post by: Aileen on November 28, 2007, 04:54:48 AM
What does this exactly hide. I am looking for its admin panel
Title: Re: hidden for guests
Post by: SeAlVa on December 01, 2007, 02:48:44 PM
I don't understand your question :S or your suggestion.
Title: Re: hidden for guests
Post by: daveb47 on December 07, 2007, 09:36:49 AM
I cant get this mod to work,Seems to have installed ok,Using 1.4 & default template.
I have checked all edits against xml & all are there & correct.
posts are showing in full to guests,Unless there is a setting somewhere in admin that i have missed.
Title: Re: hidden for guests
Post by: SeAlVa on December 16, 2007, 02:55:19 PM
what is your forum url? (to check it)

if you don't want to post it, just PM me ;)
Title: Re: hidden for guests
Post by: Iamlegend on January 04, 2008, 03:57:50 PM
I think I am going to use this  8)
On question though, will the search engines still be able to spider everything?
thanks!
Title: Re: hidden for guests
Post by: PcGuy on January 17, 2008, 07:24:04 PM
how do i ut text inside the red box? it think its kinda wierd to leave it blank :) also how do i change it from logged to hide? ty :)
Title: Re: hidden for guests
Post by: Zoky on January 26, 2008, 06:54:10 PM
File is corrupted after download.
Title: Re: hidden for guests
Post by: 05185736 on January 27, 2008, 09:19:06 AM
Quote from: Zoky on January 26, 2008, 06:54:10 PM
File is corrupted after download.

I have downloaded it multiple times and it will not "download" (upload to the site)
Title: Re: hidden for guests
Post by: Zoky on January 28, 2008, 06:37:56 PM
Quote from: 05185736 on January 27, 2008, 09:19:06 AM
Quote from: Zoky on January 26, 2008, 06:54:10 PM
File is corrupted after download.

I have downloaded it multiple times and it will not "download" (upload to the site)

You can't even unzip it on your hard drive, that's why you can't upload it to your forum. It's because file is corrupted. I hope someone will reupload that file...
Title: Re: hidden for guests
Post by: konyi on January 28, 2008, 07:00:25 PM
yes I got the same :(
The package you tried to upload either is not a valid package or has become corrupted.
Title: Re: hidden for guests
Post by: SeAlVa on February 25, 2008, 02:17:13 PM
fixed
Title: Re: hidden for guests
Post by: Spamiam on March 03, 2008, 07:57:41 PM
Quote from: daveb47 on December 07, 2007, 09:36:49 AM
I cant get this mod to work,Seems to have installed ok,Using 1.4 & default template.
I have checked all edits against xml & all are there & correct.
posts are showing in full to guests,Unless there is a setting somewhere in admin that i have missed.

Same problem here. Please post the solution instead of just asking for board urls. Thanks. ;)
Title: Re: hidden for guests
Post by: bubusek on March 23, 2008, 02:56:11 PM
Hello. I have made polish versions mod "hidden for guests".
Where I can send it in order to it was free-for-all on web site http://custom.simplemachines.org/mods/index.php?mod=756 ?
Title: Re: hidden for guests
Post by: SeAlVa on April 19, 2008, 05:43:03 AM
Quote from: Spamiam on March 03, 2008, 07:57:41 PM
Quote from: daveb47 on December 07, 2007, 09:36:49 AM
I cant get this mod to work,Seems to have installed ok,Using 1.4 & default template.
I have checked all edits against xml & all are there & correct.
posts are showing in full to guests,Unless there is a setting somewhere in admin that i have missed.

Same problem here. Please post the solution instead of just asking for board urls. Thanks. ;)


Please specify your forum url in order to check it by my self.



Quote from: bubusek on March 23, 2008, 02:56:11 PM
Hello. I have made polish versions mod "hidden for guests".
Where I can send it in order to it was free-for-all on web site http://custom.simplemachines.org/mods/index.php?mod=756 ?

To me, by pm (I'm working on it)
Title: Re: hidden for guests
Post by: momsandtots on May 05, 2008, 11:53:25 PM
I tried this and it did not work for me: SMF 1.1.4

Installing this package will perform the following actions:                                 Type Action Description
1. Execute Modification ./Themes/default/Post.template.php                                     Test successful
2. Execute Modification ./Sources/Post.php                                                           Test successful
3. Execute Modification ./Sources/Load.php                                                          Test successful
4. Execute Modification ./Themes/default/languages/Modifications.english.php           Test successful
5. Execute Modification ./Themes/default/languages/Modifications.spanish.php             Skipping file
6. Execute Modification ./Themes/default/languages/Modifications.french.php           Test failed
7. Extract File ./Themes/default/images/bbc/lockguest.gif


does it activate automaticly or is there some where in the admin panel to activate it
Title: Re: hidden for guests
Post by: Apllicmz on May 05, 2008, 11:58:51 PM
What is the version of the smf
she work in smf 114
wait to update to smf 115
Title: Re: hidden for guests
Post by: aant on May 06, 2008, 02:00:22 PM
When U make it work in 1.1.5?
Title: Re: hidden for guests
Post by: Apllicmz on May 06, 2008, 02:24:55 PM
i will make today
Title: Re: hidden for guests
Post by: aant on May 07, 2008, 01:29:10 PM
10x, Can U put download link in here when U winish it?
Title: Re: hidden for guests
Post by: Apllicmz on May 07, 2008, 10:34:08 PM
translate portuguese and brazilian


<file name="$themedir/languages/Modifications.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
$txt['hide_for_guests1'] = 'Alguns parte desta mensagem deve ter sido bloqueado';
$txt['hide_for_guests0'] = 'Alguns parte deste código ter sido bloqueado';
$txt['hide_for_guests2'] = 'Você tem que <a href="./index.php?action=login">Entrar</a> para desbloqueá-lo';
$txt['description_lock_guests'] = 'Escondido parte de sua mensagem para convidados';
]]></add>
</operation>
</file>



<file name="$themedir/languages/Modifications.brazilian.php" error="skip">
<operation>
<search position="after"><![CDATA[
?>]]></search>
<add><![CDATA[
$txt['hide_for_guests1'] = 'Alguns parte desta mensagem deve ter sido bloqueado';
$txt['hide_for_guests0'] = 'Alguns parte deste código ter sido bloqueado';
$txt['hide_for_guests2'] = 'Você tem que <a href="./index.php?action=login">Entrar</a> para desbloqueá-lo';
$txt['description_lock_guests'] = 'Escondido parte de sua mensagem para convidados';
]]></add>
</operation>
</file>


Work for 1.1.5
Title: Re: hidden for guests
Post by: aant on May 08, 2008, 04:50:41 AM
10x m8, it work now
Title: Re: hidden for guests
Post by: momsandtots on May 08, 2008, 08:21:42 PM
I really need this mod to work!!!

Please help anyone?

www.momsandtots.ca/smf
Title: Re: hidden for guests
Post by: Apllicmz on May 09, 2008, 02:47:16 AM
yes
you need update for you themes...
Title: Re: hidden for guests
Post by: maculay on June 08, 2008, 08:47:19 PM
Hi,

i cant't make it work in 1.1.5, is it posible?
Title: Re: hidden for guests
Post by: Rocks-HD on July 10, 2008, 01:04:47 AM
is it possible make to smf 2.0 Beta 3.1 Public?

Because it's the best of the packages for SMF!
Title: Re: hidden for guests
Post by: TaX on September 13, 2008, 05:16:29 AM
HHiii buddy!!!! :D I'm from Argentina like you i speak Spanish :D For that reason i give you my error in Spanish  :)

QuoteAcciones de la Instalación
Acciones de Instalaciones para "hidden for guests":
¡No se definieron las acciones de instalación!
"They are not defined actions for the instalation"

Thanx's VERY much in advance buddy :) O:)

Title: Re: hidden for guests
Post by: bubusek on October 08, 2008, 03:15:51 PM
Can I please for update to 1.1.6 version
Title: Re: hidden for guests
Post by: Apllicmz on October 10, 2008, 11:26:21 PM
download in attach
that mod she work all smf 1.1.x
Title: Re: hidden for guests
Post by: flapjack on January 29, 2009, 10:37:54 AM
Quote from: joomlamz on October 10, 2008, 11:26:21 PM
download in attach
that mod she work all smf 1.1.x

not working in 1.1.7, can you please attach an updated version?
thanks
Title: Re: hidden for guests
Post by: medflux on February 06, 2009, 06:52:13 PM
not working 1.1.8 , when i click apply mod , the page just loads again and mod is not applied .... can you update plz ? really need it
Title: Re: hidden for guests
Post by: cro.senator on February 20, 2009, 08:52:51 PM
pls update for 2.0 rc1... we really need this mod  :)
Title: Re: hidden for guests
Post by: Apllicmz on February 22, 2009, 01:55:30 PM
she work..all ver.smf 1.1.x
Title: Re: hidden for guests
Post by: SeAlVa on March 01, 2009, 11:31:43 AM
I have just started to create the update for 2.0 rc1 ;)

The author
Title: Re: hidden for guests
Post by: Apllicmz on March 01, 2009, 11:43:58 AM
Yes
thank you
i stay to that mod...
when finish tell to translate portuguese and update
Title: Re: hidden for guests
Post by: apadong.net on March 03, 2009, 05:09:38 PM
dear SeAlVa, i want to ask you something:

1. Can I change the tag code from:
[logged]...[/logged]
to another like this or anything else?
[hidden]...[/hidden]

2. Why every time after I edit the post, this code dissappear & make my post doesn't hide anymore?

thanks before ;)


I'm glad to use your mods
Title: Re: hidden for guests
Post by: cro.senator on March 04, 2009, 09:01:43 AM
Quote from: SeAlVa on March 01, 2009, 11:31:43 AM
I have just started to create the update for 2.0 rc1 ;)

The author

ty sooooo much :)
Title: Re: hidden for guests
Post by: apadong.net on March 09, 2009, 04:08:40 PM
Where's TS? I need your help, please..
Title: Re: hidden for guests
Post by: forace on April 12, 2009, 11:51:16 AM
What should i modify to make it Quote function dosen't remove [logged] tag ?

Can it be done ?
Title: Re: hidden for guests
Post by: Mr. Pirate on November 14, 2009, 09:23:49 PM
can you make this compatible with smf 2.0 RC2
Title: Re: hidden for guests
Post by: dio-clau on January 27, 2010, 04:46:17 AM
i'm sorry for bad english, but i'm a stupid italian ;)
please correct me...

i can't install this mod in my smf 1.1.11, so i've modified the files manually reading the instalador.xml file... and it works!


i've also changed three things

1: in the Sources/Load.php i've deleted the table shown in substitution of the text:

Quote
form

$devuelto .= "<center><table style=\"width:90%;height:64px;padding: 10px; text-align: center; margin: 0 1ex 2ex 1ex;border: 2px dashed #cc5566\"><tr><td>".$txt['hide_for_guests1']."<br>".$txt['hide_for_guests2']."</td></tr></table></center>";

to

$devuelto .= "";

2: in the Sources/Load.php i've set it to delete the string if you're a guest (not leaving a blank string)

Quote
from

            case 1: {if($mensaje[$indice] == "["){
                       if(substr($mensaje,$indice+1,8) == "/logged]"){
                          $estado = 0;
                          $indice += 8;
                       }

to

            case 1: {if($mensaje[$indice] == "["){
                       if(substr($mensaje,$indice+1,8) == "/logged]"){
                          $estado = 0;
                          $indice += 14;
                       }

3: last, in the Sources/Post.php i've commented out the lines that censor the post when you edit it leaving the tag [logged]text[/logged] unmodified (so, everytime you edit the post, you don't have to manually insert it)

Quote
from

      censorText($form_message,true);
      censorText($form_message);
      censorText($form_subject);

to

/*      censorText($form_message,true);
      censorText($form_message);
      censorText($form_subject);*/

please note that this modify remembers the censor terms only when you edit the post
Title: Re: hidden for guests
Post by: eng_HK on March 22, 2010, 09:27:04 AM
@dio-clau...

I'm italian too.. non ho mica capito cosa hai fatto... I really didn't understand what changes you made to this mod.
So you can confirm that works with 1.1.11 ?
Title: Re: hidden for guests
Post by: Perspective on January 19, 2011, 08:25:20 PM
Anyone would update this one for SMF 1.1.12 ?
Gives errors on installation.

Or anyone knows something simillar to this one ?
Title: Re: hidden for guests
Post by: Apllicmz on January 19, 2011, 11:03:16 PM
what kind of error
this working in 1.1.12
Title: Re: hidden for guests
Post by: Apllicmz on July 09, 2012, 05:35:50 AM
Any News About Support 2.x
When...
thank you
Title: Re: hidden for guests
Post by: Impsat-1 on April 27, 2014, 02:04:01 AM
Mmm... hey Guys, anyone can update this MOD for SMF 2.0.7?... will be great, pleaseee somebody help!!!!.. or UpDate the MOD, Thanks & Regards... 8).-