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)
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)
sorry, there was a missing capital letter (Modifi...)
It must be fixed right now
Thank You
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..
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
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';
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.
After this Code
$txt['ajax_in_progress']
Thanks again, I will give it a try
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
I figured it out. I read the read me file and the solution was there
now she work
Yes, now it works fine. Thanks again for your help
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.
Hi pvisser. Add exactly the code that joomlamz stated above and it will work for sure, like it did with me
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
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
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']);
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?
All the mods work only with the default theme, so yes, that is the reason why it is not working.
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! :-[
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?
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!
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 ...
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 )
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.
Updated.!
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 ...
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.
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 !!
which version do you have installed? (version of the mod, of course)
to me, last release of this mod works on signatures aswell :S
Sorry... an old version... I'm going to upgrade it... thanks a lot !!
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 ? ....
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
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 ;)
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?
do you mind posting the url?
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
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?
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
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.
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!
PM sent in spanish.
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.
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.
Updated!
thanks.... ;) :D
What does this exactly hide. I am looking for its admin panel
I don't understand your question :S or your suggestion.
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.
what is your forum url? (to check it)
if you don't want to post it, just PM me ;)
I think I am going to use this 8)
On question though, will the search engines still be able to spider everything?
thanks!
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 :)
File is corrupted after download.
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)
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...
yes I got the same :(
The package you tried to upload either is not a valid package or has become corrupted.
fixed
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. ;)
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 ?
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)
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
What is the version of the smf
she work in smf 114
wait to update to smf 115
When U make it work in 1.1.5?
i will make today
10x, Can U put download link in here when U winish it?
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
10x m8, it work now
I really need this mod to work!!!
Please help anyone?
www.momsandtots.ca/smf
yes
you need update for you themes...
Hi,
i cant't make it work in 1.1.5, is it posible?
is it possible make to smf 2.0 Beta 3.1 Public?
Because it's the best of the packages for SMF!
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:)
Can I please for update to 1.1.6 version
download in attach
that mod she work all smf 1.1.x
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
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
pls update for 2.0 rc1... we really need this mod :)
she work..all ver.smf 1.1.x
I have just started to create the update for 2.0 rc1 ;)
The author
Yes
thank you
i stay to that mod...
when finish tell to translate portuguese and update
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
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 :)
Where's TS? I need your help, please..
What should i modify to make it Quote function dosen't remove [logged] tag ?
Can it be done ?
can you make this compatible with smf 2.0 RC2
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:
Quoteform
$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)
Quotefrom
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)
Quotefrom
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
@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 ?
Anyone would update this one for SMF 1.1.12 ?
Gives errors on installation.
Or anyone knows something simillar to this one ?
what kind of error
this working in 1.1.12
Any News About Support 2.x
When...
thank you
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).-