Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Adk-Team on April 11, 2005, 03:41:07 PM

Title: Hide Tag Special (3.0)
Post by: Adk-Team on April 11, 2005, 03:41:07 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=118)
Link on SMF Personal (http://www.smfpersonal.net/downloads.html;sa=view;down=261)
Hide Tag Special 3.0 by
(http://www.allmxcars.com/enik/adk-team.png) (http://www.smfpersonal.net/)
(http://www.smfpersonal.net/famfamfam/user.png) Autores/Authors:
     enik (http://www.smfpersonal.net/profiles/enik-u417.html)
     ^HeRaCLeS^ (http://www.smfpersonal.net/profiles/heracles-u259.html)
     lucas-ruroken (http://www.smfpersonal.net/profiles/lucasruroken-u1.html)


Important!!For Smf 2.0 RC5 and 2.0.1  please use HideTagSpecial30_(Only_for_2.0).zip


(http://www.smfpersonal.net/famfamfam/page_white_flash.png) Características:

     Esta versión es solamente para SMF 2.0 RC5 y 2.0.1 !!

Este mod insertara el tag BBC [hide][/hide].
Con esto se puede ocultar el texto, imagenes, enlaces, casi todo lo que entre en los tags [hide][/hide]

Las opciones de este mod se encuentran en:
Admin -> Hide Tag Special

Copyright 2011 by enik @ visita www.smfpersonal.net/ (http://www.smfpersonal.net/) para soporte oficial.

Si tu quieres ayudarnos,por favor visita nuestra seccion de contribuciones:
http://www.smfpersonal.net/about.html;sa=contribute (http://www.smfpersonal.net/about.html;sa=contribute)



(http://www.smfpersonal.net/famfamfam/page_white_flash.png) Features:

     This version is only for SMF 2.0 RC5 and 2.0.1!!

This mod add the tag BBC [hide][/hide].
This can hide the text, images, links, almost everything between the tags [hide][/hide]

The options of this mod are in:
Admin -> Hide Tag Special

Copyright 2011 by enik @ visit www.smfpersonal.net/ (http://www.smfpersonal.net/) for official support.

If you want help, please visit our contributions section:
http://www.smfpersonal.net/about.html;sa=contribute (http://www.smfpersonal.net/about.html;sa=contribute)



Nueva versión:

  ° Mejor manejo en administración.
  ° Añadida la etiqueta bbc en el area de posteo (Se activa o desactiva desde admin.) en Admin/Mensajes y temas/Codigos BBC/Activar Tags BBC
  ° Añadidos los idiomas Español es y latin.


New version:

   ° Better management in administration.
   ° Add the tag bbc in the area of posting (It turns on or off from admin.) in Admin/post and topics/Bulletin Board Code/Enabled BBC tags
   ° Added languages Spanish es and Latin.


Importante esta version no soporta upgrades.
Ya que es completamente nueva.



Note this version does not support upgrades.
It is completely new.



(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif) Compatibilidad/Compatibility:

     SMF 2.0.1 , 2.0 Gold

(http://www.smfpersonal.net/Themes/default/images/post/topicsolved.gif) Desarrollador/Developer:

     Adk-Team (http://www.smfpersonal.net)




This code add a [hide][/hide] to the code.
All between the [hide] can be seen only after you post in the thread.

The Options for it can be found in:
Admin -> Posts and Topics -> Hide Tag Special
Title: Re: Hide Tag Special
Post by: renchler on April 25, 2005, 08:45:39 AM
haven't tested it yet but wanted to say this feature is requested on my forum, so much appreciated.
Title: Re: Hide Tag Special
Post by: nameless on April 26, 2005, 03:43:56 AM
Looks like this mod is causing an error when using SSI

Notice: Undefined index: hide_hiddentext in /home/domain/public_html/nameless/forum/Sources/Subs.php on line 991

Notice: Undefined index: hide_hiddentext in /home/domain/public_html/nameless/forum/Sources/Subs.php on line 1004

My home page is all tweaked now. I uninstalled the mod and I can't get rid of the error messages. :(
Title: Re: Hide Tag Special
Post by: ディン1031 on April 26, 2005, 06:44:35 AM
Quote from: nameless on April 26, 2005, 03:43:56 AM
Looks like this mod is causing an error when using SSI

Notice: Undefined index: hide_hiddentext in /home/domain/public_html/nameless/forum/Sources/Subs.php on line 991

Notice: Undefined index: hide_hiddentext in /home/domain/public_html/nameless/forum/Sources/Subs.php on line 1004

My home page is all tweaked now. I uninstalled the mod and I can't get rid of the error messages. :(

hmmm you deinstalled it and this error coming up?
Or only after you installed it?

Are you use the Faster Parse Code? (Because i don't tested it with this).

Hmmm ssi.php i think it should work there, but i must test it ;)... tested it and it work... because it load the subs.php and is this file loaded the script should work...



After your installed it:
This error cames only if the language file for you language is not updated.


<edit file>
$languagedir/index."YOUR LANGUAGE".php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_hiddentext'] = 'Hmmm there is a secret in this post :D';
</add before>




After deinstall...:
Are your sure you have no errors after deinstalling?

Title: Re: Hide Tag Special
Post by: nameless on April 26, 2005, 11:26:01 AM
When I installed it I got those errors. When I uninstalled it they still showed up because the code was still in Subs.php. I had to manually remove it.

I do not have Faster Parse Code installed. I only have the shoutmod installed.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 26, 2005, 03:47:48 PM
Quote from: nameless on April 26, 2005, 11:26:01 AM
When I installed it I got those errors. When I uninstalled it they still showed up because the code was still in Subs.php. I had to manually remove it.

I do not have Faster Parse Code installed. I only have the shoutmod installed.
Hmmm... i try it again deinstall, install, deinstall, install... i never geht a error...

What kind of errors appers after you install it... it's a little misterios for me...
Title: Re: Hide Tag Special
Post by: nameless on April 26, 2005, 05:34:49 PM
Those are the exact errors I get. It says it right above the SSI information .
Title: Re: Hide Tag Special
Post by: ディン1031 on April 27, 2005, 06:34:50 AM
Quote from: nameless on April 26, 2005, 05:34:49 PM
Those are the exact errors I get. It says it right above the SSI information .
Somehow i understand it know :). (My brain is standing a little bit away from me *sneakaway*)

Hmm this error appers only, if someone used a other language than english or german...

Hmmm it can also be... that i used i think i use the wrong language file for this... a language file that's not loaded in the ssi... i try to find the right one (that one who loads everywhere also in the ssi pages...).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Rianna on April 27, 2005, 07:14:56 PM
I love this mod, but can you make it work with the Faster Parsecode?
Title: Re: Hide Tag Special
Post by: ディン1031 on April 28, 2005, 12:06:12 PM
Quote from: Rianna on April 27, 2005, 07:14:56 PM
I love this mod, but can you make it work with the Faster Parsecode?
Hmmm i must update the old version so i think i try it :).
(bwuhaha i wrtite you a pm when i finshed because i need a test person for this *runsandhide*)
Title: Re: Hide Tag Special
Post by: ディン1031 on April 28, 2005, 06:14:09 PM
Version: 1.10
Changes
- Fix a error in the SSI include (i don't know why this happend but know there should be never a porblem again :D)
- The alternativ text for the hide can now be changed in the Forum Settings.
- The Admin can know allowed to view every hide without a post
- And a very very small chance to view the hiden text without post (very very difficullt to find but know there is no chance to view it without post.)



Deinstall the old Version before you install the new Version.
Title: Re: Hide Tag Special
Post by: nameless on April 29, 2005, 03:40:19 PM
I installed Version: FP1.11 had to add the following manually because I couldn't find it

<search for>
array('check', 'descr_allow'),
</search for>

<add before>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add before>


I tested this but when I reply back it just shows the hidden text. I can't see the information I entered in [hide][/hide]
Title: Re: Hide Tag Special
Post by: whatever on April 29, 2005, 05:34:28 PM
I cant find this:

Quote
array('check', 'descr_allow')

hmph
Title: Re: Hide Tag Special
Post by: ディン1031 on April 30, 2005, 05:53:54 AM
Hmmm i... so i must install the faster parsment on a test instalation...
i remove it from the dl list...

Quote from: nameless on April 29, 2005, 03:40:19 PM
I installed Version: FP1.11 had to add the following manually because I couldn't find it

<search for>
array('check', 'descr_allow'),
</search for>

<add before>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add before>


I tested this but when I reply back it just shows the hidden text. I can't see the information I entered in [hide][/hide]
Sorry for using the wrong line some how i came one line below the line i want to use...

Found the error... never thought that there a global is missing...

In the Subs.php

<search for>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt;
</search for>

<replace>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt, $context;
</replace>


I think now it should work :).




Quote from: whatever on April 29, 2005, 05:34:28 PM
I cant find this:
Quote
array('check', 'descr_allow')

This one should work...

<edit file>
$sourcedir/ModSettings.php
</edit file>

<search for>
array('check', 'enableBBC'),
</search for>

<add after>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add after>


Bye and Thx for the help...
Title: Re: Hide Tag Special
Post by: nameless on April 30, 2005, 01:50:29 PM
Works great now :) THANKS!
Title: Re: Hide Tag Special
Post by: Rianna on April 30, 2005, 11:08:05 PM
It still doesn't work with Faster Parsecode... =(
The ModSettings.php & Subs.php
Title: Re: Hide Tag Special
Post by: ディン1031 on May 01, 2005, 04:46:53 AM
Quote from: Rianna on April 30, 2005, 11:08:05 PM
It still doesn't work with Faster Parsecode... =(
The ModSettings.php & Subs.php
I make a new version 1.11b i think than it should work :).




Thx namless for the information =)



Version FP1.11b
FP = Faster Parsecode (http://mods.simplemachines.org/index.php?mod=39)
Sould work know.
This Version is only for the faster parsecode and do not work with the normal install!
(Deinstall FP1.11 (if installed) and install than FP1.11b).
Title: Re: Hide Tag Special
Post by: keisko on May 05, 2005, 04:28:05 AM
Install Actions for archive HideTagModFP111b11.tar.gz:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification .\Sources/ModSettings.php Failure
2. Execute Modification .\Sources/Display.php Success
3. Execute Modification .\Sources/Post.php Success
4. Execute Modification .\Sources/Printpage.php Success
5. Execute Modification .\Sources/Subs.php Failure
6. Execute Modification .\Themes\default/languages/ModSettings.english.php Success
7. Execute Modification .\Themes\default/languages/ModSettings.german.php File not found

any idea??

and How do I manually uninstall hide hack 1.0 ?? It's saying 'subs.php = failure' When trying to unstall..

best regards.
Title: Re: Hide Tag Special
Post by: ディン1031 on May 05, 2005, 10:10:49 AM
Quote from: keisko on May 05, 2005, 04:28:05 AM
Install Actions for archive HideTagModFP111b11.tar.gz:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification .\Sources/ModSettings.php Failure
2. Execute Modification .\Sources/Display.php Success
3. Execute Modification .\Sources/Post.php Success
4. Execute Modification .\Sources/Printpage.php Success
5. Execute Modification .\Sources/Subs.php Failure
6. Execute Modification .\Themes\default/languages/ModSettings.english.php Success
7. Execute Modification .\Themes\default/languages/ModSettings.german.php File not found

any idea??

and How do I manually uninstall hide hack 1.0 ?? It's saying 'subs.php = failure' When trying to unstall..

best regards.

First you install the Version with the mod for the fast parsment... so if you not install the fast parsment mod it would find the right informations in the subs php...

the subs.php uninstall for version 1.0.

Search this

// The HideTag :)
if (isset($context['user_post_avaible'])) {
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $txt['hide_hiddentext'];
}
else {
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
    $codetocache[] = $txt['hide_hiddentext'];
    }

and remove it ;).

An Please be sure that you install the right hide tag for your istall...
Title: Re: Hide Tag Special
Post by: keisko on May 05, 2005, 07:50:52 PM
Quote from: din1031 on May 05, 2005, 10:10:49 AM
Quote from: keisko on May 05, 2005, 04:28:05 AM
Install Actions for archive HideTagModFP111b11.tar.gz:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification .\Sources/ModSettings.php Failure
2. Execute Modification .\Sources/Display.php Success
3. Execute Modification .\Sources/Post.php Success
4. Execute Modification .\Sources/Printpage.php Success
5. Execute Modification .\Sources/Subs.php Failure
6. Execute Modification .\Themes\default/languages/ModSettings.english.php Success
7. Execute Modification .\Themes\default/languages/ModSettings.german.php File not found

any idea??

and How do I manually uninstall hide hack 1.0 ?? It's saying 'subs.php = failure' When trying to unstall..

best regards.

First you install the Version with the mod for the fast parsment... so if you not install the fast parsment mod it would find the right informations in the subs php...

the subs.php uninstall for version 1.0.

Search this

// The HideTag :)
if (isset($context['user_post_avaible'])) {
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $txt['hide_hiddentext'];
}
else {
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
    $codetocache[] = $txt['hide_hiddentext'];
    }

and remove it ;).

An Please be sure that you install the right hide tag for your istall...


I can't see that lines in subs.php..
and still that mod not works..
finally, thank yours help..
Title: Re: Hide Tag Special
Post by: ディン1031 on May 08, 2005, 06:01:45 AM
Version 1.12
I've made a mistake in the search for the modsettings.php i put a blank to much in the search variable.

Version FP1.12
FP = Faster Parsecode (http://mods.simplemachines.org/index.php?mod=39)
The Version FP1.12 is only for user who installed the Faster Parsecode (http://mods.simplemachines.org/index.php?mod=39) mod. Don't use it for normal install.

If you install 1.11a or FP1.11b successfull you don't need to update.



Thanks to keisko who found this mistake...
Title: Re: Hide Tag Special
Post by: pilsentico on May 31, 2005, 01:58:45 PM
In Edit features and options og hide mod what can i do to change the text for user without Post in the thread for an image i try [img] but don;t work???
Thanks!!   :D
Title: Re: Hide Tag Special
Post by: ディン1031 on June 02, 2005, 06:25:51 AM
Quote from: pilsentico on May 31, 2005, 01:58:45 PM
In Edit features and options og hide mod what can i do to change the text for user without Post in the thread for an image i try [img] but don;t work???
Thanks!!   :D

bbc don't work there you can only use html for this somthing like <img src="linktopic.gig" />
Title: Re: Hide Tag Special
Post by: ディン1031 on July 01, 2005, 03:27:54 AM
I made a special Version for the Faster Parscode made by Sheepy -> http://www.anetcity.com/bbs/index.php?topic=999.0

You find it attached to this Post, normaly it should work in the older Versions to.

(It's currently untested, because i've no installed Version of the Faster Parsment Code!, so use is on you own risk ;D)

Gruß
DIN1031
Title: Re: Hide Tag Special
Post by: azuregenesis on July 02, 2005, 12:48:53 AM
oh, anguz's spoiler tag also works with 1.0.5 due to sheepy's faster parsecode mod upgrade!

i uploaded to 1.0.5 version of the spoiler tag here:
http://www.simplemachines.org/community/index.php?topic=19831.msg295362#msg295362
Title: Re: Hide Tag Special
Post by: jetli68 on July 04, 2005, 11:02:10 AM
hi a newbie to the smf dortware but got  my forum installed and running i have installed the hide mod but when i got to  do a post i the hide button are not there anybody know what i am doing wrong?

tia for any help

Title: Re: Hide Tag Special
Post by: ディン1031 on July 05, 2005, 02:27:49 PM
Quote from: jetli68 on July 04, 2005, 11:02:10 AM
hi a newbie to the smf dortware but got  my forum installed and running i have installed the hide mod but when i got to  do a post i the hide button are not there anybody know what i am doing wrong?

tia for any help


There ist no hide button, it adds only the [hide][/hide] bbctag :).

Gruß
DIN1031
Title: Re: Hide Tag Special
Post by: EkSeS on July 07, 2005, 08:29:16 PM
Does it works with SMF 1.1 Beta 3 Public. version too ? someone tested ?
Title: Re: Hide Tag Special
Post by: diane_tt on July 08, 2005, 01:42:49 PM
wow this is exactly the mod i'm looking for!!!  :D now this is the first time i'm using smf and so far i like it very much. i'm not good with layouts or anything yet but i have a question for you. since i haven't downloaded any version which one should i download? thank you very much for this mod and all your help. i look forward to hearing from you take care!
Title: Re: Hide Tag Special
Post by: Charge on July 08, 2005, 09:28:25 PM
1. Execute Modification ./Sources/ModSettings.php Success
2. Execute Modification ./Sources/Display.php Success
3. Execute Modification ./Sources/Post.php Success
4. Execute Modification ./Sources/Printpage.php Success
5. Execute Modification ./Sources/Subs.php Failure
6. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
7. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found


hi guys, i got this error what can i do ??
Title: Re: Hide Tag Special
Post by: ディン1031 on July 10, 2005, 02:59:51 PM
Quote from: EkSeS on July 07, 2005, 08:29:16 PM
Does it works with SMF 1.1 Beta 3 Public. version too ? someone tested ?
I think it's not working in the 1.1. betas, because the code is complete overworked in the subs.php...

Next week i try to make a version for the 1.1 beta's (but currently i work on to much projects).

Quote from: Charge on July 08, 2005, 09:28:25 PM
1. Execute Modification ./Sources/ModSettings.php Success
2. Execute Modification ./Sources/Display.php Success
3. Execute Modification ./Sources/Post.php Success
4. Execute Modification ./Sources/Printpage.php Success
5. Execute Modification ./Sources/Subs.php Failure
6. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
7. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found


hi guys, i got this error what can i do ??
Did you install it on 1.1. beta 3?
Did you've installed the farster parsment code?
If yes which version do you installed?
Title: Re: Hide Tag Special
Post by: Charge on July 11, 2005, 08:44:38 AM
i install it on 1.0.5, yes i'm using farster parsment code version 1.09
Title: Re: Hide Tag Special
Post by: Charge on July 13, 2005, 05:11:29 AM
anyone to help ???
Title: Re: Hide Tag Special
Post by: ディン1031 on July 13, 2005, 06:47:00 AM
Quote from: Charge on July 13, 2005, 05:11:29 AM
anyone to help ???
http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173

Did you install this version that is attached to the post?

This is a special made verison for the faster parscode.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: blackbone on July 13, 2005, 02:44:35 PM
hi,

I got a similar problem. You can fix it by using this one: http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173

but in the HideTagModFP112a.mod you have to replace this:
<id>
din1031:HideTagFP
</id>

<version>
1.12aFP
</version>
<edit file>
$sourcedir/ModSettings.php
</edit file>

<search for>
array('check', 'enableBBC'),
</search for>

<add after>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add after>

with this one
<id>
din1031:HideTag
</id>

<version>
1.12
</version>
<edit file>
$sourcedir/ModSettings.php
</edit file>

<search for>
array('check', 'enableBBC'),
</search for>

<add after>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add after>


or you will get an error during the installation
------

Will there ever be the option for a thx-button? Because this would prevent spamming. The Threads got flooded with "thx" or "let me see" - You know^^
But great Job at all - your mod works perfectly

greetings blackbone
Title: Re: Hide Tag Special
Post by: Charge on July 13, 2005, 10:07:29 PM
i tries it but still the same error.. and i just install it but it couldn't works still oh man
Title: Re: Hide Tag Special
Post by: Charge on July 13, 2005, 10:13:21 PM
Quote from: din1031 on July 13, 2005, 06:47:00 AM
Quote from: Charge on July 13, 2005, 05:11:29 AM
anyone to help ???
http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173

Did you install this version that is attached to the post?

This is a special made verison for the faster parscode.

Bye
DIN1031

yes, i'm using that version to install it..

Title: Re: Hide Tag Special
Post by: blackbone on July 14, 2005, 12:55:24 PM
hm.. do you have installed other mods? maybe one of them makes changes in the subs.php
Title: Re: Hide Tag Special
Post by: Charge on July 15, 2005, 12:42:31 AM
hmm, i install the shoutbox mod that all.. plus faster parscode.. no more other MOD
Title: Re: Hide Tag Special
Post by: Smoothie on July 17, 2005, 10:45:53 AM
I can't wait to see a version compatible with SMF 1.1 beta 3 :D

Keep up the good work
Title: Re: Hide Tag Special
Post by: ディン1031 on July 17, 2005, 05:06:38 PM
Quote from: Charge on July 15, 2005, 12:42:31 AM
hmm, i install the shoutbox mod that all.. plus faster parscode.. no more other MOD
hmmm thats strange... hmmmm...

<replace>

<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt;
</search for>

<replace>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt, $context;
</replace>

<search for>
}
}

// HTML.
if($html){
</search for>

<add before>
// The HideTag :)
if(isset($add['[hide]'])){
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$arr1[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $arr2[] = '<b>$1</b>';
        else
    $arr2[] = $modSettings['hide_hiddentext'];
    }
else
    $arr2[] = $modSettings['hide_hiddentext'];
}
</add before>

I used a good compatible string... for the search... so i thing it should work...

(i've installed 27 mods + some costom hacks made by me).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ThaiAnime on July 20, 2005, 12:07:41 PM
i want to support 1.1 bata3 very much.
Title: Re: Hide Tag Special
Post by: blackbone on July 25, 2005, 07:47:36 AM
Will there ever be the option for a thx-button? Because this would prevent spamming. The Threads got flooded with "thx" or "let me see" - You know^^
But great Job at all - your mod works perfectly

greetings blackbone
Title: Re: Hide Tag Special
Post by: hel8itch on August 02, 2005, 07:15:21 PM
ok iv installed this i downloaded the HideTagMod112 when i install it i get the same error iv seen posted on here with subs.php.
plus when i install it it says its version 1.1
i havent got faster parsecode installed.
can anyone help me here

forum version 1.0.5
Title: Re: Hide Tag Special
Post by: Millermo on August 03, 2005, 05:03:01 AM
Help please for 1.1. beta 3.

Title: Re: Hide Tag Special
Post by: ディン1031 on August 03, 2005, 06:38:44 AM
Quote from: hel8itch on August 02, 2005, 07:15:21 PM
ok iv installed this i downloaded the HideTagMod112 when i install it i get the same error iv seen posted on here with subs.php.
plus when i install it it says its version 1.1
i havent got faster parsecode installed.
can anyone help me here

forum version 1.0.5
First for the farster parsecode you need to install this version attached to this post -> http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173 because the faster parscode is complet diffrent to the normal code.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: hel8itch on August 03, 2005, 10:12:01 AM
i havent got the faster parsecode installed??
Title: Re: Hide Tag Special
Post by: 1MileCrash on August 03, 2005, 10:44:58 AM
this is exactly like the Hide Hack at vBstyles.
Title: Re: Hide Tag Special
Post by: ディン1031 on August 26, 2005, 01:21:18 AM
Quote from: hel8itch on August 03, 2005, 10:12:01 AM
i havent got the faster parsecode installed??
Look at the Before the post you made... there is a link where the post is with the attachment for faster pascode hide tag for version 1.0.5...

Gruß
DIN1031
Title: Re: Hide Tag Special
Post by: carola0102 on September 17, 2005, 03:53:10 AM
I'm using forum smf 1.05
And when I install this mod with package manager
It says the following

Type Action Description
1. Execute Modification ./Sources/ModSettings.php Success
2. Execute Modification ./Sources/Display.php Success
3. Execute Modification ./Sources/Post.php Success
4. Execute Modification ./Sources/Printpage.php Success
5. Execute Modification ./Sources/Subs.php Failure
6. Execute Modification ./Themes/default/languages/ModSettings.english.php Success
7. Execute Modification ./Themes/default/languages/ModSettings.german.php Success

I did ignore this and I did proceed..

Then it says:

The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

But the hide function isnt working on the message board :( could anyone help me :'(
Title: Re: Hide Tag Special
Post by: Escobar on September 20, 2005, 07:12:32 AM
Hello, I got the same message:
Quote5. Execute Modification ./Sources/Subs.php Failure

It is asking me to click "proceed", but if this will cause problems, then I will not.

What is happening?

-I have SMF 1.05
-I installed via Package Manager
-I have 1 mod installed: The ImageShack Mod

I don't know if I have "Faster Parse Code".
Does it come with SMF?
Because I did not install it manually.
Title: Re: Hide Tag Special
Post by: carola0102 on September 23, 2005, 05:32:18 AM
Yeah could anyone help  :-[
Title: Re: Hide Tag Special
Post by: mforum on September 23, 2005, 05:50:21 AM
This mod just doesnt work , i have SMF 1.0.5 installed , i ve put faster parsecode 1.0.9 , then hide tag special 1.12 ,, the same /sources/subs.php failure ,, i have all the problems listed above , it just doesnt work as it is ,, Hide Tag is a thing i need most in my forum  ::)   Can anyone help on that please ?  :'(
Title: Re: Hide Tag Special
Post by: Escobar on September 23, 2005, 06:40:14 AM
QuoteThis mod just doesnt work , i have SMF 1.0.5 installed , i ve put faster parsecode 1.0.9 , then hide tag special 1.12 ,, the same /sources/subs.php failure ,, i have all the problems listed above , it just doesnt work as it is ,, Hide Tag is a thing i need most in my forum  Roll Eyes   Can anyone help on that please ?  Cry

Sorry for not updating.
I found a solution that will allow me to use this mod.

First, install "Faster Parse Code".

Then, use the mod the author created (for faster-parse-code users):
http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173
(Its in the attachment if you follow the link correctly)

This is what I did, and it works very well.
I have SMF 1.05 by the way.

I'm waiting till the SMF people add buttons for this.
Title: Re: Hide Tag Special
Post by: carola0102 on September 24, 2005, 02:56:54 AM
Hey thank you somuch!!! its working perfectly! :D
Title: Re: Hide Tag Special
Post by: L.G.S on September 24, 2005, 05:42:34 AM
Can we get this for SMF 1.1?
Title: Re: Hide Tag Special
Post by: anniewayz on September 24, 2005, 07:45:24 PM
Yes I agree, I have SMF 1.1 too & really need this mod..please?
Title: Re: Hide Tag Special
Post by: floating on September 29, 2005, 04:27:39 AM
I have installed this mod in my smf and i have also Parse COde installed but nothing happend. I try to use the comand Hide....Nothing....what should i do?
Title: Re: Hide Tag Special
Post by: ディン1031 on September 29, 2005, 06:59:19 AM
Quote from: floating on September 29, 2005, 04:27:39 AM
I have installed this mod in my smf and i have also Parse COde installed but nothing happend. I try to use the comand Hide....Nothing....what should i do?
without any errors?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Escobar on September 29, 2005, 01:20:36 PM
QuoteI have installed this mod in my smf and i have also Parse COde installed but nothing happend. I try to use the comand Hide....Nothing....what should i do?

You have to download the SPECIAL mod the author made for Faster-Parse-Code users.

Not the one listed in the mods section.

Find this special mod here:
http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173
It's in the attachment under the authors post.
Title: Re: Hide Tag Special
Post by: xtremecruiser on October 24, 2005, 12:37:01 PM
I had it installed on my test 1.1 site and it worked fine without the FP ( many are unsure of using the FP on 1.1 ), the details of what to use are kind confusing ;)

I have a question, I know with IPB you can have it where it will only unhide if you reply in the thread of click a "thank you or other button" that releases the hidden message icon.
Is that mod possible with this.  Making them post a reply to see it is just evil but this way non members can not see what is hidden 8)
Title: Re: Hide Tag Special
Post by: RIXTHEMIX on October 25, 2005, 05:40:28 PM
is there a hide mod for version SMF 1.1 RC1 ? if so what other mods do i need to make it work ?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 26, 2005, 04:34:56 PM
Version 1.13
So final the HideTag Mod for Version 1.1RC1

This Version work only in Version 1.1RC1!

Alle BBCTags between the [hide][/hide] work now als the alternativ Text can be now in bbc :) (i like the new parser) :x.

If someone find some ways to see the things between the hide without a post say it i will try to remove this :)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: sxwk12 on October 26, 2005, 05:00:16 PM
Do I need to install the faster parscode for this new version 1.13?


Also before waiting for your answer for the faster parscode, I tried to install and got this error message:

!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
Installations actions for "Hide Tag":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Test successful
2. Execute Modification ./Sources/Display.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Subs.php Test successful
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
6. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found
 

Looks like it's just the german.php file not found. Is it really necessary?
sxwk12
Title: Re: Hide Tag Special
Post by: AzaToth on October 26, 2005, 05:02:56 PM
Quote from: sxwk12 on October 26, 2005, 05:00:16 PM
Do I need to install the faster parscode for this new version 1.13?

sxwk12
There is no faster parsecode for 1.1 and it will probably (hopefully) never be any one.
Title: Re: Hide Tag Special
Post by: edi67 on October 27, 2005, 03:20:55 AM
Quote from: din1031 on October 26, 2005, 04:34:56 PM
Version 1.13
So final the HideTag Mod for Version 1.1RC1

This Version work only in Version 1.1RC1!

Alle BBCTags between the [hide][/hide] work now als the alternativ Text can be now in bbc :) (i like the new parser) :x.

If someone find some ways to see the things between the hide without a post say it i will try to remove this :)

Bye
DIN1031
MOD work very good but i can permit to show some little bug

is possible insert, different Text to wrote in hide TAG if user is guest and if user is register member, and also i have different language in forum and i need to have different text, with your mod i can have only one language that other users not understand.

so some other bugs look pic

(http://img481.imageshack.us/img481/9496/sa7ta.jpg)

all words after: prova hide are under TAG HIDE so

1 line in bold work good
2 line: words inside TAG Bold and inside TAG CODE not work good cause show the TAG [ b] inside CODE tag
3 line: work good words in bold inside TAG QUOTE and show corretly
4 line: words coloured in blu work good but also another bug is that at the end of TAG HIDE i see the TAG [/ hide]

some solution for correct this too ?

1 line there is
Title: Re: Hide Tag Special
Post by: ディン1031 on October 27, 2005, 03:35:02 AM
Quote from: sxwk12 on October 26, 2005, 05:00:16 PM
Do I need to install the faster parscode for this new version 1.13?


Also before waiting for your answer for the faster parscode, I tried to install and got this error message:

!!Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
Installations actions for "Hide Tag":
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/ModSettings.php Test successful
2. Execute Modification ./Sources/Display.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Subs.php Test successful
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
6. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found
 

Looks like it's just the german.php file not found. Is it really necessary?
sxwk12
I can not made for each Language a own version so it's not necessary XD.




Quote from: AzaToth on October 26, 2005, 05:02:56 PM
Quote from: sxwk12 on October 26, 2005, 05:00:16 PM
Do I need to install the faster parscode for this new version 1.13?

sxwk12
There is no faster parsecode for 1.1 and it will probably (hopefully) never be any one.

I hope it's never one XD, because the new parse is much more faster than the old one :).




Quote from: edi67 on October 27, 2005, 03:20:55 AM
is possible insert have different Text to wrote in hide TAG if user is guest and if user is register member, and also i have different language in forum and i need to have different text, with your mod i can have only one language that other users not understand.

Hmmm... i think about it... it's not easy to do such a thing... i'am happy that i work in the normal way now.

I think i can made a $txt['hidden_text'] in the index.english.php hmmm i write it together i need some time for this. ;)
Title: Re: Hide Tag Special
Post by: ディン1031 on October 27, 2005, 03:59:12 AM
Quote
all words after: prova hide are under TAG HIDE so

1 line in bold work good
2 line: words inside TAG Bold and inside TAG CODE not work good cause show the TAG [ b] inside CODE tag
3 line: work good words in bold inside TAG QUOTE and show corretly
4 line: words coloured in blu work good but also another bug is that at the end of TAG HIDE i see the TAG [/ hide]

some solution for correct this too ?

1 line there is
Point 2 -> This is normal the code are not parsed! beacause it should show the normal code!
[i][b]Example[/b][i]

Point 4 -> This is strange an i must test it, i think this is a error in the ppc parser because this should normaly work :). Please write in the code tag exactly what you write than i can test it.




I Attached to this Post a MUI Version.
The Version Work now with the $txt['hide_hiddentext'] in the index.english.php. (or other languages)
I can't test it! Use it on your own risk :).
(Because i'm at work an can't test this version, but i think it should work, the only error i know that could happend is in the ssi_includes but i can not test ist.)

Bye
DIN1031



Title: Re: Hide Tag Special
Post by: AzaToth on October 27, 2005, 04:05:50 AM
Quote from: din1031 on October 27, 2005, 03:35:02 AM
Quote from: sxwk12 on October 26, 2005, 05:00:16 PM
5. Execute Modification ./Themes/default/languages/ModSettings.english.php Test successful
6. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found
 

Looks like it's just the german.php file not found. Is it really necessary?
sxwk12
I can not made for each Language a own version so it's not necessary XD.
You can get rid of that error message by adding some arguments in the installation file, first, set errors="skip" on the files that are affected, also you could add errors="ignore" on all search, for example:

<file name="$boarddir/Themes/default/languages/index.german.php" error="skip">
<operation>
<search position="before" error="ignore"><![CDATA[
$txt['split_reset_selection'] = 'Auswahl l&ouml;schen';
]]></search>
<add><![CDATA[
$txt['spoiler_tag_text'] = 'R&auml;uber';
$txt['spoiler_tag_click_info'] = '(Klicken zum Darstellen und Verstecken)';
$txt['spoiler_tag_hover_info'] = '(Schwebeflug zum Darstellen)';
]]></add>
</operation>
</file>


the error="skip" is for if the file isn't available, then skip, the error="ignore" is if you have installed this package, and later installed the language files, and then tries to uninstall it.
Look at my spoiler tag mod for more information
Title: Re: Hide Tag Special
Post by: edi67 on October 27, 2005, 04:38:38 AM
Quote from: din1031 on October 27, 2005, 03:59:12 AM
Quote
all words after: prova hide are under TAG HIDE so

1 line in bold work good
2 line: words inside TAG Bold and inside TAG CODE not work good cause show the TAG [ b] inside CODE tag
3 line: work good words in bold inside TAG QUOTE and show corretly
4 line: words coloured in blu work good but also another bug is that at the end of TAG HIDE i see the TAG [/ hide]

some solution for correct this too ?

1 line there is
Point 2 -> This is normal the code are not parsed! beacause it should show the normal code!
[i][b]Example[/b][i]

Point 4 -> This is strange an i must test it, i think this is a error in the ppc parser because this should normaly work :). Please write in the code tag exactly what you write than i can test it.




I Attached to this Post a MUI Version.
The Version Work now with the $txt['hide_hiddentext'] in the index.english.php. (or other languages)
I can't test it! Use it on your own risk :).
(Because i'm at work an can't test this version, but i think it should work, the only error i know that could happend is in the ssi_includes but i can not test ist.)

Bye
DIN1031





work perfectly for multilanguage user good

you can divide, the message for guest and the message for user?

example if one GUEST see one topic with hide tag, cannot see the text " you must reply to the topic for see the content" this is not right because guest must before REGISTER to forum for see this, so is more better that guest see message" you must REGISTER for see the content of this topic"

and also USER of forum must see" you must reply to the topic for see the content" this is correct

i hope you understood my words
thx
Title: Re: Hide Tag Special
Post by: edi67 on October 27, 2005, 04:51:06 AM
another one little bug

is i go to DISPLAY topic with HIDE TAG look what i see:

Quote(http://img480.imageshack.us/img480/740/q23mg.jpg)

a big part DARK GREY under post with hide tag, and if i show RECENT POST i see this:

(http://img480.imageshack.us/img480/410/re0sr.jpg)
the bar with 4 buttons in topic hidden are more little than the others under normal topic.

sorry for my continuos request but your mod is good and i will love to see it working good
Title: Re: Hide Tag Special
Post by: edi67 on October 27, 2005, 04:55:11 AM
Quote from: din1031 on October 27, 2005, 03:59:12 AM


Point 4 -> This is strange an i must test it, i think this is a error in the ppc parser because this should normaly work :). Please write in the code tag exactly what you write than i can test it.


this i wrote in TAG HIDE:
prova hide

[hide ][ b]il codice seguente[/ b]

[ code][ b]il codice seguente[/b][/ code]

[ quote][ b]il codice seguente[/b][/ quote]

[ color=blue][ b]il codice seguente[/b][/ color][/ hide][/ code]


i added some blank space for you can  see correctly it
Title: Re: Hide Tag Special
Post by: AzaToth on October 27, 2005, 05:10:04 AM
Quote from: edi67 on October 27, 2005, 04:55:11 AM
i added some blank space for you can  see correctly it
Usage of  the [nobbc][code]void main();[/code][/nobbc] tag is good!
Title: Re: Hide Tag Special
Post by: ディン1031 on October 27, 2005, 09:19:22 AM
Quote from: edi67 on October 27, 2005, 04:55:11 AM
Quote from: din1031 on October 27, 2005, 03:59:12 AM


Point 4 -> This is strange an i must test it, i think this is a error in the ppc parser because this should normaly work :). Please write in the code tag exactly what you write than i can test it.


this i wrote in TAG HIDE:
prova hide

[hide ][ b]il codice seguente[/ b]

[ code][ b]il codice seguente[/b][/ code]

[ quote][ b]il codice seguente[/b][/ quote]

[ color=blue][ b]il codice seguente[/b][/ color][/ hide][/ code]


i added some blank space for you can  see correctly it

This is difficult... you must know all between code is not parsed so the [/hide] is not parsed. So if it not parsed it never finish... if it not finish it can never be hide...

The other thing can be maded, but need a lot of changes in the code...

Easiest way is to change the text is to do this in the text files XD with php but i'm not sure if this work.

change

$txt['hide_hiddentext'] = 'Some secrets are here!';


to

global $context;
$txt['hide_hiddentext'] = $context['user']['is_guest'] ? 'Secret Register Please!' : 'Please post to see this';




Thx AzaToth but i use the old .mod system... because i've never sucefully made with the new version of my mod file.
[/hr]

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: L.G.S on October 27, 2005, 09:58:29 AM
Any chance of knowing the code to let images and links work in it?
Title: Re: Hide Tag Special
Post by: edi67 on October 27, 2005, 10:13:57 AM
Quote from: din1031 on October 27, 2005, 09:19:22 AM

This is difficult... you must know all between code is not parsed so the [/hide] is not parsed. So if it not parsed it never finish... if it not finish it can never be hide...

The other thing can be maded, but need a lot of changes in the code...

Easiest way is to change the text is to do this in the text files XD with php but i'm not sure if this work.

change

$txt['hide_hiddentext'] = 'Some secrets are here!';


to

global $context;
$txt['hide_hiddentext'] = $context['user']['is_guest'] ? 'Secret Register Please!' : 'Please post to see this';


[Bye
DIN1031

sorry i dont understand where i must insert this?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 27, 2005, 10:21:24 AM
Quote from: edi67 on October 27, 2005, 10:13:57 AM
Quote from: din1031 on October 27, 2005, 09:19:22 AM

This is difficult... you must know all between code is not parsed so the [/hide] is not parsed. So if it not parsed it never finish... if it not finish it can never be hide...

The other thing can be maded, but need a lot of changes in the code...

Easiest way is to change the text is to do this in the text files XD with php but i'm not sure if this work.

change

$txt['hide_hiddentext'] = 'Some secrets are here!';


to

global $context;
$txt['hide_hiddentext'] = $context['user']['is_guest'] ? 'Secret Register Please!' : 'Please post to see this';


[Bye
DIN1031

sorry i dont understand where i must insert this?
Lol ok i forgot the file XD
index.english.php in the language dir :) (or other languagefiles).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on October 27, 2005, 12:23:06 PM
Execute Modification     .\Sources/Subs.php     Test failed

1.1RC1
Title: Re: Hide Tag Special
Post by: ディン1031 on October 27, 2005, 12:32:36 PM
Quote from: ArkServer on October 27, 2005, 12:23:06 PM
Execute Modification     .\Sources/Subs.php     Test failed

1.1RC1
Nope it works, i've test it again and again it work on a normal install :x, something must be diffrent your subs.php to the normal install of 1.1RC1

http://www.din1031.de/bilder/boardspic/installsuccefullmymod.jpg (http://www.din1031.de/bilder/boardspic/installsuccefullmymod.jpg)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: L.G.S on October 27, 2005, 02:57:56 PM
The subs on my package manager cannot be installed properly either?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 28, 2005, 04:59:57 AM
Some other mods installed who change the subs.php?
(I've think i've found a good part of the file who never changed...).

Can you send me the subs.php file... or can you post me the parse_bbc function (in a php tag).
so i can look what so diffrent to the Standard Version.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on October 28, 2005, 07:04:15 AM
//edit
i fixed it:) thnx
Title: Re: Hide Tag Special
Post by: L.G.S on October 28, 2005, 08:48:23 AM
Quote from: din1031 on October 28, 2005, 04:59:57 AM
Some other mods installed who change the subs.php?
(I've think i've found a good part of the file who never changed...).

Can you send me the subs.php file... or can you post me the parse_bbc function (in a php tag).
so i can look what so diffrent to the Standard Version.

Bye
DIN1031

Are you asking me ?
Title: Re: Hide Tag Special
Post by: xtremecruiser on October 29, 2005, 11:12:03 PM
How about a image that gets inserted into the thread showing that something is hidden ?

Like  ( it now says thank you but used to say reply )
(http://www.t-warez.com/hidden.png)
Then
(http://www.t-warez.com/unhidden.png)
Title: Re: Hide Tag Special
Post by: edi67 on October 30, 2005, 01:19:20 AM
din one questions as i told you already why this happen usgin HIDE TAG?

look pig:

Quote(http://img480.imageshack.us/img480/740/q23mg.jpg)

usgin the TAG appear a big grey area around button under post, look all is grey appear ONLY using HIDE TAG may be something not coorect modifing Display ? or post template?
Title: Re: Hide Tag Special
Post by: L.G.S on October 30, 2005, 11:07:48 AM
Is there anyone who can help me with my problem?

I cannot use it on my 1.1 RC1 forum because for some reason it creates an error in the subs file.

I am in need or urgent help as we have lots of members wanted to post links and pictures without having to copy and paste the links
Title: Re: Hide Tag Special
Post by: xtremecruiser on October 30, 2005, 06:51:54 PM
Quote from: The Outsider on October 30, 2005, 11:07:48 AM
Is there anyone who can help me with my problem?

I cannot use it on my 1.1 RC1 forum because for some reason it creates an error in the subs file.

I am in need or urgent help as we have lots of members wanted to post links and pictures without having to copy and paste the links
I had all kinds of strange errors with the subs, but it installed and runs fine.  The just showing a blank scree is strange, we need a image or button :-\
Title: Re: Hide Tag Special
Post by: ディン1031 on November 02, 2005, 04:09:25 AM
Quote from: xtremecruiser on October 30, 2005, 06:51:54 PM
Quote from: The Outsider on October 30, 2005, 11:07:48 AM
Is there anyone who can help me with my problem?

I cannot use it on my 1.1 RC1 forum because for some reason it creates an error in the subs file.

I am in need or urgent help as we have lots of members wanted to post links and pictures without having to copy and paste the links
I had all kinds of strange errors with the subs, but it installed and runs fine.  The just showing a blank scree is strange, we need a image or button :-\
Change the text in the forum settings...
and use [img]http://www.t-warez.com/hidden.png[/img]... Than there is a image as alternativ text :x.

Quote from: xtremecruiser on October 30, 2005, 06:51:54 PM
Quote from: The Outsider on October 30, 2005, 11:07:48 AM
Is there anyone who can help me with my problem?

I cannot use it on my 1.1 RC1 forum because for some reason it creates an error in the subs file.

I am in need or urgent help as we have lots of members wanted to post links and pictures without having to copy and paste the links
I had all kinds of strange errors with the subs, but it installed and runs fine.  The just showing a blank scree is strange, we need a image or button :-\

What kind of errors?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on November 02, 2005, 08:22:52 AM
Quote from: xtremecruiser on October 29, 2005, 11:12:03 PM
How about a image that gets inserted into the thread showing that something is hidden ?

Like  ( it now says thank you but used to say reply )
(http://www.t-warez.com/hidden.png)
Then
(http://www.t-warez.com/unhidden.png)

I would like to see this as well :P
Title: Re: Hide Tag Special
Post by: xtremecruiser on November 02, 2005, 11:25:39 AM
Quote from: xtremecruiser on November 02, 2005, 11:17:51 AM
Quote from: din1031 on November 02, 2005, 04:09:25 AM
Quote from: xtremecruiser on October 30, 2005, 06:51:54 PM
Quote from: The Outsider on October 30, 2005, 11:07:48 AM
Is there anyone who can help me with my problem?

I cannot use it on my 1.1 RC1 forum because for some reason it creates an error in the subs file.

I am in need or urgent help as we have lots of members wanted to post links and pictures without having to copy and paste the links
I had all kinds of strange errors with the subs, but it installed and runs fine.  The just showing a blank scree is strange, we need a image or button :-\
Change the text in the forum settings...
and use [img]http://www.t-warez.com/hidden.png[/img]... Than there is a image as alternativ text :x.

Quote from: xtremecruiser on October 30, 2005, 06:51:54 PM


Thanks ! That works for the Hiding the image, can I add something to get the image when the post is unhidden ?

(http://www.t-warez.com/unhidden.png)

Title: Re: Hide Tag Special
Post by: ArkServer on November 02, 2005, 11:41:31 AM
thnx! the hidden works.. now how to make an image appear when unhidden?

see it in action:
http://arkserver.servehttp.com/forum/index.php?topic=934.0
i altered the image a bit.
Title: Re: Hide Tag Special
Post by: ディン1031 on November 03, 2005, 01:43:01 AM
Quote from: ArkServer on November 02, 2005, 11:41:31 AM
thnx! the hidden works.. now how to make an image appear when unhidden?

see it in action:
http://arkserver.servehttp.com/forum/index.php?topic=934.0
i altered the image a bit.
The simpelst way i know... hmmmm

Serach in the Subs.php

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


Replace this this with

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}
elseif(preg_match($message, "/\[hide\](.+?)\[\/hide\]/i") != 0) {
$message .= '[br][img]http://linktoaotherpicture[/img]';
}


replace the [img]http://linktoaotherpicture[/img] with your image link.
Did i think right then it should be a unhidden images at the end of the post. (but only if there a hidden text in it).

It's untested and i can give no warrenty for this, use this on your own risk ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on November 03, 2005, 02:00:10 AM
Thanks :P although i fixed that too :P you see a hidden image and after you reply you see the unhidden image. If you want check it out :)
http://arkserver.servehttp.com/forum/index.php?topic=934.0
Title: Re: Hide Tag Special
Post by: edi67 on November 03, 2005, 05:21:30 AM
ALL SOLVED great mod din realy great look pic now  ;) excellent

German language
(http://img383.imageshack.us/img383/5926/hideger8dr.jpg)

English language
(http://img383.imageshack.us/img383/1879/hideng0je.jpg)

Thanx
Title: Re: Hide Tag Special
Post by: souluna on November 05, 2005, 05:21:31 AM
Quote from: din1031 on November 03, 2005, 01:43:01 AM
Quote from: ArkServer on November 02, 2005, 11:41:31 AM
thnx! the hidden works.. now how to make an image appear when unhidden?

see it in action:
http://arkserver.servehttp.com/forum/index.php?topic=934.0
i altered the image a bit.
The simpelst way i know... hmmmm

Serach in the Subs.php

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


Replace this this with

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}
elseif(preg_match($message, "/\[hide\](.+?)\[\/hide\]/i") != 0) {
$message .= '[br][img]http://linktoaotherpicture[/img]';
}


replace the [img]http://linktoaotherpicture[/img] with your image link.
Did i think right then it should be a unhidden images at the end of the post. (but only if there a hidden text in it).

It's untested and i can give no warrenty for this, use this on your own risk ;).

Bye
DIN1031


Hi DIN, your mods works very well with my custom templates :)
For the hidden images, i must add this code in the forum setting:
<center><img src="http://project/smf/hidden.png" /></center>
not with [ img ] tags

But for unhidden images when i try to search your code at subs.php
i cant find it. I install this mods from package manager. But i find this code below from subs.php :

// The HideTag :)
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $modSettings['hide_hiddentext'];
    }
else
    $codetocache[] = $modSettings['hide_hiddentext'];


Now, how can i use unhidden image too?

Best regards,
Hardi
Title: Re: Hide Tag Special
Post by: souluna on November 05, 2005, 05:27:39 AM
one more..

Why i'm always getting error when i try to modify Subs.php with only write "a" and i remove again (backspace)?

If always like this, i cant modify anymore for the mods, the only way just from package manager.  :(
Title: Re: Hide Tag Special
Post by: ディン1031 on November 06, 2005, 04:52:05 AM
Quote from: souluna on November 05, 2005, 05:21:31 AM

Hi DIN, your mods works very well with my custom templates :)
For the hidden images, i must add this code in the forum setting:
<center><img src="http://project/smf/hidden.png" /></center>
not with [ img ] tags

But for unhidden images when i try to search your code at subs.php
i cant find it. I install this mods from package manager. But i find this code below from subs.php :

// The HideTag :)
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $modSettings['hide_hiddentext'];
    }
else
    $codetocache[] = $modSettings['hide_hiddentext'];


Now, how can i use unhidden image too?

Best regards,
Hardi
Öhm this is the old version XD.

Did you have installed SMF 1.0.5?

There is it not so easy to do this... because the parse work in complete other way...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: souluna on November 06, 2005, 05:09:08 AM
yes i'm use 1.0.5 version, i'm still waiting the stable release from smf to upgrade  :D

Do you mean i must to upgrade to RC1 first if i need unhidden image?
Title: Re: Hide Tag Special
Post by: allumius on November 06, 2005, 12:37:05 PM
Quote from: din1031 on November 06, 2005, 04:52:05 AM
Quote from: souluna on November 05, 2005, 05:21:31 AM

Hi DIN, your mods works very well with my custom templates :)
For the hidden images, i must add this code in the forum setting:
<center><img src="http://project/smf/hidden.png" /></center>
not with [ img ] tags

But for unhidden images when i try to search your code at subs.php
i cant find it. I install this mods from package manager. But i find this code below from subs.php :

// The HideTag :)
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $modSettings['hide_hiddentext'];
    }
else
    $codetocache[] = $modSettings['hide_hiddentext'];


Now, how can i use unhidden image too?

Best regards,
Hardi
Öhm this is the old version XD.

Did you have installed SMF 1.0.5?

There is it not so easy to do this... because the parse work in complete other way...

Bye
DIN1031

Sorry but i dont speack english fine
I have this problem too
i have 1.05 and Faster Parsecode 1.09  and Hide Tag 1.12aFP  and my sub.php is
// The HideTag :)
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<b>$1</b>';
        else
    $codetocache[] = $modSettings['hide_hiddentext'];
    }
else
    $codetocache[] = $modSettings['hide_hiddentext'];


and i dont know who install de unhiden image
Help me please
Title: Re: Hide Tag Special
Post by: ディン1031 on November 07, 2005, 01:02:01 AM
Okay i try it :x but i'm not sure that i can made it workable :)

The easiest and not so fine way XD

replace this

$codetocache[] = '<b>$1</b>';


with

$codetocache[] = '<b>$1</b><br /><img src="link_to_pic">';


Why not a fine way? Because each hide text have now a unhidden image :x.
1.1 have only one at the end of the post :). (if i thought right XD).

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: souluna on November 07, 2005, 04:53:58 AM
WOW this is works, but i must to edit the .mod file in the zip and make a new install.
DIN you're great!!  ;)

And now, how to make a button like when you want to post.

So when someone want to hide, just block the text and click the button?

Example : If you want to bold the text, you just block the text and click "B" button in the top of text area when replying/make topic.

Once again..  :P
Can you make a thank you button like vBulletin Hide Hack??


Best regards,
Hardi
Title: Re: Hide Tag Special
Post by: ディン1031 on November 07, 2005, 10:18:54 AM
Quote from: souluna on November 07, 2005, 04:53:58 AM
Can you make a thank you button like vBulletin Hide Hack??
No!



For the other thing :X i'm not sure if this work XD

first search in the Post.template.php for

'face' => array('code' => 'font', 'before' => '[font=Verdana]', 'after' => '[/font]', 'description' => $txt[533]),


add after this

array(),
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['hide_msgdesc']),


after that
search in the Post.english.php for
?>

add before

$txt['hide_msgdesc'] = 'Hide Text';

know upload a picture hide.gif in the image/bbc/ directory.

Untestet and use it on your own risk XD. (should work in 1.0.5, i don't know it it the same in 1.1. RC1).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: souluna on November 07, 2005, 11:44:20 AM
WOW again for the second  ;D
This is work great!!

Very thanks to DIN1031!


But now stop at thank you button  ???
Title: Re: Hide Tag Special
Post by: ronitvohra on November 08, 2005, 12:42:53 AM
i need a button to use hide tags....

as there are already so many post in my forum....and it will take a lot of time changing the post with hide tag......

can anyone help me out..using SMF 1.1 RC1...and hide tags are working fine...but i need a button

can i change any of the buttons into the hide button??

Title: Re: Hide Tag Special
Post by: ronitvohra on November 08, 2005, 01:12:02 AM
problem solved.i edited the Post.template.php.......and instead of glow button...i changes it to [hide][/hide]
so glow button will tag hide tag.......

I love smf........and thx for the hidden tag mod...
Title: Re: Hide Tag Special
Post by: AzaToth on November 08, 2005, 01:25:33 PM
Quote from: ronitvohra on November 08, 2005, 01:12:02 AM
problem solved.i edited the Post.template.php.......and instead of glow button...i changes it to [hide][/hide]
so glow button will tag hide tag.......

I love smf........and thx for the hidden tag mod...
You can always use Tag Menu (http://mods.simplemachines.org/index.php?mod=206), a simple mod for adding a menu for all types of tags not having a button.
Title: Re: Hide Tag Special
Post by: ディン1031 on November 09, 2005, 04:00:12 AM
Quote from: souluna on November 07, 2005, 11:44:20 AM
WOW again for the second  ;D
This is work great!!

Very thanks to DIN1031!


But now stop at thank you button  ???
Because it takes time to made this, and my time after work is small so i won't do this :x.

The Other thing is i know about 2 Version of "Thank you" Buttons...

One creat a post with "Thank You" in it (for the hide tag the best, and the best way to spam :x).
But with quick replay is so fast as this, so why a button?

And the other one add the name to a list of users where click on this button. And this work also in closed threads ;).
With this the script must check if the user is in the list so that he can see the text it's a extra work only to find out is the user avaible or not... the other thing is it needs a extra table only to add users thank you also it need a option in the thread what switch on the option for the thread... .... .... and and and and... currently to much work for me :P.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edi67 on November 10, 2005, 05:31:37 AM
personaly me too will love THANK YOU button was one of mine more older request but nobody made it
Title: Re: Hide Tag Special
Post by: Wounded Knee on November 12, 2005, 05:42:42 AM
hi
(spanish here sorry for my english)

I have installed and works fine but the hide text can see with quotes.

example
(http://img396.imageshack.us/img396/3388/a4uv.th.jpg) (http://img396.imageshack.us/my.php?image=a4uv.jpg)

reply with quote and quick reply
(http://img396.imageshack.us/img396/3/b1pi.th.jpg) (http://img396.imageshack.us/my.php?image=b1pi.jpg)

reply with quote in post page
(http://img489.imageshack.us/img489/2608/c4yj.th.jpg) (http://img489.imageshack.us/my.php?image=c4yj.jpg)

SMF 1.1 RC1
Daze Skin by Diplomat

with default theme too.

cheers
Title: Re: Hide Tag Special
Post by: Wounded Knee on November 12, 2005, 10:14:24 AM
i found the problem

with only one line, no problem
[hide]bla BLA bla[/hide]

with two or more, can see the hide text in quotes.
[hide]bla BLA bla bla
BLA bla BLA bla
BLA bla[/hide]

Title: Re: Hide Tag Special
Post by: edi67 on November 13, 2005, 01:29:10 PM
another little bug found

if you use SEARCH engine in forum and you will find some post with hide TAG you can directly see inside TAG HIDE without answer it

some solution for solve it?
Title: Re: Hide Tag Special
Post by: ディン1031 on November 14, 2005, 05:38:25 AM
Quote from: Wounded Knee on November 12, 2005, 10:14:24 AM
i found the problem

with only one line, no problem
[hide]bla BLA bla[/hide]
with two or more, can see the hide text in quotes.
[hide]bla BLA bla bla
BLA bla BLA bla
BLA bla[/hide]

I try this at evening.... :x But i'm sure that i test this an it worked...

Quote from: edi67 on November 13, 2005, 01:29:10 PM
another little bug found

if you use SEARCH engine in forum and you will find some post with hide TAG you can directly see inside TAG HIDE without answer it

some solution for solve it?

i try this, too... but this is difficult. Did you switch on the option Admin should see all hide tags? than you see it everytime... (if you postet or not). Can you try the same with a guest or normal member acc and tell if it also there?

Thx for the help :)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on November 14, 2005, 12:03:16 PM
Found the error, and add a bug-fix soon :) (next few minutes).

Version 1.14 released, also bugfix attached to this post :)

Bye
DIN1031

Attached the Bugfix for the Verson 1.13 to this post :)

|
|
V
Title: Re: Hide Tag Special
Post by: Wounded Knee on November 14, 2005, 05:52:36 PM
works fine!
;)
thanks DIN1031!
Title: Re: Hide Tag Special
Post by: ディン1031 on November 16, 2005, 08:58:49 AM
Version 1.15 (only for 1.1.RC1)

So the second bug in the Serach problem... is also solved :).
Thx to edi67 for the small help (i couldn't recopy the problem, but it was there and i saw it, Many Many thanks to him ;D)

---
Bug Fix 2 for Version 1.13 / 1.14 is attached to this post :)
|
|
V
Title: Re: Hide Tag Special
Post by: edi67 on November 16, 2005, 12:11:31 PM
Quote from: din1031 on November 16, 2005, 08:58:49 AM
Version 1.15 (only for 1.1.RC1)

So the second bug in the Serach problem... is also solved :).
Thx to edi67 for the small help (i couldn't recopy the problem, but it was there and i saw it, Many Many thanks to him ;D)

---
Bug Fix 2 for Version 1.13 / 1.14 is attached to this post :)
|
|
V


great work din but remember you must do the fix to for MUI version multilanguage coz are different the $txt from $modsettings

infact i have installed MUI version and our fix cannot be installed with packages but only manually

thanx
Title: Re: Hide Tag Special
Post by: ディン1031 on November 17, 2005, 01:38:14 AM
Quote from: edi67 on November 16, 2005, 12:11:31 PM
Quote from: din1031 on November 16, 2005, 08:58:49 AM
Version 1.15 (only for 1.1.RC1)

So the second bug in the Serach problem... is also solved :).
Thx to edi67 for the small help (i couldn't recopy the problem, but it was there and i saw it, Many Many thanks to him ;D)

---
Bug Fix 2 for Version 1.13 / 1.14 is attached to this post :)
|
|
V


great work din but remember you must do the fix to for MUI version multilanguage coz are different the $txt from $modsettings

infact i have installed MUI version and our fix cannot be installed with packages but only manually

thanx
Oh i forgot that XD

Thx for the Info.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: N3lson on November 19, 2005, 07:35:30 AM
This mod ...will work in version 1.1Beta3 Public ?
If yes what version mod i must install?
Thank you....
Title: Re: Hide Tag Special
Post by: ディン1031 on November 21, 2005, 05:40:45 AM
Quote from: N3lson on November 19, 2005, 07:35:30 AM
This mod ...will work in version 1.1Beta3 Public ?
If yes what version mod i must install?
Thank you....
No don't work there, i've tested it... it will not work...

Sorry :)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Elmacik on November 22, 2005, 05:00:45 AM
So is 1.12a the last version to use with 1.0.5?
Title: Re: Hide Tag Special
Post by: ディン1031 on November 22, 2005, 05:41:07 AM
Quote from: Elmacik on November 22, 2005, 05:00:45 AM
So is 1.12a the last version to use with 1.0.5?
Correct :)

(For normal install without Faster Parser install).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: VenimK on November 27, 2005, 05:08:49 AM
Whereis this version 1.13 off Hide Tag for SMF RC 1.1

Can't find this anywhere !!!!
Title: Re: Hide Tag Special
Post by: ディン1031 on November 28, 2005, 04:56:32 AM
Quote from: VenimK on November 27, 2005, 05:08:49 AM
Whereis this version 1.13 off Hide Tag for SMF RC 1.1

Can't find this anywhere !!!!
Why should i add a buged version?

Version 1.15 is the newest version for 1.1RC1 ;D.
1.12a is bugfree version for 1.0.5 :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: tuga on November 28, 2005, 10:24:46 AM
Quote from: din1031 on November 28, 2005, 04:56:32 AM
Quote from: VenimK on November 27, 2005, 05:08:49 AM
Whereis this version 1.13 off Hide Tag for SMF RC 1.1

Can't find this anywhere !!!!
Why should i add a buged version?

Version 1.15 is the newest version for 1.1RC1 ;D.
1.12a is bugfree version for 1.0.5 :).

Bye
DIN1031

hello, so the 1.12a is for 1.0.5 right? where i found it?

what i need to do for work? just install?
Title: Re: Hide Tag Special
Post by: ディン1031 on November 30, 2005, 05:05:33 AM
http://mods.simplemachines.org/index.php?mod=118

There you could find it :x, Normal yes you need only to install it :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: daveb47 on November 30, 2005, 04:01:34 PM
Tried to download rc1 version of this but when i try to install thru Pacman i get File is corrupted message.
Cheers
Dave
Title: Re: Hide Tag Special
Post by: croniksoft on November 30, 2005, 04:28:20 PM
hello everyone,i just finish installing this mob,but  when i use the hide option dosen"t work,anyone knows y this is happening.

i have  Hide Tag      1.13Fix2

install in  1.1 RC1.

thank you for your time.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 01, 2005, 03:43:49 AM
Quote from: croniksoft on November 30, 2005, 04:28:20 PM
hello everyone,i just finish installing this mob,but  when i use the hide option dosen"t work,anyone knows y this is happening.

i have  Hide Tag      1.13Fix2

install in  1.1 RC1.

thank you for your time.
You installed a fix?
Did you install the normal version before? ;D

Quote from: daveb47 on November 30, 2005, 04:01:34 PM
Tried to download rc1 version of this but when i try to install thru Pacman i get File is corrupted message.
Cheers
Dave

Hmmm what exactly stand there?
Are you sure that the file is downloaded correctly?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: croniksoft on December 01, 2005, 03:55:41 AM
what fix,i read everyhting and i din"t see naything about installing a fix
if there is please link me  :)

by the way,I'm new to this web stuff but I'm really intrested in how to make mobs.i got some experience in C and python
Title: Re: Hide Tag Special
Post by: ディン1031 on December 01, 2005, 08:06:32 AM
Quote from: croniksoft on December 01, 2005, 03:55:41 AM
what fix,i read everyhting and i din"t see naything about installing a fix
if there is please link me  :)

by the way,I'm new to this web stuff but I'm really intrested in how to make mobs.i got some experience in C and python
No, No, you installed 1.13Fix version this is only for fixing a error in old version 1.13 XD.
You must install Version 1.15 to made the mode workable :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: VenimK on December 07, 2005, 12:34:19 PM
using hide and code does 'nt work also not has it should

also does 'nt work has it should i think

(http://webbiefriends.org/sreenie2.jpg)

Using on SMF 1.1 rc1
Title: Re: Hide Tag Special
Post by: ディン1031 on December 08, 2005, 08:15:21 AM
Quote from: VenimK on December 07, 2005, 12:34:19 PM
using hide and code does 'nt work also not has it should

also does 'nt work has it should i think

(http://webbiefriends.org/sreenie2.jpg)

Using on SMF 1.1 rc1

How did you use it?

[hide]blah blah[/hide]
and also [hide]hidden thing[/hide] should work.

[hide]blahahahahaha[/hide]
It's logic that this would not work, because the hide never beginn, because the parser don't parse the code tag... hmm i can remove it, i think... but this could made some very strange things in your post << because the code tag never closed...

I think about to fix it... but i'm sure this is not so fine :X...

if you not use one of the ways above, please tell it :).

Bye
DIN1031
and why should user do something like that?
Title: Re: Hide Tag Special
Post by: Elmacik on December 08, 2005, 09:56:04 AM
din1031,
Default BBC tags close themselves ayutomatically even the user doesnt.
For example if you start with [color=red] and do not close the color tag, it will automatically close it and make all the post red... All other dtags are the same..
Just for your opinion ;)
Title: Re: Hide Tag Special
Post by: VenimK on December 08, 2005, 10:11:08 AM
When using

code - hide -here some text hide - code

i get this to see in my posting

Code:
[hide]blahahahahaha
[/hide]

When i use
code
hide - here some text - hide
code

i get this to see in my posting
Code:
[hide]Wat is de code tag ?[/hide]

Weird ain 't it !!!!!
Title: Re: Hide Tag Special
Post by: ディン1031 on December 09, 2005, 05:19:14 AM
hum... i hate the the code tag :P... okay i try to remove it this weekend ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: VenimK on December 09, 2005, 05:26:35 AM
Quote from: din1031 on December 09, 2005, 05:19:14 AM
hum... i hate the the code tag :P... okay i try to remove it this weekend ;).

Bye
DIN1031

Thx in advance m8
Title: Re: Hide Tag Special
Post by: souluna on December 09, 2005, 11:00:27 AM
This mods works great on my SMF 1.05 and i've modified the code to make it different from the other message. But when i try to insert the code i get over space between last text and code.

I use this text for posting
[hide]Download link: http://xxxxx.com/xxx/xx.zip[/hide]

And i get this screen
(http://img166.imageshack.us/img166/7617/hidden1yv.jpg)

Too much space between last text [download link:] and unhidden/hidden image

How about others?
Title: Re: Hide Tag Special
Post by: ディン1031 on December 14, 2005, 05:09:11 PM
Quote from: VenimK on December 09, 2005, 05:26:35 AM
Quote from: din1031 on December 09, 2005, 05:19:14 AM
hum... i hate the the code tag :P... okay i try to remove it this weekend ;).

Bye
DIN1031

Thx in advance m8
Sorry i can't remove this error, because i can not redone it... or rebuilt it... i use so many versions of cods an in all version it work....

@souluna
I don't know why this is XD, must be some error in you html code :X
Title: Re: Hide Tag Special
Post by: souluna on December 15, 2005, 01:53:46 PM
Hi DIN, i'm just modifi the code at Subs.php with this code

<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
// Nothing to parse... ?
if (!strstr($message, '[') && !strstr($message, '://') && !strstr($message, '@') && !strstr($message, '/me') && !strstr($message, '&lt;'))
return;
</search for>

<add before>

// The HideTag :)
if (!isset($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = ' '; //A tiny little space =)
$codefromcache[] = "~\[hide\](.+?)\[\/hide\]~i";
if (!empty($context['user_post_avaible'])) {
if ($context['user_post_avaible'] == 1)
        $codetocache[] = '<table valign="top" width="95%" align="center">
<tr><td valign="top" align="center"><img src="http://souluna.com/forum/unhidden.png" width="242" height="76"></td></tr>
<tr><td valign="top">Hidden text:</td></tr>
<tr><td valign="top" style="border: 1px inset; padding: 5px; background-color: #e4e4e4;">$1</td></tr>
</table>';
        else
    $codetocache[] = $modSettings['hide_hiddentext'];
    }
else
    $codetocache[] = $modSettings['hide_hiddentext'];
</add before>


I'm still confuse until now  ???  :P
Title: Re: Hide Tag Special
Post by: ディン1031 on December 22, 2005, 07:51:07 AM

<table valign="top" width="95%" align="center" CELLSPACING=0 CELLPADDING=0>
<tr>
<td valign="top" align="center">
<img src="http://souluna.com/forum/unhidden.png" width="242" height="76">
</td>
</tr>
<tr>
<td valign="top">
Hidden text:
</td>
</tr>
<tr>
<td valign="top" style="border: 1px inset; padding: 5px; background-color: #e4e4e4;">
$1
</td>
</tr>
</table>


hmmm try this, i hope this solve the poblen... but i could also come from the hidden text :) because if you write
[hide]
blah
[/hide]

the retuns also come into the $1. They are not removed! (test it with [hide]test[/hide] to find out if this the problem.)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: souluna on December 22, 2005, 11:09:38 AM
okey thanks DIN, i will try frst :)
Title: Re: Hide Tag Special
Post by: xtremecruiser on December 31, 2005, 10:14:53 PM
I had it installed and after the upgrade to 1.1 RC2 it wont install again.
Title: Re: Hide Tag Special
Post by: Quadro on January 01, 2006, 11:13:49 AM
I from russia, and nobody can not me to help.
what do that hidden saw right after to registrations, rather then after accompaniment of the topic?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 02, 2006, 04:30:31 AM
Quote from: Quadro on January 01, 2006, 11:13:49 AM
I from russia, and nobody can not me to help.
what do that hidden saw right after to registrations, rather then after accompaniment of the topic?

Sorry i don't know nothing about that <<... (okay i don't know what you mean *runs*).

Quote from: xtremecruiser on December 31, 2005, 10:14:53 PM
I had it installed and after the upgrade to 1.1 RC2 it wont install again.
Oh a new realease of smf... i didn't have the time to test it :x, i try it today or tomorrow ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: xtremecruiser on January 02, 2006, 09:20:09 AM
Quote from: din1031 on January 02, 2006, 04:30:31 AM
Quote from: Quadro on January 01, 2006, 11:13:49 AM
I from russia, and nobody can not me to help.
what do that hidden saw right after to registrations, rather then after accompaniment of the topic?

Sorry i don't know nothing about that <<... (okay i don't know what you mean *runs*).

Quote from: xtremecruiser on December 31, 2005, 10:14:53 PM
I had it installed and after the upgrade to 1.1 RC2 it wont install again.
Oh a new realease of smf... i didn't have the time to test it :x, i try it today or tomorrow ;).

Bye
DIN1031

I have found some do, some dont with the new RC2
Title: Re: Hide Tag Special
Post by: Quadro on January 02, 2006, 11:04:39 PM
I want see hidden [hide] text right now after registration,
but not after accompaniments of the message to the topic.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 03, 2006, 08:04:27 AM
Quote from: Quadro on January 02, 2006, 11:04:39 PM
I want see hidden [hide] text right now after registration,
but not after accompaniments of the message to the topic.
i sent you a pm ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on January 03, 2006, 02:04:00 PM
Quote from: xtremecruiser on January 02, 2006, 09:20:09 AM
I have found some do, some dont with the new RC2

Version 1.16

This Version Work only in 1.1RC2 (and no other Versions of SMF :x)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: xtremecruiser on January 03, 2006, 04:18:46 PM
Quote from: din1031 on January 03, 2006, 02:04:00 PM
Quote from: xtremecruiser on January 02, 2006, 09:20:09 AM
I have found some do, some dont with the new RC2

Version 1.16

This Version Work only in 1.1RC2 (and no other Versions of SMF :x)

Bye
DIN1031

got a tone of errors but it works

Warning: gzwrite(): supplied argument is not a valid stream resource in xxxxxxxxxx/Sources/Subs-Package.php
Title: Re: Hide Tag Special
Post by: ディン1031 on January 04, 2006, 02:32:03 AM
Quote from: xtremecruiser on January 03, 2006, 04:18:46 PM
Quote from: din1031 on January 03, 2006, 02:04:00 PM
Quote from: xtremecruiser on January 02, 2006, 09:20:09 AM
I have found some do, some dont with the new RC2

Version 1.16

This Version Work only in 1.1RC2 (and no other Versions of SMF :x)

Bye
DIN1031

got a tone of errors but it works

Warning: gzwrite(): supplied argument is not a valid stream resource in xxxxxxxxxx/Sources/Subs-Package.php
Hmm this one is new XD. I think thats RC2 error :x. (Or because of the not existing german language file *thinking*).

And the error 512: parseBoardMod(): The filename 'Themes/default/Display.template.php' is not a full path!
is something i don't know how to remove... i told the question in a other thread but i didn't became a answer... (and as long as it work ;)).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: xtremecruiser on January 04, 2006, 12:12:53 PM
It works just fine and I was able to un install it and do a re-install

Quote from: din1031 on January 04, 2006, 02:32:03 AM
Quote from: xtremecruiser on January 03, 2006, 04:18:46 PM
Quote from: din1031 on January 03, 2006, 02:04:00 PM
Quote from: xtremecruiser on January 02, 2006, 09:20:09 AM
I have found some do, some dont with the new RC2

Version 1.16

This Version Work only in 1.1RC2 (and no other Versions of SMF :x)

Bye
DIN1031

got a tone of errors but it works

Warning: gzwrite(): supplied argument is not a valid stream resource in xxxxxxxxxx/Sources/Subs-Package.php
Hmm this one is new XD. I think thats RC2 error :x. (Or because of the not existing german language file *thinking*).

And the error 512: parseBoardMod(): The filename 'Themes/default/Display.template.php' is not a full path!
is something i don't know how to remove... i told the question in a other thread but i didn't became a answer... (and as long as it work ;)).

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: kat on January 08, 2006, 10:23:03 AM
Hmmmm. Couldn't find anything about the errors I'm getting.

I'm still using SMF 1.05 and I'm trying to install HideTagMod112 and 112a.

On install, I'm getting:

4. Execute Modification ./Sources/Printpage.php  Failure

and

5. Execute Modification ./Sources/Subs.php Failure

which isn't entirely, helpful. :(

Both files are fully write-enabled.

Any clues?

Ta!
Title: Re: Hide Tag Special
Post by: DirkDiggler on January 08, 2006, 12:09:28 PM
I had this on the top of my Joomla Site
Notice: Undefined index: hide_hiddentext in /home/browns/public_html/Forum/Sources/Subs.php on line 963

Also when I hide text it just doesnt show, it doesnt give an indication there is hidden text is that normal
Title: Re: Hide Tag Special
Post by: BigGunn on January 08, 2006, 06:57:43 PM
I have this installed on my 1.0.5 installation and was trying to alter it to allow Global Mods to see all hidden content without replying and Mods to be able to do so in the forums that they moderate.

Here's the original code before I changed any:

// Find if there a post from you in this thread :) (For the hide tag)
if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!


I've since changed it to this:

// Find if there a post from you in this thread :) (For the hide tag)
if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif ($user_info['is_gmod'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif ($user_info['is_mod'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!


The Global Mod part doesn't work, but the Mod part did. Any ideas what I'm doing wrong?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 09, 2006, 01:48:31 AM
$user_info['is_gmod'] this is not a existing variable in 1.0.5, i think also not in 1.1 ;D you must use $user_settings['ID_GROUP'] == '2' this should be the Global Mod Group :).

new code should something like this (don't forget to load the global $user_settings)


global $user_settings; //important, without this variable, group ids is not avaible.
// Find if there a post from you in this thread :) (For the hide tag)
if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '2'  || $user_info['is_mod']) && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!
Title: Re: Hide Tag Special
Post by: BigGunn on January 09, 2006, 04:25:19 AM
Works great now! Thanks a lot!

I also edited my Modsettings.english.php and changed the one line in there for the adminshouldsee option to read about Admins & Mods seeing it. Hope you don't mind my tweaking your mod like this!  :D
Title: Re: Hide Tag Special
Post by: ディン1031 on January 09, 2006, 09:32:49 AM
Quote from: BigGunn on January 09, 2006, 04:25:19 AM
Works great now! Thanks a lot!

I also edited my Modsettings.english.php and changed the one line in there for the adminshouldsee option to read about Admins & Mods seeing it. Hope you don't mind my tweaking your mod like this!  :D
Somtimes i add this modorator group and the adiotional groups to the mod :X (i think on the final release of smf 1.1 (new forum, new and better overworked hide mod)).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 09, 2006, 03:43:06 PM
Quote from: din1031 on July 01, 2005, 03:27:54 AM
I made a special Version for the Faster Parscode made by Sheepy -> http://www.anetcity.com/bbs/index.php?topic=999.0

This drove me mental!

Would it be wise to put this on the mod page, too?

Ta!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 09, 2006, 03:48:43 PM
Quote from: kat on January 09, 2006, 03:43:06 PM
Quote from: din1031 on July 01, 2005, 03:27:54 AM
I made a special Version for the Faster Parscode made by Sheepy -> http://www.anetcity.com/bbs/index.php?topic=999.0

This drove me mental!

Would it be wise to put this on the mod page, too?

Ta!
No because it's not s smf standard :X.

Quote from: DirkDiggler on January 08, 2006, 12:09:28 PM
I had this on the top of my Joomla Site
Notice: Undefined index: hide_hiddentext in /home/browns/public_html/Forum/Sources/Subs.php on line 963

Also when I hide text it just doesnt show, it doesnt give an indication there is hidden text is that normal

Öhm did you put some Hidden Text in the Admin Settings and this happend?
Which Version do you use? MUI or the other Version? (Normal the other error should also not happen... that not normal...).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 09, 2006, 03:57:58 PM
What about putting a link on that page, explaining why it's there?

I think an awful lot of people have fasterparse installed, my friend...

Just a suggestion. It'll stop people having to trawl through this whole thread. They might not even know that fasterparse interferes with it, after all.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 09, 2006, 04:07:33 PM
Quote from: kat on January 09, 2006, 03:57:58 PM
What about putting a link on that page, explaining why it's there?

I think an awful lot of people have fasterparse installed, my friend...

Just a suggestion. It'll stop people having to trawl through this whole thread. They might not even know that fasterparse interferes with it, after all.
There is a link to the post where the FP install of this Version is... (On the top site <<).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 09, 2006, 04:31:38 PM
I must've missed that, sorry!
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 07:37:52 AM
Apologies, if double-posts are frowned upon, here, but My mods and G-Mods are asking if they can be allowed to see hidden messages, as well as I, as admin, can.

Would it take much to allow this, by any chance?(http://www.augk18.dsl.pipex.com/Smileys/c018.gif)

Thanks!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 09:17:51 AM
Öhm yes i put this in my next Version, if you want made it by your self

In the Display.php Search this

// Find if there a post from you in this thread :) (For the hide tag)
if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!

replace this with


global $user_settings; //important, without this variable, group ids is not avaible.
// Find if there a post from you in this thread :) (For the hide tag)
if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '2'  || $user_info['is_mod']) && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!


This allow GMods and Mods of this Board to see the contet (Should be the same in the 1.1rc1).

(In the next Version i add this to the options).
Also a Select for Groups :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 09:27:45 AM
You're an absolute gentleman!

I'll make the changes and let you know how it goes.

Thanks, Din. Appreciated!
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 10:04:21 AM
Sorry to be a pain, here....

I'm assuming it's this line:

if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '2'  || $user_info['is_mod']) && !empty($modSettings['hide_adminshouldsee']))

that allows the membergroups concerned to see the text.

Can I ask how I would need to modify that, too allow a custom user-group to see the text?

Being a NooB, with very little knowledge of php, I'm not even sure how to find-out what their 'ID_GROUP' is... :(


That modification didn't work, for me. I might be able to make it work, though, if you can answer the above question, though, ay? :D
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 02:07:11 PM
did not work?

My postet code or your change? (Are there any errors in the error report?)

$user_settings['ID_GROUP'] == '2' are Global Moderators.
$user_settings['ID_GROUP'] is the Selected UserGroup (Not the alternativ group).
You can see the id in the admin panel.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 02:19:59 PM
The original works, fine!

Only admin (me) can see the posts, without replying, as it should be.

The modified script didn't change anything. My mods and G-mods still can't see the posts, either. :(

Where in the admin panel would I see the ID, Din? I've looked in "Manage membergroups" and there's nothing there, that I can see, to tell me what the ID number is.

Sorry about being such a nuisance.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 02:31:11 PM
Ähm are there some errors in the error log?

because i think you forgot the global $user_settings;
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 02:35:16 PM
No errors, at all, I'm afraid.

I made sure that I put the global $user_settings; because I read your comment, in that line.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 02:41:00 PM
Hööö... thats strange... very strange...

(at the attached pic you can see where the id number is)...

Which is you forum Version?

i test it on my test install... but it work before <<
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 02:44:27 PM
Can't see that one mine! :(

What admin page is that on?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 02:54:44 PM
edit membergroup -> select group -> and than you see it in the link.

and i test it on my 1.05 install and it work... i look at the 1.rc version...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 03:00:05 PM
Ah!

Hover the mouse over it and there it is!

Excellent!

I'll fiddle with that code, again, and see what happens.

Thanls for your help, my friend!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 03:01:27 PM
And the change work... i test it on all the version of my install and it work :P

I copied the code and replaced it and it work...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 03:04:13 PM
I'll let you know how I get on.

I really MUST learn php... ;)

Danke!
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 03:24:36 PM
I've managed to get it working for userID 11, now, which is wonderful!

How would I need to modify that script, to add other groups, Din?

More specifically, groups 2 and 3.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2006, 03:32:42 PM
Öhm and why userid? i never see user id in my tag :P only usergroups :X


if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '11' || $user_info['is_mod'] || $user_settings['ID_GROUP'] == '3' || $user_settings['ID_GROUP'] == '2') && !empty($modSettings['hide_adminshouldsee']))


i hope you see the pattern... it's really simple << (now there is 11,3,2 to see the post and also Moderators of the board)

Bye
DIN1031... no support more for today... i'm tired...
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 03:36:19 PM
Dead simple, now that I've seen it!

I'll try it, right now, and get back to you.

Thanks for your help and patience, again, Din. ;D
Title: Re: Hide Tag Special
Post by: kat on January 11, 2006, 03:58:50 PM
It only worked!!

(http://www.augk18.dsl.pipex.com/Smileys/happy046.gif)

Danke sehr sehr viel!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 15, 2006, 09:54:51 AM
Version 1.18
Both Version update to remove the error of a missing varibale if you use the SSI.php and also remove the error in the error log for text who is not set...

(Happens only in 1.1RC1 and 1.1RC2)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: aufsaufbremse on January 18, 2006, 08:37:51 AM
Hello din1031,

very nice mod!
There is only a little spelling mistake:
$txt['hide_hiddentext'] = 'Ein kleines geheimnis hier!';

A great "Geheimnis" would be better....  ;)

Thanks
aufsaufbremse

Title: Re: Hide Tag Special
Post by: carola0102 on January 20, 2006, 06:15:55 AM
I'm using version SMF 1.0.5
But when I try to install this mod it says

QuotePackage Manager - Install Actions
Install Actions for archive HideTagSpecial.zip:
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

and I tried to install the Fasterparscode but that says:

QuotePackage Manager - Install Actions
Install Actions for archive FasterParsecode109_SMF105.tar.gz:
Installing this package will perform the following actions:  Type Action Description
1. Execute Modification ./Sources/Subs.php Failure


Could anyone pls help :(
Title: Re: Hide Tag Special
Post by: kat on January 20, 2006, 06:19:26 AM
I get the same, with other mods, too. I simply had to download the package, again, using a different browser/download program.

Curiously, I find it happens most, when I use "Opera"...


Weird.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 20, 2006, 06:29:06 AM
@carola0102

Huuu i don't know why this happend, because i try to install it on my local install and it work (and i downloaded it from here... i don't know why it not work <<). Okay i found it :x, sorry for the problem...

And with Faster Parsmod this installer would not work <<, and if you first installed this mod the farster Parser mod ist not working... for the farster parsemod the version is attached to this post -> http://www.simplemachines.org/community/index.php?topic=32954.msg295173#msg295173

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: desistyle on January 28, 2006, 01:52:55 PM
hi i was using hidetag mod it was so great but now there was  a bug i guess on smf 1.05 and i upgraded  it and its not working please help please please please :((
Title: Re: Hide Tag Special
Post by: mforum on January 28, 2006, 05:15:23 PM
had to uninstall faster parcecode 1.09 and hide tag1.12a to update to 1.0.6
Now i cant install them, try to install HideTagSpecial 1.18 but find it an older version
I beg for a update to HideTagSpecial so it can install to 1.0.6 with suport for classic theme too...

thanks   ::)   :-[
Title: Re: Hide Tag Special
Post by: desistyle on January 28, 2006, 05:28:15 PM
yea dude even i cant find hidetag for smf 1.0.6 thats like the best mod i ever saw please someone make a mod for smf 1.0.6 please
Title: Re: Hide Tag Special
Post by: mforum on January 28, 2006, 06:40:04 PM
ok, i solved it  :)
open package-info.xml

find
<install for="1.0.2, 1.0.3, 1.0.4, 1.0.5">
<readme type="inline">
THIS VERSION WORK ONLY WITHOUT FASTER PARSMENT!
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.0.x.mod</modification>
</install>
<uninstall for="1.0.2, 1.0.3, 1.0.4, 1.0.5">
<modification format="boardmod" reverse="true">HideTagMod1.0.x.mod</modification>
</uninstall>


replace with
<install for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6">
<readme type="inline">
THIS VERSION WORK ONLY WITHOUT FASTER PARSMENT!
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.0.x.mod</modification>
</install>
<uninstall for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6">
<modification format="boardmod" reverse="true">HideTagMod1.0.x.mod</modification>
</uninstall>


worked fine for me, no changes for classic theme works fine with it....  :D
Title: Re: Hide Tag Special
Post by: desistyle on January 28, 2006, 07:37:13 PM
wow dude it works fine wow you are awesome thanks a lot for this hey can i ask you something else to please even the user online today mod isnt working is it possible to fix that
Title: Re: Hide Tag Special
Post by: mforum on January 29, 2006, 04:41:52 AM
Quote from: desistyle on January 28, 2006, 07:37:13 PM
wow dude it works fine wow you are awesome thanks a lot for this hey can i ask you something else to please even the user online today mod isnt working is it possible to fix that

You must ask for help on user on line today discusion, explaining the problem you have, if we discuss it here we ll be off topic  :)
I use user online today mod from Fasan, uninstaled it, instaled 1.0.6 package then instaled it back without problems.....
Title: Re: Hide Tag Special
Post by: ディン1031 on January 29, 2006, 10:40:44 AM
The Version is already 1.0.6 compatible

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Pink Bee on January 30, 2006, 08:52:33 PM
I am using RC2, and I got this message while applying the mod.

Quote7. Execute Modification ./Themes/default/languages/ModSettings.german.php File not found  
Anyone knows what is the problem here?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 31, 2006, 06:31:26 AM
*g* no problem... you can install it :x (i should remove the german translation of the mod *runs*)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on February 09, 2006, 03:41:53 PM
is it possibel to add an image like this when a post is hided:
(http://arkserver.servehttp.com/hidden.png)

and unhide:
(http://arkserver.servehttp.com/unhidden.png)


i had this on 1.1 rc1 but since i upgraded.. i forgot how i did that  ::)

i thought it was adding a few image links in the sub.php
Title: Re: Hide Tag Special
Post by: ディン1031 on February 10, 2006, 06:22:04 AM
Quote from: ArkServer on February 09, 2006, 03:41:53 PM
is it possibel to add an image like this when a post is hided:
(http://arkserver.servehttp.com/hidden.png)

and unhide:
(http://arkserver.servehttp.com/unhidden.png)


i had this on 1.1 rc1 but since i upgraded.. i forgot how i did that  ::)

i thought it was adding a few image links in the sub.php

Uff I forgot it, too *g*

I must look :], but this take some time XD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: L.G.S on February 10, 2006, 12:50:35 PM
^^ Just use

[img*]img link[/img*] in the hidden text message box?
Title: Re: Hide Tag Special
Post by: desistyle on February 10, 2006, 05:08:00 PM
Quote from: L.G.S on February 10, 2006, 12:50:35 PM
^^ Just use

[img*]img link[/img*] in the hidden text nesage box?
can u tell me how can i do this in smf 1.06
Title: Re: Hide Tag Special
Post by: ディン1031 on February 10, 2006, 05:13:28 PM
Quote from: L.G.S on February 10, 2006, 12:50:35 PM
^^ Just use

[img*]img link[/img*] in the hidden text nesage box?
he want use two pics and i know there is a way XD, but i forgot how to made it :x... i think i post it somewhere in the thread XD.




Quote from: desistyle on February 10, 2006, 05:08:00 PM
can u tell me how can i do this in smf 1.06

Use html code in 1.0x <img src="imagelink"> (because the parse work in a another way).



@ArkServer
Ahh found it (i think)

http://www.simplemachines.org/community/index.php?topic=32954.90
(one page before could also possible, but i think it's somewhere there XD)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: haktanir2 on February 11, 2006, 06:41:17 AM
sorry I don't understand something

am I supposed to add the hide code manually? I do't see a button for it
Title: Re: Hide Tag Special
Post by: haktanir2 on February 11, 2006, 08:30:05 AM
din, the old messages on having a hidden and unhidden image is very confusing

could u pls explain in a new post?
Title: Re: Hide Tag Special
Post by: L.G.S on February 11, 2006, 02:35:52 PM
Quote from: desistyle on February 10, 2006, 05:08:00 PM
Quote from: L.G.S on February 10, 2006, 12:50:35 PM
^^ Just use

[img*]img link[/img*] in the hidden text nesage box?
can u tell me how can i do this in smf 1.06

Admin > Features and Options > Find hide area
Title: Re: Hide Tag Special
Post by: quasar on February 12, 2006, 12:44:37 PM
I'm getting an issue with this install.  It's got a problem with the subs.php file in the Soruces folder.  Any reasons why?
Title: Re: Hide Tag Special
Post by: mforum on February 14, 2006, 04:05:08 AM
What i did is to use <img src="imagelink"> at admins panel in "What should the text for user without Post in the thread" box...
You can use an unhide image inside hidden part of post, so when a user reply see unhide image along with the hidden part......
as

[*hide*]
[*img*] Unhide Image Link [*/img*]
Whatever is Hidden
[*/hide*]
Title: Re: Hide Tag Special
Post by: ArkServer on February 14, 2006, 07:50:22 AM
Quote from: din1031 on February 10, 2006, 05:13:28 PM
Quote from: L.G.S on February 10, 2006, 12:50:35 PM
^^ Just use

[img*]img link[/img*] in the hidden text nesage box?
he want use two pics and i know there is a way XD, but i forgot how to made it :x... i think i post it somewhere in the thread XD.




Quote from: desistyle on February 10, 2006, 05:08:00 PM
can u tell me how can i do this in smf 1.06

Use html code in 1.0x <img src="imagelink"> (because the parse work in a another way).



@ArkServer
Ahh found it (i think)

http://www.simplemachines.org/community/index.php?topic=32954.90
(one page before could also possible, but i think it's somewhere there XD)

Bye
DIN1031

thnx a bunch, till take a look later  8)!
Title: Re: Hide Tag Special
Post by: haktanir2 on February 14, 2006, 01:08:19 PM
As far as I can see, the hide can only be hidden once in a topic, once someone has replied, he will no longer see anything hidden... am I right?
Title: Re: Hide Tag Special
Post by: mforum on February 15, 2006, 02:51:29 AM
Quote from: haktanir2 on February 14, 2006, 01:08:19 PM
As far as I can see, the hide can only be hidden once in a topic, once someone has replied, he will no longer see anything hidden... am I right?

Yes ..!! Thats the idea ...  :)
Title: Re: Hide Tag Special
Post by: haktanir2 on February 15, 2006, 06:40:53 AM
I got the idea but I would have preferred it to be this way:

I post something hidden, those that reply see the content. Then in the same topic I post another hidden content and that too cannot be seen unless a new reply is made. That way you could make like a trivia topic, rather than opening a new topic for each question.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 15, 2006, 08:25:37 AM
Quote from: haktanir2 on February 15, 2006, 06:40:53 AM
I got the idea but I would have preferred it to be this way:

I post something hidden, those that reply see the content. Then in the same topic I post another hidden content and that too cannot be seen unless a new reply is made. That way you could make like a trivia topic, rather than opening a new topic for each question.
Nearly impossible to made :x (okay nothing is impossible XD), if you want this you must made a extra table who check only if the user already post after this post but also check if the user post before to see the old content XD, it's a lot work to do something like this. (Okay Other way is to check before and after for each post in the display, but this take a lot load time XD, because it must check it for each post who loaded.)

Hmmm there is a other hide mode evtl this mod can do it XD, but i don't know. (This mod work in a complete diffrent way the mod i made).

(But i think this mod can also not do this XD).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: haktanir2 on February 15, 2006, 08:35:22 AM
How about if a different title is used within the same topic, would that simplify things?

For example in the trivia topic I post a message with the title Question 1. Replies to it become RE: Question 1. Then I post message with title Question 2.
Title: Re: Hide Tag Special
Post by: cH40z-Lord on February 15, 2006, 08:49:52 AM
Your Mod doesn't work in 1.1 RC2 ???

If i post something with  [hide]text[/hide]  then I'll see  [hide]text[/hide]  ... :(

I installed it via. the packet manager... and it said it's installed now +.+"
Title: Re: Hide Tag Special
Post by: haktanir2 on February 15, 2006, 06:35:19 PM
go to admin panel and fill in the related parts to the mod
Title: Re: Hide Tag Special
Post by: mforum on February 16, 2006, 04:55:20 AM
Quote from: cH40z-Lord on February 15, 2006, 08:49:52 AM
Your Mod doesn't work in 1.1 RC2 ???

If i post something with  [hide]text[/hide]  then I'll see  [hide]text[/hide]  ... :(

I installed it via. the packet manager... and it said it's installed now +.+"

seems like your installation wasn`t succesfull
Title: Re: Hide Tag Special
Post by: ディン1031 on February 16, 2006, 05:19:44 AM
Quote from: haktanir2 on February 15, 2006, 08:35:22 AM
How about if a different title is used within the same topic, would that simplify things?

For example in the trivia topic I post a message with the title Question 1. Replies to it become RE: Question 1. Then I post message with title Question 2.
Hmmm i've think a little about that and i think i've got a solution, but i must look if all variables are avaible XD. Give me some time :), i sent you a pm, because you must test it (i've no time to test it). (But i need a little bit time XD.)

Okay i sent you a Change info for each version :P, you've luck that i've got a little bit time :x...

Quote from: mforum on February 16, 2006, 04:55:20 AM
Quote from: cH40z-Lord on February 15, 2006, 08:49:52 AM
Your Mod doesn't work in 1.1 RC2 ???

If i post something with  [hide]text[/hide]  then I'll see  [hide]text[/hide]  ... :(

I installed it via. the packet manager... and it said it's installed now +.+"

seems like your installation wasn`t succesfull

hehe yes it's seems like iot's not installed :P, and i know! that it work ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 19, 2006, 12:40:29 PM
Quote from: mforum on February 14, 2006, 04:05:08 AM
What i did is to use <img src="imagelink"> at admins panel in "What should the text for user without Post in the thread" box...
You can use an unhide image inside hidden part of post, so when a user reply see unhide image along with the hidden part......
as

[*hide*]
[*img*] Unhide Image Link [*/img*]
Whatever is Hidden
[*/hide*]


Well i did this and it worked out good. the thing is how do i put the HIDE image?

Another thing is a bug that i found (i thing somebody else already found it)
In a hide text, if you press QUOTE then you see all the hidden text. I just the serch in this forum, but i didn'd find anything.

Sorry for my english...i'm spanish
Title: Re: Hide Tag Special
Post by: mforum on February 20, 2006, 05:56:36 AM
Quote from: NiKtOrDo on February 19, 2006, 12:40:29 PM

Another thing is a bug that i found (i thing somebody else already found it)
In a hide text, if you press QUOTE then you see all the hidden text. I just the serch in this forum, but i didn'd find anything.

Sorry for my english...i'm spanish

Certainly NOT !!! when you press quote you see :
Quote
<img src="http://**********.com/hidenimg.gif">
When you press Modify you see all text of post along with tags and thats normal !!
I havent found a way that hidden part is seen without reply....


Quote
Well i did this and it worked out good. the thing is how do i put the HIDE image?

you upload the image on your server lets say http://yourdomain.com/hidden.gif
then you put in box where the hidden txt shows: <img src="http://yourdomain.com/hidden.gif">

Ok, if you "quote" post with hidden txt the hidden txt shows on original post, thats normal couse quote is a reply too  :)
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 20, 2006, 08:36:22 AM
Quote from: mforum on February 20, 2006, 05:56:36 AM
Quote from: NiKtOrDo on February 19, 2006, 12:40:29 PM
In a hide text, if you press QUOTE then you see all the hidden text.

Certainly NOT !!! when you press quote you see :
Quote
<img src="http://**********.com/hidenimg.gif">

Quote
you upload the image on your server lets say http://yourdomain.com/hidden.gif
then you put in box where the hidden txt shows: <img src="http://yourdomain.com/hidden.gif">

Well if i press MODIFY it's normal that it shows everything, buy for strange reasonif somebody press the QUOTE botton he can see everything in the quotet text without answering.
maybe if i put the hide image it will do like you said
Title: Re: Hide Tag Special
Post by: quasar on February 20, 2006, 08:41:49 AM
Quote from: ronitvohra on November 08, 2005, 01:12:02 AM
problem solved.i edited the Post.template.php.......and instead of glow button...i changes it to [hide][/hide]
so glow button will tag hide tag.......

I love smf........and thx for the hidden tag mod...

If you want to add an image to the code instead of replacing one, add this line into Post.template.php
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt[631]),
after this line:
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Then add this message into Post.english.php (or appropriate language file):
$txt[631] = 'Spoiler/Hide Tags';
after this line:
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';


Then create an image 23 x 22 pixels on a transparent background, add it to the folder 'images>bbc' of whichever template you are using, naming the file 'hide.gif'.

You should have a working image.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 20, 2006, 10:50:11 AM
Quote from: NiKtOrDo on February 20, 2006, 08:36:22 AM
Quote from: mforum on February 20, 2006, 05:56:36 AM
Quote from: NiKtOrDo on February 19, 2006, 12:40:29 PM
In a hide text, if you press QUOTE then you see all the hidden text.

Certainly NOT !!! when you press quote you see :
Quote
<img src="http://**********.com/hidenimg.gif">

Quote
you upload the image on your server lets say http://yourdomain.com/hidden.gif
then you put in box where the hidden txt shows: <img src="http://yourdomain.com/hidden.gif">

Well if i press MODIFY it's normal that it shows everything, buy for strange reasonif somebody press the QUOTE botton he can see everything in the quotet text without answering.
maybe if i put the hide image it will do like you said

The hidden content should nerver shown... any errors on the install?
Or if you switch on admin can see all, than you see it :X (I think you can see but i'm not sure xD). (Even if you not have a text, at least the mod replace it with a Space).

Hmmm i try it with a install without any settings changed, but i'm sure it work :).

Öhm which forum Version show this problem?



@quasar:
Thx for the help =).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 20, 2006, 02:24:49 PM
SMF 1.0.6.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 21, 2006, 11:23:07 AM
Ok i try it XD.

1.0.6 i'm sure that there are no changes but i go looking XD




I test it on a clean install, and install only the mod (and do not one change). And it work perfect in all ways, no way to see the content with quote... you must have a error on the install :X. (Or use something that change the quote system :X)...

(And i use the three normals ways of add quotings to the post... (i don't know more xD))

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 22, 2006, 10:04:54 AM
I will try this thanks.

the other thing is, about the hide and unhide image...well tu put the unhide image it's easy.
But i tried to follow the instructions from mforum but there were no luck.The images are already in the server.
I want to put the hide hide image in a post and when i reply, then change to the unhide image.
How do i do that?
Title: Re: Hide Tag Special
Post by: mforum on February 24, 2006, 05:32:41 AM
QuoteWhat i did is to use <img src="imagelink"> at admins panel in "What should the text for user without Post in the thread" box...
You can use an unhide image inside hidden part of post, so when a user reply see unhide image along with the hidden part......
as

[*hide*]
[*img*] Unhide Image Link [*/img*]
Whatever is Hidden
[*/hide*]

Have you done all that? where is the problem? what shows in a post with hidden part?
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 27, 2006, 09:34:28 AM
i don't know if i make things right.
I don't know how to put the HIDE image so it will appear when i post something...normally it will be:
[*img]link[*/img] but i want that the HIDE imeges disapear for the person that reply to that post.

I understad this next part perfectly.
[*hide*]
[*img*] Unhide Image Link [*/img*]
Whatever is Hidden
[*/hide*]

If i'm not wrong than you said i have to do something in the admin panel..but i don't know where and what to put
Title: Re: Hide Tag Special
Post by: mforum on February 27, 2006, 10:31:19 AM
QuoteIf i'm not wrong than you said i have to do something in the admin panel..but i don't know where and what to put

ok, supposing you have SMF 1.0.6, english lanquage, and you installed this mod succesfully
Go to: Admin panel => Forum Configuration => Edit Features and options  .. at Basic Forum Features you will find "Hide Mod
What should the text for user without Post in the thread"

in the box next to it, you put <img src="yourhideimagelink"> , then you push the save button and thats it.
Before all that you must have upload on your server the image, lets say your domain is http://www.NiKtOrDo.com , your image name hidenimg.gif and you have uploaded to http://NiKtOrDo.com/hidenimg.gif , then if you put that on your browser you must see the image, if you see the image allright put in the above box <img src="http://NiKtOrDo.com/hidenimg.gif"> and you ll have your image in every post with hide tags....

??? maybe someone can explain it simpler  ???
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 27, 2006, 10:34:42 AM
Quote
??? maybe someone can explain it simpler  ???

I think this is perfect, i'll try this right now. thanks
Title: Re: Hide Tag Special
Post by: NiKoLiN on February 28, 2006, 06:57:48 AM
We'll i found the problem but i don't know how to fix it.
Before we've put the HIDE, manualy and probaly thats why i didn't work out. Now i upload the MOD, but i have trouble to install.

2: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 32005/32005 is not allowed to access /home/denki/public_html/Foros/Packages/temp owned by uid/gid 99/99
Archivo: /home/denki/public_html/Foros/Sources/Subs-Package.php
Línea: 1476


I've looked in the FTP for this file: Subs-Package.php and in line 1476 there is written:
$fp = fopen($filename, in_array(substr($filename, -3), $text_filetypes) ? 'w' : 'wb');

We'll it doesn't say anything to me. I also looked in the FILE MANAGER of the FTP and i put al the values to 777, but nothing.

Any idea?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 01, 2006, 03:08:10 AM
Give you all the files who the mod change 777? Looks like some files have no rights be changed.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: NiKoLiN on March 02, 2006, 01:23:02 PM
we'll finally i came to the point that i'm stupid LoL.

i did things wrong from the beginning....i upload the hole zip file instead of the mod only...y a also have seen what mforum mean with how to put the image.

the last questions i have are...i got the forum in spanish and in the end of the hide mod is written in english and german, about the text to put (in my case the image)....to i have to change english.php or german.php to spanish.php ????

getting closer.....hehe
Title: Re: Hide Tag Special
Post by: mforum on March 02, 2006, 03:01:13 PM
If you have both english and spanish lanquage on your forum and want the hide mod text in admin panel to be in spanish you should change german.php to spanish.php and translate all text included in spanish.
Then zip the files of the mod, uninstall it with package manager and install the new zip.....
Title: Re: Hide Tag Special
Post by: NiKoLiN on March 02, 2006, 04:20:43 PM
Ok i changed the german to spanish. then i made a zip with that only mod and the xml file. After uploading it from theforum y try to apply the mod to install it but it comes this error:

Quote2: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 32005/32005 is not allowed to access /home/denki/public_html/Foros/Packages/temp owned by uid/gid 99/99
Archivo: /home/denki/public_html/Foros/Sources/Subs-Package.php
Línea: 1476

temp folder has 777 for values but it's empty

i also looked in the Subs-Package.php and the line 1476 says:
Quote// Get an array of xmlArray's for use with foreach.

don't know what this means.

The mod is in public_html/Foros/Packages..so in the right place, but what do i do wrong?
Title: Re: Hide Tag Special
Post by: mforum on March 03, 2006, 08:27:33 AM
I am not an expert, but seems you dont have permision from server to access the folder  ::)
Title: Re: Hide Tag Special
Post by: NiKoLiN on March 03, 2006, 08:34:37 AM
this is strange...i think i have to talk with the person from the server. he may con solve that permision story
Title: Re: Hide Tag Special
Post by: Elmacik on March 06, 2006, 01:55:48 AM
I have read some pages of messages but dont have time to read all 16.
Some of 1.18 users say that quoting hidden content *sometimes* show it.
I also experienced this. Sometimes hidden content is shown if its quoted.
Title: Re: Hide Tag Special
Post by: tuga on March 06, 2006, 07:56:38 AM
hello, i have this pack on my site, i`m admin and i cannot see the hide content, also e check Admin should see the hide without post? and global and co-admin members can do all :-( can anyone tell whats going on
Title: Re: Hide Tag Special
Post by: tuga on March 06, 2006, 08:19:58 AM
hi i found a bug on this mod.

if i post a msg between [hide]here[/hide] and post the msg stay hide for all members witout admin (should be like that) but the members co-admin or global or other who can edit posts can see the links, my opinion is something must be add for permissions.

the bug i found is on AJAX editing, like i say if i post and then go to AJAX editing and send again, nobody can see the msg and if anser the topic also cannot view inc admin, can anyone fix that?
Title: Re: Hide Tag Special
Post by: mforum on March 07, 2006, 03:25:41 AM
Quote from: tuga on March 06, 2006, 08:19:58 AM
if i post a msg between [hide]here[/hide] and post the msg stay hide for all members witout admin (should be like that) but the members co-admin or global or other who can edit posts can see the links, my opinion is something must be add for permissions.

I cant think of a good reason why someone can edit post cant see hidden content.  :)
Title: Re: Hide Tag Special
Post by: ディン1031 on March 07, 2006, 03:52:58 AM
Quote from: tuga on March 06, 2006, 08:19:58 AM
if i post a msg between [hide]here[/hide] and post the msg stay hide for all members witout admin (should be like that) but the members co-admin or global or other who can edit posts can see the links, my opinion is something must be add for permissions.

Hehe öhm if it hide this content to, than you can never change this content and if one admin edit the post the content is forever away... so it's unlogical to hide this too... and other reason admin and gmod who've the rights to edit posts are normaly edit only posts if it nesseasary so there is a reason why some one edit it.

Other problem if i remove the edit function than each person kann write something that not so good (or use violent things) he could easy lock this post to the mods, gmods and admins with hide ;), if this avaible...

And the other thing it's a lot of work to made this workable... and i will never put something like that into the mod (because i saw so many other hide mods who work in the way as my mod :P)

Quote from: Elmacik on March 06, 2006, 01:55:48 AM
I have read some pages of messages but dont have time to read all 16.
Some of 1.18 users say that quoting hidden content *sometimes* show it.
I also experienced this. Sometimes hidden content is shown if its quoted.
Version 1.1RC2 or other Version?

Okay i will made a mass quote click test...
but it's difficult to find out when this happend but if i found out why and a way to solve it :), i will solve it... but it's really strange... hmmm... but i test it.

BYe
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on March 08, 2006, 06:15:38 AM
So i test it last evening this... to find the sometime... but...

I push with a script the buttons for Quote 60 (Could be more or lower XD, depends on how many windows are open) Times per minutes and this for ten minutes..., and it happend not one time... (And this in the three avaible way in the FF, Opera 7.5 and IE) with one total crash of my pc... to much windows open..

At least i've one idea for solve this problem, but with this the post with hide in it are never quotable any more ;D.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on March 15, 2006, 05:14:57 AM
Quote from: din1031 on November 03, 2005, 01:43:01 AM
Quote from: ArkServer on November 02, 2005, 11:41:31 AM
thnx! the hidden works.. now how to make an image appear when unhidden?

see it in action:
http://arkserver.servehttp.com/forum/index.php?topic=934.0
i altered the image a bit.
The simpelst way i know... hmmmm

Serach in the Subs.php

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


Replace this this with

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}
elseif(preg_match($message, "/\[hide\](.+?)\[\/hide\]/i") != 0) {
$message .= '[br][img]http://linktoaotherpicture[/img]';
}


replace the [img]http://linktoaotherpicture[/img] with your image link.
Did i think right then it should be a unhidden images at the end of the post. (but only if there a hidden text in it).

It's untested and i can give no warrenty for this, use this on your own risk ;).

Bye
DIN1031


I just found out that this code will give the poll an error:
http://arkserver.servehttp.com/index.php?topic=1857.0

any idea how to fix it?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 15, 2006, 09:40:32 AM
Sorry but my part use nothing from a poll :x, only if you use the hide tag in the poll XD i never tested that. I never thought someone use this?

Did you really use hide tag in there? XD

But normly it should not made an error because of that, or what kind of error exact happend?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ArkServer on March 15, 2006, 10:58:51 AM
(http://arkserver.servehttp.com/pollerror.JPG)
No idea.. when i replace your code with the original code the hide image doesnt show up so i really think its in the code you gave me.
Title: Re: Hide Tag Special
Post by: ディン1031 on March 17, 2006, 12:42:55 PM
Did this happen on normal text to?

Or only if there are two **?

rofl you use rc2 XD this version should made some other stange things, too
and it appeare only after you post because it's placed wrong know ;). (I think it placed wrong know XD).

Hmmm and i've no idea what i must do that i work in rc2... somehow it don't want work there :x...

Okay for Version 1.1RC2 Use this if you want use it ;)

for Version 1.18
Search in Subs.php for

if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


Replace it wtih :)

if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0)
$message .= '[br][img]youlinkit[/img]';
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


And add you pic in youlinkit :).

Should work know i tested it ;). (Next time i use the right order for the preg_match *runs*)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: balzizras on March 22, 2006, 08:43:26 PM
Is there any way to add a button for this mod? Some pll are to lazy to type; [hide] [/hide]  :D
Title: Re: Hide Tag Special
Post by: desistyle on March 30, 2006, 01:01:13 PM
Hi my hidetag stoped workin when i update smf 1.06 to smf 1.07 can someone help me fix it please
Title: Re: Hide Tag Special
Post by: mforum on March 31, 2006, 01:56:29 AM
Quote from: desistyle on March 30, 2006, 01:01:13 PM
Hi my hidetag stoped workin when i update smf 1.06 to smf 1.07 can someone help me fix it please

I dont think the update has something to do with HideTag mod   :o
Mine is working fine after updating  ::)
Title: Re: Hide Tag Special
Post by: desistyle on March 31, 2006, 02:30:39 AM
well i fixed it it was just a lil code to add that 1.0.7 in the xml if anyone else need it i am attachin it here


http://rapidshare.de/files/16847629/HideTagSpecial.zip.html (http://rapidshare.de/files/16847629/HideTagSpecial.zip.html)
Title: Re: Hide Tag Special
Post by: mforum on March 31, 2006, 02:37:16 AM
oh you want to install the mod, i thought it was allready installed and stop working after update  :)

open package-info.xml

find
<install for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6">
<readme type="inline">
THIS VERSION WORK ONLY WITHOUT FASTER PARSMENT!
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.0.x.mod</modification>
</install>
<uninstall for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6">
<modification format="boardmod" reverse="true">HideTagMod1.0.x.mod</modification>
</uninstall>


replace with
<install for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7">
<readme type="inline">
THIS VERSION WORK ONLY WITHOUT FASTER PARSMENT!
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.0.x.mod</modification>
</install>
<uninstall for="1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7">
<modification format="boardmod" reverse="true">HideTagMod1.0.x.mod</modification>
</uninstall>
Title: Re: Hide Tag Special
Post by: zilox on March 31, 2006, 11:14:51 AM
still how am i suppose to install it??
Title: Re: Hide Tag Special
Post by: ディン1031 on April 07, 2006, 08:56:29 AM
Okay should work know in 1.07.

Bye the very very busy
DIN1031
Title: Re: Hide Tag Special
Post by: diane_tt on May 20, 2006, 08:21:52 PM
hi din! i have SMF 1.1 RC2 and cannot get the after hidden image to work i've tried both codes from this one that fixes the hide within a poll but no luck. i still see that hidden part is bold but no image :( i wonder what i'm doing wrong?

Quote from: ディン1031 on March 17, 2006, 12:42:55 PM
Did this happen on normal text to?

Or only if there are two **?

rofl you use rc2 XD this version should made some other stange things, too
and it appeare only after you post because it's placed wrong know ;). (I think it placed wrong know XD).

Hmmm and i've no idea what i must do that i work in rc2... somehow it don't want work there :x...

Okay for Version 1.1RC2 Use this if you want use it ;)

for Version 1.18
Search in Subs.php for

if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


Replace it wtih :)

if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0)
$message .= '[br][img]youlinkit[/img]';
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (!empty($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '&nbsp;'), $message);
}


And add you pic in youlinkit :).

Should work know i tested it ;). (Next time i use the right order for the preg_match *runs*)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Vinspire on May 21, 2006, 06:44:19 AM
Is there any codes to put in a BBC Button for this Hide Tag ? Thanks :)
Title: Re: Hide Tag Special
Post by: ディン1031 on May 23, 2006, 01:07:00 AM
@Vinspire
http://www.simplemachines.org/community/index.php?topic=32954.msg490688#msg490688

I don't not know if this work in your version but i think it do :x

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Vinspire on May 23, 2006, 10:10:05 AM
Quote from: quasar on February 20, 2006, 08:41:49 AM
Quote from: ronitvohra on November 08, 2005, 01:12:02 AM
problem solved.i edited the Post.template.php.......and instead of glow button...i changes it to [hide][/hide]
so glow button will tag hide tag.......

I love smf........and thx for the hidden tag mod...

If you want to add an image to the code instead of replacing one, add this line into Post.template.php
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt[631]),
after this line:
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Then add this message into Post.english.php (or appropriate language file):
$txt[631] = 'Spoiler/Hide Tags';
after this line:
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';


Then create an image 23 x 22 pixels on a transparent background, add it to the folder 'images>bbc' of whichever template you are using, naming the file 'hide.gif'.

You should have a working image.

Is this the code i am looking for ? Any nice hide.gif ?
Title: Re: Hide Tag Special
Post by: ディン1031 on May 23, 2006, 02:46:29 PM
Correct :)

I Attached to this post some nice hide.gif. But i don't have one for the new RC2 style :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ivo2296 on June 07, 2006, 12:02:37 PM
Hello,

I'm using upgrated verssion of smf 1.0.7 and there is not such a code in Subs.php :

$sourcedir/Subs.php
</edit file>

<search for>
// Nothing to parse... ?
if (!strstr($message, '[') && !strstr($message, '://') && !strstr($message, '@') && !strstr($message, '/me') && !strstr($message, '&lt;'))
return;
</search for>



My Subs.php verssion is: Software Version:           SMF 1.0.6     
Here is my Subs.php:  LINK (http://www.bg-fen.com/Subs.rar)

Thanks in advance for the help!
Title: Re: Hide Tag Special
Post by: Vinspire on June 23, 2006, 11:59:57 PM
Quote from: cH40z-Lord on February 15, 2006, 08:49:52 AM
Your Mod doesn't work in 1.1 RC2 ???

If i post something with  [hide]text[/hide]  then I'll see  [hide]text[/hide]  ... :(

I installed it via. the packet manager... and it said it's installed now +.+"

I install it using the packages manager and its working smoothly. Is it because you are the admin or something ?

Hiya ディン1031, long time no see. I've implemented the hide function with the bbc button in my forum. Awesome !!! :)

Now in the process of looking for a nice hide bbc tag :P
Title: Re: Hide Tag Special
Post by: Stirred on June 30, 2006, 02:08:53 PM
Hi!

Does anyone knows one way to give to Global Moderators and other group (in this case Super Moderator, i think his ID=4, is the number four on the list) acess to see all Hide Content without posting or without Editing to see??

I searched on the file:
HideTagMod1.1rc2.mod and i came to this line:

// Find if there a post from you in this thread :) (For the hide tag)
if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;


Is anyway i can add $user_info['is_admin'] and Global Moderator and other group (ID=4) ?

Thanks for any feedback and congratulations on the mod!
Title: Re: Hide Tag Special
Post by: PrizeLive.com on June 30, 2006, 02:32:13 PM
Installed smoothly. Thanks!
Title: Re: Hide Tag Special
Post by: ディン1031 on July 06, 2006, 12:52:03 AM
Quote from: Stirred on June 30, 2006, 02:08:53 PM
Hi!

Does anyone knows one way to give to Global Moderators and other group (in this case Super Moderator, i think his ID=4, is the number four on the list) acess to see all Hide Content without posting or without Editing to see??

I searched on the file:
HideTagMod1.1rc2.mod and i came to this line:

// Find if there a post from you in this thread :) (For the hide tag)
if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;


Is anyway i can add $user_info['is_admin'] and Global Moderator and other group (ID=4) ?

Thanks for any feedback and congratulations on the mod!

http://www.simplemachines.org/community/index.php?topic=32954.msg451291#msg451291 <- Here is a Replacment for it ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Stirred on July 19, 2006, 09:50:33 PM
Thanks for the answer. =)

But it didn´t work for me, i just came from testing it and it didn´t work. I have SMF 1.1 RC2

And here is the package HideTagMod1.1rc2.mod code i use on my site:

<id>
din1031:HideTag
</id>

<version>
1.18 MUI
</version>
<edit file>
$sourcedir/ModSettings.php
</edit file>

<search for>
array('check', 'approveAccountDeletion'),
</search for>

<add after>
'',
array('check', 'hide_adminshouldsee'),
</add after>

<edit file>
$sourcedir/Display.php
</edit file>

<search for>
// Find the previous or next topic.  Make a fuss if there are no more.
</search for>

<add before>

// Find if there a post from you in this thread :) (For the hide tag)
if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '11' || $user_settings['ID_GROUP'] == '2' || $user_settings['ID_GROUP'] == '10') && !empty($modSettings['hide_adminshouldsee']))
$context['user_post_avaible'] = 1;
elseif (!$user_info['is_guest']) {
$request = db_query("
SELECT ID_MSG, ID_MEMBER
FROM {$db_prefix}messages
WHERE ID_TOPIC = $topic AND ID_MEMBER = $ID_MEMBER
LIMIT 1", __FILE__, __LINE__);

if (mysql_num_rows($request)) $context['user_post_avaible'] = 1;
else $context['user_post_avaible'] = 0;
mysql_free_result($request);
}
else $context['user_post_avaible'] = 0; //Anyway no way you should see it!
</add before>

<edit file>
$sourcedir/Post.php
</edit file>

<search for>
$form_message = preg_replace('~<br(?: /)?' . '>~i', "\n", $form_message);
</search for>

<add before>
            if (!isset($txt['hide_hiddentext'])) $txt['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
$form_message = preg_replace("~\[hide\](.+?)\[\/hide\]~i", $txt['hide_hiddentext'], $form_message);
$form_message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $txt['hide_hiddentext'], $form_message);
</add before>

<search for>
$row['body'] = preg_replace('~<br(?: /)?' . '>~i', "\n", $row['body']);
</search for>

<add after>
//Lets change the HideTag ;) this is a secret and should be a secret :)
if (!isset($txt['hide_hiddentext'])) $txt['hide_hiddentext'] = ' '; //A tiny little space =)
$row['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $txt['hide_hiddentext'], $row['body']);
$row['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $txt['hide_hiddentext'], $row['body']);
</add after>

<edit file>
$sourcedir/Search.php
</edit file>

<search for>
// Do the censor thang...
censorText($message['body']);
</search for>

<add after>
//Remove Hidden Text :x
$message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $txt['hide_hiddentext'], $message['body']);
$message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $txt['hide_hiddentext'], $message['body']);
</add after>

<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
global $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;
</search for>

<add after>

//Hide Mod.. i remove the code before i do anything...
if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (!empty($txt['hide_hiddentext']) ? $txt['hide_hiddentext'] : '&nbsp;'), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (!empty($txt['hide_hiddentext']) ? $txt['hide_hiddentext'] : '&nbsp;'), $message);
}
</add after>

<search for>
array(
'tag' => 'white',
'before' => '<span style="color: white;">',
'after' => '</span>',
),
</search for>

<add after>
array(
'tag' => 'hide',
'before' => '',
'after' => '<br><br><img src="http://www.hentai-portugal.com/Themes/default/images/bbc/hide_show.gif" border="0" alt="Conteúdo Disponível: Obrigado por ter respondido." title="Conteúdo Disponível: Obrigado por ter respondido."><br><br>',
),
</add after>

<edit file>
$languagedir/ModSettings.english.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_adminshouldsee'] = 'Admin should see the hide without post?';
</add before>

<edit file>
$languagedir/ModSettings.portuguese.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_adminshouldsee'] = 'O Admin pode ver o conteudo escondido?';
</add before>

<edit file>
$languagedir/index.english.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_hiddentext'] = 'Some secrets are here!';
</add before>

<edit file>
$languagedir/index.portuguese.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_hiddentext'] = '<br><br><img src="http://www.hentai-portugal.com/Themes/default/images/bbc/hide.gif" border="0" alt="Conteúdo Escondido: Precisa responder para ler o conteúdo." title="Conteúdo Escondido: Precisa responder para ler o conteúdo."><br><br>';
</add before>


I made some changes to show images instead of text. But i don´t see any mistake that can make those lines don´t work :/
Title: Re: Hide Tag Special
Post by: Vinspire on August 05, 2006, 06:30:36 AM
I've gotten this error in my forum error log.

8: Undefined index: hide_hiddentext
File: /home/korobox/public_html/forum/Sources/Search.php
Line: 1438

How to fix this ?  :o
Title: Re: Hide Tag Special
Post by: minnik on August 07, 2006, 11:04:54 AM
Hi Everybody!

Admin's can see all hide posts. But i want to show post every member who have 50 message in forum.

How can I do it? Please help.
Title: Re: Hide Tag Special
Post by: minnik on August 07, 2006, 02:56:33 PM
is there anybody??
Title: Re: Hide Tag Special
Post by: mforum on August 07, 2006, 06:33:47 PM
Quote from: minnik on August 07, 2006, 11:04:54 AM
Hi Everybody!

Admins can see all hide posts. But i want to show post every member who have 50 message in forum.

How can I do it? Please help.

I think you need permsions on member groups allowing certain groups to see hiden content.
Maybe the creator of this mod can add this option.  8)

Or take a look at this post http://www.simplemachines.org/community/index.php?topic=32954.msg634866#msg634866
Title: Re: Hide Tag Special
Post by: minnik on August 08, 2006, 11:43:52 AM
it didnt work?
I replaced;

// Find if there a post from you in this thread :) (For the hide tag)
   if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
with;

// Find if there a post from you in this thread :) (For the hide tag)
   if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '11' || $user_info['is_mod'] || $user_settings['ID_GROUP'] == '3' || $user_settings['ID_GROUP'] == '2') && !empty($modSettings['hide_adminshouldsee']))


i writed the groups but it didnt worked.?
Title: Re: Hide Tag Special
Post by: mforum on August 08, 2006, 12:22:20 PM
Quote from: minnik on August 08, 2006, 11:43:52 AM
it didn't work?
I replaced;

// Find if there a post from you in this thread :) (For the hide tag)
   if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))
with;

// Find if there a post from you in this thread :) (For the hide tag)
   if (($user_info['is_admin'] || $user_settings['ID_GROUP'] == '11' || $user_info['is_mod'] || $user_settings['ID_GROUP'] == '3' || $user_settings['ID_GROUP'] == '2') && !empty($modSettings['hide_adminshouldsee']))


i writed the groups but it didnt worked.?

ok, lets start again.
you want all your member groups  over 50 post to see the hidden content without replying.
first of all you must find out the IDs of those groups.
an easy way to do that is to go in admin panel , member group permissions  and click on the member group to change permissions, at your address bar you`ll see something like
/forum/index.php?action=permissions;sa=modify;group=2
the ID of this group is 2.
after you find all IDs you will change the code according to them.   $user_settings['ID_GROUP'] == '11'
Title: Re: Hide Tag Special
Post by: minnik on August 09, 2006, 12:29:26 PM
I tried it but it didnt work.
Now I am trying another.
// Find if there a post from you in this thread Gülümseme (For the hide tag)
   if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))

  changed;

// Find if there a post from you in this thread :) (For the hide tag)
   if ($user_info['is_admin'] || $message['member']['posts'] > 50)

but it didnt worked again
How can ı do?

Title: Re: Hide Tag Special
Post by: ivo2296 on August 10, 2006, 03:36:28 PM
Hello,

How can I make the admin custom message to appear in red and bold over the hidden content?
And is there why the hidden text to be shown after user uses "Thank you" button only, on replay still not to be able to see the hidden content?
Thank you!



P.S. And one more thing:
Is it possible on replay the hidden text not be shown? - i need users to see the hidden text when they click on "Thank you" button only.
Title: Re: Hide Tag Special
Post by: minnik on August 13, 2006, 12:09:28 AM
Quote from: minnik on August 09, 2006, 12:29:26 PM
I tried it but it didnt work.
Now I am trying another.
// Find if there a post from you in this thread Gülümseme (For the hide tag)
   if ($user_info['is_admin'] && !empty($modSettings['hide_adminshouldsee']))

  changed;

// Find if there a post from you in this thread :) (For the hide tag)
   if ($user_info['is_admin'] || $message['member']['posts'] > 50)

but it didnt worked again
How can ı do?



Did you know it?
Title: Re: Hide Tag Special
Post by: Assistance on August 13, 2006, 09:01:36 AM
1.1RC2

Enabled BBC tags: the list is now gone
Title: Re: Hide Tag Special
Post by: desistyle on August 23, 2006, 07:42:48 PM
OK it does work and anything but the code [\hide] is still visible do u know why i mean the links does get hide only thing is that code is visible
Title: Re: Hide Tag Special
Post by: Loverboy on August 28, 2006, 06:28:41 PM
I downloaded the package.. But i don't know how to install it? Could anyone help?
Title: Re: Hide Tag Special
Post by: GuilleGon on August 28, 2006, 09:28:04 PM
The text appears me blank.

Salu2
Title: Re: Hide Tag Special
Post by: winrules on September 01, 2006, 04:15:57 PM
ディン1031, this is a good mod but there is one small problem. In the parse_bbc function you add this:

    //Hide Mod.. i remove the code before i do anything...
    if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
        //Lets change the HideTag ;) this is a secret and should be a secret :)
        if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
        // The MUI Switch ;D
        if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
        //Remove it ;D
        $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $modSettings['hide_hiddentext'], $message);
        $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $message);
    }

before anything else. In the BBC manager, it calls parse_bbc(false). The function will return an array of the codes if $message is false. But you're mod performs preg_replaces on $message before the function checks if $message is false. So $message will no longer be false and a list of BBC tags won't be returned. You can fix this by only performing you're code if $message isn't false, by replacing this (in Subs.php):

    if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {

with this:

    if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && $message !==false) {
Title: Re: Hide Tag Special
Post by: desistyle on September 01, 2006, 05:29:08 PM
where do i add this

//Hide Mod.. i remove the code before i do anything...
    if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
        //Lets change the HideTag ;) this is a secret and should be a secret :)
        if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
        // The MUI Switch ;D
        if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
        //Remove it ;D
        $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $modSettings['hide_hiddentext'], $message);
        $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $message);
    }
Title: Re: Hide Tag Special
Post by: winrules on September 01, 2006, 09:14:10 PM
Quote from: desistyle on September 01, 2006, 05:29:08 PM
where do i add this

//Hide Mod.. i remove the code before i do anything...
    if(empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) {
        //Lets change the HideTag ;) this is a secret and should be a secret :)
        if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
        // The MUI Switch ;D
        if (!empty($modSettings['hide_MUIswitch'])) $modSettings['hide_hiddentext'] = &$txt['hide_hiddentext'];
        //Remove it ;D
        $message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", $modSettings['hide_hiddentext'], $message);
        $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), $modSettings['hide_hiddentext'], $message);
    }
If you want to fix the bug right now, just find and replace the last 2 things in Subs.php.
Title: Re: Hide Tag Special
Post by: desistyle on September 01, 2006, 10:00:08 PM
i did it still shows that text
Title: Re: Hide Tag Special
Post by: winrules on September 01, 2006, 10:03:32 PM
Quote from: desistyle on September 01, 2006, 10:00:08 PM
i did it still shows that text
Thats a completly unrelated problem from this.
Title: Re: Hide Tag Special
Post by: desistyle on September 01, 2006, 10:43:59 PM
can u tell me how can i fix that bug than ? cause when we reply to the post eveyrthing shows alrite but the bbc code is left too how to fix that ?
Title: Re: Hide Tag Special
Post by: mforum on September 02, 2006, 05:13:23 AM
winrules, what is the result of this bug exactly ?  ???
Title: Re: Hide Tag Special
Post by: winrules on September 02, 2006, 10:25:37 AM
Quote from: mforum on September 02, 2006, 05:13:23 AM
winrules, what is the result of this bug exactly ?  ???
The code isn't given to the BBC manager, so the BBC manager won't display any tags. It will show like this:
http://img235.imageshack.us/img235/323/bbbbil5.jpg
Title: Re: Hide Tag Special
Post by: ディン1031 on September 02, 2006, 02:47:30 PM
Thx i will fix it ;)

Version 1.2.1 fix the bbc bug in my mod, thx to winrules for this information... i really overseen this <<.

It include a Upgrade in the Package and it's only for the RC2/3 Versions.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: desistyle on September 02, 2006, 05:21:01 PM
can u also fix that other bug which shows the [/hide] tag after the post is unhidden 
Title: Re: Hide Tag Special
Post by: mforum on September 03, 2006, 04:45:25 AM
Quote from: desistyle on September 02, 2006, 05:21:01 PM
can u also fix that other bug which shows the [/hide] tag after the post is unhidden 

Maybe you use hide tag inside center tag in RC2?
If that so, you must put (center) in front of everything and (/center) in the end of everything.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 03, 2006, 07:01:05 AM
Quote from: desistyle on September 02, 2006, 05:21:01 PM
can u also fix that other bug which shows the [/hide] tag after the post is unhidden 

Sorry but i've never seen or reproduced this error... so i don't know what i can do <<.

Bye
din1031
Title: Re: Hide Tag Special
Post by: desistyle on September 03, 2006, 01:33:16 PM
Quote from: ディン1031 on September 03, 2006, 07:01:05 AM
Quote from: desistyle on September 02, 2006, 05:21:01 PM
can u also fix that other bug which shows the [/hide] tag after the post is unhidden 

Sorry but i've never seen or reproduced this error... so i don't know what i can do <<.

Bye
din1031

as soon i use center thing inside of the hide tags it messes up
Title: Re: Hide Tag Special
Post by: mforum on September 03, 2006, 04:56:40 PM
center messes up everything if its inside something, always use it in the begging and close it in the end of everything. :)
Title: Re: Hide Tag Special
Post by: desistyle on September 03, 2006, 11:41:53 PM
Can someone make a button for hide tag in post page so there is a button like there is for Bold and italic and url links there should be a button for hide tag too :D can someone make this possible
Title: Re: Hide Tag Special
Post by: GuilleGon on September 06, 2006, 05:29:47 PM
The text appears me blank.

Salu2
Title: Re: Hide Tag Special
Post by: HHwarriors on September 10, 2006, 11:04:45 AM
If i want a Bottum i can prees for it so it doz [HIDE][/HIDE] its self. What i got to do ?  8)
Title: Re: Hide Tag Special
Post by: Garédo on October 15, 2006, 09:11:41 AM
Bonjour, j'ai traduit ce mod en français et rajouté un BBcode.
J'ai également ajouté une aide détaillée.
cette traduction s'installe comme un mod via le gestionnaire de paquet.

Ne pouvant mettre le fichier en piece jointe je laisse un lien pour le télécharger
____________________________
Hello, I translated this MOD into French and added BBcode.
I also added a detailed help.
this translation settles like a MOD via the manager of package.

Not being able to put the file in enclosure I leave a bond to download it

Afflicted for my English I use a translator on line.

Trad-Fr_HideTagSpecial (http://www.net.rabouins.info/Trad-Fr_HideTagSpecial121.tar.gz)
Title: Re: Hide Tag Special
Post by: khurrum on November 03, 2006, 01:44:55 PM
I am having error as follows: Shall I proceed with the install, kindly help

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/ModSettings.php    Test successful
2.    Execute Modification    ./Sources/Display.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Sources/Search.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test successful
6.    Execute Modification    ./Themes/default/Display.template.php    Test failed
7.    Execute Modification    ./Themes/default/languages/ModSettings.english.php    Test successful
8.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
Title: Re: Hide Tag Special
Post by: Vinspire on November 07, 2006, 10:03:25 AM
I can't find the hide BBC button  >:( >:( >:(
Title: Re: Hide Tag Special
Post by: Vinspire on November 07, 2006, 02:40:30 PM
Quote from: quasar on February 20, 2006, 08:41:49 AM
Quote from: ronitvohra on November 08, 2005, 01:12:02 AM
problem solved.i edited the Post.template.php.......and instead of glow button...i changes it to [hide][/hide]
so glow button will tag hide tag.......

I love smf........and thx for the hidden tag mod...

If you want to add an image to the code instead of replacing one, add this line into Post.template.php
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt[631]),
after this line:
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Then add this message into Post.english.php (or appropriate language file):
$txt[631] = 'Spoiler/Hide Tags';
after this line:
$txt[532] = 'Font Size';
$txt[533] = 'Font Face';


Then create an image 23 x 22 pixels on a transparent background, add it to the folder 'images>bbc' of whichever template you are using, naming the file 'hide.gif'.

You should have a working image.

Nvm. I've got this solved by following this post :)
Title: Re: Hide Tag Special
Post by: ketza on November 09, 2006, 04:11:28 PM
Man I LOVE YOU !!! BIG THX for the hide Button
Title: Re: Hide Tag Special
Post by: qaisar on December 03, 2006, 08:02:17 PM
can you update it for SMF 1.1 please? :(
Title: Re: Hide Tag Special
Post by: desistyle on December 04, 2006, 07:35:01 PM
can someone update it please
Title: Re: Hide Tag Special
Post by: sebone on December 06, 2006, 02:42:28 AM
i am also waiting for an update, i need it so bad.
could someone please do it?

thank you.
Title: Re: Hide Tag Special
Post by: desistyle on December 06, 2006, 09:48:15 AM
I fixed it for smf 1.1 enjoy


Title: Re: Hide Tag Special
Post by: sebone on December 06, 2006, 04:50:42 PM
it works great! thank you!  :D
Title: Re: Hide Tag Special
Post by: ディン1031 on December 07, 2006, 06:56:25 AM
So the Package is now 1.1 Final compatible and work fine :).
Title: Re: Hide Tag Special
Post by: Chmura on December 11, 2006, 01:36:39 PM
I'm not sure how to install the package, i downloaded the zip file and tried to install it but i got an error

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.


Modification parse error


So i don't think i should go through with it
The only other package i have installed is Country Flags
CHMOD is at 777 too
oh and i have 1.1
Title: Re: Hide Tag Special
Post by: Chmura on December 13, 2006, 01:11:07 AM
Will I have to do anything manually if I'm using the Dilber Theme RC3 and SMF 1.1 to install this mod??
Title: Re: Hide Tag Special
Post by: Greek on December 15, 2006, 04:50:42 AM
It's working for me, but I have a question:
I noticed that there is no hide button and I have to enter the bb code every time manualy.
How can I add a hide button next to the others bbc buttons?

And something else (perhaps a little bit more difficult):
Is there any possibility, the hidden text to be unhidden ONLY if the answer is based on a predefined word or text (by admin)?
Example: The predefined word or text by admin is "I found it!". Then the hidden text can be unhidden only if the user give the right answer "I found it!" (like a quiz).

Thanks in advance for any answer  :)
Title: Re: Hide Tag Special
Post by: AtelierGal on December 18, 2006, 10:34:54 PM
I'm using SMF 1.1.1
I downloaded your package many times using RC3 and it gave me many fatal errors that I ended re-installing & upgrading my forum just because of this.

Has anyone tested this with SMF 1.1.1 with the "Hide, You need xx posts" etc options available properly in this package?

Thanks
Title: Re: Hide Tag Special
Post by: mgaidia on December 21, 2006, 08:32:15 PM
i wasnt able to install it on smf 1.1.1
im getting the following error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Please update it asap
Title: Re: Hide Tag Special
Post by: Kiwitje on December 22, 2006, 05:40:18 AM
Quote from: mgaidia on December 21, 2006, 08:32:15 PM
i wasnt able to install it on smf 1.1.1
im getting the following error
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

Please update it asap

Not working here too..... I upload the package, then i get the message that there are no install actions. It is in my list of packages, but not working on the forum. To bad :( Any ideas?
Title: Re: Hide Tag Special
Post by: BigGunn on December 24, 2006, 03:10:58 AM
In the latest version of this, where would one go about adding a link to a "unhidden" image. I tried the previous examples given and they did not work.

What I mean by "unhidden image" is an image that shows up after a person replies, thanking them for replying. Like this:

(http://img291.imageshack.us/img291/3815/unhiddenjo5.gif)
Title: Re: Hide Tag Special
Post by: Vinspire on December 24, 2006, 03:56:16 AM
Quote from: BigGunn on December 24, 2006, 03:10:58 AM
In the latest version of this, where would one go about adding a link to a "unhidden" image. I tried the previous examples given and they did not work.

What I mean by "unhidden image" is an image that shows up after a person replies, thanking them for replying. Like this:

(http://img291.imageshack.us/img291/3815/unhiddenjo5.gif)

This is an awesome idea. I second his idea :)
Title: Re: Hide Tag Special
Post by: Kiwitje on December 24, 2006, 07:28:06 AM
Nobody knows how to fix it with 1.1.1 ? :(
Title: Re: Hide Tag Special
Post by: mgaidia on December 24, 2006, 07:34:03 AM
please update it
we need that mod asap
Title: Re: Hide Tag Special
Post by: BigGunn on December 25, 2006, 12:57:52 AM
all you have to do to make it work with 1.1.1 is edit the package-info.xml and change this:

<install for="1.1 RC2, 1.1 RC3, 1.1">
<readme type="inline">
Version 1.1+ Install
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.1rc2.mod</modification>
</install>
<upgrade from="1.2.0" for="1.1 RC2, 1.1 RC3, 1.1">
<readme type="inline">
Remove the BBC Tag bug, Thanks for the info winrules.
</readme>
<modification format="boardmod">Update120to121.1rc2.mod</modification>
</upgrade>
<uninstall for="1.1 RC2, 1.1 RC3, 1.1">
<modification format="boardmod" reverse="true">HideTagMod1.1rc2.mod</modification>
</uninstall>


to this:

<install for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1">
<readme type="inline">
Version 1.1+ Install
This mod add the [hide][/hide].
This show the text/link/img etc. between the hide only if someone post in this thread.
Copyright 2005 by DIN1031 @ www.ayu-kult.de/forum/
</readme>
<modification format="boardmod">HideTagMod1.1rc2.mod</modification>
</install>
<upgrade from="1.2.0" for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1">
<readme type="inline">
Remove the BBC Tag bug, Thanks for the info winrules.
</readme>
<modification format="boardmod">Update120to121.1rc2.mod</modification>
</upgrade>
<uninstall for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1">
<modification format="boardmod" reverse="true">HideTagMod1.1rc2.mod</modification>
</uninstall>


Also, on that "Thanks for replying image" I mentioned above.. it would be great if there was a spot in the admin panel to set that one like there is for the "hidden" text message or image you can add in there.
Title: Re: Hide Tag Special
Post by: Kiwitje on December 25, 2006, 07:23:28 AM
Yeah, really nice! working now. Thank you very very very much for the work!
Title: Re: Hide Tag Special
Post by: BigGunn on December 26, 2006, 01:04:48 AM
if I knew what I was doing better I might try and work on a new version... but alas, i do not. wish someone else would though.
Title: Re: Hide Tag Special
Post by: gamerdudes on December 27, 2006, 08:18:32 PM
Quote from: BigGunn on December 24, 2006, 03:10:58 AM
In the latest version of this, where would one go about adding a link to a "unhidden" image. I tried the previous examples given and they did not work.

What I mean by "unhidden image" is an image that shows up after a person replies, thanking them for replying. Like this:

(http://img291.imageshack.us/img291/3815/unhiddenjo5.gif)

i want that add i third it

but i would like it so when it hided it had a hiden image thing too
Title: Re: Hide Tag Special
Post by: BigGunn on December 28, 2006, 03:14:44 AM
all you have to do to put the "Hidden Text" image is put it in via the admin panel where you change the text that is displayed when a post is hidden... just use <img src="yourlinkhere"> instead of text.
Title: Re: Hide Tag Special
Post by: mgaidia on December 28, 2006, 08:37:13 AM
it might be a bug but if somebody quote the hidden content it will appear to everybody.
Can you confirm it please
Title: Re: Hide Tag Special
Post by: gamerdudes on December 28, 2006, 04:50:12 PM
Quote from: BigGunn on December 28, 2006, 03:14:44 AM
all you have to do to put the "Hidden Text" image is put it in via the admin panel where you change the text that is displayed when a post is hidden... just use <img src="yourlinkhere"> instead of text.

nvmd i foudnit thx but now how after word when they reply it has

"Unhidden Image"
then "show hidden content"


??????

and do u got a hidden content image that go with
(http://img291.imageshack.us/img291/3815/unhiddenjo5.gif)
Title: Re: Hide Tag Special
Post by: BigGunn on December 30, 2006, 10:06:45 PM
sent the pm to gamerdudes about my hidden images.

also i fixed my little situation.

for the "unhidden" image to appear I searched in Subs.php for this:

array(
'tag' => 'hide',
'before' => '<strong>',
'after' => '</strong>',


And changed it to this:

array(
'tag' => 'hide',
'before' => '<img src="linkgoeshere"><br><br><strong>',
'after' => '</strong>',


of course, change the linkgoeshere part to the actual link to your image.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 31, 2006, 05:33:33 AM
Please use <br /><br /> instead of <br><br> because it's better xhtml compatible

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: mgaidia on December 31, 2006, 05:37:40 AM
Quote from: mgaidia on December 28, 2006, 08:37:13 AM
it might be a bug but if somebody quote the hidden content it will appear to everybody.
Can you confirm it please
please fix it
Title: Re: Hide Tag Special
Post by: ディン1031 on December 31, 2006, 09:09:32 AM
Quote from: mgaidia on December 31, 2006, 05:37:40 AM
Quote from: mgaidia on December 28, 2006, 08:37:13 AM
it might be a bug but if somebody quote the hidden content it will appear to everybody.
Can you confirm it please
please fix it
This bug is already fixed since 1.1.8 and if this happen again, show me a example so that i now what i must do to remove the bug! Nomal the hidden content is removed when the quote button is pressed! I tried so many thing to find holes but i found not a way! Most it is a user mistake that made. :)

So i tried it again in 10 ways i know to make quotes << (even some not legal ways ;P). The hidden content is hidden, even as admin. So you must give me the exact way what you done that i see how this could be happen and so that i know what i must do to remove this bug!



Version 1.2.2
This Version Change are only for the 1.1.x Version :), because it's to difficult to made for the 1.0.x version.

Okay follow Changes are made:
- Hide hidden Text for Guests (So that they not know that there is something else).
- Picture for hidden content instead of text
- Unhidden content picture
- Only one text/image information for a hidden content at the end the post

Upgrade for 1.2.1 is included :).

Hmmm somehow the upload for mods doesn't work ?_?...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: gamerdudes on December 31, 2006, 03:20:42 PM
nvmd so dude y link i try to use went bad

thank for add that to it :)
Title: Re: Hide Tag Special
Post by: cbn on December 31, 2006, 05:13:37 PM
Sorry for being paint in the butt, but I have a small problem after install the hide tag. When the [hide ] text [/ hide] was use. and if there is no character or word placing after the tag then I got the error message below:

QuoteThe following error or errors occurred while posting this message:
The message body was left empty.

Any idea how to correct this?

Many thanks
Title: Re: Hide Tag Special
Post by: ディン1031 on January 01, 2007, 12:04:32 PM
Hmmmm okay you right that's a problem xD, never thought of it to write nothing else as a hidden text part... without a hidden text information... hmmm i must think a little bit about it to solve this, it's not so easy to solve. :x

The easiest way to solve it to add in the hidden text option a "." ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: BigGunn on January 01, 2007, 01:19:29 PM
just discovered a little quirk.

if you go back and try to do a quick edit on a post with hidden content (using the little (http://www.simplemachines.org/community/Themes/default/images/icons/modify_inline.gif) inside the post itself) the actual hidden content gets replaced with whatever text you have it set in the admin panel to show when there is hidden content.

I.E., instead of showing the hidden content, it says "Here is a secret" or something. And you are forced to rewrite the whole [hide]whatever was here originally[/hide] string.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 01, 2007, 01:59:43 PM
I know this bug, this is why i remove the quick edit button on post with hidden content (if it correct changes made in the theme ;).

And i can do nothing against it, becuase than you can quote and see hidden content because it work with the same system! And i would have problems with hide this content. (See the Version Change 1.2.0, there stand that this the only problem is what i can not solve). Okay i check if the user is currently made a post, but it's not save any more, and can be used to see the hidden contet without posting ;). (And i tried many ways :X).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: cbn on January 01, 2007, 03:05:26 PM
Quote from: din1031 on January 01, 2007, 12:04:32 PM
Hmmmm okay you right that's a problem xD, never thought of it to write nothing else as a hidden text part... without a hidden text information... hmmm i must think a little bit about it to solve this, it's not so easy to solve. :x

The easiest way to solve it to add in the hidden text option a "." ;).

Bye
DIN1031
If you checked the option allow guest to view then it is ok, if unchecked then it will need to add any simbol, smilies or character to get worked
Title: Re: Hide Tag Special
Post by: @ngel on January 04, 2007, 04:19:44 PM
French translation available below :

File HideTagMod1.1.x.mod :
Quote<edit file>
$languagedir/ModSettings.french.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_Titel'] = 'Options pour Hide Tag Special';
$txt['hide_MUIswitch'] = 'MUI SWITCH - Utilisation $txt[\'hide_hiddentext\'] &agrave; partir de la langue s&eacute;lectionn&eacute;e.<br /><span class="smalltext">index.french.php par exemple</span>';
$txt['hide_hiddentext'] = 'Texte standard cach&eacute;<br /><span class="smalltext">Quel est le texte que les utilisateurs doivent voir sans avoir post&eacute;</span>';
$txt['hide_adminshouldsee'] = 'L\'Administrateur peut-il voir le texte cach&eacute; m&ecirc;me sans r&eacute;ponse ?';
$txt['hide_autounhidegroups'] = 'Les membres d\'un groupe sont-ils autoris&eacute;s &agrave; voir le texte cach&eacute; m&ecirc;me sans r&eacute;ponse ?<br /><span class="smalltext">Veuillez s&eacute;parer les groupes par un "," (Exemple ID 2 est Mod&eacute;rateur Global)</span>';
$txt['hide_minpostunhide'] = 'Nombre minimum de fil de discussion pour permettre de voir les textes cach&eacute;s';
$txt['hide_minpostautounhide'] = 'Nombre minimum de fil de discussion pour permettre de voir les textes cach&eacute;s sans r&eacute;ponse<br /><span class="smalltext">"0", mettre &agrave; blanc pour ne pas autoriser cette option</spam>';
$txt['hide_hidecontentimages'] = 'Image pour texte caché<br /><span class="smalltext">Si vide => fonctionnalité désactivée. Ceci remplacera le texte caché.<br />Si vous voulez utiliser une image spécifiquement pour votre langue, créer une image avec comme nom, le nom de la langue dans SMF.<br />Exemple: http:\\\\www.mysite.com\\$languagehidden.gif doit devenir en français http:\\\\www.mysite.com\\frenchhidden.gif</span>';
$txt['hide_unhidecontnetimage'] = 'Image pour texte autorisé<br /><span class="smalltext">Cette image est affichée après le texte qui était caché, et le traitement de l\'image est le même que pour le texte caché.</span>';
$txt['hide_onlyonetimeinfo'] = 'Montrer l\'information sur le texte caché, seulement une fois à la fin du fil de discussion.';
$txt['hide_noinfoforguests'] = 'Cacher le texte/l\'image caché pour les invités.';
</add before>

<edit file>
$languagedir/index.french.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['hide_hiddentext'] = 'Il y a peut-&ecirc;tre un secret cach&eacute; ici';
</add before>


File Update121to122.1.1.x.mod :
Quote<edit file>
$languagedir/ModSettings.french.php
</edit file>

<search for>
$txt['hide_minpostautounhide'] = 'Nombre minimum de fil de discussion pour permettre de voir les textes cach&eacute;s sans r&eacute;ponse<br /><span class="smalltext">"0", mettre &agrave; blanc pour ne pas autoriser cette option</spam>';
</search for>

<add after>
$txt['hide_hidecontentimages'] = 'Image pour texte caché<br /><span class="smalltext">Si vide => fonctionnalité désactivée. Ceci remplacera le texte caché.<br />Si vous voulez utiliser une image spécifiquement pour votre langue, créer une image avec comme nom, le nom de la langue dans SMF.<br />Exemple: http:\\\\www.mysite.com\\$languagehidden.gif doit devenir en français http:\\\\www.mysite.com\\frenchhidden.gif</span>';
$txt['hide_unhidecontnetimage'] = 'Image pour texte autorisé<br /><span class="smalltext">Cette image est affichée après le texte qui était caché, et le traitement de l\'image est le même que pour le texte caché.</span>';
$txt['hide_onlyonetimeinfo'] = 'Montrer l\'information sur le texte caché, seulement une fois à la fin du fil de discussion.';
$txt['hide_noinfoforguests'] = 'Cacher le texte/l\'image caché pour les invités.';
</add after>
Title: Re: Hide Tag Special
Post by: ディン1031 on January 06, 2007, 09:59:14 AM
So i add a extra Package for smf 1.1.x Version to add a bbc button to the post box, why extra? Because many user want only the hide tag but it should not shown that there something is like this ;P. But with the package it add to the default theme the button :).

(It's attached to the first post of the thread). (http://www.simplemachines.org/community/index.php?topic=32954.0)

Title: Re: Hide Tag Special
Post by: HNHF on January 07, 2007, 01:16:33 AM
Hi Din1031,

I have installed this mod,  Hide tag special. But i cant see any picture or text ( replace when link is hiden ) example :   u cant [hide]see this[/hide] bla bla  For user on my forum they see this  "u cant"                              nothing else no text or no picture.

Question 2   Do you have a Dutch translation?

Greetings Martin     
Title: Re: Hide Tag Special
Post by: hotrod on January 07, 2007, 05:11:46 AM
Quote from: computerdummy on January 07, 2007, 01:16:33 AM
Hi Din1031,

I have installed this mod,  Hide tag special. But i cant see any picture or text ( replace when link is hiden ) example :   u cant [hide]see this[/hide] bla bla  For user on my forum they see this  "u cant"                              nothing else no text or no picture.

Question 2   Do you have a Dutch translation?

Greetings Martin    
Please, the same here .. thnx!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 07, 2007, 05:13:16 AM
No i don't have a dutch translation.
What are your settings for the hide tag, normal nothing is set, no text no picture ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: johnnyboy on January 07, 2007, 06:17:57 AM
There is an error in te 1.2.2 mod.

replace in subs.php


array(
            'tag' => 'hide',
            'before' => '<strong>',
            'after' => '</strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_unhidecontnetimage'].'" /><br />' : ''),
         ),


into ;

array(
            'tag' => 'hide',
            'before' => '<strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_hidecontnetimage'].'" /><br />' : ''),
            'after' => '</strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_unhidecontnetimage'].'" /><br />' : ''),
         ),



Now your hide comments and pictures will be shown.
Title: Re: Hide Tag Special
Post by: hotrod on January 07, 2007, 08:48:38 AM
Quote from: johnnyboy on January 07, 2007, 06:17:57 AM
There is an error in te 1.2.2 mod.

replace in subs.php


array(
            'tag' => 'hide',
            'before' => '<strong>',
            'after' => '</strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_unhidecontnetimage'].'" /><br />' : ''),
         ),


into ;

array(
            'tag' => 'hide',
            'before' => '<strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_hidecontnetimage'].'" /><br />' : ''),
            'after' => '</strong>'.(!empty($modSettings['hide_unhidecontnetimage']) && empty($modSettings['hide_onlyonetimeinfo']) ? '<br /><img src="'.$modSettings['hide_unhidecontnetimage'].'" /><br />' : ''),
         ),



Now your hide comments and pictures will be shown.
He's the Champ .. thnx dude .. respect
Title: Re: Hide Tag Special
Post by: ディン1031 on January 07, 2007, 12:22:33 PM
Sorry but what you did it completly wrong <<... and could be a bug what unhinde something what should be hidden :X...

I release now the bugfix. Wait a short time, an please do not made this changes above!



Version 1.2.3

Bugfix relase for 1.2.2 Somehow i made a mistake in a if clause who not shaw the hidden info any more... Sorry for the problems...

Upgrade for 1.2.2 is included :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: johnnyboy on January 07, 2007, 01:32:42 PM
thnxx for the update!! What did you chance?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 07, 2007, 06:01:02 PM

<id>
din1031:HideTag
</id>

<version>
1.2.3
</version>

<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
if(!empty($modSettings['hide_noinfoforguests']) && !$user_info['is_guest']) {
</search for>

<replace>
if(empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest']) {
</replace>


It's as upgrade include in the current package ;), i made a thinking error XD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on January 18, 2007, 12:41:08 AM
That''s a great mod, I like it a lot. Been using it for some days now and I am very satisfied with it. Thanx din1031 
Title: Re: Hide Tag Special
Post by: xsharewarex on January 18, 2007, 10:18:58 AM
I tried installing the hide tag special mod & I get an error "This is an either corrupt package or it is not supported by this version of SMF". I am using the latest version of SMF 1.1.1

Can anyone help me with this?


Thanks & Regards
XsharewareX Admin.
Title: Re: Hide Tag Special
Post by: hotrod on January 18, 2007, 04:48:06 PM
Great Mod and it's working ''olmost'' fine ..

How do jou fill in the codes for: Moderators en extra groups?
I Want them to see the hide txt. But i don,t know how to fill it in.
It say?: Seperate more than one with a "," (Example ID 2 is Global Moderator) '' , ''

Do u have a sample? 2 , 4  or ''2'' , ''4''

And where do i get those number id's?

Thnx..
Title: Re: Hide Tag Special
Post by: ディン1031 on January 18, 2007, 05:16:08 PM
2,3 is for all Moderators (3 Only for Board Moderators, and only on the boards who the moderators).
Without the "

Normal you can see the group ids over -> http://www.youforumlink.com/index.php?action=permissions and there you see Modify link like -> http://www.youforumlink.com/index.php?action=permissions;sa=modify;group=3 <- this number is the id =).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ragots on January 23, 2007, 02:31:41 AM
Since I installed this great mod, I get pages and pages of this error all over my error log:

ONLY WHEN THIS BOX IS CHECKED:

(http://love.mixbeat.com/hype/image/hiddentag.jpg)

when that box is checked, I get pages of erros like this in my log:

2: preg_match() expects parameter 1 to be string, array given
File: /www/smf/Sources/Subs.php
Line: 997



also, despite editing my language index file (french)

$txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';

I cannot get the secret phrase to show.

It's an amazing mod. I just wish I could get rid of all this errors in my log.

My board is 1.1 RC3


Title: Re: Hide Tag Special
Post by: ディン1031 on January 23, 2007, 12:07:02 PM
Okay i will look at it after my new pc is working :x, possible i made a mistake.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on January 23, 2007, 07:00:38 PM


Version 1.2.4
Removed the preg_match error xD, i forgot something... sorry for the problems...
Thx to ragots for this infomation :)

I also change this package sytem to a new style, so now i can add easy languages ;).

Upgrade for 1.2.3 is included :).



Current Languages: English and German.


Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on January 24, 2007, 08:45:41 AM
Hi din1031 

I have installed HideTagSpecial121.zip. Shall I un-install it and then install the new version once again or shall I install the newer version without removing the older one. Thank you
Title: Re: Hide Tag Special
Post by: ディン1031 on January 24, 2007, 08:49:34 AM
There is a upgrade in it :).
It should be upgradable from 1.2.1 to 1.2.4 ;). (If i made no mistake xD).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on January 24, 2007, 08:51:53 AM
Thank u for yor answer
Title: Re: Hide Tag Special
Post by: ragots on January 26, 2007, 05:01:39 PM
Excuse me, I have 1.2.3 installed.
How do I upgrade to 1.2.4 ?

I know how to install a mod, I've never upgraded one.

Sorry, I'm new at this
Title: Re: Hide Tag Special
Post by: ディン1031 on January 26, 2007, 06:04:22 PM
Upload it and go to your package manager and click on upgrade ;).
(Not overwrite the old one (normal the filename is diffrent so this should not happend)).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on January 26, 2007, 06:28:29 PM
Quote from: din1031 on January 26, 2007, 06:04:22 PM
Upload it and go to your package manager and click on upgrade ;).
(Not overwrite the old one (normal the filename is diffrent so this should not happend)).

Bye
DIN1031

can''t u just first uninstall the older version and then install the new one? Thank u
Title: Re: Hide Tag Special
Post by: ディン1031 on January 27, 2007, 07:45:18 AM
Quote from: babjusi on January 26, 2007, 06:28:29 PM
Quote from: din1031 on January 26, 2007, 06:04:22 PM
Upload it and go to your package manager and click on upgrade ;).
(Not overwrite the old one (normal the filename is diffrent so this should not happend)).

Bye
DIN1031

can''t u just first uninstall the older version and then install the new one? Thank u
Also a way ;). But upgrade is a easy way XD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on January 28, 2007, 07:53:27 AM
I upgraded the newer version successsfully, it'''s such a cool mood
Title: Re: Hide Tag Special
Post by: traaance on February 17, 2007, 01:10:04 PM
I install this mod, but it don't work and _[hide] tag nothing to do. Maybe that's coz i use russian forum?

Tnx.

p.s. sry for ma bad english :)
Title: Re: Hide Tag Special
Post by: edi67 on February 17, 2007, 07:16:59 PM
Quote from: traaance on February 17, 2007, 01:10:04 PM
I install this mod, but it don't work and _[hide] tag nothing to do. Maybe that's coz i use russian forum?

Tnx.

p.s. sry for ma bad english :)

in my forum i have russian language too but work perfectly
Title: Re: Hide Tag Special
Post by: St@rm on February 20, 2007, 07:36:36 AM
Hi guys this mod works perfectly but I wanted to know if I can insert a button to easily insert the tags and at same time warn the users that some info is hiden,thanks.  
Title: Re: Hide Tag Special
Post by: ディン1031 on February 20, 2007, 10:54:56 AM
HideTagBBCButton100 (http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=27702) <- This is a BBC button :).

For the other thing look at the Features and Settings there are options for this. :)

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: St@rm on February 21, 2007, 07:38:07 AM
Once again thanks for your help DIN1031 but I have done it as it shows here but it gives me an error,what I'm doing wrong!!!!!

Parse error: syntax error, unexpected T_DOUBLE_ARROW in .../Themes/default/Post.template.php on line 801

792: 'sup' => array('code' => 'sup', 'before' => '[sup]', 'after' => '[/sup]', 'description' => $txt[447]),
793: 'sub' => array('code' => 'sub', 'before' => '[sub]', 'after' => '[/sub]', 'description' => $txt[448]),
794: 'tele' => array('code' => 'tt', 'before' => '[tt]', 'after' => '[/tt]', 'description' => $txt[440]),
795: array(),
796: 'code' => array('code' => 'code', 'before' => '[code]', 'after' => '
', 'description' => $txt[259]),
797:          'quote' => array('code' => 'quote', 'before' => '
Quote', 'after' => '
', 'description' => $txt[260]),
798:          array(),
799:          'list' => array('code' => 'list', 'before' => '', 'description' => $txt[261]),
800:       );

801:                         'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['Hide']),

802:                 
803:                 $found_button = false;
804:       // Here loop through the array, printing the images/rows/separators!
805:       foreach ($context['bbc_tags'][0] as $image => $tag)
[/code]
Title: Re: Hide Tag Special
Post by: Farmacija on February 21, 2007, 09:30:55 AM
QuoteInstallations actions for "Hide Tag BBC Image":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 21, 2007, 09:55:09 AM

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
);

                 'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['Hide']),


replace with

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['Hide']),
);


Is this wrong because of the bbc installer? Or did you do it by you self ?_?.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on February 21, 2007, 09:55:57 AM
Quote from: Farmacija on February 21, 2007, 09:30:55 AM
QuoteInstallations actions for "Hide Tag BBC Image":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Possible, i don't know if i add a version check or not :). Redownload it and try it again ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on February 22, 2007, 06:05:19 AM
i've got few problems:
1. when i use [hide] tag to hide something, it comes error that body of message is empty
2. when i add some text before or after [hide] tag it becomes visible everything i put between hide tags.
any solution?
Title: Re: Hide Tag Special
Post by: ディン1031 on February 22, 2007, 06:40:19 AM
No

Write a text for the hidden text... if nothing in it the message is empty on the check, or write one letter after the hide ;P.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on February 22, 2007, 10:09:15 AM
i do exactly on that way . example: [hide]blabla[/hide] ok [see picture 1] and result in picture 2
(http://img96.imageshack.us/img96/2485/13212930ob9.th.jpg) (http://img96.imageshack.us/my.php?image=13212930ob9.jpg)

(http://images6.theimagehosting.com/2.fd8.th.JPG) (http://server6.theimagehosting.com/image.php?img=2.fd8.JPG)

Title: Re: Hide Tag Special
Post by: St@rm on February 22, 2007, 10:14:11 AM
Farmacija maybe because you are Administrator you can see the hide part,ask someone without permissions if they can see or not,regards.
Title: Re: Hide Tag Special
Post by: Farmacija on February 22, 2007, 10:21:45 AM
hahaha, yes, thats right. i'm embarrssed  :'(
Title: Re: Hide Tag Special
Post by: ディン1031 on February 22, 2007, 12:49:44 PM
And also if you post something with hidden content ;) and you already posted in this thread automatically ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: 2greedy on March 05, 2007, 02:07:15 AM
 >:( how do you add a button for this mod!
Title: Re: Hide Tag Special
Post by: Farmacija on March 05, 2007, 03:22:56 AM
hm, i install t he button but it doesn't show up. something is wrong... :)
Title: Re: Hide Tag Special
Post by: 2greedy on March 05, 2007, 03:27:48 AM
how do you install the button?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 05, 2007, 05:22:10 AM
Quote from: 2greedy on March 05, 2007, 03:27:48 AM
how do you install the button?
With this -> http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=27702

Quote from: Farmacija on March 05, 2007, 03:22:56 AM
hm, i install t he button but it doesn't show up. something is wrong... :)

Is it possible that your theme use a own post.templates.php?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on March 05, 2007, 07:11:22 AM
NO, its only possibile that some previosly install mod changed the post.templates.php
Title: Re: Hide Tag Special
Post by: ディン1031 on March 06, 2007, 01:55:34 AM
*thinking* did you have any errors in the error log that contain "hide" in the error?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on March 06, 2007, 03:45:32 AM
i disable error log ...
Title: Re: Hide Tag Special
Post by: ディン1031 on March 06, 2007, 06:33:45 AM
*drop*

Okay than it's diffcult to help, i can tell you only what i changed that it work and you must look if the changes are made.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on March 06, 2007, 07:31:51 AM
ok, write that changes
Title: Re: Hide Tag Special
Post by: 7ossam on March 06, 2007, 08:36:17 AM
Quote from: DIN1031 on January 07, 2007, 05:13:16 AM
What are your settings for the hide tag, normal nothing is set, no text no picture ;).


im a newbie to smf ... please how can i adjust the sittings of the hide tag so a messege like "there is a content hidden" appeare before posting?
thnk u very much
Title: Re: Hide Tag Special
Post by: ディン1031 on March 06, 2007, 08:54:03 AM
Quote from: 7ossam on March 06, 2007, 08:36:17 AM
Quote from: DIN1031 on January 07, 2007, 05:13:16 AM
What are your settings for the hide tag, normal nothing is set, no text no picture ;).


im a newbie to smf ... please how can i adjust the sittings of the hide tag so a messege like "there is a content hidden" appeare before posting?
thnk u very much
Features and Settings there is option for it where the hidden text can be set, or the the multi user language can be enabled for a language specified hide information (who can be changed in the language files).

Bye
DIN!031
Title: Re: Hide Tag Special
Post by: BigGunn on March 06, 2007, 05:11:20 PM
Quote from: BigGunn on January 01, 2007, 01:19:29 PM
just discovered a little quirk.

if you go back and try to do a quick edit on a post with hidden content (using the little (http://www.simplemachines.org/community/Themes/default/images/icons/modify_inline.gif) inside the post itself) the actual hidden content gets replaced with whatever text you have it set in the admin panel to show when there is hidden content.

I.E., instead of showing the hidden content, it says "Here is a secret" or something. And you are forced to rewrite the whole [hide]whatever was here originally[/hide] string.

has there been any change to try and fix this or is it still an issue in the newest version?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 07, 2007, 04:49:45 AM
I won't fix this, when i fix this it's possible to read hidden content without posting (and this also for guests, as long it is public.) (If you don't belive me, i give you a example how this possible).

So i can not remove it, because than it's not a hide tag any more.

Normal, if all changes made correct it remove this button on hidden content things. So that the inline edit normal not seeable. Hmmmm i could be remove post with hidden content and return a error so that the post will not be inline editable any more...

Bye
DIN1031




Title: Re: Hide Tag Special
Post by: Greek on March 07, 2007, 07:01:42 AM
When somebody open the member list or display a profile, I get this error in errors log.
Quote
8: Undefined index: hide_hiddentext
File: /home/domain/public_html/forum/Sources/Subs.php
Line: 1089
What's wrong?

Here is the error located

Quote$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_hiddentext'] : "&nbsp"), $message);
      $message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_hiddentext'] : "&nbsp"), $message);
Title: Re: Hide Tag Special
Post by: ディン1031 on March 07, 2007, 09:50:42 AM
Did you enable the MUI Switch?
If yes than language things are missing.


Which version is this?

Because i see this is normal not the current version, it's not possible. At least nothing would be insert in the variable if nothing set ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Greek on March 07, 2007, 12:00:59 PM
Quote from: DIN1031 on March 07, 2007, 09:50:42 AM
Did you enable the MUI Switch?
If yes than language things are missing.


Which version is this?

Because i see this is normal not the current version, it's not possible. At least nothing would be insert in the variable if nothing set ;).

Bye
DIN1031

I have upgrated to the last version. My language is greek, but I have installed the greek language strings.

Even if I don't activate MUI, these errors still appear when somebody open the member list or any profile.

What can I do?

Thanks.
Title: Re: Hide Tag Special
Post by: ディン1031 on March 08, 2007, 01:52:05 AM
Quote from: Greek on March 07, 2007, 12:00:59 PM
Quote from: DIN1031 on March 07, 2007, 09:50:42 AM
Did you enable the MUI Switch?
If yes than language things are missing.


Which version is this?

Because i see this is normal not the current version, it's not possible. At least nothing would be insert in the variable if nothing set ;).

Bye
DIN1031

I have upgrated to the last version. My language is greek, but I have installed the greek language strings.

Even if I don't activate MUI, these errors still appear when somebody open the member list or any profile.

What can I do?

Thanks.
Hmmm from which version did you upgrade?

Can you give me you subs.php?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Greek on March 08, 2007, 09:50:48 AM
If I remember well my initial version was 2.0


Here is my Subs.php Thanks  :)
Title: Re: Hide Tag Special
Post by: ディン1031 on March 08, 2007, 11:54:10 AM
Is your sup.php filesize so large ?_? i think it's to large... and i don't have a version 2.0 of the mod ?_?.

And i can't open it correct... so i think... i can't help you with this strange file <<, can you zip it an upload it... 

And i like to know which option do you set :x, for the hide mod.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Greek on March 08, 2007, 12:38:46 PM
Sorry I meaned version 1.2.0

I suppose that my subs is big because of many mods.

Here is the zipped file
Title: Re: Hide Tag Special
Post by: ディン1031 on March 09, 2007, 11:58:46 AM
Hmmm i think i can improve my mod a little bit for this. :x

Search for


//Hide Mod.. i remove the code before i do anything...
//Built the correct hidden content informations :), or add a the one time infomration :)
if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && $message !== false && !empty($message)) {
//Check you're a guest? Should i show this infomations?
if(empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest']) {
//Lets change the HideTag ;) this is a secret and should be a secret :)
if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)


and replace it with

//Hide Mod.. i remove the code before i do anything...
//Built the correct hidden content informations :), or add a the one time infomration :)
if (empty($modSettings['hide_hiddentext'])) $modSettings['hide_hiddentext'] = '&nbsp;'; //A tiny little space =)
if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && $message !== false && !empty($message)) {
//Check you're a guest? Should i show this infomations?
if(empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest']) {
//Lets change the HideTag ;) this is a secret and should be a secret :)


And tell me if it work.

Can you also tell me what are you hide tag settings are you use?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Greek on March 09, 2007, 12:33:08 PM
It works! Thanks!  :D
No more errors (at least from this mod  ;D )

As I said I didn't activate this mod so far. I tested today and it works fine (and with Thank you mod). I want only to test it with a image insist of text.

Thanks again for your help DIN1031  :)
Title: Re: Hide Tag Special
Post by: downcen on March 11, 2007, 10:26:40 AM
I use SMF 1.1.2. It can't use with you mod. Please help me. I like you mod very much. Thank you for read.
Title: Re: Hide Tag Special
Post by: babjusi on March 11, 2007, 10:29:40 AM
Quote from: downcen on March 11, 2007, 10:26:40 AM
I use SMF 1.1.2. It can't use with you mod. Please help me. I like you mod very much. Thank you for read.

I took a look at the mod and there it says that it supports 1.1.2. Did u try to install it and if it didn''t install, what error message it gave you?
Title: Re: Hide Tag Special
Post by: downcen on March 11, 2007, 10:41:11 AM
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: Hide Tag Special
Post by: babjusi on March 11, 2007, 10:51:27 AM
Quote from: downcen on March 11, 2007, 10:41:11 AM
"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

Give it a try to install it manually then
Title: Re: Hide Tag Special
Post by: downcen on March 11, 2007, 11:10:33 AM
Manual is meaning upload files form computer?
I did that at first.
Title: Re: Hide Tag Special
Post by: babjusi on March 11, 2007, 11:15:11 AM
Quote from: downcen on March 11, 2007, 11:10:33 AM
Manual is meaning upload files form computer?
I did that at first.

Here you have a detalied descrition of how to manually uoload a mod. Hope it helps

http://docs.simplemachines.org/index.php?topic=402
Title: Re: Hide Tag Special
Post by: downcen on March 11, 2007, 11:27:41 AM
Thanks very much. I'll do it.  :D
Title: Re: Hide Tag Special
Post by: [MaxX] on March 11, 2007, 01:40:01 PM
Works fine with 1.1.2 :)
Title: Re: Hide Tag Special
Post by: khurrum on March 13, 2007, 04:44:11 AM
if you can add sound it will be great. (sound on every new message)
Title: Re: Hide Tag Special
Post by: ディン1031 on March 13, 2007, 07:37:42 AM
Quote from: khurrum on March 13, 2007, 04:44:11 AM
if you can add sound it will be great. (sound on every new message)
y should i do that. IT's unlogical to do this for this mod ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edi67 on March 15, 2007, 11:03:08 AM
Quote from: DIN1031 on March 13, 2007, 07:37:42 AM
Quote from: khurrum on March 13, 2007, 04:44:11 AM
if you can add sound it will be great. (sound on every new message)
y should i do that. IT's unlogical to do this for this mod ;).

Bye
DIN1031

perfecty agree

NOT need sound for this mod.  ;)
Title: Re: Hide Tag Special
Post by: babjusi on March 15, 2007, 07:36:24 PM
Quote from: downcen on March 11, 2007, 11:27:41 AM
Thanks very much. I'll do it.  :D

U r welcome. Did u manage to install the mod?
Title: Re: Hide Tag Special
Post by: kopmania on March 18, 2007, 09:12:52 AM
When i post one message i want to show all hide link. how to do this???

Now i must to post on each theard where im want to show link..
Title: Re: Hide Tag Special
Post by: ディン1031 on March 18, 2007, 12:46:47 PM
How do you mean this?

You want hide it from guest but alle other should see it normal?

I don't understand what you mean ;). The reason for the mod is to post so that peaple can see it after a post.
You can insert for post count automatic unhide 1 so after the user made one post somewhere in the forum, alle hidden contents are not hidden any more. (Only a idea, but i think you mean something complete dirffrent!).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: franklinrony on March 18, 2007, 01:48:56 PM
can hide the attachment with this mod? is very good
Title: Re: Hide Tag Special
Post by: kopmania on March 18, 2007, 01:54:32 PM
Quote from: DIN1031 on March 18, 2007, 12:46:47 PM
You can insert for post count automatic unhide 1 so after the user made one post somewhere in the forum, alle hidden contents are not hidden any more. (Only a idea, but i think you mean something complete dirffrent!).

Bye
DIN1031

I want this but how to do this????? How to set this???
Title: Re: Hide Tag Special
Post by: babjusi on March 18, 2007, 02:11:16 PM
Quote from: kopmania on March 18, 2007, 01:54:32 PM
Quote from: DIN1031 on March 18, 2007, 12:46:47 PM
You can insert for post count automatic unhide 1 so after the user made one post somewhere in the forum, alle hidden contents are not hidden any more. (Only a idea, but i think you mean something complete dirffrent!).

Bye
DIN1031

I want this but how to do this????? How to set this???

I think you can find it at Features&Options-Show only one time the hidden content information, at the end of the post, check the box next to it
Title: Re: Hide Tag Special
Post by: kopmania on March 18, 2007, 02:28:40 PM
No, doesnnt work.
Its same like before. I must in every thred post one post where i want to unhide tag
Title: Re: Hide Tag Special
Post by: ディン1031 on March 18, 2007, 02:36:06 PM
Quote from: kopmania on March 18, 2007, 02:28:40 PM
No, doesnnt work.
Its same like before. I must in every thred post one post where i want to unhide tag
Features and Settings -> Standard ->
Groups IDs who allowed to see a hidden content without posting?
Seperate more than one with a "," (Example ID 2 is Global Moderator)    

Minmum post count to allow unhide content    
"0" or empty to disable this option

Minmum post count to unhide content without posting
"0" or empty to disable this option

With you can do this what i told you ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kopmania on March 18, 2007, 02:41:17 PM
I dont understand what i must to do????
Title: Re: Hide Tag Special
Post by: babjusi on March 18, 2007, 02:56:58 PM
Quote from: kopmania on March 18, 2007, 02:41:17 PM
I dont understand what i must to do????

Follow exactly DIN1o31''s explanation
Title: Re: Hide Tag Special
Post by: kopmania on March 18, 2007, 03:55:56 PM
i dont understand what he mean. In his last post dont explane anything  ::)
Title: Re: Hide Tag Special
Post by: ディン1031 on March 19, 2007, 06:12:51 AM
Quote from: kopmania on March 18, 2007, 03:55:56 PM
i dont understand what he mean. In his last post dont explane anything  ::)
See both posts together... you want to know where you can set it and i give you the way how you go there...

Quote from: DIN1031 on March 18, 2007, 12:46:47 PM
How do you mean this?

You want hide it from guest but alle other should see it normal?

I don't understand what you mean ;). The reason for the mod is to post so that peaple can see it after a post.
You can insert for post count automatic unhide 1 so after the user made one post somewhere in the forum, alle hidden contents are not hidden any more. (Only a idea, but i think you mean something complete dirffrent!).

Bye
DIN1031

AND than you

Quote from: kopmania on March 18, 2007, 01:54:32 PM
I want this but how to do this????? How to set this???

And than i

Quote from: DIN1031 on March 18, 2007, 02:36:06 PM
Quote from: kopmania on March 18, 2007, 02:28:40 PM
No, doesnnt work.
Its same like before. I must in every thred post one post where i want to unhide tag
Features and Settings -> Standard ->
Groups IDs who allowed to see a hidden content without posting?
Seperate more than one with a "," (Example ID 2 is Global Moderator)    

Minmum post count to allow unhide content    
"0" or empty to disable this option

Minmum post count to unhide content without posting
"0" or empty to disable this option

With you can do this what i told you ;).

Bye
DIN1031

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: bluesurfer666 on March 19, 2007, 05:10:02 PM
how do i get this to work on an installed theme musiconica ?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 20, 2007, 11:04:19 AM
Quote from: bluesurfer666 on March 19, 2007, 05:10:02 PM
how do i get this to work on an installed theme musiconica ?
I don't know ;), the only theme change that i make is


<edit file>
$themedir/Display.template.php
</edit file>

<search for>
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
</search for>

<replace>
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] && empty($message['hidden_content']) ? '
</replace>


Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Stirred on March 21, 2007, 07:06:13 PM
Hey! Congrats for this excellent mod.

One thing i'm trying to do without sucess, is to only give the member acess to the hide content when the member Thanks (with Thank You Mod) and not posting. I tryed to put the value:

Minmum post count to allow unhide content = 200 in order to don´t give acess to the hidden content by posting. Because when it's blank or 0 as soon as the member posts he has acess. Well it does it but brings the problem that when a member creates a topic with thankyoumod also he can´t see his own hidden content because of that value.

My question is how can I give acess to hidden content only with the option thank you without 'post to see'.
Title: Re: Hide Tag Special
Post by: ディン1031 on March 22, 2007, 02:12:24 AM
This is something special, i never thought on this.

Hmmm you mean the creator of the post, and this person add a thank you to the thread and with that the user must see the post? Am I correct?

Hmmm i think it's possible but i need a little bit think time to where i add it. ;)

Why did you post this not in the Thank You Mod Thread? ;)

Okay here is fix for this
Search in the ThankYou.php for

if(!empty($post)) {
if (!empty($modSettings['Thank_You_ShowHidden']))


and replace it with


if(!empty($post) || $ID_MEMBER == $check['ID_MEMBER_STARTED']) {
if (!empty($modSettings['Thank_You_ShowHidden']))


I think it will fix this hmm i think i can add it because it logical that a user who is the creator of the Thank you is also a Thank You Poster :).

(You can wait until i add it to the Thank You Mod as upgrade (at late evening (german time)), or add it manual).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Stirred on March 22, 2007, 12:37:53 PM
Thanks for the feedback.

I did not post on Thank You Thread because I thought the thing to add was on Hide Mod =X

I did the changes you asked and gave me this error:

QuoteParse error: syntax error, unexpected $end in Sources/ThankYou.php on line 1
Title: Re: Hide Tag Special
Post by: Lord Anubis on March 24, 2007, 01:58:08 AM
I can't allow other member groups besides the Admin and member to use the hide tag because it makes all the bbc codes not work...
What could have caused this?
Also how would I center the unhide image?
Title: Re: Hide Tag Special
Post by: ディン1031 on March 28, 2007, 01:22:02 AM
Quote from: Stirred on March 22, 2007, 12:37:53 PM
Thanks for the feedback.

I did not post on Thank You Thread because I thought the thing to add was on Hide Mod =X

I did the changes you asked and gave me this error:

QuoteParse error: syntax error, unexpected $end in Sources/ThankYou.php on line 1
Really ?_?, that's not from the change, the change is somewhere deeper in the file :x, did you write something else on line 1 XD.

Quote from: Lord Anubis on March 24, 2007, 01:58:08 AM
I can't allow other member groups besides the Admin and member to use the hide tag because it makes all the bbc codes not work...
What could have caused this?
Also how would I center the unhide image?
1. How did you exactly select the groups who allowed to unhide it without post?
2. I don't know ;), normal it's not integrated to center the image :x and currently i don't know how to made it... i think there is a change needed in the Subs.php

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Lord Anubis on March 28, 2007, 01:45:38 PM
I make ppl reply to see the hidden content...

But say under permissions if I allow a Global Moderator to use the hide tag all the BBC code doesn't work and all their posts end up like [img.]link to image[./img], without the periods of course :)
Title: Re: Hide Tag Special
Post by: Stirred on March 29, 2007, 12:17:22 AM
Quote from: DIN1031 on March 28, 2007, 01:22:02 AM
Quote from: Stirred on March 22, 2007, 12:37:53 PM
Thanks for the feedback.

I did not post on Thank You Thread because I thought the thing to add was on Hide Mod =X

I did the changes you asked and gave me this error:

QuoteParse error: syntax error, unexpected $end in Sources/ThankYou.php on line 1
Really ?_?, that's not from the change, the change is somewhere deeper in the file :x, did you write something else on line 1 XD.

This is what it gives to me now, before i removed a character: Parse error: syntax error, unexpected $end in Sources/ThankYou.php on line 661

I attach the changed file in order for you check. Thank you very much for the help!
Title: Re: Hide Tag Special
Post by: ディン1031 on March 29, 2007, 06:43:12 AM
Okay you've replaced it completely wrong xD, i've attached the correct one to the post.

Quote from: Lord Anubis on March 28, 2007, 01:45:38 PM
I make ppl reply to see the hidden content...

But say under permissions if I allow a Global Moderator to use the hide tag all the BBC code doesn't work and all their posts end up like [img.]link to image[./img], without the periods of course :)
I don't understand it ?_?. What are your settings for the Hide Mod... i think you didn't set it correct.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: Stirred on March 29, 2007, 03:17:10 PM
Once more thanks for your help!

Now it's perfect... oh yes! =D
Title: Re: Hide Tag Special
Post by: Lord Anubis on March 29, 2007, 11:36:56 PM
Quote from: DIN1031 on March 29, 2007, 06:43:12 AM
Okay you've replaced it completely wrong xD, i've attached the correct one to the post.

Quote from: Lord Anubis on March 28, 2007, 01:45:38 PM
I make ppl reply to see the hidden content...

But say under permissions if I allow a Global Moderator to use the hide tag all the BBC code doesn't work and all their posts end up like [img.]http://link to image[./img], without the periods of course :)
I don't understand it ?_?. What are your settings for the Hide Mod... i think you didn't set it correct.

Bye
DIN1031



MUI Switch - Unchecked
Hide Standard Text - (http://nextsite.org/hidden.gif)
Image link for hidden contet - Blank
Image link for unhidden contet - unhidden.gif
Show only one time the hidden content information, at the end of the post. - Unchecked
Admin should see the hide without post? - Checked
Hide hidden text/image for guests - Checked
Groups IDs who allowed to see a hidden content without posting? - 2
Minmum post count to allow unhide content - 0
Minmum post count to unhide content without posting - 0

I don't see how any of this would affect the BBC code though  :(
Title: Re: Hide Tag Special
Post by: watt on March 30, 2007, 09:56:30 AM
thank you
Title: Re: Hide Tag Special
Post by: ディン1031 on March 30, 2007, 04:35:23 PM
?_? somehow i dont understand you problem "Lord Anubis"... Sorry :x
Title: Re: Hide Tag Special
Post by: Lord Anubis on March 30, 2007, 08:22:16 PM
Thanks for trying,
I will try to figure it out  ;D
Title: Re: Hide Tag Special
Post by: Farmacija on April 04, 2007, 08:12:15 AM
(http://img95.imageshack.us/img95/3746/hidefg6.th.jpg) (http://img95.imageshack.us/my.php?image=hidefg6.jpg)
o my God! How the mod author could write such a big mistake???
url for image for hidden content should go like this: http://yourdomainname.com/path-to-image , not http:\\something.com\... !!
Title: Re: Hide Tag Special
Post by: ディン1031 on April 04, 2007, 10:45:13 AM
ups *g*

this is since 1.2.0 in it no one did see it ;D, i will fix it on the next update :).



Version 1.2.5
Fixed my Translation error, also a very difficult to find error (It take a long time to find out how this error appear, but it's fixed now :D).

Upgrade is included :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: coru-mx on April 06, 2007, 06:22:21 PM
Superb Mod!! Thanks!

No errors found ;)

Just when:

[.hide][.code]something[./code][./hide]


When unhiden it appears like this:

something[/hide]

Any solution for this? I'm a newbie :P
Title: Re: Hide Tag Special
Post by: ディン1031 on April 07, 2007, 03:11:27 PM
So first ist appear only if it unhidden. somehow it a smf thing... i can not do something against it...

It's the same when i write [size=1][code]test[/code][/size]. ;)

test[/size]

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: coru-mx on April 07, 2007, 06:07:24 PM
Ok, thanks for the explication. Keep the good work ;)
Title: Re: Hide Tag Special
Post by: Mal5950 on April 18, 2007, 04:15:49 AM
When applying this Mod, it comes up with errors, listing an error with the german language and turkish language php's.
I use only English on my forum, is it ok to go ahead and install the Mod?

Thanks for any advice.
Title: Re: Hide Tag Special
Post by: Suby on April 18, 2007, 12:49:17 PM
Wonderful mod!!
Title: Re: Hide Tag Special
Post by: ディン1031 on April 19, 2007, 05:58:44 AM
Quote from: Mal5950 on April 18, 2007, 04:15:49 AM
When applying this Mod, it comes up with errors, listing an error with the german language and turkish language php's.
I use only English on my forum, is it ok to go ahead and install the Mod?

Thanks for any advice.
That's why there is standing skip files for the other languages... you can install it without problems (normal the error doea not appear (only if i made a mistake)).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Suby on April 19, 2007, 11:31:22 AM
Ops. I have a problem with this mod... We noticed that image which indicates hidden content appears in normal posts (not all of them) without any hidden content or even a tag [hide][/hide] in them... What could be causing this?

We're using SMF 1.1.2, I installed version 125 and hidebutton attached to the first post of this thread.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 19, 2007, 03:21:03 PM
Quote from: Suby on April 19, 2007, 11:31:22 AM
Ops. I have a problem with this mod... We noticed that image which indicates hidden content appears in normal posts (not all of them) without any hidden content or even a tag [hide][/hide] in them... What could be causing this?

We're using SMF 1.1.2, I installed version 125 and hide button attached to the first post of this thread.

Link to a thread, where this happened?
What kind of hide options did you set?
Some other mods installed, if yes a list of the mods :).




I've tested it often and it normally it work fine :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Suby on April 20, 2007, 06:34:17 AM
List of mods:

1.     SMF 1.0.9 and 1.1 RC3-1 Security Patch      1.0.8/1.1 RC3        
2.    SMF Arcade    2.0.6       
3.    Global Announcements    1.0     
4.    SMF 1.1.1 Update Package    1.1.1    
5.    Sticky First Post (extends sticky topic)    1.3.0     
6.    SMFShop    3.0     
7.    Shop Item: Change Display Name CSS    0.1     
8.    SMF 1.1.2 Update Package    1.1.2     
9.    Hide Tag    1.2.5     
10.    Hide Tag BBC Image    1.0.0
----

MUI Switch - Unchecked
Hide Standard Text - (http://www.caffeplanet.com/Themes/default/images/icons/hidden1.gif)
Image link for hidden contet - /
Image link for unhidden contet - /
Show only one time the hidden content information, at the end of the post. - Unchecked
Admin should see the hide without post? - Unchecked
Hide hidden text/image for guests - Unchecked
Groups IDs who allowed to see a hidden content without posting? - /
Minmum post count to allow unhide content - 0
Minmum post count to unhide content without posting - 50

Thread: http://www.caffeplanet.com/index.php?topic=10425.msg337190#msg337190  (not an english board :D)
Title: Re: Hide Tag Special
Post by: Mal5950 on April 20, 2007, 02:16:57 PM
Hi guys.

I've gone ahead and installed the mod and it appears to be working fine. With the following exceptions:


There is no button where members make a new post to add the hide tags to their post, I thought there should be. If so how do I get it to appear.


Second

I have two groups which I want to be able to see the hidden content without having to reply to the post, they are:

Senior Site Moderator
and
Site Moderator

I don't think I'm inputting them correctly in the "Groups IDs who allowed to see a hidden content without posting?" Field

I've tried:
"Senior Site Moderator","Site Moderator"
Senior Site Moderator","Site Moderator
Senior Site Moderator,Site Moderator

What am I doing wrong?

Many thanks for your help, much appreciated.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 20, 2007, 03:48:36 PM
Quote from: Mal5950 on April 20, 2007, 02:16:57 PM
Hi guys.

I've gone ahead and installed the mod and it appears to be working fine. With the following exceptions:


There is no button where members make a new post to add the hide tags to their post, I thought there should be. If so how do I get it to appear.


Second

I have two groups which I want to be able to see the hidden content without having to reply to the post, they are:

Senior Site Moderator
and
Site Moderator

I don't think I'm inputting them correctly in the "Groups IDs who allowed to see a hidden content without posting?" Field

I've tried:
"Senior Site Moderator","Site Moderator"
Senior Site Moderator","Site Moderator
Senior Site Moderator,Site Moderator
First: Attached to the first post in this thread there is a small installer for hide button :).
Second: You need to insert the ids of the groups.

@Suby: PM ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Mal5950 on April 20, 2007, 04:16:23 PM
Many thanks DIN1031, my mistake, I read the instructions incorrectly. I read it as you needed to insert the group ID not the names of the members in that group.
Title: Re: Hide Tag Special
Post by: Mal5950 on April 20, 2007, 04:35:13 PM
Sorry, I must still be doing something wrong.

What exactly do you mean by the group ID. Is not the group ID the group name
e.g. Site Moderator, Admin, Moderator etc.

This is a list of my groups in the order they are listed:

Site Admin
Site Moderator
Forum Moderator
Senior Site Moderator
Stellar Poster
etc
etc
etc

The ones in red are the ones I want to be able to see hidden parts of the post.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 20, 2007, 06:51:23 PM
Quote from: Mal5950 on April 20, 2007, 04:35:13 PM
Sorry, I must still be doing something wrong.

What exactly do you mean by the group ID. Is not the group ID the group name
e.g. Site Moderator, Admin, Moderator etc.

This is a list of my groups in the order they are listed:

Site Admin
Site Moderator
Forum Moderator
Senior Site Moderator
Stellar Poster
etc
etc
etc

The ones in red are the ones I want to be able to see hidden parts of the post.
Each group have also a number as id, for example global moderators have the id 2 in SMF. If you like to know which id is used for which group. Go to Admin -> Membergroups. If you click on on of the groups you can see a link like ...action=membergroups;sa=members;group=1
and you can see there is a number group=1 ;) with this you know the id you need for my mod.

And i did write a example for it in the discription of this option -> Seperate more than one with a "," (Example ID 2 is Global Moderator)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Mal5950 on April 21, 2007, 02:36:36 AM
Many thanks again DIN1031. I hadn't realised that each group had it's own ID number, which in this case was 2 & 28. All works fine now.

Thanks for your time and patients, much appreciated.
Great mod by the way.
Title: Re: Hide Tag Special
Post by: vinzz on April 28, 2007, 02:40:00 PM
i installed version 1.2.5 on my board 1.1.2
the hide tags does not work correctly with the "code tags":

(http://www.ibrought.com/vinzz/images/hideb1.JPG) (http://www.ibrought.com/vinzz/images/hideb1.JPG)
http://www.ibrought.com/vinzz/images/hideb1.JPG

http://www.ibrought.com/vinzz/images/hideb2.JPG
(http://www.ibrought.com/vinzz/images/hideb2.JPG) (http://www.ibrought.com/vinzz/images/hideb2.JPG)


my mods on smf:

http://www.ibrought.com/vinzz/images/mods.JPG
(http://www.ibrought.com/vinzz/images/mods.JPG) (http://www.ibrought.com/vinzz/images/mods.JPG)

Title: Re: Hide Tag Special
Post by: ディン1031 on April 28, 2007, 05:06:02 PM
THIS IS A SMF BBC PARSER PROBLEM... <<

This happen only after a unhidding a hidden content! I can give you more example when this happen <<.  (http://www.simplemachines.org/community/index.php?topic=32954.msg1041567#msg1041567)

Hmmm i will fix it now and for all... but i don't know if something else what not should happen happend <<

Install the upgrade to 1.2.6 than you should not see it any more.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: vinzz on April 29, 2007, 09:43:47 AM
Thanks DIN1031, works great now!
Title: Re: Hide Tag Special
Post by: coru-mx on April 29, 2007, 01:07:18 PM
Thanks now works with de code tag inside hide tag. 8)
Title: Re: Hide Tag Special
Post by: greekpc on May 07, 2007, 09:19:03 AM
I use it and it work ok. But i have this question, how can members see any message for to answer ? I mean now when i use [.hide]text[/hide] message they don't see any message before the first message to say something like "You have to reply to see the hide message" How can i do that ? Just now it don't show nothing.

Thank you
Title: Re: Hide Tag Special
Post by: ディン1031 on May 08, 2007, 12:17:33 PM
There are two way to doing that ;) easiest way -> Admin -> Features and Settings -> Hide Standard Text ;). Ah other way is if you need it language specified than enable the "MUI SWITCH - Use $txt['hide_hiddentext'] of the languagefiles" and change it in the index.language.php.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: zuu on May 13, 2007, 02:39:36 AM
So, how does the image work? Do I upload an image or what?
Title: Re: Hide Tag Special
Post by: ディン1031 on May 13, 2007, 04:20:48 AM
Yes you need to upload one, and than insert a link to it.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: zuu on May 13, 2007, 09:29:31 AM
Where do I upload it to?
Title: Re: Hide Tag Special
Post by: El Reclutador 2003 on May 13, 2007, 10:21:03 AM
I've got problems with this mod in 1.1.2. i can't run it

Is this mod comptable? Thanks!
Title: Re: Hide Tag Special
Post by: zuu on May 13, 2007, 11:14:51 AM
Yes, it is. I can run it fine in 1.1.2.
Title: Re: Hide Tag Special
Post by: El Reclutador 2003 on May 13, 2007, 11:59:44 AM
Thanks, now i can use it, i solved my problem :)
Title: Re: Hide Tag Special
Post by: ディン1031 on May 13, 2007, 12:02:21 PM
Quote from: zuu on May 13, 2007, 09:29:31 AM
Where do I upload it to?
I hope you mean the unhidden image XD, everywhere you have webspace for this :x.

Bye
DIN!031
Title: Re: Hide Tag Special
Post by: thegto on May 20, 2007, 11:52:43 AM
Hello

I got this problem when I install hide special 1.2.6
5.     Execute Modification     ./Sources/Subs.php     Test failed

-my SMF 1.1.1
-I install mod hide special 1.26
- other mod I have only no spam by guest

and what is "the fast parsment" ? .. I saw you reply about this but I don't know what is it.

I'm looking for your reply
Thegto
Title: Re: Hide Tag Special
Post by: ディン1031 on May 21, 2007, 01:33:48 AM
Quote from: thegto on May 20, 2007, 11:52:43 AM
Hello

I got this problem when I install hide special 1.2.6
5.     Execute Modification     ./Sources/Subs.php     Test failed

-my SMF 1.1.1
-I install mod hide special 1.26
- other mod I have only no spam by guest

and what is "the fast parsment" ? .. I saw you reply about this but I don't know what is it.

I'm looking for your reply
Thegto
This came from a old 1.0.x version, for this there was a alternate way to parse the bbc code.

Hmmm okay i will look if it possible to fix it in a simple way, the changes in the Subs.php are importend ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on May 27, 2007, 02:02:25 PM


Version 1.2.7 (27.05.07)
! Fixed the not replaced $language variable on the unhidden image.

Upgrade is included :).

Thx to Stelios for this information...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on May 29, 2007, 04:49:41 AM
Hi ディン1031. Does this mean the language for the unhidden image which will be shown to the members viewing the hidden post,  can be set from the admin''s panel? Thank you
Title: Re: Hide Tag Special
Post by: ディン1031 on May 29, 2007, 09:23:59 AM
Yes ;) it was possible since Version *thinking* 1.2.2 but i made a mistake on the built of the unhidden image.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on May 29, 2007, 11:53:52 AM
Quote from: ディン1031 on May 29, 2007, 09:23:59 AM
Yes ;) it was possible since Version *thinking* 1.2.2 but i made a mistake on the built of the unhidden image.

Bye
DIN1031

Thank you for your answer and for making something like that possible, it is so handy
Title: Re: Hide Tag Special
Post by: nitins60 on June 10, 2007, 04:38:38 AM
Hmmm... Really confused of the settings! I didn't understand the complex English used in Basic Feature Settings!

I just wanted to hide content with image until they post, let me know how to do it?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 10, 2007, 08:48:55 AM
Hmmmm complex english xD

Putt a link to the image in the "Image link for hidden..." box ;).

Than a image appear instead of the hidden text.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: nitins60 on June 10, 2007, 10:19:06 PM
Can any1 give image to use @Hide Tag? 
Title: Re: Hide Tag Special
Post by: thegto on June 11, 2007, 12:12:09 AM
้ำhello
I still have problem when install this mod one the web server (I use freeweb hosting, freehostia.com)

i try with v1.2.7

   ./Sources/Subs.php     Test failed

but strangely , in my offline server every thing work great , please give me some advise how to resolve this problem.

thanks
Thegto
Title: Re: Hide Tag Special
Post by: ディン1031 on June 11, 2007, 02:00:35 AM
Quote from: thegto on June 11, 2007, 12:12:09 AM
้ำhello
I still have problem when install this mod one the web server (I use freeweb hosting, freehostia.com)

i try with v1.2.7

   ./Sources/Subs.php     Test failed

but strangely , in my offline server every thing work great , please give me some advise how to resolve this problem.

thanks
Thegto

Oh this is the most importend change :x, can you give me you subs.php and the list of mods that you installed?

Quote from: nitins60 on June 10, 2007, 10:19:06 PM
Can any1 give image to use @Hide Tag? 

Hmmmm a example only -> (http://nextsite.org/hidden.gif) -> http://nextsite.org/hidden.gif it's from this post (http://www.simplemachines.org/community/index.php?topic=32954.msg1028805#msg1028805)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on June 11, 2007, 02:51:33 AM
One quick question Din. If I use this link ''http://nextsite.org/hidden.gif'' will the image shown above, show at the post of which I am hiding the links?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 11, 2007, 04:05:36 AM
Yes ;), it will be shown instead of the text.

But it's only example, i don't know if the user allow that someone else use it xD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: thegto on June 13, 2007, 01:43:42 AM
installedmod
1. No Spam by Guests!      0.1
2. Anonymous Posting Mod      1.01

SMF 1.1.1
Theme :orange-it
Title: Re: Hide Tag Special
Post by: babjusi on June 13, 2007, 02:01:09 AM
Quote from: ディン1031 on June 11, 2007, 04:05:36 AM
Yes ;), it will be shown instead of the text.

But it's only example, i don't know if the user allow that someone else use it xD.

Bye
DIN1031

Thanks for you answer din. I don''t think that the user would mind it, but I will ask his permission anyway
Title: Re: Hide Tag Special
Post by: babjusi on June 13, 2007, 02:07:40 AM
Quote from: Lord Anubis on March 29, 2007, 11:36:56 PM
Quote from: DIN1031 on March 29, 2007, 06:43:12 AM
Okay you've replaced it completely wrong xD, i've attached the correct one to the post.

Quote from: Lord Anubis on March 28, 2007, 01:45:38 PM
I make ppl reply to see the hidden content...

But say under permissions if I allow a Global Moderator to use the hide tag all the BBC code doesn't work and all their posts end up like [img.]http://link to image[./img], without the periods of course :)
I don't understand it ?_?. What are your settings for the Hide Mod... i think you didn't set it correct.

Bye
DIN1031



MUI Switch - Unchecked
Hide Standard Text - (http://nextsite.org/hidden.gif)
Image link for hidden contet - Blank
Image link for unhidden contet - unhidden.gif
Show only one time the hidden content information, at the end of the post. - Unchecked
Admin should see the hide without post? - Checked
Hide hidden text/image for guests - Checked
Groups IDs who allowed to see a hidden content without posting? - 2
Minmum post count to allow unhide content - 0
Minmum post count to unhide content without posting - 0

I don't see how any of this would affect the BBC code though  :(

Hi Lord Anubis. May I  use the image you placed here, in my site as well to be shown for the hidden links.
Title: Re: Hide Tag Special
Post by: mforum on June 13, 2007, 08:15:02 AM
A suggestion to the Author, if it`s possible.

To have Show only one time the hidden content information, at the end of the post option for Hidden pictures too.
For example, if a member use lot`s of Hide Tags in a post, only one Hide image to show at the end of post.

Also, to have the ability to use BBC on image link text, so we can link or center the image.  ;)
Title: Re: Hide Tag Special
Post by: ディン1031 on June 13, 2007, 09:09:53 AM
Yeah i will do this ;).

But i think i will change a little bit the System in my Hide Mod for this, but it will be better after it and easier to understand (hope it xD). With the new system unhidden text will also be possible =). But i will do this at the weekend.

@thegto

I looked into the subs.php file somehow i'm not 100% sure but it looks like the replace should work :x, i go look again at the evening but at the first saw it should work.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: thegto on June 16, 2007, 02:17:52 AM
Thank yous DIN1031,

If the code works, I will try to reinstall webboard again. It might something wrong which I don't remember what I did in the beginning.

As I ever told you, I tested this mod on my computer but when I installed on the host side. It shows me this error.

I will do after you confirm the code again.

Bye
Thegto
Title: Re: Hide Tag Special
Post by: topiQ on June 17, 2007, 04:46:25 AM
great mod DIN!
it would be nice if it'd be possible to implemtent BBC to the hidden/unhidden image. the CODE tag for example.
and one question: is it normal that the unhidden image is shown below the unhidden text?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 17, 2007, 06:42:07 AM
Yes it's normal ;).

In the next version (1.5.1) this will be possible, because the hidden and unhidden text much more better to edit ;). I will release it in a few days, after some testings. (It will also be have a working inline edit where the hidden content is not removed by clicking on inline edit).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on June 19, 2007, 01:18:49 PM
New Release :

Version 1.5.1 (19.06.07)
* Overworked the complete Hide Tag Special Options
* Moved to Posts and Topic -> Hide Tag Special in the Admin CP.
+ Unhidden Text and Image Possible
+ Unhidden Content is now in the css class "hiddencontent", with that you can now format the unhidden content
* Reprogrammed Code to make Inline Edit with hidden content possible. (without destroying it).
* Overworked the Group Select
+ Add a lot of Help for Options...
- Turkish is not Included for the New Version (Need a complete new Translation)
- Upgrade is included, only for Version 1.2.7. (This is a complete overwork of the Mod!)
- Removed all not needed Versions...

This is Importend for Upgrader:

A Upgrade is included but make follow things after the Upgrade:

First Thing:
You need to set many things new so that the mod will work correct, so please do this first after you installed the mod!

Second Thing:
Please be sure that you look if the change in the Display.template.php made in all your themes!
Here is the Change:

<edit file>
$themedir/Display.template.php
</edit file>

<search for>
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] && empty($message['hidden_content']) ? '
</search for>

<replace>
<div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
</replace>

This Change is needed to remove some error messages in you error log, so please don't forget this :).




So, hf with the new version :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edi67 on June 20, 2007, 02:58:35 AM
aS ALWAYS superb MODIFICATION work like a charm for me ;)
Only one little error:

&nbsp; &nbsp;teotorriatte&nbsp; &nbsp;Oggi alle 09:10:16&nbsp;
172.17.11.131&nbsp; &nbsp; &nbsp;4eed8e70721ef04a0d11c89a30fc8614&nbsp;
http://www.crazyzone.ws/index.php?action=search2&nbsp;
8: Undefined index: body
File: /home2/crazyzonews/www/Sources/Search.php
Linea: 1558

&nbsp; &nbsp;teotorriatte&nbsp; &nbsp;Oggi alle 09:10:16&nbsp;
172.17.11.131&nbsp; &nbsp; &nbsp;4eed8e70721ef04a0d11c89a30fc8614&nbsp;
http://www.crazyzone.ws/index.php?action=search2&nbsp;
8: Undefined index: body
File: /home2/crazyzonews/www/Sources/Search.php
Linea: 1557



weel line 1557 and 1558 are these bolded:

   // Do the censor thang...
   censorText($message['body']);
   $message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", "&nbsp;", $modSettings['body']);
   $message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), "&nbsp;", $modSettings['body']);

   censorText($message['subject']);



Some solution you understnad what this means ?
Title: Re: Hide Tag Special
Post by: mforum on June 20, 2007, 03:20:15 AM
Is it better to uninstall old version (1.2.7) and install new one ?
Title: Re: Hide Tag Special
Post by: edi67 on June 20, 2007, 03:22:42 AM
Quote from: mforum on June 20, 2007, 03:20:15 AM
Is it better to uninstall old version (1.2.7) and install new one ?

NO, everything is MADE by the MOD autmatically  :D
Title: Re: Hide Tag Special
Post by: ディン1031 on June 20, 2007, 05:27:44 AM
Quote from: edi67 on June 20, 2007, 02:58:35 AM
aS ALWAYS superb MODIFICATION work like a charm for me ;)
.... some text i delete....

   // Do the censor thang...
   censorText($message['body']);
   $message['body'] = preg_replace("/\[hide\](.+?)\[\/hide\]/i", "&nbsp;", $modSettings['body']);
   $message['body'] = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), "&nbsp;", $modSettings['body']);

   censorText($message['subject']);



Some solution you understnad what this means ?

Upgrade to the new Version, i don't know why i made this idiotic mistake... but it's fixed in the new Version.



Version 1.5.2 (20.06.07)
! Removed the Mistake in the Search.php. It's a way to unhide content without posting!
- Upgrade included for 1.5.1 (1.2.7 upgrade direct and correct).



Thx to edi67 for the info... i really forgot to check the search...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: nitins60 on June 20, 2007, 07:43:47 AM
I have to update now
Title: Re: Hide Tag Special
Post by: babjusi on June 20, 2007, 07:54:36 AM
Hi ディン1031
After I upgrade the mod, do I have to do other changes or it won''t be necessary? Thank you
Title: Re: Hide Tag Special
Post by: edi67 on June 20, 2007, 08:18:18 AM
Quote from: ディン1031 on June 20, 2007, 05:27:44 AM
Upgrade to the new Version, i don't know why i made this idiotic mistake... but it's fixed in the new Version.



Version 1.5.2 (20.06.07)
! Removed the Mistake in the Search.php. It's a way to unhide content without posting!
- Upgrade included for 1.5.1 (1.2.7 upgrade direct and correct).



Thx to edi67 for the info... i really forgot to check the search...

Bye
DIN1031
something wrong din... i cannot make upgrade, first of all installing your new update, system load it as :

58. Hide Tag 1.5.1   [ Uninstall ] [ List Files ] [ Delete ] 
59. Hide Tag 1.5.1   [ Uninstall ] [ List Files ] [ Delete ] 


your last packages load in my installer as versione 1.5.1 i dont understand the reason
Title: Re: Hide Tag Special
Post by: ディン1031 on June 20, 2007, 09:35:53 AM
@edi67
Ups xD i'm a idiot, i fix it.

Sorry could not test it, because i'm not at home <<. A small mistake and it will not work...

hope no one installed the Version 1.5.2 as the version 1.5.1 <<


Quote from: babjusi on June 20, 2007, 07:54:36 AM
Hi ディン1031
After I upgrade the mod, do I have to do other changes or it won''t be necessary? Thank you
You need to look at your settings... it's a complete overwork. See -> http://www.simplemachines.org/community/index.php?topic=32954.msg1132060#msg1132060


@nitins60
Please before you upgrade... look if you have the correct version :x, if not please download it again.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edi67 on June 20, 2007, 09:42:34 AM
Quote from: ディン1031 on June 20, 2007, 09:35:53 AM
@edi67
Ups xD i'm a idiot, i fix it.

Sorry could not test it, because i'm not at home <<. A small mistake and it will not work...

hope no one installed the Version 1.5.2 as the version 1.5.1 <<

which idiot ??? you are super mod maker EXCELLENT work, now everything is correct and perfect thx agai din-.

Ps. always i waiting you visiting my site, i must repay every your mods for me. please come you will enjoy in my site with ;) my hidden resources
Title: Re: Hide Tag Special
Post by: nitins60 on June 20, 2007, 04:23:02 PM
Countup 10mins from this post, the time i have upgraded from 1.2.7!! The package i downloaded s v1.5.2Fix!! Hopefully i downloaded proper one :)
Title: Re: Hide Tag Special
Post by: nitins60 on June 20, 2007, 04:24:06 PM
In my package manager, it's 1.5.2
Title: Re: Hide Tag Special
Post by: ディン1031 on June 21, 2007, 01:34:09 AM
Okay phewww ;). I see only 3 downloads hope no one installed the wrong one. XD

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: topiQ on June 22, 2007, 05:39:24 AM
Great new features, DIN!
However i have 3 problems right now to report:
1. The BB-Code-Parsing does not work for me in the UNHIDDEN Content. There is no problem with the HIDDEN Content but the BBC does not parse in the Unhidden Conent. But if i check the HTML-Parse box and enter HTML code in the Unhidden Content box it works like a charm. This i kinda strange, isnt it?!
2. You forgot to escape a singlequote in the HideTagSpecialGerman.xml at the end of line 65.
3. Is it possible with this new version of your mod to display the unhidden text BELOW an image for example? is there a variable for the text unhidden text?

thanks in advance and rock on! ;D
Title: Re: Hide Tag Special
Post by: ディン1031 on June 22, 2007, 05:52:13 AM
1. Huuu it should parse it... in my forum the unhidden content is parsed ?_? but i will try it again.
2. Uhh i insert the wrong german translation... *dop*, i will fix it.
3. Yes you can use $txtvariable on unhidden content, too and the mod will use the $txt['hide_unhiddentext'] from the index.yourLangauge.php.

You can add it everywhere you like it :x
[img]http://imagelink/[/img][br]This is my Text after the Picture... there no update needed for this...

Can you give me the options that you use? So that i can try it with the same options to see if unhidden content in some settings is not parsed.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: IlyZor on June 22, 2007, 06:52:54 AM
Where's the file where I change that ; ? I downloaded just now and I still get the same error.
Title: Re: Hide Tag Special
Post by: ディン1031 on June 22, 2007, 07:48:51 AM
Quote from: IlyZor on June 22, 2007, 06:52:54 AM
Where's the file where I change that ; ? I downloaded just now and I still get the same error.
?_? it's only in the german version the english version have no error.

And it's fixed in the installer, so there should no error any more :x.

Bye
DIN1031
Title: Add logo to uploaded images!
Post by: smartsheep on June 22, 2007, 08:05:50 AM
Hi, is there a mod, cause i cant find one that when someone uploads an image on your forum, the logo is automatically added to the image. If there isnt one, someone should create it ;)
Cheers
Title: Re: Hide Tag Special
Post by: topiQ on June 22, 2007, 08:43:18 AM
here are the settings i used:
(http://www.imagepot.in/thumbs/414/hide.jpg) (http://www.imagepot.in/images/414/hide.jpg.html)
very strange that bbcode is not parsed.
btw i didnt mean the $txtvariable. i meant the text that is hidden between the hide-tag. is it possible to display that one below an image e.g.?!
Title: Re: Hide Tag Special
Post by: ディン1031 on June 22, 2007, 08:51:53 AM
Quote from: topiQ on June 22, 2007, 08:43:18 AM
here are the settings i used:
(http://www.imagepot.in/thumbs/414/hide.jpg) (http://www.imagepot.in/images/414/hide.jpg.html)
very strange that bbcode is not parsed.
btw i didnt mean the $txtvariable. i meant the text that is hidden between the hide-tag. is it possible to display that one below an image e.g.?!
I sent you a pm ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on June 22, 2007, 11:25:38 AM


Version 1.5.3 (22.06.07)
! Replace the row with rows in text areas
! Upgrades will have a mistake in the Search.php what produce errors...
! Fix the error in the Help.german.php
+ Add Turkish Translation by ghg

All Upgrades and Fix will made by the Upgrade. (But only if the error exist).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: IlyZor on June 23, 2007, 05:44:15 AM
The german version? I get loads of different languages in one package. Can I delete the german and turkish language files etc?

I downloaded 1.53 and I still get an error in the german file.

Title: Re: Hide Tag Special
Post by: ディン1031 on June 23, 2007, 11:48:11 AM
?_?
Normal it should skip it on error.
When you delete it the package will not work ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: topiQ on June 25, 2007, 12:23:53 PM
is the Mod compatible with the new version or will there be a new release? if it is compatible can i just modify the package-info.xml?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 25, 2007, 01:20:10 PM
It's compatible since... *go looking* Today at 18:16:53

If you install a older Package it will not work correct ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: topiQ on June 25, 2007, 02:33:46 PM
Are there any changes besides the packages-info.xml and the new two VersionCompatible files?! or can i just exchange them and install it with my "old" 153 version?
Title: Re: Hide Tag Special
Post by: BigGunn on June 25, 2007, 10:45:06 PM
i tried installing this and there are no settings available and now I can't uninstall it. It says:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

I tried chmodding everything and it still says that.

it's definitely a mod issue. I wiped my test forums, did a clean install and tried to apply this mod and it automatically created the same issue. couldnt add any other mods nor "uninstall" that one, even though it didnt really install.
Title: Re: Hide Tag Special
Post by: ディン1031 on June 26, 2007, 01:25:58 AM
Quote from: topiQ on June 25, 2007, 02:33:46 PM
Are there any changes besides the packages-info.xml and the new two VersionCompatible files?! or can i just exchange them and install it with my "old" 153 version?
Nope only insert the Compatible files in the package, and the package select the correct one. If you install the old one, it will work but not 100% correct, an errors will happen if you use the inline edit ;).

Quote from: BigGunn on June 25, 2007, 10:45:06 PM
i tried installing this and there are no settings available and now I can't uninstall it. It says:

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

I tried chmodding everything and it still says that.

it's definitely a mod issue. I wiped my test forums, did a clean install and tried to apply this mod and it automatically created the same issue. couldnt add any other mods nor "uninstall" that one, even though it didnt really install.

I tested it yesterday, i installed it on a new an fresh installed SMF 1.1.3, a upgraded SMF 1.1.2 and after that on a old SMF 1.1.2 and work fine :x. Also the deinstall work fine. I did not change anything in the mod itself i only insert a install for 1.1.3...
I will test it again, but i'm sure that it work correct...

And did you look on the right position for the options? Admin -> Posts and Topics -> Hide Tag Special

And if relly my system of making mods a problem... than i think i should remove all my mod, because i made them all in the same way <<.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Wretched on June 26, 2007, 02:13:03 AM
Works great here on 1.1.3 - thanks.

One question, how easy would it be to add a parameter to specify exactly who could see the hidden text rather than just replying?

ie. [hide=user_a, user_c]User_b can't see this[/hide]

Title: Re: Hide Tag Special
Post by: ディン1031 on June 26, 2007, 02:32:06 AM
Uff not so easy. But possible.

I can look if you like, if i have a fast idea i will write you a pm.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Wretched on June 26, 2007, 02:36:29 AM
Cool thanks.

This (http://www.simplemachines.org/community/index.php?topic=36146.msg266811#msg266811) was looking promising for my needs, but it's beyond my skills to update it.
Title: Re: Hide Tag Special
Post by: topiQ on June 26, 2007, 06:31:42 AM
seems to be working! thanks for the update DIN!
Title: Re: Hide Tag Special
Post by: BigGunn on June 26, 2007, 10:45:19 AM
I found my issue. Somehow or another some of my folders on my host had the ownership changed on them, keeping me from being able to chmod them. Gonna try installing to a new directory and see how that goes.

Nope, same thing. I can install other mods before this one, and they all work fine. As soon as I install this one, I can't install anymore or remove the ones that are there.

And there are no options in the Posts & Topics section for this.
Title: Re: Hide Tag Special
Post by: ディン1031 on June 26, 2007, 11:25:13 AM
*drop

So i tried it now on 7 Systems... 4 Linux System and 3 Windows Systems... and it work fine...
i can install it, after that i can install a other mod and after that i uninstalled the hide mode and it work... so what should i do know... it's something that unlogical for me <<.

Did you try a other mod?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: BigGunn on June 26, 2007, 12:35:41 PM
i talked with my host and apparently it was their fault. they are planning an upgrade to fix what caused it. something about how since it created the files via the webserver, it set ownership as Root instead of as the local user (me)
Title: Re: Hide Tag Special
Post by: BigGunn on June 26, 2007, 05:11:39 PM
got it installed on another host, but I still dont see any options for settings in the Admin > Posts and Topics section
Title: Re: Hide Tag Special
Post by: GhoXt on June 26, 2007, 10:22:57 PM
I download the last version of this hide tag, and installed into a fresh version 1.1.2  by package manager. like said bigGunn i dont see any settings at posts and topics section too ... also tried by using parser no sucess parser dont read the pakage xml info at all.
Title: Re: Hide Tag Special
Post by: nitins60 on June 26, 2007, 11:22:57 PM
Strange, yesterday i updated to v1.1.3, can't find uninstall option n package manager now. I replaced all source and theme files with fresh v1.1.3 options. Installed perfectly, i can see Hide Tag options in Posts and Topics everything is fine. But when i use quick search error log s showing this error

Quote
http://mydomain.com/forum/index.php?action=search2

8: Undefined index: brd
File: /home/xxxx/forum/Sources/Search.php
Line: 407

this problem didn't arise n v1.1.2. By the way, you know my mods (admanagem, member color link, hide tag special, thank o matic) none of them except this mod deal with Search.php 
Title: Re: Hide Tag Special
Post by: babjusi on June 27, 2007, 02:09:16 AM
Hi BigGunn and GhoXt. What is the default theme and language that you have in your forums?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 27, 2007, 04:13:39 AM
Quote from: nitins60 on June 26, 2007, 11:22:57 PM
Strange, yesterday i updated to v1.1.3, can't find uninstall option n package manager now. I replaced all source and theme files with fresh v1.1.3 options. Installed perfectly, i can see Hide Tag options in Posts and Topics everything is fine. But when i use quick search error log s showing this error

Quote
http://mydomain.com/forum/index.php?action=search2

8: Undefined index: brd
File: /home/xxxx/forum/Sources/Search.php
Line: 407

this problem didn't arise n v1.1.2. By the way, you know my mods (admanagem, member color link, hide tag special, thank o matic) none of them except this mod deal with Search.php 
I don't use any variable like brd in the Serach.php. I used a variable called $message['body'] but that's the only thing... and it looks like this is a smf thing because brd is a search parameter the smf use to specified a board where it should serach... so it's has nothing to do with the hide tag :).



@BigGunn and GhoXt
Is it like babjusi say?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: MarkoWeb on June 27, 2007, 06:32:31 AM
How to remove empty row (look at picture)
(http://slike.bol-brac.com/images/adx40073.png)
Title: Re: Hide Tag Special
Post by: ディン1031 on June 27, 2007, 06:38:13 AM
Quote from: Marko_ on June 27, 2007, 06:32:31 AM
How to remove empty row (look at picture)
(http://slike.bol-brac.com/images/adx40073.png)
I don't know ;). I must look *g*

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: MarkoWeb on June 27, 2007, 06:55:25 AM
ok tnx.
Title: Re: Hide Tag Special
Post by: GhoXt on June 27, 2007, 08:01:00 AM
Quote from: babjusi on June 27, 2007, 02:09:16 AM
Hi BigGunn and GhoXt. What is the default theme and language that you have in your forums?

default lang = English
default theme = the SMF default theme

:(
Title: Re: Hide Tag Special
Post by: BigGunn on June 28, 2007, 12:07:36 AM
Quote from: GhoXt on June 27, 2007, 08:01:00 AM
Quote from: babjusi on June 27, 2007, 02:09:16 AM
Hi BigGunn and GhoXt. What is the default theme and language that you have in your forums?

default lang = English
default theme = the SMF default theme

:(

same here.
Title: Re: Hide Tag Special
Post by: ディン1031 on June 28, 2007, 01:24:08 AM
Hmmm and it show in the Package Manager as Installed?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GhoXt on June 28, 2007, 06:12:25 PM
Quote from: ディン1031 on June 28, 2007, 01:24:08 AM
Hmmm and it show in the Package Manager as Installed?

Bye
DIN1031

i install now into a 1.1.3, all in default,, and yes shows installed :(
Title: Re: Hide Tag Special
Post by: MinasC on June 28, 2007, 07:10:15 PM
great great mod !!!

how can i make the "hide/unhide" gif show as a button when i post ? i uploaded the gif you attached in your first post to themes/default/images/bbc but didn't get it to show (i have smf 1.1.3/tp 0.9.8).

thnx in advance !
Title: Re: Hide Tag Special
Post by: BigGunn on June 28, 2007, 09:24:33 PM
yes it shows as installed, but there aren't any options in the Posts & Topics area.... might it be a difference in having the language as "English" instead of "English-utf8"... although I tried switching and it still didnt show.

EDIT: Nix that. I just realized my default was English-utf8..... switched it to English and checked again, and there was the Hide Tag Special section in the Posts and Topics area.
Title: Re: Hide Tag Special
Post by: Stalyn on June 28, 2007, 10:21:25 PM
work fine for me.
Title: Re: Hide Tag Special
Post by: ディン1031 on June 29, 2007, 01:52:01 AM
Hmmm i think i should add the english-utf8, too. I think a work for the weekend :D.

Quote from: MinasC on June 28, 2007, 07:10:15 PM
great great mod !!!

how can i make the "hide/unhide" gif show as a button when i post ? i uploaded the gif you attached in your first post to themes/default/images/bbc but didn't get it to show (i have smf 1.1.3/tp 0.9.8).

thnx in advance !
http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=27702 install this attachment :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GhoXt on June 29, 2007, 07:10:17 AM
Quote from: BigGunn on June 28, 2007, 09:24:33 PM
yes it shows as installed, but there aren't any options in the Posts & Topics area.... might it be a difference in having the language as "English" instead of "English-utf8"... although I tried switching and it still didnt show.

EDIT: Nix that. I just realized my default was English-utf8..... switched it to English and checked again, and there was the Hide Tag Special section in the Posts and Topics area.

ahhhhhhhhh so its that :O wtf ?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 29, 2007, 11:35:33 AM
I never made a utf8 version for English... (Never need it :X). (But i will make one, this weekend, than this should not happen any more).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GhoXt on June 29, 2007, 05:51:39 PM
Quote from: ディン1031 on June 29, 2007, 11:35:33 AM
I never made a utf8 version for English... (Never need it :X). (But i will make one, this weekend, than this should not happen any more).

Bye
DIN1031


oki :)
Title: Re: Hide Tag Special
Post by: MinasC on June 29, 2007, 07:01:26 PM
Quote from: ディン1031 on June 29, 2007, 01:52:01 AM
Hmmm i think i should add the english-utf8, too. I think a work for the weekend :D.

Quote from: MinasC on June 28, 2007, 07:10:15 PM
great great mod !!!

how can i make the "hide/unhide" gif show as a button when i post ? i uploaded the gif you attached in your first post to themes/default/images/bbc but didn't get it to show (i have smf 1.1.3/tp 0.9.8).

thnx in advance !
http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=27702 install this attachment :).

Bye
DIN1031

u r right , my fault ! i only uploaded the gif to bbc folder , i didn;t know i had to install the button too ! worked fine , thnx a lot !
Title: Re: Hide Tag Special
Post by: nitins60 on June 29, 2007, 10:43:41 PM
Din, why don't you make one cool hide/unhide image of size 300x200
Title: Re: Hide Tag Special
Post by: GhoXt on June 30, 2007, 06:20:44 AM
din the error come from admin package installer. i try install several hack and failed =|, u installed manually and they work. but your hack dont give instrutions on parser website
Title: Re: Hide Tag Special
Post by: ディン1031 on June 30, 2007, 12:22:57 PM
Quote from: nitins60 on June 29, 2007, 10:43:41 PM
Din, why don't you make one cool hide/unhide image of size 300x200
Because at the moment i don't have the time for this ;).

Quote from: GhoXt on June 30, 2007, 06:20:44 AM
din the error come from admin package installer. i try install several hack and failed =|, u installed manually and they work. but your hack dont give instrutions on parser website
Strange... :x normal it should work fine. Which parser did you use?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GhoXt on June 30, 2007, 03:01:15 PM
din i use this parser -> http://www.smfhacks.com/packageparser/package.php?lang=english
Title: Re: Hide Tag Special
Post by: elian on July 04, 2007, 10:09:37 AM
At installing of Hide Tag  1.5.3
I get the error: Modification parse error
the smf version are: SMF 1.1.3
someone can help me?
with thanks
Title: Re: Hide Tag Special
Post by: ディン1031 on July 04, 2007, 12:09:12 PM
In which files?

Any Other mods installed...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: elian on July 04, 2007, 12:31:09 PM
all files have this error
i 't a new forum
clean as a whistle without mods
Title: Re: Hide Tag Special
Post by: kamili34 on July 04, 2007, 02:55:12 PM
I want to write sth [hide]blblblblb[/hide]

When I click  post it say that I must write sth in post but I only write [hide]blblblblb[/hide].  Is this correct ?


Thanks in advance for grat mods and i appreciate this. Becouse polish support
of smf is poor.  :'(
Title: Re: Hide Tag Special
Post by: elian on July 04, 2007, 11:33:29 PM
you must see the text, which you have written in the control panel
not [hide]blblblblb[/hide]
;)
Title: Re: Hide Tag Special
Post by: Farmacija on July 05, 2007, 09:47:01 AM
ok, is there any security risks why we have upgrade on new version or not?
and can we set differen tags for to differen membergroups , say , 1 group of member [which have 500 posts]can see one hidden content and for they we will use code[hide1][/hide] and another group [which have 300posts] can see other hidden content?
do u understand me din?
Title: Re: Hide Tag Special
Post by: ディン1031 on July 05, 2007, 11:16:32 AM
Quote from: Farmacija on July 05, 2007, 09:47:01 AM
ok, is there any security risks why we have upgrade on new version or not?
and can we set differen tags for to differen membergroups , say , 1 group of member [which have 500 posts]can see one hidden content and for they we will use code[hide1][/hide] and another group [which have 300posts] can see other hidden content?
do u understand me din?
No Holes or anything like that in the old version 1.2.7.

I overworked the Admin part, speed up the script on some positions and made the inline edit possible so that it not destroy the hidden content.

The other thing is not possible, it's to much work for me to do such a thing, if you like this you must program it yourself...



Quote from: kamili34 on July 04, 2007, 02:55:12 PM
I want to write sth [hide]blblblblb[/hide]

When I click  post it say that I must write sth in post but I only write [hide]blblblblb[/hide].  Is this correct ?


Thanks in advance for grat mods and i appreciate this. Becouse polish support
of smf is poor.  :'(
Yes, because i remove the hide tag will be removed on the test... somehow i don't know how to make the post will created with the hidden content only... you can insert a letter after the hide and it work fine.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: MarkoWeb on July 05, 2007, 05:14:46 PM
Quote from: ディン1031 on June 27, 2007, 06:38:13 AM
Quote from: Marko_ on June 27, 2007, 06:32:31 AM
How to remove empty row (look at picture)
(http://slike.bol-brac.com/images/adx40073.png)
I don't know ;). I must look *g*

Bye
DIN1031

and...?
Title: Re: Hide Tag Special
Post by: ディン1031 on July 06, 2007, 07:59:39 AM
Not removable, the parse make automatic a <br /> on each new line, but the hidden content is now in own div tag, so it will be make a new line after it :). If you don't like it than you must remove the div tag *g* or replace it with a span tag, than it should also not happen.


<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
array(
'tag' => 'hide',
'before' => '<div class="hiddencontent">',
'after' => '</div>'.(!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['unhiddentext'] : ''),
),
</search for>

<replace>
array(
'tag' => 'hide',
'before' => '<span class="hiddencontent">',
'after' => '</span>'.(!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['unhiddentext'] : ''),
),
</replace>


Bye
DIN1031
Title: Re: Hide Tag Special
Post by: MarkoWeb on July 06, 2007, 08:37:43 AM
fixed.

<search for>
array(
'tag' => 'hide',
'before' => '<div class="hiddencontent">',
'after' => '</div>'.(!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['unhiddentext'] : ''),
),
</search for>

<replace>
array(
'tag' => 'hide',
'before' => '<div class="hiddencontent">',
'after' => '</div>'.(!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['unhiddentext'] : ''),
'block_level' => true,
),
</replace>


;)
Title: Re: Hide Tag Special
Post by: nitins60 on July 06, 2007, 11:15:31 AM
Grrr... What's going on? I don't have any error which users are reporting. It's are working like gem. But.... Small bug

when you edit the post using inline edit function, the poster can't see the links after inline edit!!! But no problem with modify option why?? ;)
Title: Re: Hide Tag Special
Post by: GhoXt on July 06, 2007, 11:41:24 AM
i whould like to user smf parser to install this hack, since i cant user admin packager

but at smf parser only apear me this

Modifications to SMF files
Modification in BoardMod format: /tmp//HideTagSpecial1.1.x.mod Modification in BoardMod format: /tmp//VersionCompatible1.1.2.mod

and nothing more plz hep =(
Title: Re: Hide Tag Special
Post by: ディン1031 on July 06, 2007, 11:48:31 AM
Quote from: nitins60 on July 06, 2007, 11:15:31 AM
Grrr... What's going on? I don't have any error which users are reporting. It's are working like gem. But.... Small bug

when you edit the post using inline edit function, the poster can't see the links after inline edit!!! But no problem with modify option why?? ;)
This is not fixable, i tried it... but it didn't work... but the most importend is that it not destroyed the hidden content like before ;). The other thing is with the same function the quote will be made and i can not risk it to show the content when you quote :x.



Version 1.6.0 (06.07.07)
+ Add a Option for the Position of the Unhidden Content Information
+ Option for using SPAN instead of DIV
! Bugfix the not Parsed Unhidden Content Information
* Removed the Tukish Translation, it's outdated in Version 1.6.0
- Upgrade included

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: nitins60 on July 06, 2007, 11:53:59 AM
Thanks. I don't like to see links in quote option. Please don't ever enable it also ;D :P
Title: Re: Hide Tag Special
Post by: kamili34 on July 06, 2007, 12:54:50 PM
Thanks new upgrade work
Title: Re: Hide Tag Special
Post by: GhoXt on July 06, 2007, 05:08:13 PM
In file $languagedir/Admin.english.php
Find:

?>



Add before:


//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Hide Tag Special';
$txt['hidetagspecial_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Enable HTML';
$txt['hide_enableHTML_help'] = 'Allow you use html on Hidden or Unhidden Text';
$txt['hide_enableUnhiddenText'] = 'Enable Unhidden Information';
$txt['hide_hiddentext'] = 'Hidden Text Information';
$txt['hide_unhiddentext'] = 'Unhidden Text Information';
$txt['hide_hiddentext_help'] = 'BBC allowed, You can use <strong>$txtvariable</strong> and <strong>$language</strong>,<br />look into the help for more info.';
$txt['hide_onlyonetimeinfo'] = 'Show the un-/hidden Text Information one time';
$txt['hide_onlyonetimeinfo_help'] = 'This will be only shown at the end of the Post.';
$txt['hide_noinfoforguests'] = 'Hide Text Information for guests';
$txt['hide_autounhidegroups'] = 'Allowed Groups to see a hidden content without posting';
$txt['hide_minpostunhide'] = 'Minmum post count to allow unhide content';
$txt['hide_minpostautounhide'] = 'Minmum post count to unhide content without posting';
$txt['hide_minpostautounhide_help'] = '"0" or empty to disable this option';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Position for Unhidden Text Information';
$txt['hide_posUnhiddenOption1'] = 'Before Hidden Content';
$txt['hide_posUnhiddenOption2'] = 'Before in Hidden Content';
$txt['hide_posUnhiddenOption3'] = 'After in Hidden Content';
$txt['hide_posUnhiddenOption4'] = 'After Hidden Content';





In file $languagedir/Help.english.php
Find:

?>



Add before:


$txt['hide_MUIswitch_help'] = '
<strong>MUI SWITCH - Hide Tag Special</strong><br /><br />
This Option is for Multi Language Forums, it enable the replacment for
<strong>$txtvariable</strong> with $txt[\'hide_hiddentext\']
or $txt[\'hide_unhiddentext\']. So that it use the correct Language
for the user. Please don\'t forget to insert the $txtvariable in the
Textarea of the Infomation so that you can use it.<br />
<span class="smalltext">You find this variable in <strong>index.english.php</strong> for example</span>';
$txt['hide_unhiddentext_help'] = '
<strong>Unhidden Informations - Hide Tag Special</strong><br /><br />
This information appear after you post to a thread, and will be shown after a Hide Tag.
So that the user know the content is unhidden.';
$txt['hide_text_help'] = '
<strong>Text Informations - Hide Tag Special</strong><br /><br />
Normal the Textarea will be BBC Parsed.<br />
You can use the Area to give a user the Infomation that there is a hidden or unhidden content.<br />

In the area you can use 2 Variables for MUI use.<br /><br />
<strong>$language</strong>:<br />
This will replace with the language that the user use.<br />
<em>Example:</em> <strong>hidden_$language</strong> will be in the output <strong>hidden_english</strong>
when the user use english as language.<br /><br />
<strong>$txtvariable</strong>:<br />
Work only if you enable the MUI Switch!<br />
This will replace the $txtvariable with the $txt[\'hide_hiddentext\'] or $txt[\'hide_unhiddentext\']
to make it Multilingual useable.<br />
<em>Example:</em> [b]$txtvarible[/b] will be in english something like
<div class="quote"><strong>The text from the index.english.php</strong></div>
because the $txtvariable is replaced with this.<br /><br />
<em>Some Examples for Hidden/Unhidden Informations:</em><br />
If you like to use a Image for the Text use:
<div class="code">[img]http://www.example.com/image.jpg[/img]</div>
Do you like to use a Image that be diffrent for each language use:
<div class="code">[img]http://www.example.com/$lanuguage.jpg[/img]</div>
You can also combine text and picture:
<div class="code">Here is a secret, please post to see it.[br][img]http://www.example.com/hidden.jpg[/img]</div>
[br] stands for a new line.
You can also combine MUI Switch and $language Picture:
<div class="code">$txtvariable[br][img]http://www.example.com/$lanuguage.jpg[/img]</div>
<span class="smalltext">$txtvariable will replace only if you enable MUI Switch</span>';
$txt['hide_useSpanTag_help'] = '
<strong>SPAN instead of DIV - Hide Tag Special</strong><br /><br />
Use &lt;span class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/span&gt; instead
of &lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt; after unhidding Text.';
$txt['hide_posUnhiddenText_help'] = '
<strong>Unhidden Text Position - Hide Tag Special</strong><br /><br />
With this you can select where the unhidden text should be stand,
after unhidding the content.<br /><br />
<u>Before Hidden Content</u>:<br />
<strong>Unhidden Text</strong>&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt;<br />
<u>Before In Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;<strong>Unhidden Text</strong> Hidden Value&lt;/div&gt;<br />
<u>After In Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value <strong>Unhidden Text</strong>&lt;/div&gt;<br />
<u>After Hidden Content</u>:<br />
&lt;div class=&quot;hiddencontent&quot;&gt;Hidden Value&lt;/div&gt;<strong>Unhidden Text</strong><br />
<br />
This Option will only work when you enable Unhidden Text Information and not enabled the
Option for "Show the un-/hidden Text Information one time".';





In file $languagedir/index.english.php
Find:

?>



Add before:


$txt['hide_hiddentext'] = 'Here is a litte secret... Or not?';
$txt['hide_unhiddentext'] = 'My little secret is shown now... Or not?';


hi din finally im able to see your mod ad smf parser, but its only that ? dont have any functions ? because i only see what i did post before in codetag
Title: Re: Hide Tag Special
Post by: nitins60 on July 06, 2007, 11:19:31 PM
@din, undefined index Package_readme error n errorlog while installing v1.60. Oops.. I think small change s needed n package. Ofcourse, it's not going to do anything wrong :)
Title: Re: Hide Tag Special
Post by: nitins60 on July 06, 2007, 11:30:31 PM
Something wrong in admin panel of hide tag special.

"Allowed Groups to see hidden content without posting" text s some how clickable link, although it doesn't have any html link. But it's supposed to be plain text, instead of clickable text
Title: Re: Hide Tag Special
Post by: ディン1031 on July 07, 2007, 06:38:05 AM
Quote from: nitins60 on July 06, 2007, 11:30:31 PM
Something wrong in admin panel of hide tag special.

"Allowed Groups to see hidden content without posting" text s some how clickable link, although it doesn't have any html link. But it's supposed to be plain text, instead of clickable text
Because of compatible thing i must make it a clickable link... if i do this not, it will produce some problems with opera ;). Okay i don't know why this readme thing occure, but i will look...

@GhoXT:
The parser can not parse my mods, because i use the old board mod style and the parser do not support this.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GhoXt on July 07, 2007, 07:29:16 AM
@din exist another parser able to parse ur mod?

or tell me which files contains the info i need to put this mod

thkz
Title: Re: Hide Tag Special
Post by: Robi052 on July 07, 2007, 01:49:20 PM
In error log after upgrade I see this 6 errors

Undefined index: hide_posUnhiddenOption4
Undefined index: hide_posUnhiddenOption3
Undefined index: hide_posUnhiddenOption2
Undefined index: hide_posUnhiddenOption1
Undefined index: hide_posUnhiddenText
Undefined index: hide_useSpanTag

All 6 errors in file
Datoteka:/home/mojporta/public_html/forum/Themes/default/languages/ManageBoards.croatian.php (edit_hidetagspecial_settings sub template - eval?)

What is wrong?

I found whats wrong. In Admin.croatian.php after upgrade I dont add all translates for this mod. Now is all OK.

Great mod   ;D
Title: Re: Hide Tag Special
Post by: edi67 on July 09, 2007, 12:38:31 AM
little problem din
using TAG hide with TAG CODE inside something wrong in graphic happen look:

TAG HIDE with TAG CODE inside
(http://i14.tinypic.com/4th5co0.jpg)

Link to image:
http://i14.tinypic.com/4th5co0.jpg

Here links are not inside TAG HIDE and green field in up part

everything work corectly without TAG CODE only TAG HIDE
(http://i11.tinypic.com/5zejp76.jpg)

link to image:
http://i11.tinypic.com/5zejp76.jpg

As you can see here the link are correctly inside TAG hide in field green


so why TAG CODE not show inside TAG HIDE ? possible fix it?
Title: Re: Hide Tag Special
Post by: ディン1031 on July 09, 2007, 02:16:55 AM
You mean [hide][code]something[/code][/hide]?

Can you give me your options that you use, too? (You can sent me a pm, if you like).

I will try it, and see if i can fix it.


I tried it you're right the code and quote tag will not be in the hide color... but i don't know why... i go look if i find a solution for it :).



Version 1.6.1 (09.07.07)
! Fix the problem with the [hide][code][/code][/hide]. (Work only on disabled option for span instead of div! (span is not a block)). (Posted by edi67)
! Removed the Readme error in the package.
- Upgrade included

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: kamili34 on July 09, 2007, 07:22:18 AM
Thanks update successful  :P
Title: Re: Hide Tag Special
Post by: edi67 on July 09, 2007, 07:54:38 AM
Quote from: ディン1031 on July 09, 2007, 02:16:55 AM
You mean [hide][code]something[/code][/hide]?

Can you give me your options that you use, too? (You can sent me a pm, if you like).

I will try it, and see if i can fix it.


I tried it you're right the code and quote tag will not be in the hide color... but i don't know why... i go look if i find a solution for it :).



Version 1.6.1 (09.07.07)
! Fix the problem with the [hide][code][/code][/hide]. (Work only on disabled option for span instead of div! (span is not a block)). (Posted by edi67)
! Removed the Readme error in the package.
- Upgrade included

Bye
DIN1031

You are the best DIN everything is perfect now ;)
Title: Re: Hide Tag Special
Post by: nopity4u on July 14, 2007, 06:09:59 AM
Is it possible to have this mod hide attachments in every post until poster reaches the amount of posts required, then he can see it? I'll pay for it if not.
Title: Re: Hide Tag Special
Post by: ディン1031 on July 14, 2007, 06:07:07 PM
Quote from: nopity4u on July 14, 2007, 06:09:59 AM
Is it possible to have this mod hide attachments in every post until poster reaches the amount of posts required, then he can see it? I'll pay for it if not.
Hmmm you can do this with premissions :x, you can give all post groups over the post amount the right to see and download attachments...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: al-trance on July 18, 2007, 12:00:53 AM
error

Fatal error: Cannot redeclare template_edit_hidetagspecial_settings() (previously declared in /home/electron/public_html/electronik/forum/Sources/Load.php(1731) : eval()'d code:1599) in /home/electron/public_html/electronik/forum/Sources/Load.php(1731) : eval()'d code on line 1758




please help me
Title: Re: Hide Tag Special
Post by: ディン1031 on July 18, 2007, 02:38:38 AM
Somehow you installed the mod twice :x.

Search in the Admin.template.php for


function template_edit_hidetagspecial_settings()
{
***many stuff in it
}


And delete it one time ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: al-trance on July 18, 2007, 10:26:09 AM
Quote from: ディン1031 on July 18, 2007, 02:38:38 AM
Somehow you installed the mod twice :x.

Search in the Admin.template.php for


function template_edit_hidetagspecial_settings()
{
***many stuff in it
}


And delete it one time ;).

Bye
DIN1031


Thank you


which is now the procedure to continue to install it and and a good functioning of the same one

I have installed  SMF 1.1.3
Title: Re: Hide Tag Special
Post by: $ilver on July 25, 2007, 09:29:29 PM
can someone translated to spanish ?
Title: Re: Hide Tag Special
Post by: ディン1031 on July 26, 2007, 06:39:38 AM
Quote from: $ilver on July 25, 2007, 09:29:29 PM
can someone translated to spanish ?
If someone do this he/she/it can sent it to me, too so that i can insert it in the mod ;).

Bye
DIN!031
Title: Re: Hide Tag Special
Post by: elian on July 26, 2007, 10:43:34 AM
I have been the Hide Tag special mod installed without errors 
in a new forum, without other mods or templates
but it does simply nothing, even not with English as standard language
can someone help me ?
url  to forum (http://www.devils-paradise.be/)

user: tester
pw: test
Title: Re: Hide Tag Special
Post by: ディン1031 on July 26, 2007, 04:38:58 PM
Lol it work fine ;) what did you miss? A BBC icon?

Than use this mod to add it  (http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=27702)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: elian on July 27, 2007, 02:58:01 AM
Thank, it works indeed,
but how does it come then that there in the management panel nothing to find is?
photograph (http://i167.photobucket.com/albums/u130/elian-007/Naamloos.jpg) such as, however, would have be
Title: Re: Hide Tag Special
Post by: dico on July 27, 2007, 11:47:04 AM
ok im using SMF the latest version
and i tried installing this mod...and i have no other mods installed


i get this fatal error and i cant get into my admin panel now

(http://img161.imageshack.us/img161/2116/captureip2.th.jpg) (http://img161.imageshack.us/my.php?image=captureip2.jpg)
Title: Re: Hide Tag Special
Post by: dico on July 27, 2007, 11:59:07 AM
i want to get rid of it

how do i do that?

if i cant access my admin panel
Title: Re: Hide Tag Special
Post by: elian on July 27, 2007, 12:12:44 PM
your url and /index.php?action=admin
maybe?
Title: Re: Hide Tag Special
Post by: dico on July 27, 2007, 04:16:04 PM
^im new to this

do i delete a file from my ftp?

or do i edit a file?

and if so..what lines to i edit

i want to reverse things and get rid of the mod

Title: Re: Hide Tag Special
Post by: ディン1031 on July 29, 2007, 01:54:39 PM
I don't know why this happen ?_? it install something twice and i don't know why ?_?

http://www.simplemachines.org/community/index.php?topic=32954.msg1165795#msg1165795 look here to solve it...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: franklinrony on July 31, 2007, 02:13:58 PM
hello thanks for the mod very usefull,    
there is some way to deactivate mod without uninstall,
Title: Re: Hide Tag Special
Post by: ディン1031 on August 01, 2007, 03:50:09 AM
Nope ;) (Only allow all groups to see it without post, but than what is it for).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: lonrot on August 07, 2007, 04:28:54 PM
Hello, perhaps this has been already solved, but there are so many posts in this thread I prefer asking:

Is there a way to make the hide button behave the same way other buttons do?

For example:
Clicking once on the Hide button will type [hide], and If I click a second time I'll get [/hide].

Or if I select a text, clicking on the hide button will result [hide]selected text[/hide]

Title: Re: Hide Tag Special
Post by: babjusi on August 07, 2007, 05:23:38 PM
If you click on the hide button, you will get an [hide][/hide] tag. Just put the links between those tags and you will be good to go
Title: Re: Hide Tag Special
Post by: lonrot on August 07, 2007, 05:54:36 PM
Yes I know that, but that's not what I'm requesting.
Title: Re: Hide Tag Special
Post by: babjusi on August 07, 2007, 06:01:27 PM
Quote from: lonrot on August 07, 2007, 05:54:36 PM
Yes I know that, but that's not what I'm requesting.

From what I have noticed, all smf bbc tags work like that when you use them. I.e. in double tags
Title: Re: Hide Tag Special
Post by: lonrot on August 07, 2007, 06:13:52 PM
I see, well I suppose there must be a way to modify it. *sight*
Title: Re: Hide Tag Special
Post by: babjusi on August 07, 2007, 08:04:31 PM
Quote from: lonrot on August 07, 2007, 06:13:52 PM
I see, well I suppose there must be a way to modify it. *sight*

I don''t know about that, but wait until din, the author of the mod can give you a more exact answer
Title: Re: Hide Tag Special
Post by: ディン1031 on August 08, 2007, 12:44:00 AM
Sorry i don't know it either, i used the standard smf function for it and if i see correct it's the only way to use it without error. Is there a bbc tag who work like this? A other way is, to write the text, mark it and klick than on the button ;) it will put the hide before and after it.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: lonrot on August 08, 2007, 10:11:00 AM
Yes I know, but well I wanted that difference. It's okay thought, I'm not gonna die without it, but it's still pretty strange to have the bbc tag working differently.
Title: Re: Hide Tag Special
Post by: lonrot on August 08, 2007, 01:06:07 PM
I would like to know if I can auto [hide] codes in specific boards.

For example adding [hide][/hide] on every [code ] once the user clicks on submit to their own posts.

I´m using Hide Tag Special 161 Fix
Title: Re: Hide Tag Special
Post by: ディン1031 on August 09, 2007, 12:32:41 AM
Nice idea but for me to much work to do this.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GuilleGon on August 10, 2007, 06:36:25 PM
I don't have idea how can I install this mod.

I've installed some mods, but on this one there are a lot of files and it confuses me.

Can someone help me, please?
Title: Re: Hide Tag Special
Post by: ディン1031 on August 11, 2007, 05:11:48 AM
Install it via smf package parser?
Or did you install it manual? Than use this -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.3&name=HideTagSpecial161 it show the install step by step.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GuilleGon on August 11, 2007, 07:28:43 AM
Thanks ;)

Salu2
Title: Re: Hide Tag Special
Post by: GuilleGon on August 11, 2007, 09:36:52 AM
I did something wrong...

It appears me some error: "Unable to load the 'edit_hidetagspecial_settings' template."

My forum is in Spanish.
Title: Re: Hide Tag Special
Post by: ディン1031 on August 11, 2007, 11:20:05 AM
Did you make the changes in the Templates? This is not language thing.

Bye

DIN1031
Title: Re: Hide Tag Special
Post by: babjusi on August 11, 2007, 11:25:52 AM
Hi Din. I had a question for you.I was wondering if it would be possible to place the html code of google ads or any other kind of ads, for example at the hide links, so in a way that if someone answers to see the hidden content, then google ad gets clicked automatically. Now, this would be awesome.  I ask you, cause at the mod settings I saw the option ''Allow you use html on Hidden or Unhidden Text''

Best regards
Babjusi
Title: Re: Hide Tag Special
Post by: GuilleGon on August 11, 2007, 12:07:31 PM
Quote from: ディン1031 on August 11, 2007, 11:20:05 AM
Did you make the changes in the Templates? This is not language thing.

Bye

DIN1031

OMG!

It was that...

I didn't make the change in the Template.

Thanks a lot! ;)
Title: Re: Hide Tag Special
Post by: BananaBill on August 17, 2007, 12:59:01 PM
Hello


I installed the 1.61 version on SMF 1.1.3

Got no errors... but i dont have the options in Post and Options to configure the mod ??

Dunno what went wrong ? Any suggestions ??

Thnks
Title: Re: Hide Tag Special
Post by: ディン1031 on August 17, 2007, 01:35:28 PM
Quote from: BananaBill on August 17, 2007, 12:59:01 PM
Hello


I installed the 1.61 version on SMF 1.1.3

Got no errors... but i dont have the options in Post and Options to configure the mod ??

Dunno what went wrong ? Any suggestions ??

Thnks
Did you make the changes in your language?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: lonrot on August 19, 2007, 08:14:03 PM
I have a new question here, I have a few boards with Thank-O=Matic. but the hide button is always there, so some people hide stuff using it and nobody can see their hidden content because the Thanks button is not there.

Is there a way I can remove the hide button in some boards?
Title: Re: Hide Tag Special
Post by: ディン1031 on August 20, 2007, 01:18:55 AM
Normal they will see it after the post, only if you use the function in the thank-o-matic to disable the normal hide function :).

If yes than yes it's possible to dissable the function :x, but you need to change some code for it. If you like to know the change i can post it later. But it will disable hide function on the given boards ;). (Only that you know it, before i post it).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: lonrot on August 20, 2007, 11:49:39 AM
And what about no disabling it but making the [hide] tag work separately in specific boards, so when the Thank-O-Matic is not showing up. there will be a button to unhide the text.
Title: Re: Hide Tag Special
Post by: babjusi on August 26, 2007, 08:13:44 AM
Quote from: ディン1031 on August 26, 2007, 07:16:04 AM
For People who can use "SMF 2.0 beta 1" and like to test this mod for his forum, feel free to try it.
Attached to this Post is the Version :).

Bye
DIN1031

Thanks for updating this mod din

Feedback. It works fine.
Title: Re: Hide Tag Special
Post by: Djuka on August 30, 2007, 09:08:14 AM
I installed this mod through Package manager, and it sad it works.
But in Posts and Topics, i don't see a HIDE TAG SPECIAL option

Is it necessary to do some manual code changing or what?
Title: Re: Hide Tag Special
Post by: ディン1031 on August 31, 2007, 02:45:56 AM
Do you use a other language? Than you need to change the language things for your language.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Jori on September 01, 2007, 07:24:10 AM
The mod works fine and is great! But the BBC icon idoesn't work well:
(http://gmworks.hyperphp.com/BBC%20icon%20bug.jpg)
Can you please help me or fix it?
Title: Re: Hide Tag Special
Post by: ディン1031 on September 02, 2007, 06:15:40 AM
Did you upload the image file to you custom theme?

The file hide.gif should be in yourThemeDir/images/bbc than it should show normal.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Jori on September 04, 2007, 07:20:34 AM
Really thanks, it works fine now.
Title: Re: Hide Tag Special
Post by: suiko on September 06, 2007, 04:35:51 AM
The mod doesn't show up in the admin panel as Hide Tag Plus! Does that option have to be activated first?
I know you been saying to
Do you use a other language? Than you need to change the language things for your language.

But what does that mean? I use the english language.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 06, 2007, 05:55:32 AM
Are you really installed it?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: suiko on September 06, 2007, 01:34:16 PM
I installed your mod! But do I have to install something else?
Title: Re: Hide Tag Special
Post by: ディン1031 on September 06, 2007, 04:19:29 PM
Normal if you installed it correct it should work :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: GWeber on September 09, 2007, 01:22:49 AM
Good day!
Thank you for this great mod! =)

one little problem occured:
when I using a code tag inside a hide tag, e.g.
Quote[hide]
some
small
code
[/hide]

I got a strange visual effect when unhiding text:
(http://img293.imageshack.us/img293/8062/hidetagspecialcodeki6.th.png) (http://img293.imageshack.us/my.php?image=hidetagspecialcodeki6.png)

What can I do to hide last "hide"?
Thanks
Title: Re: Hide Tag Special
Post by: L.G.S on September 09, 2007, 07:55:21 AM
Problem with installing with Post.php

I go to do it manually and it says find:

         $form_message = preg_replace('~<br(?: /)?' . '>~i', "\n", $form_message);

But there is no instance of this in my Post.php.

So I try to find "$form_message);" and I do, but the only two times it is found is when it applies to a quote.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 09, 2007, 08:42:54 AM
Quote from: GWeber on September 09, 2007, 01:22:49 AM
Good day!
Thank you for this great mod! =)

one little problem occured:
when I using a code tag inside a hide tag, e.g.
Quote[hide]
some
small
code
[/hide]

I got a strange visual effect when unhiding text:
(http://img293.imageshack.us/img293/8062/hidetagspecialcodeki6.th.png) (http://img293.imageshack.us/my.php?image=hidetagspecialcodeki6.png)

What can I do to hide last "hide"?
Thanks
Normal this should not happen any more? Which version did you install?

Quote from: L.G.S on September 09, 2007, 07:55:21 AM
Problem with installing with Post.php

I go to do it manually and it says find:

         $form_message = preg_replace('~<br(?: /)?' . '>~i', "\n", $form_message);

But there is no instance of this in my Post.php.

So I try to find "$form_message);" and I do, but the only two times it is found is when it applies to a quote.
??? i looked into a fresh SMF 1.1.3 install and this phase is exact in it :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: L.G.S on September 09, 2007, 09:25:14 AM
Line number please? And could you post a few lines around it so I can find them too?
Title: Re: Hide Tag Special
Post by: ディン1031 on September 09, 2007, 11:56:24 AM
Quote from: L.G.S on September 09, 2007, 09:25:14 AM
Line number please? And could you post a few lines around it so I can find them too?


// Add 'Re: ' to the front of the quoted subject.
if (trim($context['response_prefix']) != '' && $func['strpos']($form_subject, trim($context['response_prefix'])) !== 0)
$form_subject = $context['response_prefix'] . $form_subject;

// Censor the message and subject.
censorText($form_message);
censorText($form_subject);

$form_message = preg_replace('~<br(?: /)?' . '>~i', "\n", $form_message);

// Remove any nested quotes, if necessary.
if (!empty($modSettings['removeNestedQuotes']))
$form_message = preg_replace(array('~\n?\[quote.*?\].+?\[/quote\]\n?~is', '~^\n~', '~\[/quote\]~'), '', $form_message);


Bye
DIN1031
Title: Re: Hide Tag Special
Post by: L.G.S on September 09, 2007, 02:32:51 PM
Weird that I don't have it... What did it actually do anyway?

Thanks and installed.
Title: Re: Hide Tag Special
Post by: fortest on September 11, 2007, 04:51:11 AM

I'm planning to use this mod on my forum, but I wanted to use the karma, instead of the post count, as the requirement to unhide the hidden content. Is this possible? (e.g. members need +20 karma to unhide)
One more thing, if a poster hide the content of his post, is it possible to let them set the post count needed to unhide his post? (something like Leaf (http://www.simplemachines.org/community/index.php?action=profile;u=25758)'s Hide Post (http://custom.simplemachines.org/mods/index.php?mod=228) Mod)

Thanks in advance, and sorry for my n00bness.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 11, 2007, 06:00:36 AM
Quote from: fortest on September 11, 2007, 04:51:11 AM

I'm planning to use this mod on my forum, but I wanted to use the karma, instead of the post count, as the requirement to unhide the hidden content. Is this possible? (e.g. members need +20 karma to unhide)
One more thing, if a poster hide the content of his post, is it possible to let them set the post count needed to unhide his post? (something like Leaf (http://www.simplemachines.org/community/index.php?action=profile;u=25758)'s Hide Post (http://custom.simplemachines.org/mods/index.php?mod=228) Mod)

Thanks in advance, and sorry for my n00bness.
At least yes it is possible to auto unhide it after a karma von +20 (or enable the option that it unhide after post). No this is not possible at the moment, it's possible to integrate but not easy to make :x leaf's hide post work in a complete diffrent way to my mod ;).

I will look at the code at evening and tell if it possible or not :x.

But i need some infos, you would like to have a special amount of karma after he reach this karma he can see the hidden content after the post, or do you like that the user can see it each time after he reach this karma?
Second question the post count related thing, you mean for example [hide post=10][/hide] <- need 10 posts to unhidde, or you mean something with karma?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 11, 2007, 06:58:24 AM
Quote from: ディン1031 on September 11, 2007, 06:00:36 AM
At least yes it is possible to auto unhide it after a karma von +20 (or enable the option that it unhide after post). No this is not possible at the moment, it's possible to integrate but not easy to make :x leaf's hide post work in a complete diffrent way to my mod ;).

I will look at the code at evening and tell if it possible or not :x.

I've actually tried Leaf's Hide Post mod, but there are some bugs where the hidden content could be seen even if the member doesn't have enough post/karma... e.g. the search result or using reply with quote will reveal the hidden content.
Leaf hasn't been active for months now, so I don't know if he'll ever fix the bugs.
I was checking your mod, and I thought that it would be amazing if somehow the features of Hide Tag Special and Hide Post could be combined...

Quote from: ディン1031 on September 11, 2007, 06:00:36 AM
But i need some infos, you would like to have a special amount of karma after he reach this karma he can see the hidden content after the post, or do you like that the user can see it each time after he reach this karma?

I'd like that the member can see the hidden content as long as he has 20 or more karma... If his karma dropped to 19, then he won't be able to see the hidden content...

Quote from: ディン1031 on September 11, 2007, 06:00:36 AM
Second question the post count related thing, you mean for example [hide post=10][/hide] <- need 10 posts to unhidde, or you mean something with karma?

Bye
DIN1031

I was thinking both actually... so the poster can choose between e.g.
[hide post=10][/hide] <- need 10 posts to unhide
OR
[hide karma=20][/hide] <- need +20 karma to unhide


Thanks again DIN1031.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 12, 2007, 01:28:01 AM
QuoteI was thinking both actually... so the poster can choose between e.g.
[hide post=10][/hide] <- need 10 posts to unhide
OR
[hide karma=20][/hide] <- need +20 karma to unhide

And a last question that i forget XD, you mean full unhide without posting?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 12, 2007, 03:08:18 AM
Quote from: ディン1031 on September 12, 2007, 01:28:01 AM
And a last question that i forget XD, you mean full unhide without posting?

Bye
DIN1031

Yes. :)
Title: Re: Hide Tag Special
Post by: ディン1031 on September 12, 2007, 06:02:23 AM
For the Karma Options i will release a new version of the mod that include this :), but for the post thing i will give you the code with that you can do this... my problem with the karma there is that you need to load the karma values out of the database if you use the parse function and somehow i don't like to use sql querys in the parser... but i will make it for you and it will be you choice to use it ;). But first i make the Upgrade of the Mod for the karma options.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 12, 2007, 07:30:26 AM
Ok... thanks a lot, DIN1031...
looking forward to the new version of your mod...  :D
Title: Re: Hide Tag Special
Post by: ディン1031 on September 12, 2007, 11:11:13 AM
Quote from: fortest on September 12, 2007, 07:30:26 AM
Ok... thanks a lot, DIN1031...
looking forward to the new version of your mod...  :D
Version 1.7.0 (12.09.07)
+ Add Some Karma Options, only if Karma enabled
+ Auto Unhide Karma Options
+ Minimum to Unhide Karma
+ Some small Option
! Insert a redirect for better user handling
- Upgrade included, Language Upgrades for Turkish, English and German included ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 12, 2007, 05:33:03 PM
wow that was quick...
Thanks a lot for being so helpful...  :D

Just a little question, though...
If I want all members with 20 or more karma to be able to automatically see the hidden content without posting in that thread, what numbers should I set in "Minmum karma count to allow unhide content" and "Minmum karma count to unhide content without posting"?
Should I set them both to 20?
Title: Re: Hide Tag Special
Post by: kamili34 on September 12, 2007, 09:34:41 PM
Thanks  8)
Title: Re: Hide Tag Special
Post by: ディン1031 on September 13, 2007, 01:21:56 AM
Quote from: fortest on September 12, 2007, 05:33:03 PM
wow that was quick...
Thanks a lot for being so helpful...  :D

Just a little question, though...
If I want all members with 20 or more karma to be able to automatically see the hidden content without posting in that thread, what numbers should I set in "Minmum karma count to allow unhide content" and "Minmum karma count to unhide content without posting"?
Should I set them both to 20?
The first one to 20 ;) than he can not see it until than and the other too 20 than it auto unhide :)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 13, 2007, 07:29:55 PM
Quote from: ディン1031 on September 12, 2007, 06:02:23 AM
For the Karma Options i will release a new version of the mod that include this :), but for the post thing i will give you the code with that you can do this... my problem with the karma there is that you need to load the karma values out of the database if you use the parse function and somehow i don't like to use sql querys in the parser... but i will make it for you and it will be you choice to use it ;). But first i make the Upgrade of the Mod for the karma options.

Bye
DIN1031

So... any update yet on this code?
Title: Re: Hide Tag Special
Post by: ディン1031 on September 14, 2007, 02:58:19 AM
I will prog it at the evening when my forum is working after the server move ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on September 18, 2007, 11:19:47 AM
Quote from: Puka on September 18, 2007, 05:40:03 AM
Hi,

I've noticed if You used Hide tags that everybody can see the hide information in the code of the browser.
[hide][url]http://.....[ /url][.....

Now, is there a possibility or mod that you can use

[hide][click here[/url..........

I've noticed that you can't see the hidden information in the code

I use SMF 1.1.3
?_? i totally understand nothing... can you give a better discription that it unhidden ?_? normal it's not possible :X... give me in a [nobbc][/nobbc] a complete version of the insert that is not removed... because with the ........ i don't know how the end look like...

And i tried it, and it's not possible to see it in the code, only if you allowed to see it ;P.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 19, 2007, 10:05:23 PM
Quote from: ディン1031 on September 14, 2007, 02:58:19 AM
I will prog it at the evening when my forum is working after the server move ;).

Bye
DIN1031

Hi, Din1031... So, how's that code coming along? Any estimated release date maybe?
Thanks, and sorry if I'm bugging you...
Title: Re: Hide Tag Special
Post by: ディン1031 on September 20, 2007, 01:36:04 AM
Quote from: fortest on September 19, 2007, 10:05:23 PM
Quote from: ディン1031 on September 14, 2007, 02:58:19 AM
I will prog it at the evening when my forum is working after the server move ;).

Bye
DIN1031

Hi, Din1031... So, how's that code coming along? Any estimated release date maybe?
Thanks, and sorry if I'm bugging you...
At the moment i have a lot of other problems and work at my office and came back until late night and i don't feel like it to solve this.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: asdas2 on September 21, 2007, 01:04:09 PM
just a small and simple quest ..... i install this mod sucessfully .... but i cant see any button for thie hide tag .........

how du u install button for that ......
Title: Re: Hide Tag Special
Post by: kamili34 on September 21, 2007, 01:26:06 PM
Put this buton in your thame bbc catalog.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 21, 2007, 03:52:28 PM
Or use the installer for a Button is attached to the first post ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: asdas2 on September 22, 2007, 12:44:23 AM
ok thankz i got it
Title: Re: Hide Tag Special
Post by: ディン1031 on September 23, 2007, 06:37:19 AM
Quote from: fortest on September 19, 2007, 10:05:23 PM
Quote from: ディン1031 on September 14, 2007, 02:58:19 AM
I will prog it at the evening when my forum is working after the server move ;).

Bye
DIN1031

Hi, Din1031... So, how's that code coming along? Any estimated release date maybe?
Thanks, and sorry if I'm bugging you...
So i'm finished:

USE THIS ON YOUR OWN RISK, NO SUPPORT OR ANYTHING and Make a backup of the file before you change it!

This code change make follow Changes:
Now you can use [hide karma=10 posts=10 autounhide=1 needall=1]
Karma minimum value to unhide content after post
Posts minimum value to unhide content after post
Autounhide if this set to 1 it will unhide after you reach one of the given things
Needall if this set to 1 it will need both value to be valid that it unhide the content.

It can only one of the value given ;) karma or post this will work, too. But it will work also normal without any of the items.


<edit file>
$sourcedir/Subs.php
</edit file>

<search for>
// For old stuff still using doUBBC()...
function doUBBC($message, $enableSmileys = true)
{
return parse_bbc($message, $enableSmileys);
}
</search for>

<replace>
// For old stuff still using doUBBC()...
function doUBBC($message, $enableSmileys = true)
{
return parse_bbc($message, $enableSmileys);
}

function parse_hiddenContent($message) {
global $context, $modSettings, $user_info, $db_prefix, $ID_MEMBER;
static $karma;

//Hidden Content?
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) == 0 && preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) == 0) {
return $message;
}

//I remove the content for guests... sorry but this is needed now...
if($user_info['is_guest']) {
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
return $message;
}

//Some Options are not possible any more for example the show one time option!
$modSettings['hide_onlyonetimeinfo'] = 0; //Must be disabled for this Function!

//Here i remove this content :) or show onetime unhide info :)
if(!isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) {
//Remove it the standard things first :)
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
}

//So now welcome to the special part ;D
if(preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
//First exatract all hidden contents ;D
$found = preg_match_all("/\[hide(.+?)\](.+?)\[\/hide\]/i", preg_replace("/\[hide\](.+?)\[\/hide\]/i", "", $message), $hiddenContent, PREG_SET_ORDER);

if(empty($found) || $found === false)
return $message;

foreach($hiddenContent as $hiddenItem) {
//Extract the it :)
$hiddenValues = array();
$hiddenItems = explode(' ', $hiddenItem[1]);
$found = false;
foreach($hiddenItems as $possible) {
if(empty($possible))
continue;

$searchItem = explode('=', $possible);
if(in_array(strtolower($searchItem[0]), $modSettings['hide_preparedOption']['tag_possibles'])) {
if(empty($searchItem[0]) || empty($searchItem[1]))
continue;
$hiddenValues[strtolower($searchItem[0])] = (int) $searchItem[1];
}
}
//Nothing allowed used?
if(empty($hiddenValues) && (!isset($context['user_post_avaible']) || empty($context['user_post_avaible']))) {
$message = str_replace($hiddenItem[0], (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
continue;
}
elseif(empty($hiddenValues)) //Do not go further... nothing to check here ;)
continue;

//Okay the easies the posts ;D
$allowedToSeePosts = false;
$allowedToSeeKarma = false;
$autoUnhide = isset($hiddenValues['autounhide']) && $hiddenValues['autounhide'] == 1;
$needAll = isset($hiddenValues['needall']) && $hiddenValues['needall'] == 1 && isset($hiddenValues['posts']);

if(isset($hiddenValues['posts']) && $hiddenValues['posts'] > 0) {
//Let's check if the user is allowed to see it after the post :)
if($user_info['posts'] > $hiddenValues['posts']) {
$allowedToSeePosts = true;
}
elseif(!$needAll && isset($hiddenValues['karma'])) {
$allowedToSeePosts = false;
}
else {
$message = str_replace($hiddenItem[0], (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
continue;
}
}

if(isset($hiddenValues['karma']) && (!$allowedToSeePosts || ($allowedToSeePosts && $needAll))) {
//Okay prepare some Data for this user :)
if(!isset($karma)) {
$request = db_query("
SELECT karmaGood as good, karmaBad as bad
FROM {$db_prefix}members
WHERE ID_MEMBER = ".$ID_MEMBER."
LIMIT 1", __FILE__, __LINE__);

$karmaValues = mysql_fetch_assoc($request);
mysql_free_result($request);

if(!empty($modSettings['hide_onlykarmagood']))
$karma = $karmaValues['good'];
else
$karma = $karmaValues['good'] - $karmaValues['bad'];
}
if($hiddenValues['karma'] < $karma)
$allowedToSeeKarma = true;
else {
$message = str_replace($hiddenItem[0], (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
continue;
}
}

//Need all valid?
if($needAll)
$allowedToSee = $allowedToSeePosts && $allowedToSeeKarma;
else
$allowedToSee = $allowedToSeePosts || $allowedToSeeKarma;

//Okay Auto Unhide or remove? ;)
if($allowedToSee && $autoUnhide) {
continue;
}
if($allowedToSee && !isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) {
$message = str_replace($hiddenItem[0], (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
}
}
}

return $message;
}
</replace>

<search for>
$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);
</serach for>

<replace>
$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

//Prepare the Special Options =D
$modSettings['hide_preparedOption']['tag_possibles'] = array(
'posts',
'autounhide',
);
//Karma is only possible if it enabled
if(!empty($modSettings['karmaMode'])) {
$modSettings['hide_preparedOption']['tag_possibles'][] = 'karma';
$modSettings['hide_preparedOption']['tag_possibles'][] = 'needall'; //This Function is usefull to check both items to be valid :)
}
</replace>

<serach for>
if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo'])) {
//Okay some more things to do, i must check if there a hidden content... without i need do nothing ;)
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
//Add the Hidden Text at the end of the post :)
$message .= '[br]'.$modSettings['hide_preparedOption']['hiddentext'];
}
}
//Here i remove this content :) or show onetime unhide info :)
if(!isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) {
//Remove it ;D
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
}
elseif(!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText'])) {
//Okay i need to add the unhidden information at the end of the post :)
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}
}
</search for>

<replace>
$message = parse_hiddenContent($message);
</replace>

<search for>
array(
'tag' => 'hide',
'before' => $modSettings['hide_preparedOption']['before_info'],
'after' => $modSettings['hide_preparedOption']['after_info'],
'block_level' => true,
),
</serach for>

<replace>
array(
'tag' => 'hide',
'before' => $modSettings['hide_preparedOption']['before_info'],
'after' => $modSettings['hide_preparedOption']['after_info'],
'block_level' => true,
),
array(
'tag' => 'hide',
'parameters' => array(
'karma' => array('optional' => true),
'posts' => array('optional' => true),
'needall' => array('optional' => true),
'autounhide' => array('optional' => true),
),
'before' => $modSettings['hide_preparedOption']['before_info'],
'after' => $modSettings['hide_preparedOption']['after_info'],
'block_level' => true,
),
</replace>

<search for>
//So i parse now the unhidden bbc code one time ;)
if($modSettings['hide_preparedOption']['parse_content']) {
$modSettings['hide_preparedOption']['parse_content'] = false;
if(isset($bbc_codes['h'])) {
foreach($bbc_codes['h'] as $key => $item) {
if($item['tag'] == 'hide') {
$bbc_codes['h'][$key]['before'] = parse_bbc($item['before']);
$bbc_codes['h'][$key]['after'] = parse_bbc($item['after']);
break;
}
}
}
}
</serach for>

<replace>
//So i parse now the unhidden bbc code one time ;)
if($modSettings['hide_preparedOption']['parse_content']) {
$modSettings['hide_preparedOption']['parse_content'] = false;
if(isset($bbc_codes['h'])) {
foreach($bbc_codes['h'] as $key => $item) {
if($item['tag'] == 'hide') {
$bbc_codes['h'][$key]['before'] = parse_bbc($item['before']);
$bbc_codes['h'][$key]['after'] = parse_bbc($item['after']);
}
}
}
}
</replace>


I can give no warranty that this add on work 100% correct ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: fortest on September 23, 2007, 07:38:38 AM
Thanks a million, DIN1031... :D
Helpful people like you is one of the main reason why SMF is so great...
Very much appreciated. I'll give it a try and heed your warning to be careful.

cheers. :D
Title: Re: Hide Tag Special
Post by: ディン1031 on September 24, 2007, 01:23:32 AM
Gna i forgot a replacment...


<serach for>
if((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo'])) {
//Okay some more things to do, i must check if there a hidden content... without i need do nothing ;)
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
//Add the Hidden Text at the end of the post :)
$message .= '[br]'.$modSettings['hide_preparedOption']['hiddentext'];
}
}
//Here i remove this content :) or show onetime unhide info :)
if(!isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) {
//Remove it ;D
$message = preg_replace("/\[hide\](.+?)\[\/hide\]/i", (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
$message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), (empty($modSettings['hide_onlyonetimeinfo']) ? $modSettings['hide_preparedOption']['hiddentext'] : "&nbsp"), $message);
}
elseif(!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText'])) {
//Okay i need to add the unhidden information at the end of the post :)
if(preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0) {
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}
}
</search for>

<replace>
$message = parse_hiddenContent($message);
</replace>


Sorry.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: sharks on September 29, 2007, 12:21:51 PM
hello,

is it possible for guests to view the unhidden content? i have tried to set this option, but cannot find it.

thank you for helping.
Title: Re: Hide Tag Special
Post by: ディン1031 on September 29, 2007, 01:03:21 PM
Quote from: sharks on September 29, 2007, 12:21:51 PM
hello,

is it possible for guests to view the unhidden content? i have tried to set this option, but cannot find it.

thank you for helping.
Nope impossible.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: sharks on September 29, 2007, 04:30:58 PM
Thanks for your quick reply, DIN1031.

Could you please consider adding this nifty (but very useful) feature to your already great modification? All that is missing, IMO, is a small addition to allow guests to see the unhidden text, without having to register and then reply. Sometimes i like to open some of the boards on my forum to allow guest access, so the guests can see what is inside the forums, and then they can consider to register. I think adding this new feature would add up even more value to this awesome mod.
OK, i'll admit this much - am no programmer, but maybe this suggestion will help:
In the hide tag special options screen, you have the clickable link "Allowed Groups", which lists all the membergroups on the forum who are allowed to see unhidden text without replying. Maybe you could add "guest" in that group list, so it can be selected for that purpose.
Just my 2p :)

Thanks in advance for all you do on SMF. Much appreciated.

cheers!
Title: Re: Hide Tag Special
Post by: ディン1031 on September 30, 2007, 07:51:41 AM
Nope this would not work even i add guest to the list.
And i will not do it because i never created this mod for this.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: haiwasnm on October 05, 2007, 12:13:33 PM
hi,
1. Login: It requires a user to login to see the post.
but
2. Reply: It't requires a user to reply to the topic to see the post.

can Revision this mod? thanks!
Title: Re: Hide Tag Special
Post by: ディン1031 on October 05, 2007, 02:08:57 PM
Quote from: haiwasnm on October 05, 2007, 12:13:33 PM
hi,
1. Login: It requires a user to login to see the post.
but
2. Reply: It't requires a user to reply to the topic to see the post.

can Revision this mod? thanks!
???
There are ways to make automatic viewable for registered members only :X.

The easiest way for this select all groups so that they can view all the hidden content without posting... Than it is automatic viewable after a login.

Admins -> Post and Topics -> Hide Tag Special -> Allowed Groups to see a hidden content without posting

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: haiwasnm on October 05, 2007, 08:55:11 PM
Allowed Groups to see a hidden content only they reply to the topic after.
this mod has't this function?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 06, 2007, 07:50:16 AM
Quote from: haiwasnm on October 05, 2007, 08:55:11 PM
Allowed Groups to see a hidden content only they reply to the topic after.
this mod has't this function?
I knew my mod and my mod have this function, i should know what my mod can do...

Which version did you install? Did you make the language changes for you language?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: haiwasnm on October 07, 2007, 03:06:56 AM
I was install your mod but i change the language to english after install , and move to Admin -> Posts and Topics -> Hide Tag Special , apply the options. later i move to admin -> sever->change the lang to my language. where is wrong?ディン1031 help me?
Title: Re: Hide Tag Special
Post by: haiwasnm on October 08, 2007, 07:15:15 AM
Thank you DIN1031
Title: Re: Hide Tag Special
Post by: forty on October 13, 2007, 12:10:21 AM
can someone pls tell me how to make this mod working like iam a 5 yr old?

ive installed HideTagSpecial170 on smf 1.1.4 with no errors.
i made a post with a link.
then i tried to view the topic as guest and i can still see the link.

all i want is to hide links to guest and nothing more.
thanks.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 13, 2007, 02:28:45 PM
And use [hide]link[/hide]?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ivo2296 on October 13, 2007, 02:34:18 PM
DIN1031,

is it possible some how a button for [hide][/hide] when posting?
Title: Re: Hide Tag Special
Post by: babjusi on October 13, 2007, 02:54:46 PM
Yes ivo2296. It is attached at the very first post of this topic
Title: Re: Hide Tag Special
Post by: ivo2296 on October 13, 2007, 03:37:54 PM
Quote from: babjusi on October 13, 2007, 02:54:46 PM
Yes ivo2296. It is attached at the very first post of this topic

WoW Thanks a lot i must be overlooked it.
Title: Re: Hide Tag Special
Post by: babjusi on October 13, 2007, 03:55:10 PM
You are welcome
Title: Re: Hide Tag Special
Post by: edy_0906 on October 13, 2007, 10:16:28 PM
Thanks for the great mod, ディン1031...

Just want to ask a question...
I used your mod on my forum, and I want it so that members with 50 posts OR 10 karma can automatically see the hidden content without posting in that thread...
This is the setting that I use

Quote
Minmum post to allow unhide content = 50
Minmum post count to unhide content without posting = 50

Enable Hide Karma Support = Yes
Minmum karma count to allow unhide content = 10
Minmum karma count to unhide content without posting = 10
The user need minimum karma and post to see hidden content = No
Count only the karma good value, not the total summary = No

But the problem is that members with 10 karma but less than 50 posts can't see the hidden content...
Am I setting the options correctly?
If not, what should I change?

Thanks...
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2007, 06:50:03 AM
The user need minimum karma and post to see hidden content = No make this to yes and it will need both ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edy_0906 on October 14, 2007, 08:53:59 AM
That's not what I mean...
Okay let me change the question...

If I want members with 10 karma to be able to automatically see the hidden content without replying, what number do I have to put?

Is it
QuoteMinmum karma count to allow unhide content = (empty)
Minmum karma count to unhide content without posting = 10

or is it
QuoteMinmum karma count to allow unhide content = 10
Minmum karma count to unhide content without posting = 10

?

and one more question... if I want the mod to only check the karma and not check the post count, what number should I put in Minmum post to allow unhide content and Minmum post count to unhide content without posting??


Thanks
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2007, 10:44:48 AM
QuoteMinmum karma count to unhide content without posting = 0
Minmum karma count to unhide content without posting = 10

This will be that the user are need no karma to see it after the posting and if he have 10 that he can see it automatic without posting.

QuoteMinmum karma count to unhide content without posting = 10
Minmum karma count to unhide content without posting = 10

He need 10 karma to see the content after the posting (so he will not see as long not 10 karma is reached) and if he have 10 than he can see it without posting.

To disable the post count insert 0 ;). Only in karma work 0 and lower but not in posts xD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edy_0906 on October 14, 2007, 10:52:37 AM
QuoteMinmum post to allow unhide content = 50
Minmum post count to unhide content without posting = 50

Enable Hide Karma Support = Yes
Minmum karma count to allow unhide content = 10
Minmum karma count to unhide content without posting = 10
The user need minimum karma and post to see hidden content = No
Count only the karma good value, not the total summary = No


If I use the settings above...
If a member has 10 karma and 20 posts, can he see the hidden content without posting?

And if a member has 50 posts and 5 karma, can he see the hidden content without posting?



What happen if I set Minmum post to allow unhide content = 0 and
Minmum post count to unhide content without posting = 50?


Thanks.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2007, 12:29:37 PM
Quote from: edy_0906 on October 14, 2007, 10:52:37 AM
If I use the settings above...
If a member has 10 karma and 20 posts, can he see the hidden content without posting?
Yes he will see it without posting

Quote
And if a member has 50 posts and 5 karma, can he see the hidden content without posting?
No as long only set that he need 10 karma to see it automatic, if he post in the thread he can see it.

Quote
What happen if I set Minmum post to allow unhide content = 0 and
Minmum post count to unhide content without posting = 50?
He can see it after he/se/it post in the thread. If the post count 50 is reached he/she/it can see it without posting.

Hope i understand it correct XD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edy_0906 on October 14, 2007, 12:37:03 PM
ok... I've set it to

QuoteMinmum post to allow unhide content = 50
Minmum post count to unhide content without posting = 50

Enable Hide Karma Support = Yes
Minmum karma count to allow unhide content = 10
Minmum karma count to unhide content without posting = 10
The user need minimum karma and post to see hidden content = No
Count only the karma good value, not the total summary = No

but members who have 10 karma and 20 posts can't see the hidden content...  ???


Quote from: ディン1031 on October 14, 2007, 12:29:37 PM

Quote
What happen if I set Minmum post to allow unhide content = 0 and
Minmum post count to unhide content without posting = 50?
He can see it after he/se/it post in the thread. If the post count 50 is reached he/she/it can see it without posting.

Hope i understand it correct XD.

Bye
DIN1031


So, to make the mod only check the karma, I have to set both Minmum post to allow unhide content = 0 and Minmum post count to unhide content without posting = 0
If I only set one of them to 0, then the mod still check for posts...

Am I right?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2007, 02:58:50 PM
Hmmm *thinking* i should look if there is a logic error by me normal it should be the first thing that reached is the one that is the master.

I go look ;).

And if i understand it correct, you like to set it like that the user need a minimum post or minimum karma to unhide content and this should be also that what he need that it automatic work?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: edy_0906 on October 14, 2007, 09:56:52 PM
Quote from: ディン1031 on October 14, 2007, 02:58:50 PM
Hmmm *thinking* i should look if there is a logic error by me normal it should be the first thing that reached is the one that is the master.

I go look ;).

And if i understand it correct, you like to set it like that the user need a minimum post or minimum karma to unhide content and this should be also that what he need that it automatic work?

Bye
DIN1031

Yes...

Because right now, I think if I set the option for both posts and karma, the mod only check the post and doesn't check the karma...

Thanks...
Your help is very much appreciated.
Title: Re: Hide Tag Special
Post by: Meads on November 11, 2007, 09:35:19 AM
it wont let me install this mod in smf 1.1.4, i get the errors below

1.     Execute Modification     HideTagSpecial1.1.x.mod     Modification parse error
2.    Execute Modification    VersionCompatible1.1.3.mod    Modification parse error
3.    Execute Modification    HideTagSpecialEnglish.xml    Modification parse error
4.    Execute Modification    -    Modification parse error
5.    Execute Modification    HideTagSpecialGerman.xml    Modification parse error
6.    Execute Modification    -    Modification parse error
7.    Execute Modification    HideTagSpecialTurkish.xml    Modification parse error
8.    Execute Modification    -    Modification parse error
Title: Re: Hide Tag Special
Post by: ディン1031 on November 11, 2007, 10:09:15 AM
Strange :x, normal this should not happen.

Did this happen only if you use my mod or if you use other mods, too? :X

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Meads on November 11, 2007, 01:17:26 PM
Fix it now, it was the hosting account i was using it on, a free test account. Changed to my proper hosting and it works fine
Title: Re: Hide Tag Special
Post by: Meads on November 11, 2007, 02:24:52 PM
It does not show any options in admin panel though, were it is meanty to say hide tag special in the post settings it is just blank and the actual settings are none existant its just a load of random charictors, the mod works fine though. Any ideas how to fic my options.
Title: Re: Hide Tag Special
Post by: ディン1031 on November 12, 2007, 01:17:15 AM
Do you use english?
If you use a other language than you need to insert the english thing in your language.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: daioner on November 19, 2007, 10:55:52 AM
hi i have 1.1.4 version of smf i install the hide mod but when i go to messages  i cant see the hide tab?? but in the bbc codes i can see the hide as ticked ..
note that i use greek as default language why is that happening
Thanks for your time

Hmm it must be the language but what files should i change and what to insert (my language is greek)
Title: Re: Hide Tag Special
Post by: daioner on November 19, 2007, 08:27:00 PM
hey guys i finaly make it work but the point is that if the visitor make for ex 10 post it will unhide everything so ...  there is no point keep posting! is there any way that it will need 1 reply to unlock the hiden content of 1 thread??
Title: Re: Hide Tag Special
Post by: ディン1031 on November 20, 2007, 01:09:14 AM
oO

If you not insert a post value in the option "Minmum post count to unhide content without posting" (0 disable the option :X). Than this should not happen ;).

Or if you select all groups so that all users are allowed to unhide content :x.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: daioner on November 20, 2007, 08:58:14 AM
w8 i dont get it! in order the member to see the content need to make 1 post in the thread! how this should happent?
i need to change the Minmum post count to unhide content without posting>to what? and the Minmum post count to allow unhide content:> to what?

because i try it and it didnt work
Title: Re: Hide Tag Special
Post by: Blu on November 20, 2007, 03:35:16 PM
Hello! first of all, thanks for supplying this mod!!! :D

I am new to all of this, and have a problem installing this mod....no suprise really!!! lol

I have uploaded the package, and once pressing "install mod", I get this message:

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF. 


Obviously I havent gone any further as I don't want to srew things up, but some help would be much appreciated here as I'm quite lost!

Thanks for your help, and thanks again for supplying the mod!  ;D

PS....I am using v1.1.4 and I have also installed a different themed skin too if that helps!
Title: Re: Hide Tag Special
Post by: ディン1031 on November 21, 2007, 01:06:13 AM
Quote from: daioner on November 20, 2007, 08:58:14 AM
w8 i dont get it! in order the member to see the content need to make 1 post in the thread! how this should happent?
i need to change the Minmum post count to unhide content without posting>to what? and the Minmum post count to allow unhide content:> to what?

because i try it and it didnt work
If you insert there 0 it disable the option, and it should normal so that you 1 post in the thread to unhide all content in the thread.

Quote from: Blu on November 20, 2007, 03:35:16 PM
Hello! first of all, thanks for supplying this mod!!! :D

I am new to all of this, and have a problem installing this mod....no suprise really!!! lol

I have uploaded the package, and once pressing "install mod", I get this message:

Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF. 


Obviously I havent gone any further as I don't want to srew things up, but some help would be much appreciated here as I'm quite lost!

Thanks for your help, and thanks again for supplying the mod!  ;D

PS....I am using v1.1.4 and I have also installed a different themed skin too if that helps!

You can look which file is not work, and than look into my package parser what are the changes in this file, than you can try to install it and make the changes who not work by hand in the file, that's only thing that you could do if this happen.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Blu on November 21, 2007, 08:26:27 AM
Thank you for replying DIN1031, I appreciate your help. I'll give that a try....cheers!  :D
Title: Re: Hide Tag Special
Post by: Blu on November 21, 2007, 12:38:38 PM
I'm a bit confused!  :-[

I have uploaded the complete hide tag 170 zip to my site....and I am still getting these errors:

1. Execute Modification HideTagSpecial1.1.x.mod Modification parse error
2. Execute Modification VersionCompatible1.1.3.mod Modification parse error  
3. Execute Modification HideTagSpecialEnglish.xml Modification parse error
4. Execute Modification - Modification parse error  
5. Execute Modification HideTagSpecialGerman.xml Modification parse error  
6. Execute Modification - Modification parse error  
7. Execute Modification HideTagSpecialTurkish.xml Modification parse error  
8. Execute Modification - Modification parse error  

Now....when using your mod parser, I can see that everything that is supposed to be there, actually is there....

thing is tho, i can also see the "search" and "replace with" actions too and i'm not entirely sure that I have done this correctly at all, and am probably trying to install completely the wrong files!!!

heres an example of what i mean by "search" and "replace with"

<search for>
      'posts' => array('ModifyPostSettings', 'admin_forum'),
</search for>

<replace>
      'posts' => array('ModifyPostSettings', 'admin_forum'),
      'hidetagspecial' => array('ModifyHideTagSpecialSettings', 'admin_forum'),


Am I wrong in thinking that this file isnt actually the hide tag special file that I should have uploaded???

I really am confused now.....thanks for your help once again!  :D
Title: Re: Hide Tag Special
Post by: ディン1031 on November 22, 2007, 01:43:44 AM
Quote from: Blu on November 21, 2007, 12:38:38 PM
1. Execute Modification HideTagSpecial1.1.x.mod Modification parse error
2. Execute Modification VersionCompatible1.1.3.mod Modification parse error  
3. Execute Modification HideTagSpecialEnglish.xml Modification parse error
4. Execute Modification - Modification parse error  
5. Execute Modification HideTagSpecialGerman.xml Modification parse error  
6. Execute Modification - Modification parse error  
7. Execute Modification HideTagSpecialTurkish.xml Modification parse error  
8. Execute Modification - Modification parse error  

This is a problem with your host, or you don't give the package dir the premission 777, but this ist not a problem with my mod.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Blu on November 22, 2007, 10:40:12 AM
Ok, and thank you for replying. I had set the appropriate package dir to 777, so it wasnt that!!

....you say that it is probably a problem with my host...and i will contact them regarding this, but as I'm a n00b, I'm not sure what it is I'm asking!!!

Thanks again ディン1031, you've been very supportive to me and your help is much appreciated.

Blu  :D



Title: Re: Hide Tag Special
Post by: Sandokan2 on November 23, 2007, 12:31:40 PM
How can I add an Image that says for expample:
"Reply to Unlock" or isnt this possible?

Thanx
Title: Re: Hide Tag Special
Post by: ディン1031 on November 23, 2007, 01:26:13 PM
Yes it is possible...
And if you look into to the help of the option you will see a example ;P.

Easiest way [img]somelinktothepic[/img] ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sandokan2 on November 23, 2007, 03:01:20 PM
How do I get in this help?
And btw: in that way every time someone uses hide hack they
have to paste that link to the image en those img tags, isnt there a
way to put it into the mod automatic?

Thanx
Title: Re: Hide Tag Special
Post by: ディン1031 on November 23, 2007, 04:02:55 PM
...

Did you look into
Admin -> Post and Topics -> Hide Tag Special?

There are a lot settings for this mod...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sandokan2 on November 23, 2007, 04:31:12 PM
What might be the reason that isnt appearing at all??
Under Posts and Topics isnt anything like that  :o
Installed and uninstalled several times  :'(

Thanx
Title: Re: Hide Tag Special
Post by: ディン1031 on November 23, 2007, 05:25:49 PM
Theme changes not made, language changes for your language are missing.

Switch to English to see if it work correct.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sandokan2 on November 23, 2007, 06:29:33 PM
Thanx for helping me out so good man, really.
Just a problem: I am really not too lame to learn but I know mods
aren't very easy in SMF, so I might bother you much.
How do I edit things like Theme/Language Settings??

BIG BIG BIG Thanx!
Greetzz
Title: Re: Hide Tag Special
Post by: ディン1031 on November 24, 2007, 03:51:07 AM
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=HideTagSpecial170&theme <- Themechanges

http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=HideTagSpecial170&language <- Language Changes ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sandokan2 on November 24, 2007, 01:05:48 PM
Ok Thanx, someone on MSN helped me out  ;D

Greetzz
Title: Re: Hide Tag Special
Post by: Riotblade on November 25, 2007, 02:44:09 PM
Hi,

I want the unhidden message to appear inside a code tag but I can't seem to do it.  Is this possible?

Thanks
Title: Re: Hide Tag Special
Post by: M3nG on November 25, 2007, 07:45:39 PM
This is my day one using smf
can someone five me howto instalation of this mod
thanks
Title: Re: Hide Tag Special
Post by: ディン1031 on November 26, 2007, 01:41:38 AM
Quote from: Riotblade on November 25, 2007, 02:44:09 PM
Hi,

I want the unhidden message to appear inside a code tag but I can't seem to do it.  Is this possible?

Thanks
Hmmm you can use the class .hiddencontent in the css to make it that it look like a quote tag. And the other way is to alter the Subs.php where the hide tag will be built.

Quote from: M3nG on November 25, 2007, 07:45:39 PM
This is my day one using smf
can someone five me howto instalation of this mod
thanks
Upload it to the package dir and click und install and hope it work... and rtfm...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: bios on November 28, 2007, 06:23:52 AM
smf 1.1.4 install version hidetag version what?
Title: Re: Hide Tag Special
Post by: ディン1031 on November 28, 2007, 02:49:19 PM
oO the latest 1.7.0...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sandokan2 on December 01, 2007, 10:42:27 AM
I have to replace some files in the $languagedir where do I find this
dictionary, I am unable to find it on my ftp...

Thanx
Title: Re: Hide Tag Special
Post by: ディン1031 on December 01, 2007, 01:50:38 PM
Normal

./Themes/default/languages

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Kimmie on December 04, 2007, 04:20:35 AM
Hi.. I am new to SMF.. I got the mod installed fine and it is working ok... but how do I go about installing a bbc button for this so you dont have to manually type the code in...(or can you)?


Thanks for your hard work on this mod.. its great!
Title: Re: Hide Tag Special
Post by: ディン1031 on December 04, 2007, 04:53:09 AM
The hide button is attached to the first post of this topic -> http://www.simplemachines.org/community/index.php?topic=32954.msg245755#msg245755

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Kimmie on December 04, 2007, 01:06:34 PM
Thanks for the quick reply. :)

OK I found it (I feel silly for not seeing it the first time) :)

How do you install it? Do you install the zip file just like you do the other mods - through the package manager?

edit - I got it figured out. Thanks for your help.  :)
Title: Re: Hide Tag Special
Post by: imdontwanna on December 07, 2007, 04:28:54 AM
Needs to be addet  in HideTagSpecialBBCButton1.1.x.mod for german support

<edit file>
$languagedir/Post.german.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['bbc_hide'] = 'Fuege einen versteckten Text ein';
</add before>
Title: Re: Hide Tag Special
Post by: ディン1031 on December 07, 2007, 04:40:00 AM
Quote from: imdontwanna on December 07, 2007, 04:28:54 AM
Needs to be addet  in HideTagSpecialBBCButton1.1.x.mod for german support

<edit file>
$languagedir/Post.german.php
</edit file>

<search for>
?>
</search for>

<add before>
$txt['bbc_hide'] = 'Fuege einen versteckten Text ein';
</add before>

Werde ich machen ;), aber etwas anders.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on December 07, 2007, 06:57:23 AM
i don't know if i submit the following bug but i would repeat again.
When user wants to quote and make one rom empty from begginig of message [by pressing enter button on ketboard] in quote block get showing image for hidden content??

Where is a problem?
Title: Re: Hide Tag Special
Post by: ディン1031 on December 07, 2007, 07:21:16 AM
Quote from: Farmacija on December 07, 2007, 06:57:23 AM
i don't know if i submit the following bug but i would repeat again.
When user wants to quote and make one rom empty from begginig of message [by pressing enter button on ketboard] in quote block get showing image for hidden content??

Where is a problem?
oO i undstand nothing :x, so i don't know about this bug.

If i click on quote with a hidden content it remove the hidden content and don show the information. (Depend on the option if it shown at the end or evertime on each hidden content).

Which Hide Version did you install? :x

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Farmacija on December 07, 2007, 09:56:20 AM
no, no, when user try to quote ANY content [it doesn't have any hidden content] with empty row between border of quote block and text [they press enter or there is empty space] - the image for hidden content is shown in quote box without any hidden content for real. i don't know if u understand me?
version 1.24.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 07, 2007, 10:09:22 AM
Than i think it's fixed in version 1.7.0 because i can't reproduce it.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 09, 2007, 09:02:13 PM
I'm sorry if this was already answered in a previous post, but i searched and found nothing.
Here it goes: when i put something between hide tags, it hides the text or whatever, but for the users allowed to see the hidden text it appears with [hide] at the beggining.
For example, if i put an image between [hide][/hide] those allowed to see the picture see it with [hide] visible in the beginning. Is there a way to solve this?

Thanks a lot for the mod.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 10, 2007, 01:00:52 AM
Never heard of it oO... can you give me a picture of you settings and can you tell me is this evertime or only sometime?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 10, 2007, 08:29:05 AM
Ok, here's the snapshot.
(http://img267.imageshack.us/img267/9586/semttulojx5.th.png) (http://img267.imageshack.us/my.php?image=semttulojx5.png)


What i want to do is hide ed2k from guests, and it works, cause it substitues ed2k by the text i put in Hidden text information. But all the other groups see the ed2k with [hide] at the beggining, like this:
(http://img81.imageshack.us/img81/9728/semttulo2pp8.th.png) (http://img81.imageshack.us/my.php?image=semttulo2pp8.png)


I thought it was because of the [ed2k][/ed2k] tags, but it happens with imag and url tags as well...
Maybe is because of something wrong on the setup's page (which i didn't understand 100% :()
Title: Re: Hide Tag Special
Post by: ディン1031 on December 10, 2007, 11:35:00 AM
Do you use a [hide][/hide], what is the edk mod that you use, and what are your other mods? :x (Because one of them i can't install on a fresh install). And if you write only a single [hide] it will be automatic removed. Normal it should work i tested it with my normal mod install ;).

This must be a mod conflict with a other mod, because it's correct working i tested it with you settings on a vanilla smf ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 10, 2007, 02:20:19 PM
It must be something else, i don't know. I tested your mod with the two ed2k mods available on the customize section. The [hide] appears at the beggining of the ed2k with both mods (not with both installed at the same time, of course)
What's weird, it that with one mod i must insert the tags [ed2k] [/ed2k] and the [hide] tag shows up. But today i installed the other ed2k mod which doesn't require ed2k tags, and the error is still there, i.e., if i insert a normal ed2k hash with no [ed2k][/edk2] i keep seeing [hide] at the beggining :(
Shouldn't it be a normal text string?
Title: Re: Hide Tag Special
Post by: ディン1031 on December 11, 2007, 02:00:30 AM
Hmmm i will try it with the not installable mod, and install it manual.

But i'm sure something is not correct on your install, because normal not even the [hide] should appear because my mod also remove not closed hide tags... (after the parsing) ;)

Can you tell me your other installed mods?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 11, 2007, 04:57:52 PM
There's one thing i did during install, cause i have portuguese language in my forum, i did not translate the mod, but i altered the php files from english to portuguese. But i don't think there's a problem in that.

My installed mods are:
YouTube BBCode v1.4
ed2k links support v2.6
SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update v1.0
Attachments Positioning      1.0
Language Drop      1.3
DonationCoder.com SMF Search Enhancement Mod      1.1.9
Title: Re: Hide Tag Special
Post by: ディン1031 on December 12, 2007, 01:00:49 AM
Ok i try it with this mods installed :). And tell you if this happen or not XD.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on December 12, 2007, 10:14:05 AM
Quote from: FragaCampos on December 11, 2007, 04:57:52 PM
There's one thing i did during install, cause i have portuguese language in my forum, i did not translate the mod, but i altered the php files from english to portuguese. But i don't think there's a problem in that.

My installed mods are:
YouTube BBCode v1.4
ed2k links support v2.6
SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update v1.0
Attachments Positioning      1.0
Language Drop      1.3
DonationCoder.com SMF Search Enhancement Mod      1.1.9
So i install all Mods that you use above okay some difference are between (Because there are no older version available)

YouTube BBCode v1.7
ed2k links support v2.6
Attachments Positioning  1.1
Language Drop  1.3
Hide Tag Special 1.7


And i've no problems with it, so i think you made some mistake.

See the picture for the tests i made ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 12, 2007, 01:13:28 PM
Thanks for your help and all your work with this ;)

The thing is: I can hide the texts, tags, whatever. It works like a charm, my guests are unable to see ed2k, the problem is for those who have permission to see the ed2k. For those allowed to see the ed2k have this problem, i.e., they see the ed2k with the [hide] tag at the beggining. Everything else is ok. :(

Edit: I installed the newer version of yotube mod, which was the different one, and the problem persists.
Title: Re: Hide Tag Special
Post by: FragaCampos on December 12, 2007, 01:26:17 PM
It must be something with my forum, or something i did wrong before, because if i do this:

[hide][hide]Test[/hide][/hide]

i get this:
[hide][hide]Test
Title: Re: Hide Tag Special
Post by: ディン1031 on December 13, 2007, 01:05:00 AM
Quote from: FragaCampos on December 12, 2007, 01:26:17 PM
It must be something with my forum, or something i did wrong before, because if i do this:

[hide][hide]Test[/hide][/hide]

i get this:
[hide][hide]Test

First in you settings you set you limit that user can see hidden contetn to 1000 post :x. So before a user have not 1000 posts he will not see the hidden content ;).

Second i must say i've never tried two hide tags in on hide tag... normal one [hide][/hide] is enouph. But i tested it with [hide][hide]test[/hide][/hide] and it work fine too... so i don't know why this happend. You can attach the Subs.php of you forum here and i will look if something is strange in my eys.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: FragaCampos on December 13, 2007, 08:55:28 PM
I thought that option was for something eles  :P I already changed it to 0.

Ok, here it goes the subs.php
Thanks a lot for you help.

Title: Re: Hide Tag Special
Post by: ディン1031 on December 14, 2007, 12:56:08 AM
Quote from: FragaCampos on December 13, 2007, 08:55:28 PM
I thought that option was for something eles  :P I already changed it to 0.

Ok, here it goes the subs.php
Thanks a lot for you help.
Öhm which version did you install... and there happen no errors on install, because some parts are missing. I try to fix it but i guarantee for nothing because there could be missing things somewhere else, too.

I did the best i could do ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 14, 2007, 10:57:54 AM
I don't know what you did... but IT WORKS!  :D 8)
Still, just for you to know, the only way that it works 100% is doing like this:

[hide]
Something here
[/hide]

But only with ed2k, cause with everything else it works fine.

Anyway, thank you very much for your time, patience and goodwill ;)
Title: Re: Hide Tag Special
Post by: ディン1031 on December 14, 2007, 11:28:03 AM
Quote from: FragaCampos on December 14, 2007, 10:57:54 AM
I don't know what you did... but IT WORKS!  :D 8)
Still, just for you to know, the only way that it works 100% is doing like this:

[hide]
Something here
[/hide]

But only with ed2k, cause with everything else it works fine.

Anyway, thank you very much for your time, patience and goodwill ;)
I teste it only with [hide]ed2klink[/hide] ;)

I never used a new line and it work, too. But as long it work for you thats good.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 14, 2007, 12:11:37 PM
I didn't want to bother you anymore, but I read the 36 pages of this thread... :P And i didn't see an answer for this question:
I have two languages in my forum, portuguese and english, how do i do to make a different message to both languages, i.e., so that a user with english language selected can see an english message isntead of a portuguese one?

I added $txt['hide_hiddentext'] = 'Hidden stuff (example)'; to the index.english.php file, but how do i use the string?



Title: Re: Hide Tag Special
Post by: ディン1031 on December 14, 2007, 12:36:56 PM
Text Informations - Hide Tag Special

   Normal the Textarea will be BBC Parsed.
   You can use the Area to give a user the Infomation that there is a hidden or unhidden content.
   
   In the area you can use 2 Variables for MUI use.

   $language:
   This will replace with the language that the user use.
   Example: hidden_$language will be in the output hidden_english
   when the user use english as language.
   
   $txtvariable:
   Work only if you enable the MUI Switch!
   This will replace the $txtvariable with the $txt['hide_hiddentext'] or $txt['hide_unhiddentext']
   to make it Multilingual useable.
   Example: [b]$txtvarible[/b] will be in english something like
   
QuoteThe text from the index.english.php
because the $txtvariable is replaced with this.

   Some Examples for Hidden/Unhidden Informations:
   If you like to use a Image for the Text use:
   [img]http://www.example.com/image.jpg[/img]
   Do you like to use a Image that be diffrent for each language use:
   [img]http://www.example.com/$lanuguage.jpg[/img]
   You can also combine text and picture:
   Here is a secret, please post to see it.[br][img]http://www.example.com/hidden.jpg[/img]
   [br] stands for a new line.
   You can also combine MUI Switch and $language Picture:
   $txtvariable[br][img]http://www.example.com/$lanuguage.jpg[/img]
   $txtvariable will replace only if you enable MUI Switch

This is a 1:1 copy of the help for this in the mod...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 14, 2007, 12:58:55 PM
Yes, i read that... but didn't understand it :P
But i tried several things and i now it's working :)

One final question (hope to explain myself :))
Normally, people want to hide a certain thing, and the hidden message is always the same. I wonder if it's possible to have several different hidden messages, for example, one for hidding ed2k, another for images, etc.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 15, 2007, 06:23:16 AM
No it's not possible, because it will not parse the text of the hidden content before ;).
(I did not see one hide content mod who can do this).
And i think for speed reasons it should not be done ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FragaCampos on December 15, 2007, 09:06:28 AM
Ok, thanks for everything ;)

Take care!
Title: Re: Hide Tag Special
Post by: Kimmie on December 17, 2007, 01:26:51 AM
I had to restore my forum from a backup tonight and I got the mod reinstalled fine but for some reason the bbc image wont show up now. I put it in my images/bbc folder and it shows up there fine.

Any ideas?

Thanks in advance.
Title: Re: Hide Tag Special
Post by: ディン1031 on December 17, 2007, 08:11:03 AM
Depend on you settings ;).

did also put in you yourtheme/images/bbc folder :X

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Blu on December 19, 2007, 03:52:09 PM
Hi!

I've installed this mod, and all seems fine except I can't see it anywhere!

I have looked in post and topics, but there is nothing there relating to the hide tag.....I am NOT using the default skin, so i wonder if that has something to do with it? Or did I miss doing something after the install...as all I have done so far is up it and install it.

thanks for any help as I'm a bit puzzled now!

Cheers!
Title: Re: Hide Tag Special
Post by: ディン1031 on December 20, 2007, 01:14:27 AM
If it work correct than you should see a option in Admin -> Posts and Topics -> Hide Tag Special.

There will be no button or anything in the normal install you can only test it with [hide]some text here[/hide].

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Kimmie on December 22, 2007, 08:26:24 PM
Quote from: ディン1031 on December 17, 2007, 08:11:03 AM
Depend on you settings ;).

did also put in you yourtheme/images/bbc folder :X

Bye
DIN1031

I got it figured out..hehe. What it did was put the bbc button there but it put it in a different spot. The first time I used the mod/button it put the button at the very end of the bbc buttons. This time it put it up in the top row of buttons to the right of the "B" (bold button)..lol. Not sure why that happened but oh well. Its working fine.

Thanks for the feeedback. :)
Title: Re: Hide Tag Special
Post by: izar on January 09, 2008, 12:00:37 PM
on the mod is available css to format for unhidden messages .hiddencontent
{
color: red;
background-color: black;
border: 2px solid red;
margin: 1px;
padding: 1px;
line-height: 1.4em;
}


How can I do something for the message that apears when rhe message taht is hidden

example, I want to put a red cackground to the message "Write a message on yhis post to access to the links"


On  the admin panel in "hide tag special" are not allowed background-color etc...
Title: Re: Hide Tag Special
Post by: ディン1031 on January 10, 2008, 02:10:32 AM
Quote from: izar on January 09, 2008, 12:00:37 PM
on the mod is available css to format for unhidden messages .hiddencontent
{
color: red;
background-color: black;
border: 2px solid red;
margin: 1px;
padding: 1px;
line-height: 1.4em;
}


How can I do something for the message that apears when rhe message taht is hidden

example, I want to put a red cackground to the message "Write a message on yhis post to access to the links"

On  the admin panel in "hide tag special" are not allowed background-color etc...
You can use bbc for this, so that you can try to create something like that or you enable the html option and use normal html.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: EboLLa on January 10, 2008, 06:25:58 PM
hi, first thx for your work i just wanna ask something cause i didnt readed all 37 pages :P is it bug free??? cause in a mod if i use search it shows the hidden message. thx
Title: Re: Hide Tag Special
Post by: EboLLa on January 10, 2008, 06:58:40 PM
and btw i readed the pages :| because i get this error:       Execute Modification     ./Sources/Subs.php     Test failed
what could be wrong??
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2008, 04:00:10 AM
Quote from: EboLLa on January 10, 2008, 06:25:58 PM
hi, first thx for your work i just wanna ask something cause i didnt readed all 37 pages :P is it bug free??? cause in a mod if i use search it shows the hidden message. thx
First my mod work very good, i don't know any bugs at the moment, only if errors happen on the install it will be possible that it viewable...

Quote from: EboLLa on January 10, 2008, 06:58:40 PM
and btw i readed the pages :| because i get this error:       Execute Modification     ./Sources/Subs.php     Test failed
what could be wrong??
The Most importend change, without it the mod will not work... there are many many manyyyyyyyy reason why it not installable ;P.

Look here you can try to install int manual -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=HideTagSpecial170

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: EboLLa on January 11, 2008, 04:23:56 AM
and how i do it? i install the mod with packege manager and then only edit subs.php??? or i should all instll manual?:|
Title: Re: Hide Tag Special
Post by: ディン1031 on January 11, 2008, 05:39:01 AM
Quote from: EboLLa on January 11, 2008, 04:23:56 AM
and how i do it? i install the mod with packege manager and then only edit subs.php??? or i should all instll manual?:|
Deppend on how many time you have, both will be work somehow :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: EboLLa on January 11, 2008, 05:52:50 AM
ok thx i will try to make it somehow :P
Title: Re: Hide Tag Special
Post by: EboLLa on January 11, 2008, 09:51:51 AM
well i tryed but it doesnt work :|
the things are allready in subs.php so i dont have to find and edit...  but i saw a strange thing in subs.php:

array(
            'tag' => 'white',
            'before' => '<span style="color: white;">',
            'after' => '</span>',
         ),

i have this but not with white i have with black and blue is this ok?
Title: Re: Hide Tag Special
Post by: spiky1471 on January 20, 2008, 08:03:43 AM
v bulletin have a hide hack and there is a nice image they have that would fit nicely with the default theme

anyone know where i can get this image if you know what im talking about
Title: Re: Hide Tag Special
Post by: ディン1031 on January 20, 2008, 08:15:07 AM
Quote from: EboLLa on January 11, 2008, 09:51:51 AM
well i tryed but it doesnt work :|
the things are allready in subs.php so i dont have to find and edit...  but i saw a strange thing in subs.php:

array(
            'tag' => 'white',
            'before' => '<span style="color: white;">',
            'after' => '</span>',
         ),

i have this but not with white i have with black and blue is this ok?
You can put it everywhere as long it is in it :X.

Quote from: spiky1471 on January 20, 2008, 08:03:43 AM<br />v bulletin have a hide hack and there is a nice image they have that would fit nicely with the default theme<br /><br />anyone know where i can get this image if you know what im talking about<br />

No i don't know what you mean ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: spiky1471 on January 20, 2008, 08:20:09 AM
well vb have a hide hack aswell

and there is an image that alot of forums use that says hidden content reply to see or something

little rectangle image same sorta colours as the default skin

thats the image i want lol

http://img46.imageshack.us/img46/6957/17ee1.jpg
similar to that but english
Title: Re: Hide Tag Special
Post by: spiky1471 on January 20, 2008, 08:24:22 AM
(http://warez.fewett.net/images/hide.gif)

that was the image i found it
Title: Re: Hide Tag Special
Post by: abeng888 on January 28, 2008, 10:03:06 PM
Type     Action     Description
1.    Execute Modification    ./Sources/ManagePosts.php    Test successful
2.    Execute Modification    ./Sources/Display.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Sources/Search.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test successful
6.    Execute Modification    ./Themes/default/Admin.template.php    Test successful
7.    Execute Modification    ./Sources/Post.php    Test failed
8.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
10.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
11.    Execute Modification    ./Themes/default/languages/Admin.german.php    Skipping file
12.    Execute Modification    ./Themes/default/languages/Help.german.php    Skipping file
13.    Execute Modification    ./Themes/default/languages/index.german.php    Skipping file
14.    Execute Modification    ./Themes/default/languages/Admin.turkish.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Help.turkish.php    Skipping file
16.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file

Help me ... test failed in post.php
Title: Re: Hide Tag Special
Post by: babjusi on January 28, 2008, 10:10:35 PM
Quote from: spiky1471 on January 20, 2008, 08:24:22 AM
(http://warez.fewett.net/images/hide.gif)

that was the image i found it

Look at the mod''s settings in the acp of your forum. There is an option there to place the image
Title: Re: Hide Tag Special
Post by: ディン1031 on January 29, 2008, 12:38:42 AM
Quote from: abeng888 on January 28, 2008, 10:03:06 PM
Type     Action     Description
1.    Execute Modification    ./Sources/ManagePosts.php    Test successful
2.    Execute Modification    ./Sources/Display.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Sources/Search.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test successful
6.    Execute Modification    ./Themes/default/Admin.template.php    Test successful
7.    Execute Modification    ./Sources/Post.php    Test failed
8.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
10.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
11.    Execute Modification    ./Themes/default/languages/Admin.german.php    Skipping file
12.    Execute Modification    ./Themes/default/languages/Help.german.php    Skipping file
13.    Execute Modification    ./Themes/default/languages/index.german.php    Skipping file
14.    Execute Modification    ./Themes/default/languages/Admin.turkish.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Help.turkish.php    Skipping file
16.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file

Help me ... test failed in post.php
Every change is importend ;).

You can install it, but you need to change the Post.php by yourself.

Here are the changes of the Mod: http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=HideTagSpecial170

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: spampw on February 09, 2008, 12:05:25 PM
Thanks for mods.
It's work.
Title: Re: Hide Tag Special
Post by: Nibogo on February 09, 2008, 04:43:56 PM
Quote from: spiky1471 on January 20, 2008, 08:24:22 AM(http://warez.fewett.net/images/hide.gif)that was the image i found it
how i can put a image in the HIDE TEXT because i only can put text not image , i use  bu didnt work
Title: Re: Hide Tag Special
Post by: ディン1031 on February 10, 2008, 05:39:42 AM
There are many ways to insert one :X

the easiest
[img]http://warez.fewett.net/images/hide.gif[/img]

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Lights on February 16, 2008, 05:01:15 AM
Thank you for your mod.  :D
I have made translate of your mod into Russian.
Here all at once, both mod, and translation and the button.
There are two versions – for Win-1251 and for UTF-8 forums.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 18, 2008, 12:54:00 AM
Quote from: Lights on February 16, 2008, 05:01:15 AM
Thank you for your mod.  :D
I have made translate of your mod into Russian.
Here all at once, both mod, and translation and the button.
There are two versions – for Win-1251 and for UTF-8 forums.
I've a question, can you translate the help, too or is this not possible?

I'll insert it incomplete in the mod (because the importend things are translated).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Lights on February 18, 2008, 05:12:38 AM
DIN1031, no problem :)
In the attach full translations.
Title: Re: Hide Tag Special
Post by: ディン1031 on February 18, 2008, 05:22:28 AM
Quote from: Lights on February 18, 2008, 05:12:38 AM
DIN1031, no problem :)
In the attach full translations.
Thx a lot, i will insert it at evening. It take so long because, i will insert ther german and the english utf-8 translations in this step, too (and i will test, if it install correct :D).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: au8ust on February 27, 2008, 05:42:27 AM
Is it possible to apply this to guest? I want the guests to be able to unhidden content after replied.
Title: Re: Hide Tag Special
Post by: iznobe on February 27, 2008, 06:11:09 PM
i can ' t download the attached button here !
where can i find hit ? please help me

Title: Re: Hide Tag Special
Post by: ディン1031 on February 28, 2008, 12:13:30 AM
Quote from: au8ust on February 27, 2008, 05:42:27 AM
Is it possible to apply this to guest? I want the guests to be able to unhidden content after replied.
No it's not possible.

@iznobe
The Attachment work for the Button.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: madman71 on March 05, 2008, 05:50:45 PM
Hey ディン1031,

Nice job with the mod.   One question, how difficult would it be to have the option to force users to make some type of reply  to a thread?  Like saying "thanks" and this reply would uncover hidden content.
Title: Re: Hide Tag Special
Post by: ディン1031 on March 06, 2008, 12:44:27 AM
Quote from: madman71 on March 05, 2008, 05:50:45 PM
Hey ディン1031,

Nice job with the mod.   One question, how difficult would it be to have the option to force users to make some type of reply  to a thread?  Like saying "thanks" and this reply would uncover hidden content.
Oh did you read the discription?

If you not disable it with the Thank-O-Matic it will be automtic uncover hidden content after a user make a replay to the threat...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: madman71 on March 06, 2008, 12:36:10 PM
im blind as a bat!

thanks DIN1031 :)
Title: Re: Hide Tag Special
Post by: naxiand on March 15, 2008, 10:45:04 AM
hi to all

i tried to install it but after i take this error
Fatal error: Cannot redeclare template_edit_hidetagspecial_settings() (previously declared in /volume1/web/smf/Sources/Load.php(1726) : eval()'d code:1487) in /volume1/web/smf/Sources/Load.php(1726) : eval()'d code on line 1902

how do i take it out or fix it i dont have access to admin tag all other functions work

Regards
Title: Re: Hide Tag Special
Post by: Jaa(c) on March 15, 2008, 02:47:13 PM
Hi,
have one simple question.
I've installed this hide tag 1.7.0 into SMF 1.1.4 . It works ok, the only problem is, that there's no unhide button for hidden contents  (so ordinary users can't see the hidden content). How can I enable the button?

Hope you understand my problem, thanks for help...
Title: Re: Hide Tag Special
Post by: ディン1031 on March 17, 2008, 02:41:10 AM
Quote from: naxiand on March 15, 2008, 10:45:04 AM
hi to all

i tried to install it but after i take this error
Fatal error: Cannot redeclare template_edit_hidetagspecial_settings() (previously declared in /volume1/web/smf/Sources/Load.php(1726) : eval()'d code:1487) in /volume1/web/smf/Sources/Load.php(1726) : eval()'d code on line 1902

how do i take it out or fix it i dont have access to admin tag all other functions work

Regards
Remove the Doupble insert in the $themedir/Admin.template.php somehow the function template_edit_hidetagspecial_settings() it inserted twice. Remove the second insert, and it should work after that.

Quote from: Jaa(c) on March 15, 2008, 02:47:13 PM<br />Hi,<br />have one simple question.<br />I've installed this hide tag 1.7.0 into SMF 1.1.4 . It works ok, the only problem is, that there's no unhide button for hidden contents  (so ordinary users can't see the hidden content). How can I enable the button?<br /><br />Hope you understand my problem, thanks for help...<br /><br />
There will be no button for this, the mod unhide content after you post a repley to the topic. If you like a button to unhide content parts, than use try a Spoiler Tag Mod (http://custom.simplemachines.org/mods/index.php?action=search;basic_search=Spoiler).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Jaa(c) on March 17, 2008, 10:49:52 AM
Thanks, I'm blind....  :)
Title: Re: Hide Tag Special
Post by: ディン1031 on March 19, 2008, 03:23:09 PM
For SMF 2.0 Beta 3 user i add to the Mod Site a compatible Version.
It's the Hide Tag Version 2.2.0, i did a complete overwork of the source code, but the options for the mod are the same (so it should compatible to a upgraded forum).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: demonoid on March 22, 2008, 08:33:51 AM
Hi! I was trying to install yor mod. Well there started problem. Here is what it says when I try to install:
1.  Execute Modification  ./Sources/ManagePosts.php  Test successful
2. Execute Modification ./Sources/Display.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Search.php Test successful
5. Execute Modification ./Sources/Subs.php Test failed
6. Execute Modification ./Themes/default/Admin.template.php Test successful
7. Execute Modification ./Sources/Post.php Test successful
8. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
9. Execute Modification ./Themes/default/languages/Help.english.php Test successful
10. Execute Modification ./Themes/default/languages/index.english.php Test successful


Now, I was wondering, can I install like that and made manual changes to subs.php file? And if that is possible, please can you tell me what to change because I am new at this. Thanks for helping! Cheers!
Title: Re: Hide Tag Special
Post by: ディン1031 on March 22, 2008, 09:35:17 AM
Quote from: demonoid on March 22, 2008, 08:33:51 AM
Hi! I was trying to install yor mod. Well there started problem. Here is what it says when I try to install:
1.  Execute Modification  ./Sources/ManagePosts.php  Test successful
2. Execute Modification ./Sources/Display.php Test successful
3. Execute Modification ./Sources/Post.php Test successful
4. Execute Modification ./Sources/Search.php Test successful
5. Execute Modification ./Sources/Subs.php Test failed
6. Execute Modification ./Themes/default/Admin.template.php Test successful
7. Execute Modification ./Sources/Post.php Test successful
8. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
9. Execute Modification ./Themes/default/languages/Help.english.php Test successful
10. Execute Modification ./Themes/default/languages/index.english.php Test successful


Now, I was wondering, can I install like that and made manual changes to subs.php file? And if that is possible, please can you tell me what to change because I am new at this. Thanks for helping! Cheers!
First which version did you install and for which smf version ;). Normal it should work like you said, installing it and do the Subs.php changes manual ;). (But use the correct Version for the forum you use.)

The Changes for the Version 1.7.0 are here -> http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.4&name=HideTagSpecial170

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: demonoid on March 22, 2008, 10:04:31 AM
Sorry, I totally forgot to write that. I tried to install mod: Hide Tag version 1.7.0.

I have SMF 1.1.4.

Thanks for help!
Title: Re: Hide Tag Special
Post by: demonoid on March 22, 2008, 01:29:37 PM
I installed it and it works GREAT! Thanks for this great mod ,,, Cheers!
Title: Re: Hide Tag Special
Post by: Jaa(c) on April 13, 2008, 03:45:42 PM
Hi,
I've made Czech translation for this great mod.. DIN1031, it should be in your PM, I haven't noticed  your sig earlyer..

Kdo umí česky, může stahovat tady http://blog.princ.name/ostatni/hide-tag-special-plugin-pro-smf-cestina/ (http://blog.princ.name/ostatni/hide-tag-special-plugin-pro-smf-cestina/) :-)
Title: Re: Hide Tag Special
Post by: ディン1031 on April 14, 2008, 01:11:43 AM
Quote from: Jaa(c) on April 13, 2008, 03:45:42 PM
Hi,
I've made Czech translation for this great mod.. DIN1031, it should be in your PM, I haven't noticed  your sig earlyer..

Kdo umí česky, může stahovat tady http://blog.princ.name/ostatni/hide-tag-special-plugin-pro-smf-cestina/ (http://blog.princ.name/ostatni/hide-tag-special-plugin-pro-smf-cestina/) :-)
Sorry i was not at home, so i could not answer it, i will insert you translation as soon as possible ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: icon on April 14, 2008, 11:47:07 AM
where's your bbc button?
its not attached to your post...
Title: Re: Hide Tag Special
Post by: ディン1031 on April 15, 2008, 01:47:57 AM
Quote from: icon on April 14, 2008, 11:47:07 AM
where's your bbc button?
its not attached to your post...
http://www.simplemachines.org/community/index.php?topic=32954.0 <- there it is attached oO. I see it at the end of the post.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: albanian18 on April 17, 2008, 07:02:43 PM
does it work with 1.1.4 version? i tried to install it,it has been installed without errors but it doesnt work,can u help me please?
Title: Re: Hide Tag Special
Post by: ディン1031 on April 18, 2008, 01:03:21 AM
Quote from: albanian18 on April 17, 2008, 07:02:43 PM
does it work with 1.1.4 version? i tried to install it,it has been installed without errors but it doesnt work,can u help me please?
Yes it work in 1.1.4 oO.
Which Version did you install.

Test it with "[hide]test[/hide] here is some hidden" and go to the thread as guest to see that it work ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Tuplad on April 19, 2008, 01:27:41 PM
I've got a problem...

My forum is Dutch and if I go to controls of the Hide mod, I get no text. Can I somehow make it work ? I don't mind if the controls are English or Russian.
Title: Re: Hide Tag Special
Post by: Tuplad on April 19, 2008, 01:43:13 PM
Oh another thing, could a button be added when I'm creating a new topic ? Would be VERY handy to have a button.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 21, 2008, 12:45:32 AM
Quote from: Tuplad on April 19, 2008, 01:27:41 PM
I've got a problem...

My forum is Dutch and if I go to controls of the Hide mod, I get no text. Can I somehow make it work ? I don't mind if the controls are English or Russian.
Look into the Settings there are Options for alter text for hidden and unhidden content. It could also be Langaugerelated if you use it correct ;).
Admin -> Posts and Topics -> Hide Tag Special

For your next Question: the button is attached to the first post of this thread.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Tuplad on April 21, 2008, 02:03:29 PM
Quote from: ディン1031 on April 21, 2008, 12:45:32 AM
Quote from: Tuplad on April 19, 2008, 01:27:41 PM
I've got a problem...

My forum is Dutch and if I go to controls of the Hide mod, I get no text. Can I somehow make it work ? I don't mind if the controls are English or Russian.
Look into the Settings there are Options for alter text for hidden and unhidden content. It could also be Langaugerelated if you use it correct ;).
Admin -> Posts and Topics -> Hide Tag Special

For your next Question: the button is attached to the first post of this thread.

Bye
DIN1031
Oh, I've got the button. thanks!

But what I meant is, when I get to the control panel, I don't see no text but just characters like ":", ",", ".", etc. So no actual text because the mod isnt translated to Dutch. Can I just somehow copy the English translation and rename it to Dutch so the forum will recognize it as Dutch ?
Title: Re: Hide Tag Special
Post by: Tuplad on April 21, 2008, 02:58:16 PM
Oh nevermind brotha, I've fixed it :) Just copied the content from the language files.
Title: Re: Hide Tag Special
Post by: ディン1031 on April 22, 2008, 12:42:01 AM
Quote from: Tuplad on April 21, 2008, 02:03:29 PM
Quote from: ディン1031 on April 21, 2008, 12:45:32 AM
Quote from: Tuplad on April 19, 2008, 01:27:41 PM
I've got a problem...

My forum is Dutch and if I go to controls of the Hide mod, I get no text. Can I somehow make it work ? I don't mind if the controls are English or Russian.
Look into the Settings there are Options for alter text for hidden and unhidden content. It could also be Langaugerelated if you use it correct ;).
Admin -> Posts and Topics -> Hide Tag Special

For your next Question: the button is attached to the first post of this thread.

Bye
DIN1031
Oh, I've got the button. thanks!

But what I meant is, when I get to the control panel, I don't see no text but just characters like ":", ",", ".", etc. So no actual text because the mod isnt translated to Dutch. Can I just somehow copy the English translation and rename it to Dutch so the forum will recognize it as Dutch ?
Yes this will work the other way it switch to the English language with your account, than it should be seen, too.

I don't have a dutch translation of the Mod so it would be normal that it not seen in the dutch version.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Ikhsan4488 on May 01, 2008, 02:55:26 PM
can i use this mod for smf 1.1.5?
Title: Re: Hide Tag Special
Post by: K-42 on May 02, 2008, 06:52:03 AM
I used the version 1.1.4 and this mod (1.7.0) and it worked perfectly! But then i upgrated my< forum to the new 1.1.5 version and it doesn't work. This mod is very important for my forum. Please help...

Thx,
K-42.
Title: Re: Hide Tag Special
Post by: Spidtuelv on May 02, 2008, 07:07:18 AM
Same problem here,it is not compatible with smf 1.1.5  :(
Title: Re: Hide Tag Special
Post by: K-42 on May 03, 2008, 04:00:12 AM
I want to ask, when the compatible version comes online. Thanks a lot for this mod.
Title: Re: Hide Tag Special
Post by: ディン1031 on May 03, 2008, 04:48:15 AM
Version 2.2.0
- SMF 2.0 Beta 3.1 Compatible

Version 1.7.0
- SMF 1.1.5 Compatible

... why can people not wait ;), i will test my mods before i give them official free for a version ;). (At least the install.)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: deckonja on May 03, 2008, 11:58:22 AM
Hi,

I need your help din1031 !

I've installed your mode and it's working exelent, but i need to put some image before and after a unhiddencontent !

In settings in admin panel i set to display picture before unhiddencontent, but there is no option to display picture before and after in the same time !

Help me please !
Title: Re: Hide Tag Special
Post by: ディン1031 on May 04, 2008, 09:57:42 AM
Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Apllicmz on May 04, 2008, 06:51:34 PM
Thank Update

Linguage portuguese

<file name="$languagedir/Admin.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Esconder especial';
$txt['hidetagspecial_description'] = 'Você pode ajustar todo as difinicoes que necessitou para Hide Tag Special mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Enable HTML';
$txt['hide_enableHTML_help'] = 'Permita-lhe o HTML do uso sobre Esconder or Mostrar Text';
$txt['hide_enableUnhiddenText'] = 'Permitir mostrar Informaçao';
$txt['hide_hiddentext'] = 'Informação Escondida Do Texto';
$txt['hide_unhiddentext'] = 'Mostrar texto informações';
$txt['hide_hiddentext_help'] = 'BBC permitido, você pode usar <strong>$txtvariable</strong> and <strong>$language</strong>,<br />olhe na ajuda para mais informacao.';
$txt['hide_onlyonetimeinfo'] = 'Mostrar nao escondido a Informação do texto uma vez';
$txt['hide_onlyonetimeinfo_help'] = 'Isto será mostrado somente na extremidade do poste.';
$txt['hide_noinfoforguests'] = 'Informação do texto escondido para convidados';
$txt['hide_karmaenable_help'] = 'Esta opção deve ser permitida que todas as opções do karma trabalham';
$txt['hide_karmaenable'] = 'Permitir suporte de Karma escondido';
$txt['hide_minkarmaunhide'] = 'Minmum karma conte para permitir o índice do unhide';
$txt['hide_minkarmaautounhide'] = 'Contagem do karma de Minmum ao índice do unhide sem postar';
$txt['hide_minimumkarmaandpost'] = 'A necessidade do usuário o karma e o quadro mínimos ver o índice escondido';
$txt['hide_onlykarmagood'] = 'Count only the Karma Good value not the total summary';
$txt['hide_autounhidegroups'] = 'Allowed Groups to see a hidden content without posting';
$txt['hide_minpostunhide'] = 'Minmum post count to allow unhide content';
$txt['hide_minpostautounhide'] = 'Contagem do poste Minima ao índice do unhide sem postar';
$txt['hide_minpostautounhide_help'] = '"0" ou esvazíe para incapacitar esta opção';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Posição para a informação do texto de Unhidden';
$txt['hide_posUnhiddenOption1'] = 'Antes Do Índice Escondido';
$txt['hide_posUnhiddenOption2'] = 'Antes no índice escondido';
$txt['hide_posUnhiddenOption3'] = 'Em seguida no índice escondido';
$txt['hide_posUnhiddenOption4'] = 'Após O Índice Escondido';
]]></add>
</operation>
</file>



<file name="$languagedir/index.portuguese.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_hiddentext'] = 'Está aqui um pequeno segredo do... Ou nao?';
$txt['hide_unhiddentext'] = 'Meu pequeno segredo mostro agora ... Ou nao?';
]]></add>
</operation>
</file>



Suporte utf8
<file name="$languagedir/Admin.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Esconder especial';
$txt['hidetagspecial_description'] = 'Voc&ecirc; pode ajustar todo as difini&ccedil;&otilde;es que necessitou para Esconder especial mod "[hide][/hide]"';
$txt['hide_MUIswitch'] = 'MUI SWITCH';
$txt['hide_enableHTML'] = 'Activar HTML';
$txt['hide_enableHTML_help'] = 'Permita-lhe o HTML do uso sobre Esconder or Mostrar Texto';
$txt['hide_enableUnhiddenText'] = 'Permitir mostrar Informa&ccedil;&atilde;o';
$txt['hide_hiddentext'] = 'Informa&ccedil;&atilde;o Escondida Do Texto';
$txt['hide_unhiddentext'] = 'Mostrar texto informa&ccedil;&otilde;es';
$txt['hide_hiddentext_help'] = 'BBC permitido, voc&ecirc; pode usar <strong>$txtvariable</strong> and <strong>$language</strong>,<br />olhe na ajuda para mais informa&ccedil;&atilde;o.';
$txt['hide_onlyonetimeinfo'] = 'Mostrar nao escondido a Informa&ccedil;&atilde;o do texto uma vez';
$txt['hide_onlyonetimeinfo_help'] = 'Isto ser&aacute; mostrado somente na extremidade do poste.';
$txt['hide_noinfoforguests'] = 'Informa&ccedil;&atilde;o do texto escondido para convidados';
$txt['hide_karmaenable_help'] = 'Esta op&ccedil;&atilde;o deve ser permitida que todas as op&ccedil;&otilde;es do karma trabalham';
$txt['hide_karmaenable'] = 'Permitir suporte de Karma escondido';
$txt['hide_minkarmaunhide'] = 'Minmum karma conte para permitir o índice do mostrar';
$txt['hide_minkarmaautounhide'] = 'Contagem do karma de Minmum ao índice domostrar sem postar';
$txt['hide_minimumkarmaandpost'] = 'A necessidade do membro o karma e o quadro m&iacute;nimos ver o índice escondido';
$txt['hide_onlykarmagood'] = 'Contar apenas o Karma Boa valor total n&atilde;o corresponde ao sum&aacute;rio';
$txt['hide_autounhidegroups'] = 'Grupos admitidos para ver um conte&uacute;do escondido sem postar';
$txt['hide_minpostunhide'] = 'Minmum p&oacute;s contar para permitir exibir conte&uacute;do';
$txt['hide_minpostautounhide'] = 'Contagem do poste Minima ao índice do mostrar sem postar';
$txt['hide_minpostautounhide_help'] = '"0" ou esvaz&iacute;e para incapacitar esta op&ccedil;&atilde;o';
$txt['hide_useSpanTag'] = 'Use SPAN html tag instead of DIV.';
$txt['hide_posUnhiddenText'] = 'Posi&ccedil;&atilde;o para a informa&ccedil;&atilde;o do texto de n&atilde;o escondido';
$txt['hide_posUnhiddenOption1'] = 'Antes Do &Iacute;ndice Escondido';
$txt['hide_posUnhiddenOption2'] = 'Antes no &iacute;ndice escondido';
$txt['hide_posUnhiddenOption3'] = 'Em seguida no &iacute;ndice escondido';
$txt['hide_posUnhiddenOption4'] = 'Após O &Iacute;ndice Escondido';
]]></add>
</operation>
</file>


</file>
<file name="$languagedir/index.portuguese-utf8.php" error="skip">
<operation>
<search position="after"><![CDATA[?>]]></search>
<add><![CDATA[
$txt['hide_hiddentext'] = 'Est&aacute; aqui um pequeno segredo do... Ou n&atilde;o?';
$txt['hide_unhiddentext'] = 'Meu pequeno segredo mostro agora ... Ou n&atilde;o?';
]]></add>
</operation>
</file>
Title: Re: Hide Tag Special
Post by: 2pac on May 06, 2008, 02:30:18 AM
OH MY GOD!!!

THIS MOD REEKS OF AWESOMENESS!!!!

Thank you!
Title: Re: Hide Tag Special
Post by: black.beard on May 06, 2008, 10:16:49 PM
installed system- smf 1.1.4 updated to 1.1.5 on SoftMC Blue theme

both the core hide tag & the hide tag bbc button installed fine.
but during posting it looks like this-


another problem, i want to post the hidden contents inside a code box so that when replied, they r shown inside the code box & it does. only prob is it adds a [hide] in front of the original message.


[edit: i think i found a workaround for the second problem, but please help me solve the first problem.]
Title: Re: Hide Tag Special
Post by: ディン1031 on May 07, 2008, 01:39:16 AM
The image is not in your theme dir, the other thing is stange oO normal this will be parsed normal over the parser without changes.

But i will test it later.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: black.beard on May 07, 2008, 01:42:44 AM
oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?
Title: Re: Hide Tag Special
Post by: ディン1031 on May 07, 2008, 05:44:57 AM
Quote from: black.beard on May 07, 2008, 01:42:44 AM
oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?
Normal this should not happen any more, because i fixed it for the code tag ;). (I think this come because of the not parsed code inside the code tag. But it's fixable, but i will do that at evening.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: deckonja on May 07, 2008, 11:15:15 AM
Quote from: ディン1031 on May 04, 2008, 09:57:42 AM
Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031

Yes, this can be done with style.css and I have css looking like this
/* A unhidden content. */
.hiddencontent
{
background: transparent url(images/code_bg.gif) repeat-y top left;
width:747px;
color:#317098;
text-align:left;
padding:5px 5px 0 20px;
font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color:#317098;
}

/* The "A unhidden content." header parts... */
.hiddencontentheader
{
background: transparent url(images/header.png) no-repeat top left;
width:747px;
height:51px;
}

/* The "A unhidden content." header parts... */
.hiddencontentfooter
{
background: transparent url(images/footer.png) no-repeat top left;
width:747px;
height:22px;
}


and it is not working !
I don't now what i have to change in your mode to display this parts ( header and footer ) !

Thanks and sorry for my bad english !
Title: Re: Hide Tag Special
Post by: ディン1031 on May 07, 2008, 01:00:27 PM
Quote from: deckonja on May 07, 2008, 11:15:15 AM
Quote from: ディン1031 on May 04, 2008, 09:57:42 AM
Before and after... i never heard someone will use this oO.

You mean
{picture}{hidden content}{picture} or {picture}{unhidden content}{picture} and this on each hidden content?

I think this can be done with the styles.css an the "hiddencontent" class.

Bye
DIN1031

Yes, this can be done with style.css and I have css looking like this
/* A unhidden content. */
.hiddencontent
{
background: transparent url(images/code_bg.gif) repeat-y top left;
width:747px;
color:#317098;
text-align:left;
padding:5px 5px 0 20px;
font: bold 8pt tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
color:#317098;
}

/* The "A unhidden content." header parts... */
.hiddencontentheader
{
background: transparent url(images/header.png) no-repeat top left;
width:747px;
height:51px;
}

/* The "A unhidden content." header parts... */
.hiddencontentfooter
{
background: transparent url(images/footer.png) no-repeat top left;
width:747px;
height:22px;
}


and it is not working !
I don't now what i have to change in your mode to display this parts ( header and footer ) !

Thanks and sorry for my bad english !

The only idea that can work is:

Replace in $sourcedir/Subs.php

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';

with
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontentheader"></div><div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div><div class="hiddencontentfooter"></div>';


But think it's possible that you can not upgrade any more ;). If i change something there.
And it's not tested that it work like it should ;). But i think you see what you need to do.



Quote from: black.beard on May 07, 2008, 01:42:44 AM
oops :$
thanx ディン1031, that solves it :D

any chance the second one could be solved too?
Upgrade to Version 1.7.1 this will fix it for all time...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: deckonja on May 07, 2008, 04:40:38 PM
The only idea that can work is:

Replace in $sourcedir/Subs.php

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
with

$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontentheader"></div><div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div><div class="hiddencontentfooter"></div>';



Thank's man , that is that !

It is working now perfectly !!!

You are the KING !!!
Title: Re: Hide Tag Special
Post by: osmaniac on May 09, 2008, 10:34:26 AM
Nice Mod! Thanks
Title: Re: Hide Tag Special
Post by: msvdm on May 19, 2008, 08:11:33 AM
How to make the mod to work only with special membergroups :

for example V.I.P ore higher groups to see the hidden info
Title: Re: Hide Tag Special
Post by: ディン1031 on May 20, 2008, 12:53:54 AM
Not possible, because the mod remove the hidden content on each post.

For this there is a other mod, which allow only special groups to read a part of the post:
Include & Exclude Tags (http://custom.simplemachines.org/mods/index.php?mod=929)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: msvdm on May 20, 2008, 02:52:56 AM
the mod is for SMF version 1.1.3 ;(
Title: Re: Hide Tag Special
Post by: ディン1031 on May 20, 2008, 05:12:25 AM
Quote from: msvdm on May 20, 2008, 02:52:56 AM
the mod is for SMF version 1.1.3 ;(
Than add at the end of the package manger url to add ;version_emulate=1.1.3 with that the mod should show as installable, and you can try to install it ;). (Could be possible that it not work, too, but it a try).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: msvdm on May 20, 2008, 06:37:14 AM
 
Quote from: ディン1031 on May 20, 2008, 05:12:25 AM
Quote from: msvdm on May 20, 2008, 02:52:56 AM
the mod is for SMF version 1.1.3 ;(
Than add at the end of the package manger url to add ;version_emulate=1.1.3 with that the mod should show as installable, and you can try to install it ;). (Could be possible that it not work, too, but it a try).

Bye
DIN1031

sorry i dont understand you DIN1031 i try the manual install but no succeed i try the package parser and he say ERROR: The package-info.xml file is invalid!

if you want and have time can you explane me what you mean
Title: Re: Hide Tag Special
Post by: LOVELORD on May 24, 2008, 09:15:36 PM
I install this mod and it works, but in quick reply I don't have H icon in BBC???

What I must do to have it in all lenguages???
Title: Re: Hide Tag Special
Post by: ディン1031 on May 25, 2008, 01:33:31 AM
Quote from: MAGICMASTER on May 24, 2008, 09:15:36 PM
I install this mod and it works, but in quick reply I don't have H icon in BBC???

What I must do to have it in all lenguages???
I don't know how to add a button to the Quick Replay.

If you need it for more languages than you need to make all the Translation of the Mod or the Button into the Files of the Missing Translations.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Apllicmz on May 28, 2008, 01:01:18 AM
did forget to update portuguese linguage!
Title: Re: Hide Tag Special
Post by: Xclusive on May 28, 2008, 10:08:40 AM
hey guys...
i know this might be a stupid question...
but is there any other way to install this rather then having to use my dream weaver to
copy n paste..and not just that..when i copy and paste it in my dreamweaver it doesnt break the line probally ect..
can anyone help me install this mod..
thank you..
this is my first time with SMF
Title: Re: Hide Tag Special
Post by: Xclusive on May 28, 2008, 10:15:44 AM
OMG! OMG!!!
i know how 2 do it now..lol!!
you go into download packages..lols!!
i'm so stupid..i got it installed..
it works GREAT!!
thanks heaps!!! =]
Title: Re: Hide Tag Special
Post by: ディン1031 on May 30, 2008, 07:32:58 AM
Oh i love problems that solved by it self :D

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: LOVELORD on May 31, 2008, 07:25:37 PM
How to put some picture for hide tag??? And how to make ti? What extenasion?
Title: Re: Hide Tag Special
Post by: ディン1031 on June 01, 2008, 10:07:19 AM
Quote from: MAGICMASTER on May 31, 2008, 07:25:37 PM
How to put some picture for hide tag??? And how to make ti? What extenasion?
There is no extension needed for this, read the help of the option for hidden contents.
The easiest is with the [img][/img] tag.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: LOVELORD on June 01, 2008, 10:40:02 AM
Quote from: ディン1031 on June 01, 2008, 10:07:19 AM

There is no extension needed for this, read the help of the option for hidden contents.
The easiest is with the [img][/img] tag.

Bye
DIN1031

I wan't that every time someone use hide tag, some picture will be show and in there that what that someone put in hide tag???

And also that picture show to guest and tell tham that thay can't see hidden context???
Also what diimension that pic must be?    nn x mm px?

I try to do something in style.css, but what is need?

I'm sorry for english, but I learn french...
Title: Re: Hide Tag Special
Post by: ディン1031 on June 02, 2008, 12:50:50 AM
Quote from: MAGICMASTER on June 01, 2008, 10:40:02 AM
Quote from: ディン1031 on June 01, 2008, 10:07:19 AM

There is no extension needed for this, read the help of the option for hidden contents.
The easiest is with the [img][/img] tag.

Bye
DIN1031

I wan't that every time someone use hide tag, some picture will be show and in there that what that someone put in hide tag???

And also that picture show to guest and tell tham that thay can't see hidden context???
Also what diimension that pic must be?    nn x mm px?

I try to do something in style.css, but what is need?

I'm sorry for english, but I learn french...
Ah you mean you like a button for it in the BBC List? ;) For this is a Attachment at the first post, to install this for the Hide Tag.

You can only create a hidden content and a unhidden content picture. It depend how you let show th Hidden content to other user.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: dico on June 08, 2008, 10:14:06 AM
how do i get it to make a button w. all the other buttons and also in the quick reply

(http://i25.tinypic.com/2ah7c53.jpg)

how come u didnt make it do that automatically
Title: Re: Hide Tag Special
Post by: ディン1031 on June 08, 2008, 01:27:35 PM
Quote from: dico on June 08, 2008, 10:14:06 AM
how do i get it to make a button w. all the other buttons and also in the quick reply

(http://i25.tinypic.com/2ah7c53.jpg)

how come u didnt make it do that automatically
???
For the button is a installer attached to the first post.
What automatic <<. I understand nothing ???

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: dico on June 08, 2008, 03:54:21 PM
^i like in other forums

if i want to hide something

i just click a button thats labeled hide


and type/paste the content in
Title: Re: Hide Tag Special
Post by: ディン1031 on June 08, 2008, 04:35:13 PM
Quote from: dico on June 08, 2008, 03:54:21 PM
^i like in other forums

if i want to hide something

i just click a button thats labeled hide


and type/paste the content in
First post, there is the bbc button installer attached.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ディン1031 on June 11, 2008, 10:25:49 AM
Some Bug fixes for SMF 2 Beta 3+ Version of the Mod =).



Version 2.2.3 (11.06.08)
! Fix not correct lowercased query, so that it work with postsql and other databases
! Fix a forgotten $ID_MEMBER replace for karma detection

A Upgrade is included, but it's not reversable after upgrade ;). (Bug in SMF 2.0 Beta 3+)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: b33z on June 12, 2008, 06:59:35 PM
mod works perfect, button works perfect. thanks for this!
Title: Re: Hide Tag Special
Post by: ivantoar on June 26, 2008, 11:53:48 AM
Aw the button doesnt work for me, see the attachment of mine
Title: Re: Hide Tag Special
Post by: ディン1031 on June 26, 2008, 12:06:32 PM
You use theme related images so you need to upload the "hide.gif" into the "images/bbc" of the theme that you use, than the button should appear correct and not as text like now ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: john34516 on July 01, 2008, 05:20:12 PM
can you make the hide button work for smf2?
Title: Re: Hide Tag Special
Post by: ディン1031 on July 02, 2008, 12:59:24 AM
Quote from: john34516 on July 01, 2008, 05:20:12 PM
can you make the hide button work for smf2?
Yes ;).

I will see if i can make it today.


Version HideTagSpecialBBCButton101.zip should work together with SMF 2.0 Beta, but i'm not 100% sure if it work correct together with the WYCSIWYG edit

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ide on July 05, 2008, 04:36:40 PM
I have same problems

(http://img379.imageshack.us/img379/2999/50428690ck6.jpg)

(http://img383.imageshack.us/img383/5767/62911036ts6.jpg)
Title: Re: Hide Tag Special
Post by: ディン1031 on July 06, 2008, 03:43:16 AM
what is the problem... i don't see a problem <<.
Title: Re: Hide Tag Special
Post by: ide on July 06, 2008, 06:20:43 AM
the first image don't have el hide, are te post before use the mods, all are witn nothing.

I have installed again the mod with the installador of packages, The problems are different I can't see de admin, But if i use de url,  i  see that

(http://www.simplemachines.org/community/index.php?action=dlattach;topic=248055.0;attach=60355;image)
Title: Re: Hide Tag Special
Post by: ディン1031 on July 06, 2008, 10:11:44 AM
You need to translate it into your language that you can see the admin parts, or switch to English so that you can see the settings...

And a button is not standard of the mod, because the most forums like to hide such information about a hide content mod. If you installed the package for it, and it did not work make the change that mod made into you Post.template.php.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: ide on July 06, 2008, 12:41:00 PM
thanks the problem was the languaje  ;)
Title: Re: Hide Tag Special
Post by: pandusetiawan on August 04, 2008, 12:02:11 PM
I'm using SMF 2.0 Beta 3.1 with Harmony themes. I've installed the Hide Tag mods, it's running well, but I still can't see the Hide tag bbc button even when I already install the HideTagSpecialBBCButton101.zip.
The problem seems to be that there are no code :
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt['bbc_quote']),

in my $themedir/Post.template.php

so I don't know where to put the line :
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),

can you help me with this prob?thx.
Title: Re: Hide Tag Special
Post by: ディン1031 on August 04, 2008, 04:00:49 PM
Wrong file <<

The File $themedir/Post.template.php should be $sourcedir/Subs-Editor.php.

(Package also Fixed).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Rocks-HD on August 31, 2008, 01:05:29 AM
When I go to PrintPage don't show me the text, I don't know why!

it's the same of the I'am not logged!
Title: Re: Hide Tag Special
Post by: ディン1031 on August 31, 2008, 07:00:00 AM
Quote from: Rocks-HD on August 31, 2008, 01:05:29 AM
When I go to PrintPage don't show me the text, I don't know why!

it's the same of the I'am not logged!
It's because the text is not in the same way parsed as in the Thread Page, so i can only remove the hidden content so that user can not see it.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: EmiX11 on September 14, 2008, 07:30:44 PM
How cann i modify the hide tag special to don't link my download links inside hide tag? ???
Title: Re: Hide Tag Special
Post by: ディン1031 on September 15, 2008, 06:16:56 AM
Quote from: EmiX11 on September 14, 2008, 07:30:44 PM
How cann i modify the hide tag special to don't link my download links inside hide tag? ???
That is an smf standard? I will not change the standard with my mod... if you like that the links not parsed than add a [code][/code] to it. Inside a code tag links are not parsed ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Oliver.Z on September 21, 2008, 01:59:12 PM
Hello DIN1031,
first thx for the MOD, nice work.
I don't know someone has already asked.
It's possible to change the MOD, that the area will be unhidden after X days ?
Something like in a poll that run for a few days and then the user can view the results.

Olli
Title: Re: Hide Tag Special
Post by: M@nNiak on September 22, 2008, 12:18:01 AM
Hi, ディン1031 great job, i just have a few questions, i install this mod and everything looks good, i can se the admin

post and topics > Hide Tag Special   

works good, but why i can´t see the content or text in every post  that i have in my forum, its exactly like the issue of this user

Quote from: ide on July 05, 2008, 04:36:40 PM
I have same problems

(http://img379.imageshack.us/img379/2999/50428690ck6.jpg)

(http://img383.imageshack.us/img383/5767/62911036ts6.jpg)

but like i said i can see the admin  post and topics > Hide Tag Special   
very well, so i want to know if i got to configure something in that settings or why my all old post on my forum dont appear or what am i doing bad.


thanks in advance for your support.   :)
Title: Re: Hide Tag Special
Post by: ディン1031 on September 22, 2008, 01:56:16 AM
Quote from: Oliver.Z on September 21, 2008, 01:59:12 PM
Hello DIN1031,
first thx for the MOD, nice work.
I don't know someone has already asked.
It's possible to change the MOD, that the area will be unhidden after X days ?
Something like in a poll that run for a few days and then the user can view the results.

Olli
Yes it's possible to change the code that this could work, but only on a admin defined time and it will work automatic with all posts, it's not possible to make it only to specific posts...



@M@nNiak
Did you have any errors on install?

This is the first time i see this... are there any errors on you error log?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: M@nNiak on September 22, 2008, 02:32:20 AM
EDIT: yes was my error on one file modification, already fixed and works good.


thanks for your support.
Title: Problems with Hide Tag Special 1.7.1
Post by: FIICh on September 30, 2008, 05:09:33 PM
I have a problem with the mod hide special tag, after having installed without any kind of problem the latest version of the MOF (v1.7.1) on my forum SMF 1.6, will not let me go in the section "Post and Topics" of the area of administration, which is where they should be options for this mod to be able to configure it. When the pulse pestalla "Post and Topics" I opened a blank page.

The odd thing is that if you uninstall this mod and can enter the section "Post and Topics" and if I return it, not let me go again. Furthermore when I installed this mod running normally on my forum that the problem is not going to let me set it up.

Someone can help me, I'd like to have this mod but not that happens. Maybe this conflict with other mods installed.

Excuse my English.

Greetings.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 01, 2008, 12:09:34 AM
Did it work before and after a amount of time not any more?
Any error on the error log?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: FIICh on October 01, 2008, 06:52:40 AM
While this always work properly installed, I have only the problem that will not let me come to set it in the section "Posts and Topics" in the administration area of my body. When I want to access this section to set the mod I open a blank page.

I have a log:
8: Array to string conversion
File: ... / Sources / Display.php
Line: 182

Thank you.
Title: Re: Hide Tag Special
Post by: allumius on October 06, 2008, 02:02:19 PM
I have a problem

When i install this mod, all install is ok but i cant see the mod'option in admin panel
i have smf 1.1.6, english and default theme
if i tray to unisntal, all options are ERROR   :o :o :o
Title: Re: Hide Tag Special
Post by: ディン1031 on October 07, 2008, 12:57:49 AM
Quote from: FIICh on October 01, 2008, 06:52:40 AM
While this always work properly installed, I have only the problem that will not let me come to set it in the section "Posts and Topics" in the administration area of my body. When I want to access this section to set the mod I open a blank page.

I have a log:
8: Array to string conversion
File: ... / Sources / Display.php
Line: 182

Thank you.
Hi can you attach your Display.php file? Because i can not reproduce it.

Quote from: allumius on October 06, 2008, 02:02:19 PM
I have a problem

When i install this mod, all install is ok but i cant see the mod'option in admin panel
i have smf 1.1.6, english and default theme
if i tray to unisntal, all options are ERROR   :o :o :o
Than i think the mod is not installed by the Package Parser, you can easy find this out when you download the load.php and search for load_OnlineColors. If this not in the file, than you parser did not his work ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: allumius on October 08, 2008, 06:00:32 AM
well, now i can instal and unistall this mod and work fine but....
i have 1.1.6 an Damp theme and spanis_es_Utf8 lenguaje.
i dont know why but when i install this mod, the user cant register because the visual verification image does not appear, in his place a X appears, but if i change a english lenguaje, the visual verification image work fine  :o :o :o :o
Some idea?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 08, 2008, 07:42:27 AM
Quote from: allumius on October 08, 2008, 06:00:32 AM
well, now i can instal and unistall this mod and work fine but....
i have 1.1.6 an Damp theme and spanis_es_Utf8 lenguaje.
i dont know why but when i install this mod, the user cant register because the visual verification image does not appear, in his place a X appears, but if i change a english lenguaje, the visual verification image work fine  :o :o :o :o
Some idea?
Oo what have my mod to do with the verification image...

Okay i would say i will look into the spain translation if there is something wrong, but if there is an error in it that it would be generate template parse error...

You can install the "Load Standard Language" for that time and you can look if it work than, but i can not give any warranty for this.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: allumius on October 08, 2008, 07:50:40 AM
i dont what have your mod to do with the verification image but..
I have install a new SMF and if i install your mod is first place, the verification image not work in spanish_es_uft8.
If i delete the smf, install a new smf, install any other mod, verification image work in spanish_es_uft8, but after i install your mod, and visual image "crash"  :o :o :o
Title: Re: Hide Tag Special
Post by: ディン1031 on October 08, 2008, 09:08:30 AM
oO where is your "spanish_es_uft8" translation for this mod?

Because if it work in English and not in Spanish than there must be an error in it oO. Or did you not translate the mod?

Did this also happen after you install this mod -> http://custom.simplemachines.org/mods/index.php?mod=615  (Only for this test, you can uninstall it after the test).

Next question if you open this page is there any error on your error log? ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 08, 2008, 03:38:44 PM
i want it working on 2.0.4 beta :P

btw thx for this great mod
Title: Re: Hide Tag Special
Post by: ディン1031 on October 09, 2008, 12:14:32 AM
Quote from: okae on October 08, 2008, 03:38:44 PM
i want it working on 2.0.4 beta :P

btw thx for this great mod
The Version 2.2.3 work together with 2.0. beta 4 ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 09, 2008, 06:21:21 PM
Quote from: ディン1031 on October 09, 2008, 12:14:32 AM
Quote from: okae on October 08, 2008, 03:38:44 PM
i want it working on 2.0.4 beta :P

btw thx for this great mod
The Version 2.2.3 work together with 2.0. beta 4 ;).

Bye
DIN1031

are you sure? because i cant make it work. i cant see the hide options.
maybe you can make a fullmod for 2.0.4?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 10, 2008, 12:15:43 AM
Quote from: okae on October 09, 2008, 06:21:21 PM
Quote from: ディン1031 on October 09, 2008, 12:14:32 AM
Quote from: okae on October 08, 2008, 03:38:44 PM
i want it working on 2.0.4 beta :P

btw thx for this great mod
The Version 2.2.3 work together with 2.0. beta 4 ;).

Bye
DIN1031

are you sure? because i cant make it work. i cant see the hide options.
maybe you can make a fullmod for 2.0.4?
This mod work in 2.0. Beta 4, i tested it... and it work fine with that version...
Switch to the englisch language than you will see an option under "Admin" -> "Post and Topics" -> "Hide Tag Special".
The Version 2.2.3 is only for the beta versions, and will not work on older smf versions...

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 10, 2008, 06:17:14 AM
i download your pack HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip use the instrucctions for 2.0.4 ( replace /sources and others files, all is ok ) in the admin panel all is ok, when i go to post something.... where is the hide option in advanced options?

and in a fresh install of smf 2.0.4... i upload your pack HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip and no buttons in admin panel no buttons in post options...

maybe i need to install it on a fresh install of smf and with manual instrucctions?¿

pd: sorry for my bad english. and thx for this mod.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 10, 2008, 06:52:55 AM
Quote from: okae on October 10, 2008, 06:17:14 AM
i download your pack HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip use the instrucctions for 2.0.4 ( replace /sources and others files, all is ok ) in the admin panel all is ok, when i go to post something.... where is the hide option in advanced options?

and in a fresh install of smf 2.0.4... i upload your pack HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip and no buttons in admin panel no buttons in post options...

maybe i need to install it on a fresh install of smf and with manual instrucctions?¿

pd: sorry for my bad english. and thx for this mod.
Ah you did a manual install... than you need to clear you language file cache under the common maintenance.

And it's not SMF 2.0.4 it's SMF 2.0.b4 it's a beta version :D.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 10, 2008, 07:35:11 AM
ok, with a fresh install of smf 2.0b4... upload the package apply mod... dont work.
let me tell you what i am doing:

1- install smf 2.0b4
2- go to "Packages->download packages->Upload a Package"
3-upload the packqage HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip
4-clean the cache file


in "Posts and Topics"  hide section appear... in packages->installed packages i have: 1. Hide Tag 2.2.3; but when i go to post no hide options appear.

whats happend?
Title: Re: Hide Tag Special
Post by: zendengoh on October 12, 2008, 01:39:02 PM
i have install the hidetagspecial171 for my smf 1.1.6, but i didnt see the [hide] tag show at my reply page, may i know how to make it works?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 13, 2008, 02:03:07 AM
Quote from: okae on October 10, 2008, 07:35:11 AM
ok, with a fresh install of smf 2.0b4... upload the package apply mod... dont work.
let me tell you what i am doing:

1- install smf 2.0b4
2- go to "Packages->download packages->Upload a Package"
3-upload the packqage HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip
4-clean the cache file


in "Posts and Topics"  hide section appear... in packages->installed packages i have: 1. Hide Tag 2.2.3; but when i go to post no hide options appear.

whats happend?

1- install smf 2.0b4
2- go to "Packages->download packages->Upload a Package"
3-upload the packqage HideTagSpecial223_(ONLY_FOR_2.0BetaX).zip
4-Install the Mod
5-clean the cache file (Normal not needed if you install it via package manager).



Quote from: zendengoh on October 12, 2008, 01:39:02 PM
i have install the hidetagspecial171 for my smf 1.1.6, but i didnt see the [hide] tag show at my reply page, may i know how to make it works?

You would like to have a button for this? ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 13, 2008, 06:12:11 AM
obviously:

in "Posts and Topics"  hide section appear... in packages->installed packages i have: 1. Hide Tag 2.2.3; but when i go to post no hide options appear; so obviously i install the mod after upload it...

again...whats happend?

Title: Re: Hide Tag Special
Post by: ディン1031 on October 13, 2008, 07:45:17 AM
Quote from: okae on October 13, 2008, 06:12:11 AM
obviously:

in "Posts and Topics"  hide section appear... in packages->installed packages i have: 1. Hide Tag 2.2.3; but when i go to post no hide options appear; so obviously i install the mod after upload it...

again...whats happend?
Oh the options are avaible, than the mod is working allready oO.
There are no option for this on the post part. If you like a button than you need to install this extra.
And now, you can insert [hide]test[/hide] and it will hide this content to other user, as long they don't post something.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 13, 2008, 08:19:20 AM
lol thx for the info.

then i cant unhide test by karma, or by post count based or something else? i think if you add some little options to this mod should be perfect ;)
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2008, 12:46:49 AM
Quote from: okae on October 13, 2008, 08:19:20 AM
lol thx for the info.

then i cant unhide test by karma, or by post count based or something else? i think if you add some little options to this mod should be perfect ;)
Only the options on the settings page are available. Other ways are possible, too. I thought i programm some karma insert for the mod, but i'm not sure, i will look.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 14, 2008, 06:15:44 AM
yeah karma and post count options to see the hide test should be perfect.


pd: thx for this great mod
Title: Re: Hide Tag Special
Post by: ディン1031 on October 14, 2008, 06:39:44 AM
Quote from: okae on October 14, 2008, 06:15:44 AM
yeah karma and post count options to see the hide test should be perfect.


pd: thx for this great mod
All you mention above is already in the mod. (I totally forget that on Version 1.7.0 the karma option is avaible, but only if you enable karma).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 14, 2008, 09:04:41 AM
i am talking about hide post by postcount/karma based on users, i know you have this options in your mod, but the limit is always the same ( i know i can setup it in admin panel ) i want to change this limit by user when you post a hide text, and not by admin-> this make always the same karma limit and postcount limit.

i hope you undersatnd what i want to say, i think you mod can be better with this feature.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 15, 2008, 01:32:31 AM
By user... for each user a sepperate hide option is a heavy change oO.

I think i will not insert that ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on October 15, 2008, 05:42:49 AM
then you are planning to make some changes in this mod or the mod are finishd now?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 15, 2008, 05:59:32 AM
Quote from: okae on October 15, 2008, 05:42:49 AM
then you are planning to make some changes in this mod or the mod are finishd now?
Changes if i've time than i make changes and insert some functions.
But at the moment the mod work fine, the most important things are available so i don't haste with that :D.

And a mod is never finished ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: VladimirSB on October 18, 2008, 04:09:08 AM
Hello, thanks for this mod.

I have one question.

I have SMF  1.1.6 and HideTagSpecial171.

How to modify this thing to hide all between [ code ]  tags ?



Ooh, yes... and another thing,   

my hidden stuff can see only I, and if other member put something in hide tags I cant see that ,  should I check/uncheck some box in hidetag options ?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 18, 2008, 04:16:11 PM
Quote from: VladimirSB on October 18, 2008, 04:09:08 AM
Hello, thanks for this mod.

I have one question.

I have SMF  1.1.6 and HideTagSpecial171.

How to modify this thing to hide all between [ code ]  tags ?



Ooh, yes... and another thing,   

my hidden stuff can see only I, and if other member put something in hide tags I cant see that ,  should I check/uncheck some box in hidetag options ?
Everything will be removed if you use hide even inside of code tags.

You can see hidden content only after you post or you select administrator as group who allowed to see the content without posting ;).

If you post a hidden content that it will be viewable for you, because you automatic create the post and with that you have automatic the right to see this information. ;)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: HuRRR on October 21, 2008, 04:01:01 PM
I don't know if it will interest someone, but I have make this Hide Button, so use it if you want :)
Title: Re: Hide Tag Special
Post by: Rap4Life on October 21, 2008, 05:58:49 PM
hi
i'm runnin' the 1.7.1 version on  smf v.1.1.6 with extreme6 theme.

when i install the package by the package manager nothing happend. it shows that it been installated but nothing realy changes on the forum.

when i try to self install it it gives my error when i upload the ManagePosts.php file.
when i'm try to enter the "posts and topics" it writes:

Parse error: syntax error, unexpected $end in /home/****/domains/*****/public_html/*****/Sources/ManagePosts.php on line 425
line 425 is the last line of the file.


any help?
(sorry for my bad english, it's not my main lang.)

Title: Re: Hide Tag Special
Post by: ディン1031 on October 22, 2008, 12:21:04 AM
Quote from: HuRRR on October 21, 2008, 04:01:01 PM
I don't know if it will interest someone, but I have make this Hide Button, so use it if you want :)

Hi, Thanks a lot, it a alternative button for the Current one nice =).

Quote from: Rap4Life on October 21, 2008, 05:58:49 PM
hi
i'm runnin' the 1.7.1 version on  smf v.1.1.6 with extreme6 theme.

when i install the package by the package manager nothing happend. it shows that it been installated but nothing realy changes on the forum.

when i try to self install it it gives my error when i upload the ManagePosts.php file.
when i'm try to enter the "posts and topics" it writes:

Parse error: syntax error, unexpected $end in /home/****/domains/*****/public_html/*****/Sources/ManagePosts.php on line 425
line 425 is the last line of the file.


any help?
(sorry for my bad english, it's not my main lang.)
You insert all correct, but why did you remove the last lines on the insert ;).
Title: Re: Hide Tag Special
Post by: pandusetiawan on October 22, 2008, 04:37:20 AM
Hi all...

I'm using SMF 2.0 Beta 4, & using this HIDE Tag mod, but the bbchide button attached to this post doesn't work for me....it's says that the version doesn't match.


Anyboy can help me with this prob? thanks...
Title: Re: Hide Tag Special
Post by: ディン1031 on October 22, 2008, 05:22:50 AM
I forgot to make it compatible... (i'm not sure if it work)

But you can try it, on the buttom of the Package Manager there is a option called "version emulation". Open it and insert "2.0 Beta 3.1 Public" click on the submit and than see if the the install appear ;).

If no error ocurr the mod will work in that version.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Rap4Life on October 22, 2008, 09:21:51 AM
Quote from: ディン1031 on October 22, 2008, 12:21:04 AM
Quote from: HuRRR on October 21, 2008, 04:01:01 PM
I don't know if it will interest someone, but I have make this Hide Button, so use it if you want :)

Hi, Thanks a lot, it a alternative button for the Current one nice =).

Quote from: Rap4Life on October 21, 2008, 05:58:49 PM
hi
i'm runnin' the 1.7.1 version on  smf v.1.1.6 with extreme6 theme.

when i install the package by the package manager nothing happend. it shows that it been installated but nothing realy changes on the forum.

when i try to self install it it gives my error when i upload the ManagePosts.php file.
when i'm try to enter the "posts and topics" it writes:

Parse error: syntax error, unexpected $end in /home/****/domains/*****/public_html/*****/Sources/ManagePosts.php on line 425
line 425 is the last line of the file.


any help?
(sorry for my bad english, it's not my main lang.)
You insert all correct, but why did you remove the last lines on the insert ;).


the file you gave me works great!
now i see it in the 'posts and topics'

but nothing happend on the board himself...
i see only  [hide]text[/hide]
it's not working.


can you please edit the files for me?
i'm sure i did something wrong.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 23, 2008, 12:09:13 AM
Did you try yourself to find the mistakes you made? :X

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Sudhakar Arjunan on October 23, 2008, 10:20:42 AM
Could we use it, to hide for specific user.

For instance. - Admin will type a usernumber, and the post should be visible to the user alone.

Will that be possible .
Title: Re: Hide Tag Special
Post by: ディン1031 on October 23, 2008, 12:49:30 PM
Quote from: asudhakar on October 23, 2008, 10:20:42 AM
Could we use it, to hide for specific user.

For instance. - Admin will type a usernumber, and the post should be visible to the user alone.

Will that be possible .
No ;). (Not without some major changes *g*)

I think there is a mod who can do that.
Ah i found it => http://custom.simplemachines.org/mods/index.php?mod=929

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: Sudhakar Arjunan on October 23, 2008, 01:02:01 PM
Thanks for it, i will now try to patch it my 2.0.4 package.

Thanks for it .
Title: Re: Hide Tag Special
Post by: xconnect on October 24, 2008, 03:21:48 AM
I have version 2.2.3 installed on my forum (2.0 Beta 4) and when I go to apply the button it does not allow me to install it  ??? Thanks for any help!
Title: Re: Hide Tag Special
Post by: ディン1031 on October 24, 2008, 06:09:08 AM
Quote from: xconnect on October 24, 2008, 03:21:48 AM
I have version 2.2.3 installed on my forum (2.0 Beta 4) and when I go to apply the button it does not allow me to install it  ??? Thanks for any help!
Gna i knew i fogot to update something <<.

Download it now and try it again...
Title: Re: Hide Tag Special
Post by: xconnect on October 24, 2008, 06:45:44 AM
Thanks  :) I uploaded the new one and it is still not letting me install.  ???
Title: Re: Hide Tag Special
Post by: landrew on October 25, 2008, 06:03:44 AM
I installed the 1.7.1 version on  smf v.1.1.6

But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS
It is possible to give me an advice;
Thanks in advance
Title: Re: Hide Tag Special
Post by: ディン1031 on October 26, 2008, 02:20:48 AM
Quote from: landrew on October 25, 2008, 06:03:44 AM
I installed the 1.7.1 version on  smf v.1.1.6

But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS
It is possible to give me an advice;
Thanks in advance
Other language? ;)

Quote from: xconnect on October 24, 2008, 06:45:44 AM
Thanks  :) I uploaded the new one and it is still not letting me install.  ???
Please use Version 1.0.1 this is the only version that is compatible to 2.0 Beta 4.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: xconnect on October 26, 2008, 02:57:52 AM
When I upload 1.0.1 it shows up as 1.0.0 and will not let me install. It is not recognizing that it is version 1.0.1.
Title: Re: Hide Tag Special
Post by: v@leriunix on October 26, 2008, 11:15:02 AM
"I installed the 1.7.1 version on  smf v.1.1.6

But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS
It is possible to give me an advice;
Thanks in advance"

I have the same problem... The language is Portuguese.
Please help
Title: Re: Hide Tag Special
Post by: v@leriunix on October 26, 2008, 12:18:03 PM
The mod is working  :), But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS.
Please help
Title: Re: Hide Tag Special
Post by: xconnect on October 28, 2008, 02:52:16 AM
Does anyone know how I can make it recognize that it is version 1.0.1 so it will install?
Title: Re: Hide Tag Special
Post by: ディン1031 on October 28, 2008, 05:49:56 AM
Sorry people that i'm not so offen here, but i'm ill at the moment and i can't here evertime :x

Quote from: xconnect on October 28, 2008, 02:52:16 AM
Does anyone know how I can make it recognize that it is version 1.0.1 so it will install?
Sorry i uploaded the wrong version... download the as Fix marked version than it should install on 2.0 Beta 4.

Quote from: v@leriunix on October 26, 2008, 12:18:03 PM
The mod is working  :), But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS.
Please help
Quote from: v@leriunix on October 26, 2008, 11:15:02 AM
"I installed the 1.7.1 version on  smf v.1.1.6

But i cant see the tab "HIDE TAG SPECIAL" in ADMIN-POSTS AND TOPICS
It is possible to give me an advice;
Thanks in advance"

I have the same problem... The language is Portuguese.
Please help
Make the language changes on your language or switch for the settings to english or install the Load Standard Language (http://custom.simplemachines.org/mods/index.php?mod=615).

If you like to know which are the language changes are. Here are they:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=HideTagSpecial171&language
take only the english ones and insert them into your language.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: xconnect on October 28, 2008, 06:07:57 AM
thank you so much! It worked :)
Title: Re: Hide Tag Special
Post by: katb on October 28, 2008, 06:10:07 AM
Quote
Make the language changes on your language or switch for the settings to english or install the Load Standard Language (http://custom.simplemachines.org/mods/index.php?mod=615).

If you like to know which are the language changes are. Here are they:
http://jmusic.ddo.jp/DIN1031/modparser/index.php?action=installMod&smfVersion=1.1.6&name=HideTagSpecial171&language
take only the english ones and insert them into your language.
Bye
DIN1031

same issue here also not showing in admin panel and not working hide tage. Installation went smootly but not showing . When i tried to uninstall it is showing errors

1.     Execute Modification     ./Sources/ManagePosts.php     Test failed
2.    Execute Modification    ./Sources/Display.php    Test failed
3.    Execute Modification    ./Sources/Post.php    Test failed
4.    Execute Modification    ./Sources/Search.php    Test failed
5.    Execute Modification    ./Sources/Subs.php    Test failed
6.    Execute Modification    ./Themes/default/Admin.template.php    Test failed
7.    Execute Modification    ./Sources/Post.php    Test failed
8.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test failed
9.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
10.    Execute Modification    ./Themes/default/languages/index.english.php    Test failed

but installation time it was not showing any error. I tried  the links above posted, even my default language is english only . Please advice. Thanks in advance
Title: Re: Hide Tag Special
Post by: katb on October 28, 2008, 06:14:35 AM
sorry forgot to mention i am using default smf theme only
Title: Re: Hide Tag Special
Post by: katb on October 28, 2008, 06:24:17 AM
Again i tired version 171 when i click apply mode it is showing following

Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/ManagePosts.php    Test successful
2.    Execute Modification    ./Sources/Display.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Sources/Search.php    Test successful
5.    Execute Modification    ./Sources/Subs.php    Test successful
6.    Execute Modification    ./Themes/default/Admin.template.php    Test successful
7.    Execute Modification    ./Sources/Post.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test successful
9.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
10.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
11.    Execute Modification    ./Themes/default/languages/Admin.english-utf8.php    Skipping file
12.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Skipping file
13.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
14.    Execute Modification    ./Themes/default/languages/Admin.german.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Help.german.php    Skipping file
16.    Execute Modification    ./Themes/default/languages/index.german.php    Skipping file
17.    Execute Modification    ./Themes/default/languages/Admin.german-utf8.php    Skipping file
18.    Execute Modification    ./Themes/default/languages/Help.german-utf8.php    Skipping file
19.    Execute Modification    ./Themes/default/languages/index.german-utf8.php    Skipping file
20.    Execute Modification    ./Themes/default/languages/Admin.greek-utf8.php    Skipping file
21.    Execute Modification    ./Themes/default/languages/Help.greek-utf8.php    Skipping file
22.    Execute Modification    ./Themes/default/languages/index.greek-utf8.php    Skipping file
23.    Execute Modification    ./Themes/default/languages/Admin.turkish.php    Skipping file
24.    Execute Modification    ./Themes/default/languages/Help.turkish.php    Skipping file
25.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file
26.    Execute Modification    ./Themes/default/languages/Admin.russian.php    Skipping file
27.    Execute Modification    ./Themes/default/languages/Help.russian.php    Skipping file
28.    Execute Modification    ./Themes/default/languages/index.russian.php    Skipping file
29.    Execute Modification    ./Themes/default/languages/Admin.russian-utf8.php    Skipping file
30.    Execute Modification    ./Themes/default/languages/Help.russian-utf8.php    Skipping file
31.    Execute Modification    ./Themes/default/languages/index.russian-utf8.php    Skipping file
32.    Execute Modification    ./Themes/default/languages/Admin.czech.php    Skipping file
33.    Execute Modification    ./Themes/default/languages/Help.czech.php    Skipping file
34.    Execute Modification    ./Themes/default/languages/index.czech.php    Skipping file
35.    Execute Modification    ./Themes/default/languages/Admin.czech.php    Skipping file
36.    Execute Modification    ./Themes/default/languages/Help.czech.php    Skipping file
37.    Execute Modification    ./Themes/default/languages/index.czech.php    Skipping file

When i click install it shows following message

Extracting Package
The package was installed successfully. You should now be able to use whatever functionality it adds or changes; or not be able to use functionality it removes.

but under posts and topic no hide tag as well as hide tage is not working .


Again when i tried to uninstall same error message

Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Uninstall Actions
Uninstall Actions "Hide Tag":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/ManagePosts.php    Test failed
2.    Execute Modification    ./Sources/Display.php    Test failed
3.    Execute Modification    ./Sources/Post.php    Test failed
4.    Execute Modification    ./Sources/Search.php    Test failed
5.    Execute Modification    ./Sources/Subs.php    Test failed
6.    Execute Modification    ./Themes/default/Admin.template.php    Test failed
7.    Execute Modification    ./Sources/Post.php    Test failed
8.    Execute Modification    ./Themes/default/languages/Admin.english.php    Test failed
9.    Execute Modification    ./Themes/default/languages/Help.english.php    Test failed
10.    Execute Modification    ./Themes/default/languages/index.english.php    Test failed
11.    Execute Modification    ./Themes/default/languages/Admin.english-utf8.php    Skipping file
12.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Skipping file
13.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Skipping file
14.    Execute Modification    ./Themes/default/languages/Admin.german.php    Skipping file
15.    Execute Modification    ./Themes/default/languages/Help.german.php    Skipping file
16.    Execute Modification    ./Themes/default/languages/index.german.php    Skipping file
17.    Execute Modification    ./Themes/default/languages/Admin.german-utf8.php    Skipping file
18.    Execute Modification    ./Themes/default/languages/Help.german-utf8.php    Skipping file
19.    Execute Modification    ./Themes/default/languages/index.german-utf8.php    Skipping file
20.    Execute Modification    ./Themes/default/languages/Admin.greek-utf8.php    Skipping file
21.    Execute Modification    ./Themes/default/languages/Help.greek-utf8.php    Skipping file
22.    Execute Modification    ./Themes/default/languages/index.greek-utf8.php    Skipping file
23.    Execute Modification    ./Themes/default/languages/Admin.turkish.php    Skipping file
24.    Execute Modification    ./Themes/default/languages/Help.turkish.php    Skipping file
25.    Execute Modification    ./Themes/default/languages/index.turkish.php    Skipping file


Please any help appreciated, thanks in advance 
Title: Re: Hide Tag Special
Post by: katb on October 28, 2008, 08:11:01 AM
Please can someone please look into this. We were using this mod from last 3 years and lots of posts are hided using this tag...now it is not working anymore. And because of this forum is in maintenance mod.
Title: Re: Hide Tag Special
Post by: ディン1031 on October 28, 2008, 09:39:10 AM
Hello, I'm living persan and i need some sleep i'm very ill... you could be happy that i answer *angrylook*

So i try to understand it oO.
I don't understand the problem... it could be possible that i stand a step a side me <<.

I try again what i understand...

You can install the Mod but you can not deinstall the mod?
So i think your package parser made not one change to the files.
After you succefull install this mod, are the files who need changes are really changed? Or is the size the same as before?
Can you look into you error log are there any errors?

I think there is a permission problem on you server.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: katb on October 28, 2008, 12:52:27 PM
Quote from: ディン1031 on October 28, 2008, 09:39:10 AM
Hello, I'm living persan and i need some sleep i'm very ill... you could be happy that i answer *angrylook*

So i try to understand it oO.
I don't understand the problem... it could be possible that i stand a step a side me <<.

I try again what i understand...

You can install the Mod but you can not deinstall the mod?
So i think your package parser made not one change to the files.
After you succefull install this mod, are the files who need changes are really changed? Or is the size the same as before?
Can you look into you error log are there any errors?

I think there is a permission problem on you server.

Bye
DIN1031

sorry for bothering you i have manually installed  the mod


Title: Re: Hide Tag Special
Post by: ディン1031 on October 29, 2008, 02:23:48 AM
Quote from: katb on October 28, 2008, 12:52:27 PM
sorry for bothering you i have manually installed  the mod
And did it work now? :)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: katb on October 29, 2008, 02:53:26 AM
Quote from: ディン1031 on October 29, 2008, 02:23:48 AM
Quote from: katb on October 28, 2008, 12:52:27 PM
sorry for bothering you i have manually installed  the mod
And did it work now? :)

Bye
DIN1031

Working ... but having some problems, when r i tried the modifications on subs.php, all the posts get  blanked, i mean i can open any thread posts but  showing blank posts, if i restore original subs.php it will come back then hide tag will not work, all other files modifications also i done.


What i did i copied subs.php from my old forum( there i used same mod), it works fine, but problem is in forum error log lot of errors are coming related to subs.php, because some of the other mods i previously used in my old  smf forum i am not using here, so it is throwing erors related to that...
Title: Re: Hide Tag Special
Post by: baijianpeng on November 07, 2008, 10:18:29 PM
I tested this Mod today, it worked very good.

However, when a public visitor reading a post, part of it hidden, then the visitor can't know someting was hidden since there is no messags to remind him to login in and reply.

Hope the author will improve this Mod by adding a new option, to allow there show some reminding text to tell the visitor, such as : Here some texts were hidden, you must login in and reply to see it.

Thanks.
Title: Re: Hide Tag Special
Post by: sombra on November 07, 2008, 11:08:11 PM
well im using 2.04 beta and i have installed againt everything

theme darkbreak

now i want to know how i get to put the hide botom in my bbcode bar


sorry for my bad english but im triying so hehee

other thing how can i download the BBC Button im triying from the atachment but i just download a index file
Title: Re: Hide Tag Special
Post by: ディン1031 on November 08, 2008, 09:47:16 AM
Quote from: baijianpeng on November 07, 2008, 10:18:29 PM
However, when a public visitor reading a post, part of it hidden, then the visitor can't know someting was hidden since there is no messags to remind him to login in and reply.

Hope the author will improve this Mod by adding a new option, to allow there show some reminding text to tell the visitor, such as : Here some texts were hidden, you must login in and reply to see it.
Thanks.
This is a standard, if you not disable that the information is not shown to guest than guest will see this information. Normal you can insert any text you like as information.

Quote from: sombra on November 07, 2008, 11:08:11 PM
well im using 2.04 beta and i have installed againt everything

theme darkbreak

now i want to know how i get to put the hide botom in my bbcode bar


sorry for my bad english but im triying so hehee

other thing how can i download the BBC Button im triying from the atachment but i just download a index file
The First post contain a package HideTagSpecialBBCButton101Fix.zip this will install a button for hide tag.

Oh you tried it already, strange i can click on it and it work oO. I would say try it again, if you've problems again write me a pm i will sent you and alternative download.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: sombra on November 08, 2008, 11:56:09 AM
It seems that you are not allowed to download or view attachments on this board.

the index that i download sends me to a page to log in i do it and sends me to the forum main page
then i try again to download and do the same thing over and over again
Title: Re: Hide Tag Special
Post by: sombra on November 08, 2008, 01:59:50 PM
thanks working great
Title: Re: Hide Tag Special
Post by: aED on November 25, 2008, 08:08:00 AM
Hi

Does the latest version can upgrade the older version of this mod because i manually installed it before and i cant uninstall it now..

I just want to upgrade because of some bugs in the older version but my problem is i dont know if its ok to overwrite the old version...
Title: Re: Hide Tag Special
Post by: okae on November 25, 2008, 09:08:10 AM
owners of a hide post cant read his post untill they reach the minimun postcount?
Title: Re: Hide Tag Special
Post by: ディン1031 on November 25, 2008, 09:27:38 AM
Quote from: okae on November 25, 2008, 09:08:10 AM
owners of a hide post cant read his post untill they reach the minimun postcount?
Yes because it's a logic check. But it detect on modify that he is the owner and allowed to see it :). On the normal thread display he should not see it.

Quote from: aED on November 25, 2008, 08:08:00 AM
Hi

Does the latest version can upgrade the older version of this mod because i manually installed it before and i cant uninstall it now..

I just want to upgrade because of some bugs in the older version but my problem is i dont know if its ok to overwrite the old version...
Upgrade are in the packages since version 1.2.7 to the current one. And if you upgrade first to 1.2.7 than since version 1.2.0. ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: okae on November 25, 2008, 05:10:33 PM
can you make that owners can see his hide post on the normal thread display not only on "modify"?

pd: thx for this great mod :)
Title: Re: Hide Tag Special
Post by: ディン1031 on November 26, 2008, 12:40:43 AM
Quote from: okae on November 25, 2008, 05:10:33 PM
can you make that owners can see his hide post on the normal thread display not only on "modify"?

pd: thx for this great mod :)
Difficult because i've not the informations i need on that function. And each time load the data which posts are user related on that function produce a lot of queries. And will slow down the function. But i will look if SMF store some informations that i can use for this. (But i think not :X).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: tyhgdgh on November 27, 2008, 01:18:44 AM
I installed this, what ever i do, and members of my forum, nothing can be seen, you cant do anything, even when i edit and uninstall all files, HELP!
Title: Re: Hide Tag Special
Post by: tyhgdgh on November 27, 2008, 01:40:17 AM
great!!!
even with older files it still doesnt work!!!

Please help!!
Title: Re: Hide Tag Special
Post by: ディン1031 on November 27, 2008, 03:49:35 AM
Quote from: Nfanthr33 on November 27, 2008, 01:40:17 AM
great!!!
even with older files it still doesnt work!!!
Than it has nothing to do with the mod <<. (The mod is well tested and work fine.)
The problem must lie somewhere else.
I've not the slightest clue what the problem is... Can you look into your error log and see what kind off errors appear?
Title: Re: Hide Tag Special
Post by: Xopy on November 29, 2008, 05:59:56 AM
Thanks guy.
Title: Re: Hide Tag Special
Post by: Xopy on November 29, 2008, 06:02:39 AM
Well, how can I do it, that it is possible to see it, if the Users use the "Thanks"-Button, that they see the Hidden text ?  ::)
Title: Re: Hide Tag Special
Post by: ディン1031 on November 29, 2008, 07:51:19 AM
Quote from: Xopy on November 29, 2008, 06:02:39 AM
Well, how can I do it, that it is possible to see it, if the Users use the "Thanks"-Button, that they see the Hidden text ?  ::)
Yes if you installed one of the both thank you mods, than there are extra options to combine it with the "Thank You Mod" or the "Thank-O-Matic".

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: CMPro on December 05, 2008, 03:44:50 PM
Hi all


I really need to use hide tag for my forum but dunno how
to apply it ?!!!

My SMF forum version is >>> 1.1.7

So help me plz ? (http://www.getsmile.com/emoticons/energizer-smileys-51935/crying10.gif)
Title: Re: Hide Tag Special
Post by: CMPro on December 06, 2008, 11:16:36 AM
Somebody help me please ?

(http://i33.tinypic.com/2s6vs78.png)
Title: Re: Hide Tag Special
Post by: ディン1031 on December 08, 2008, 07:09:07 AM
Quote from: CMPro on December 06, 2008, 11:16:36 AM
Somebody help me please ?

(http://i33.tinypic.com/2s6vs78.png)
I don't see the error oO.
If it an error on the language files, than you can ignore it and it should be installable.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: CMPro on December 08, 2008, 07:33:55 AM
So what's this error in screenshot

(http://i38.tinypic.com/9lhh0x.png)

And what's the compatible hide tag for smf 1.1.7 please ?
Edit: i mean which one of them is compatible with version 1.1.7 ?
(http://i37.tinypic.com/1621nbn.png)

Help me please please please ?
(http://www.getsmile.com/emoticons/energizer-smileys-51935/crying12.gif)
Title: Re: Hide Tag Special
Post by: ディン1031 on December 08, 2008, 02:40:16 PM
Quote from: CMPro on December 08, 2008, 07:33:55 AM
So what's this error in screenshot

(http://i38.tinypic.com/9lhh0x.png)

And what's the compatible hide tag for smf 1.1.7 please ?
Edit: i mean which one of them is compatible with version 1.1.7 ?
(http://i37.tinypic.com/1621nbn.png)

Help me please please please ?
(http://www.getsmile.com/emoticons/energizer-smileys-51935/crying12.gif)
First the mod is full compatible to SMF 1.1.7, and i assume that your error only belong to a language file... because the standard files look normal to me ;). Use Version 1.7.x for SMF 1.1.7. :x

Look down the page and look if the languages are needed for your forum, if not than go on with the installation.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: CMPro on December 10, 2008, 10:54:25 AM
I use from 1.7.1 for my SMF 1.1.7 but it dosen't appear in hide tag menu bar  :-[ Why ?

(http://i38.tinypic.com/xpyati.png)

Help me please ???
Title: Re: Hide Tag Special
Post by: ディン1031 on December 10, 2008, 03:06:29 PM
Quote from: CMPro on December 10, 2008, 10:54:25 AM
I use from 1.7.1 for my SMF 1.1.7 but it dosen't appear in hide tag menu bar  :-[ Why ?

(http://i38.tinypic.com/xpyati.png)

Help me please ???
Because it's not standard and if you write one more pm to me about this than i will ignore it!
You need to install the Button extra, it's attached to the first post.

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: CMPro on December 10, 2008, 03:31:07 PM
Sorry i don't want bothering you with my pm or reply but i really need help about it!  :(

How to install the Button extra plz ?
Title: Re: Hide Tag Special
Post by: ディン1031 on December 10, 2008, 03:50:13 PM
http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=73649 download and install.
Title: Re: Hide Tag Special
Post by: CMPro on December 10, 2008, 04:02:10 PM
Thank you but how to hide links please ?  :-[


I want to access the pm box members so how to do this please ?
Title: Re: Hide Tag Special
Post by: ディン1031 on December 10, 2008, 04:04:18 PM
Quote from: CMPro on December 10, 2008, 04:02:10 PM
Thank you but how to hide links please ?  :-[


I want to access the pm box members so how to do this please ?
[hide]link[/hide] now it's not viewable until a user post oO,

Second thing no answer, this is not allowed by smf.
Title: Re: Hide Tag Special
Post by: CMPro on December 10, 2008, 04:17:44 PM
When i [hide]link[/hide] no link hidden for me so is this normal for admin cause i am admin too ?


Take a look at screenshot please ?
(http://i36.tinypic.com/28vwort.jpg)
Title: Re: Hide Tag Special
Post by: ディン1031 on December 11, 2008, 05:51:31 AM
Quote from: CMPro on December 10, 2008, 04:17:44 PM
When i [hide]link[/hide] no link hidden for me so is this normal for admin cause i am admin too ?


Take a look at screenshot please ?
(http://i36.tinypic.com/28vwort.jpg)
First think a little bit, you post something with a hide tag, an now it's logical that you post in the thread, so it logical that you can see it :).

Logout and look as guest, than you will see the link is not there.
The admin can normal not see it only if you allow this.

Yes if you like to give some informations to the user than you should insert something in the field oO.
(Why did i wrote the complete help information if no one read it <<.)

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: NHWD on December 13, 2008, 06:58:25 PM
can u help me out with this i tried installing it and got this

"Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
"
Title: Re: Hide Tag Special
Post by: ディン1031 on December 15, 2008, 12:50:13 AM
And what kind of error appear? :X
Any other mods installed?
Title: Re: Hide Tag Special
Post by: NHWD on December 17, 2008, 12:30:18 AM
idk anymore my board just disapperead it doesnt show all i get is a blank space and in my file manager some files called core.(sometype of number) popped out of nowhere ill reinstall it soon
Title: Re: Hide Tag Special
Post by: Mraza on December 26, 2008, 03:10:58 PM
Hi !

thanks for this mod but i am having a problem here. i am using smf version 1.7.7 and when i tried to installed this mod manually i made changings in these files as describe in the tutorial here :

http://custom.simplemachines.org/mods/index.php?action=parse (http://custom.simplemachines.org/mods/index.php?action=parse)

in these files :

./Sources/ManagePosts.php
./Sources/Display.php
./Sources/Post.php
./Sources/Search.php
./Sources/Subs.php
./Themes/default/Admin.template.php
./Themes/default/languages/Admin.english.php
./Themes/default/languages/Help.english.php
./Themes/default/languages/index.english.php

and there were some other files labeled "This operation isn't vital to the installation of this mod.". cause maybe i am using only english version that's why i never see this files in my smf directory. so now the problem is everything is installed manually and i can see the hide tag option in admin post and topics but when i went to post something in forum i will get this error :
   
The following error or errors occurred while posting this message:The message body was left empty.

and i can't see the posts inside then i just remove all the setting which i made manually and try to install the package but it says the package i want to apply is not compatible with this version. i tried one by one all the packages available there and i also checked there is no error log even on the forum and even in the mysql database....any help please
Title: Re: Hide Tag Special
Post by: SchinTeth on January 10, 2009, 12:19:50 PM
Cool mod dude, really. I like it alot.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 10, 2009, 03:04:10 PM
Quote from: mraza on December 26, 2008, 03:10:58 PM
The following error or errors occurred while posting this message:The message body was left empty.
You can not use [hide][/hide] only, you need to insert at least a letter to be seen.

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: Polymath on January 14, 2009, 04:08:37 AM
Quote from: ディン1031 on December 10, 2008, 03:50:13 PM
http://www.simplemachines.org/community/index.php?action=dlattach;topic=32954.0;attach=73649 download and install.

What does that do? Put an image in images/bbc ?

Big deal. I got image in there and no button in post template.
SMF 1.1.7 and BlackRain theme.

EDIT: Sorry. I put it through a package parser and it just showed placing the image, no code. I have it working by installing but I would rather hard code it.

Can I please get the post.template code and so forth
This is all the package info.xml says:
Quote<install for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1-1.1.9">
      <readme type="inline">
Version 1.1+ Install      
This mod add the bbc button for the [hide][/hide] in the post template.
It's a sepperate thing, because some people want it...
Copyright 2005-2008 by DIN1031 @ www.ayu-kult.de/forum/
      </readme>
      <require-file name="hide.gif" destination="$themedir/images/bbc" />
      <modification format="boardmod">HideTagSpecialBBCButton1.1.x.mod</modification>
   </install>
   <uninstall for="1.1 RC2, 1.1 RC3, 1.1, 1.1.1-1.1.9">
      <modification format="boardmod" reverse="true">HideTagSpecialBBCButton1.1.x.mod</modification>
   </uninstall>
   <install for="2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 Beta 4 Public">
      <readme type="inline">
Version 2.0 Beta 3.1 Public Install      
This mod add the bbc button for the [hide][/hide] in the post template.
It's a sepperate thing, because some people want it...

I can not say if it work together with the wycsiwycg postoption... i can not test it at the moment 8).

Copyright 2005-2008 by DIN1031 @ www.ayu-kult.de/forum/
      </readme>
      <require-file name="hide.gif" destination="$themedir/images/bbc" />
      <modification format="boardmod">HideTagSpecialBBCButton2.0.x.mod</modification>
   </install>
   <uninstall for="2.0 Beta 3.1 Public, 2.0 Beta 4, 2.0 Beta 4 Public">
      <modification format="boardmod" reverse="true">HideTagSpecialBBCButton2.0.x.mod</modification>
   </uninstall>
</package-info>


Or does that instal code onto my temple for the button?
Title: Re: Hide Tag Special
Post by: ディン1031 on January 14, 2009, 06:21:16 AM
The

<modification format="boardmod">HideTagSpecialBBCButton1.1.x.mod</modification>

This change the template to add the button into the SMF 1-1 Version.


<modification format="boardmod">HideTagSpecialBBCButton2.0.x.mod</modification>

And this change the SMF 2.0 Version ;).

Depend on the Version you have and template you use if you need to do something or not ;).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: micky_2556 on January 14, 2009, 11:31:48 AM
hello i want to ask about i there are any optoin to view a photo in topic or post  that means there are here hidden links or no
Title: Re: Hide Tag Special
Post by: poolhall on January 14, 2009, 01:37:12 PM
Installed the mod without any problem. It's a really nice one, thank you, ディン1031, very much!

I have a request for an additional functionality for this mod. Would it be at all possible for you to add this trigger for unhiding the hidden content: closing the thread? E.g., users post hidden messages in the thread, and when an admin/mod closes the thread, all hidden messages in it get automatically unhidden.

This feature may be really useful for forums where users play various games: they place their guesses, answers or bets, which are hidden to other users, and when a moderator closes the thread to announce the game results, everyone can see each others' guess.

Thank you!
Title: Re: Hide Tag Special
Post by: ディン1031 on January 15, 2009, 01:49:17 AM
Quote from: micky_2556 on January 14, 2009, 11:31:48 AM
hello i want to ask about i there are any optoin to view a photo in topic or post  that means there are here hidden links or no
oO i understand nothing.
This mod hide inside [hide][/hide] everything from others until they post to the topic.

@poolhall
Hmmm very good idea :).
Never thought on it, but you're right could be an usefull feature. :)

I will take it into the todo list.
Title: Re: Hide Tag Special
Post by: X-Crew on January 15, 2009, 02:35:16 AM
Hello!

I upgraded my board to SMF 2.0 Beta 4 few days ago and i have one (big) problem.

Hide Tag is working fine when posting/viewing messages, but, if i click on "Edit" and then save the post, i only see Hidden Text Information instead of post, it just rewrites post with Hidden Text Information!

Its really annoying because me (and my users too) can't edit posts.

Any solution? I am using newest version of Hide Tag Special.

Thank you in advance.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 15, 2009, 06:05:20 AM
Quote from: X-Crew on January 15, 2009, 02:35:16 AM
Hello!

I upgraded my board to SMF 2.0 Beta 4 few days ago and i have one (big) problem.

Hide Tag is working fine when posting/viewing messages, but, if i click on "Edit" and then save the post, i only see Hidden Text Information instead of post, it just rewrites post with Hidden Text Information!

Its really annoying because me (and my users too) can't edit posts.

Any solution? I am using newest version of Hide Tag Special.

Thank you in advance.
You did not have any errors on the install?

I will look at it, possible in beta 4 is something changed and i did not check it. Or it work in a diffrent way.

Did this also happen if you normal edit the post?

Bye
DIN1031

Title: Re: Hide Tag Special
Post by: poolhall on January 15, 2009, 07:20:26 AM
Quote from: ディン1031 on January 15, 2009, 01:49:17 AM
I will take it into the todo list.

Thanks a lot! I would really appreciate that feature :)
Title: Re: Hide Tag Special
Post by: X-Crew on January 15, 2009, 07:53:26 AM
Quote from: ディン1031 on January 15, 2009, 06:05:20 AM
Quote from: X-Crew on January 15, 2009, 02:35:16 AM
Hello!

I upgraded my board to SMF 2.0 Beta 4 few days ago and i have one (big) problem.

Hide Tag is working fine when posting/viewing messages, but, if i click on "Edit" and then save the post, i only see Hidden Text Information instead of post, it just rewrites post with Hidden Text Information!

Its really annoying because me (and my users too) can't edit posts.

Any solution? I am using newest version of Hide Tag Special.

Thank you in advance.
You did not have any errors on the install?

I will look at it, possible in beta 4 is something changed and i did not check it. Or it work in a diffrent way.

Did this also happen if you normal edit the post?

Bye
DIN1031



Everything was fine @ install.

It does happen when i use normal post edit too.
Title: Re: Hide Tag Special
Post by: ディン1031 on January 15, 2009, 02:24:24 PM
So i can not reproduce this error.
I can edit without problems...

Do you have any other mods installed?
How are the settings for this mod?
Can you attach the Post.php?

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: poolhall on January 15, 2009, 02:31:40 PM
I was not able to reproduce that error either. I'm using 2.0 Beta 4.
Title: Re: Hide Tag Special
Post by: micky_2556 on January 15, 2009, 03:20:43 PM
Quote from: ディン1031 on January 15, 2009, 01:49:17 AM
Quote from: micky_2556 on January 14, 2009, 11:31:48 AM
hello i want to ask about i there are any optoin to view a photo in topic or post  that means there are here hidden links or no
oO i understand nothing.
This mod hide inside [hide][/hide] everything from others until they post to the topic.

@poolhall
Hmmm very good idea :).
Never thought on it, but you're right could be an usefull feature. :)

I will take it into the todo list.

thanks for your replay but i ask about  i write the topic and  hide some links in this topic
the regular user must be replay to see what i hide or the links that i was hide

is ther is anry option to view in topic a picture told the user that there is her a hide links you must replay first to see this links

and when they replay they see the hide links

that is what i mean
Title: Re: Hide Tag Special
Post by: ディン1031 on January 16, 2009, 01:30:45 AM
Quote from: micky_2556 on January 15, 2009, 03:20:43 PM
thanks for your replay but i ask about  i write the topic and  hide some links in this topic
the regular user must be replay to see what i hide or the links that i was hide

is ther is anry option to view in topic a picture told the user that there is her a hide links you must replay first to see this links

and when they replay they see the hide links

that is what i mean
Depend on you settings but standard they must reply to see hidden content.

Yes you can add informations that there is an hidden content inside this post, with the information that they need to reply to see it :).

Bye
DIN1031
Title: Re: Hide Tag Special
Post by: micky_2556 on January 16, 2009, 05:36:46 AM
thank you very much its work

thank you
Title: Re: Hide Tag Special
Post by: ディン1031 on January 21, 2009, 09:59:08 AM


Version 1.8.0 (21.01.09)
+ Add Options for show hidden content on locked topics
+ Add Options for automatic hide new topic content on specific boards
! Empty Message is removed, you can post now hide only posts without extra text (inside hide tag there must be something!)
! Preview of hidden content is now working
* Overworked my Code a little bit so that it look a little bit better
+ Add a function to detect hide tag inside a post (if someone need it you can use it) ;)
- Upgrade work only from Version 1.7.1 if you have an older Version upgrade first to 1.7.1 after that you can upgrade to 1.8.0



I work on the SMF 2.0. Version, too. But i will insert there some special options for SMF 2.0, so i need a little bit more time to update this Version. (Example: Unhide content for to approve Posts, at the moment only Admins can see it because they can edit it ;P)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: Sudhakar Arjunan on January 24, 2009, 07:30:28 PM
Quote from: ディン1031 on January 21, 2009, 09:59:08 AM

I work on the SMF 2.0. Version, too. But i will insert there some special options for SMF 2.0, so i need a little bit more time to update this Version. (Example: Unhide content for to approve Posts, at the moment only Admins can see it because they can edit it ;P)


Excellent Update and a Important Mod.

Will wait for the Stable version of 2.0.
Title: Re: Hide Tag Special (V1.8.0)
Post by: bigboss2 on January 25, 2009, 12:50:06 PM
There are lot of problems after I installed it... Let me share my whole story...

I used hide tag special first at SMF 1.7 then Upgraded it to SMF 2.04 Beta. Due to some problems. I reuploaded all files and just connected it with old database.

Then installed hide tag again.... Now problem is that with new groups being added, the hide tag do not work. I added one member as an admin for test and he is not able to see hidden text. Can anyone reproduce the bug...

Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 27, 2009, 01:05:56 AM
Quote from: bigboss2 on January 25, 2009, 12:50:06 PM
There are lot of problems after I installed it... Let me share my whole story...

I used hide tag special first at SMF 1.7 then Upgraded it to SMF 2.04 Beta. Due to some problems. I reuploaded all files and just connected it with old database.

Then installed hide tag again.... Now problem is that with new groups being added, the hide tag do not work. I added one member as an admin for test and he is not able to see hidden text. Can anyone reproduce the bug...
You did install the Mod normal with the package manager?
What are you current settings?
With this little information i can't reproduce it oO.
Is the new Admin a own special group?

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: bigboss2 on January 27, 2009, 03:14:22 AM
Quote from: ディン1031 on January 27, 2009, 01:05:56 AM
You did install the Mod normal with the package manager?
What are you current settings?
With this little information i can't reproduce it oO.
Is the new Admin a own special group?

Bye
DIN1031

Ya Installed the mod with package manager... But when I try to unistall error occurs "This package was either never installed or was already uninstalled - you can't uninstall it now. "

So, it looks migrating from SMF 1.7 to SMF 2.04 Beta incorrectly has created a lot of problems. I was not having too much good knowledge of SMF at the time of upgrading and created a lot of issues.

But manage to upgrade anyhow and made my forum back to normal with smf 2.04.

Please help me. Anytime I create new group and add any member in that group, member cannot see hidden content.

My persmissions are directly taken from registered user and only registration is required to see content..
Title: Re: Hide Tag Special (V1.8.0)
Post by: poolhall on January 27, 2009, 11:30:33 AM
Quote from: ディン1031 on January 21, 2009, 09:59:08 AM


Version 1.8.0 (21.01.09)
+ Add Options for show hidden content on locked topics
+ Add Options for automatic hide new topic content on specific boards

Just came from vacation and am sooo glad to see this! Thanks a lot! Going to test it tonight. :)
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 27, 2009, 02:58:43 PM
Quote from: bigboss2 on January 27, 2009, 03:14:22 AM
Please help me. Anytime I create new group and add any member in that group, member cannot see hidden content.

My persmissions are directly taken from registered user and only registration is required to see content..
Can you make a screenshot of all the hide tag settings you've done, i would like to test it ;).
At the moment i can't recreate this bug, but possible a special settings are the problem :).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: poolhall on January 27, 2009, 07:15:10 PM
Quote from: poolhall on January 27, 2009, 11:30:33 AM
Going to test it tonight. :)

oops, just realized the new release is not for SMF 2.0 yet ;) Patiently waiting... ...
Title: Re: Hide Tag Special (V1.8.0)
Post by: bigboss2 on January 27, 2009, 10:56:26 PM
See the screenshot attached.

More Details :

I created new account made him admin. (No special group, Made directly admin with full rights)
Founder can see all hidden information (links)
But the Admins other founder can see links in some boards and cannot see in the remaining.
I created earlier country name group which created problems related to hidden tags (similar). I deleted those groups.
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 28, 2009, 01:50:06 AM
@bigboss: I will try it, and see if this happen :). (In the next days, i've a lot of other important things to do)
And i see if i can resolve it.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: Kimmie on January 28, 2009, 03:54:14 AM
ok I have an issue and I was finally told after 6 months that its not the SmilieyLimit mod causing the problem, its this mod...lol -- so here we go:



I have both those mods installed. When I have it set to a specific smiliey limit (lets use 3 as an example,) the smiley mod thinks that the hide tags are also smileys (when they are used in conjunction with code tags). What happens is: you cannot use more than 3 TOTAL of all of them (smileys and code/hide tags), or it will not let you post. You get the message" You are only permitted to post up to 3 smileys (which is the standard message for that mod when you try to post mor ethan the limit).


Now, the author of the smileylimit mod says its an issue with this mod, however I would think that the issue lies with his mod because its his mod that is thinking that the hide tags are smileys - howwever, I am not sure so I posted it here for you to analize..lol



You can see our discussion on it here:

http://www.simplemachines.org/community/index.php?topic=107685.new#new
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 28, 2009, 06:17:30 AM
Okay i will look at it :), i will try it together with this mod. But i will test it only with the latest Mod Version =)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: Kimmie on January 28, 2009, 11:38:03 PM
Quote from: ディン1031 on January 28, 2009, 06:17:30 AM
Okay i will look at it :), i will try it together with this mod. But i will test it only with the latest Mod Version =)

Bye
DIN1031


Ok thanks - and keep in mind that I am not running SMF 2.0, I'm running 1.1.5 :)
Title: Re: Hide Tag Special (V1.8.0)
Post by: Maxtor on January 29, 2009, 04:32:49 AM
hello i have Hide Tgs 1.7.0 and a lot of hidden posts.
i want to upgrade to Hide Tags 1.8.0 but i dont want to loose current hidden tags.
what should i do?? Uninstall 1.7.0 and simple install 1.8.0 will work??


I use SMF 1.1.7.
Title: Re: Hide Tag Special (V1.8.0)
Post by: ɔɔɔɔɔɔuɥoɾ on January 29, 2009, 09:45:08 PM
the tags will still remain in the post, so doing that should be fine :)


anyway, i got another question about this.

ok, so i add the tags and it works, that cool, thanks :)

but...  when i edit the post i dont get the same info i had posted before, i just get the hidden post message i put in the settings, so when i save it, thats all i get and i lose my hidden content

any idea's?
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 31, 2009, 05:07:45 AM
Quote from: maxtor on January 29, 2009, 04:32:49 AM
hello i have Hide Tgs 1.7.0 and a lot of hidden posts.
i want to upgrade to Hide Tags 1.8.0 but i dont want to loose current hidden tags.
what should i do?? Uninstall 1.7.0 and simple install 1.8.0 will work??


I use SMF 1.1.7.
Update first to 1.7.1 and than you can update to 1.8.0 :).

Quote from: johncccccc on January 29, 2009, 09:45:08 PM
the tags will still remain in the post, so doing that should be fine :)


anyway, i got another question about this.

ok, so i add the tags and it works, that cool, thanks :)

but...  when i edit the post i dont get the same info i had posted before, i just get the hidden post message i put in the settings, so when i save it, thats all i get and i lose my hidden content

any idea's?
Normal this should not happen which version did you use?
Can you give me an image of the settings, i will try it with this settings.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 31, 2009, 05:58:56 AM
Quote from: bigboss2 on January 27, 2009, 10:56:26 PM
See the screenshot attached.

More Details :

I created new account made him admin. (No special group, Made directly admin with full rights)
Founder can see all hidden information (links)
But the Admins other founder can see links in some boards and cannot see in the remaining.
I created earlier country name group which created problems related to hidden tags (similar). I deleted those groups.

So i tested it with you setting i tried follow way
Admin -> Register Management -> Create Account with amdin rights -> He can see it
User Register -> Admin Update Profile -> Give him Admin -> He can see it
Give an allready exist user admin rights -> Admin Update Profile -> He can see it...

So i will say that i can not reproduce it...

But you give me a nice idea to extent the mod :D




Quote from: Kimmie on January 28, 2009, 03:54:14 AM
ok I have an issue and I was finally told after 6 months that its not the SmilieyLimit mod causing the problem, its this mod...lol -- so here we go:

I have both those mods installed. When I have it set to a specific smiliey limit (lets use 3 as an example,) the smiley mod thinks that the hide tags are also smileys (when they are used in conjunction with code tags). What happens is: you cannot use more than 3 TOTAL of all of them (smileys and code/hide tags), or it will not let you post. You get the message" You are only permitted to post up to 3 smileys (which is the standard message for that mod when you try to post mor ethan the limit).

Now, the author of the smileylimit mod says its an issue with this mod, however I would think that the issue lies with his mod because its his mod that is thinking that the hide tags are smileys - howwever, I am not sure so I posted it here for you to analize..lol

You can see our discussion on it here:

http://www.simplemachines.org/community/index.php?topic=107685.new#new
So you right there is way that the hide tag doesn't count the smilies inside the hidden content, because the complete content is removed when he is checking for smilies :). But it will count the image inside the hidden content before and with each image there could be one more smilie postet ;).
To prevent this he must change something into his mod that only needed if the hide tag special is installed. And i can not insert something because i can not detect the check for the smilies inside the post.

But i found a another bug when you use inline edit you can insert as much smilies as you like *g*, i think this a bug of the mod ;).

Should i give you a way to fix the count inside hidden content?




Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: ɔɔɔɔɔɔuɥoɾ on January 31, 2009, 12:05:32 PM
Hide Tag Reply problem:

Settings image below with more info

Click image for full size.
(http://www.requestiso.com/help/hidetagproblem.jpg) (http://www.requestiso.com/help/hidetagproblem.jpg)


anyway, when i click modify (at top) i see the red circled text in the posting box where i type the post.

now when i click quick modify(bottom) it works correctly, this is all kinda weird


Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on January 31, 2009, 05:29:43 PM
Hmmm thats my standard setting...
I know only that it is not shown after the modify was sent, but it will not lose the data... thats the strange thing... and i tried a lot things now...

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: ɔɔɔɔɔɔuɥoɾ on February 01, 2009, 12:42:15 PM
So, do you have any suggestions as to how i can fix this?

any ideas why quick modify works and normal modify dont?
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on February 01, 2009, 03:11:16 PM
Quote from: johncccccc on February 01, 2009, 12:42:15 PM
So, do you have any suggestions as to how i can fix this?

any ideas why quick modify works and normal modify dont?
What i thought quick did not work... but normal... this is the first time...

Hmmm difficult...
Title: Re: Hide Tag Special (V1.8.0)
Post by: bigboss2 on February 02, 2009, 01:31:04 AM
Quote from: ディン1031 on January 31, 2009, 05:58:56 AM
So i tested it with you setting i tried follow way
Admin -> Register Management -> Create Account with amdin rights -> He can see it
User Register -> Admin Update Profile -> Give him Admin -> He can see it
Give an allready exist user admin rights -> Admin Update Profile -> He can see it...

So i will say that i can not reproduce it...

But you give me a nice idea to extent the mod :D

Remember, I also want to add that, the new admin can see content in the hidden text in some boards. It is not that just he cannot see hidden text. I want to say that it cannot see hidden text in all boards. Do you want test it. I will give you temproray access rights to you to check it.
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on February 02, 2009, 01:57:08 AM
Quote from: bigboss2 on February 02, 2009, 01:31:04 AM
Quote from: ディン1031 on January 31, 2009, 05:58:56 AM
So i tested it with you setting i tried follow way
Admin -> Register Management -> Create Account with amdin rights -> He can see it
User Register -> Admin Update Profile -> Give him Admin -> He can see it
Give an allready exist user admin rights -> Admin Update Profile -> He can see it...

So i will say that i can not reproduce it...

But you give me a nice idea to extent the mod :D

Remember, I also want to add that, the new admin can see content in the hidden text in some boards. It is not that just he cannot see hidden text. I want to say that it cannot see hidden text in all boards. Do you want test it. I will give you temproray access rights to you to check it.
That is something complete diffrent to that what you did say... at the moment this is not supported :x.
But i will see, i can insert a permission for this, but it's difficult because it can be confusing, i will see if i've an idea for this.

/me extents the todo list

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: Kimmie on February 05, 2009, 10:11:46 AM
QuoteTo prevent this he must change something into his mod that only needed if the hide tag special is installed. And i can not insert something because i can not detect the check for the smilies inside the post

I tried to tell him this also but I dont think he liked that too well..lol. (I think he was mad at me because myself and a few others were complaing because it took him 6 months to even respond to our problems).  8)

QuoteSo you right there is way that the hide tag doesn't count the smilies inside the hidden content, because the complete content is removed when he is checking for smilies . But it will count the image inside the hidden content before and with each image there could be one more smilie postet .
To prevent this he must change something into his mod that only needed if the hide tag special is installed. And i can not insert something because i can not detect the check for the smilies inside the post.

But i found a another bug when you use inline edit you can insert as much smilies as you like *g*, i think this a bug of the mod .

Should i give you a way to fix the count inside hidden content?

If there is a bug within your mod, then just make an update when you have time and I will update my mod. I have never had a problem with the hide mod until I installed the smiley limit mod. I spent 6 months trying to get some support on the smiley mod thread only to basically get the response of "not all mods are compatible with other mods"...LOL so I got tired of trying to get it worked out. I ended up uninstalling the smiley mod completely because there is not only a conflict between it and your mod, but there is also a conflist between it, yuor mod,  and the VReport mod. What was happening was, I have several threads that were posted way before the smiley mod was installed that have more than 3 sets of code/hide tags in them and also have actual smileys in them as well. After I installed the smiley limit mod and set that limit to 3, as soon as someone reported one of those older threads, it rendered both the report thread and the actual thread no longer viewable (I was getting Zero Sized Reply Errors on both of them). Needless to say it was a huge mess..lol. I cant get into my pm outbox now either because there are older messages that I have sent to people that contained more than 3 smileys and the code tags were used. Every time I try and go to my outbox I get the Zero Sized Reply error and causes me to not be able to send or receive pms.

that smiley mod caused me ALOT of problems to say the least..lol.
Title: Re: Hide Tag Special (V1.8.0)
Post by: Dzonny on February 05, 2009, 11:48:29 AM
I notice That hide tag dont work after i upgrated my forum to 1.1.8...
Registered members cant see links...
i start cheking all edited files, and i noticed that some code is missing...I'm just edited few files, but in Subs.php there is no this code, that have to be edited:
// Generate a random seed and ensure it's stored in settings.
That code dont exist...
This is the mod:
http://custom.simplemachines.org/mods/index.php?action=parse
My theme Delber MC

Can someone help me with this, i'll be grateul...
Someone also have this problem?
Title: Re: Hide Tag Special (V1.8.0)
Post by: ɔɔɔɔɔɔuɥoɾ on February 05, 2009, 02:34:53 PM
Quote from: ディン1031 on February 01, 2009, 03:11:16 PM
Quote from: johncccccc on February 01, 2009, 12:42:15 PM
So, do you have any suggestions as to how i can fix this?

any ideas why quick modify works and normal modify dont?
What i thought quick did not work... but normal... this is the first time...

Hmmm difficult...

Well im glad you understand the problem and are working on it, if you need an administrator or any account on my forum to help resolve the issue, just ask and i will PM it to you thanks
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on February 05, 2009, 02:58:47 PM
Quote from: Dzonny on February 05, 2009, 11:48:29 AM
I notice That hide tag dont work after i upgrated my forum to 1.1.8...
Registered members cant see links...
i start cheking all edited files, and i noticed that some code is missing...I'm just edited few files, but in Subs.php there is no this code, that have to be edited:
// Generate a random seed and ensure it's stored in settings.
That code dont exist...
This is the mod:
http://custom.simplemachines.org/mods/index.php?action=parse
My theme Delber MC

Can someone help me with this, i'll be grateul...
Someone also have this problem?
Are you sure this is missing oO this is an smf standard...

You can insert the function also before the ?> inside the Subs.php this will work also ;).



Quote from: johncccccc on February 05, 2009, 02:34:53 PM
Quote from: ディン1031 on February 01, 2009, 03:11:16 PM
Quote from: johncccccc on February 01, 2009, 12:42:15 PM
So, do you have any suggestions as to how i can fix this?

any ideas why quick modify works and normal modify dont?
What i thought quick did not work... but normal... this is the first time...

Hmmm difficult...

Well im glad you understand the problem and are working on it, if you need an administrator or any account on my forum to help resolve the issue, just ask and i will PM it to you thanks
If i've time i will sent you a pm ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: Dzonny on February 06, 2009, 10:47:45 AM
I've install 1.8.0 version of this mod manualy, and now,all my post are empty!...
Where am i wrong?
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on February 06, 2009, 11:13:14 AM
Quote from: Dzonny on February 06, 2009, 10:47:45 AM
I've install 1.8.0 version of this mod manualy, and now,all my post are empty!...
Where am i wrong?
My magic eye say: Sorry i don't know what you forget to insert :X

Upload the old not changed version and try it again... it's impossible for me to say why this happen :X

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.0)
Post by: altaaah on February 06, 2009, 12:18:04 PM
I've installed Hide Tag Special  V.2.2.0 successfully (just some Russian language error during the installation, which is probably ignoreable).  Well, I gave every user group the permission to use it and still I get the error message "empty post, please enter some data". SMF 2.0 Beta 3.1 Public German installed.

Any idea how to fix it? Thanks in advance.
Title: Re: Hide Tag Special (V1.8.0)
Post by: ɔɔɔɔɔɔuɥoɾ on February 07, 2009, 12:03:51 AM
Quote from: johncccccc on February 05, 2009, 02:34:53 PM
Quote from: ディン1031 on February 01, 2009, 03:11:16 PM
Quote from: johncccccc on February 01, 2009, 12:42:15 PM
So, do you have any suggestions as to how i can fix this?

any ideas why quick modify works and normal modify dont?
What i thought quick did not work... but normal... this is the first time...

Hmmm difficult...

Well im glad you understand the problem and are working on it, if you need an administrator or any account on my forum to help resolve the issue, just ask and i will PM it to you thanks

ok, i have really weird news.

ok so i used the top normal modify button again. but this topic had Rapidshare links in it, not im useing a firefox addon that determines where links are good or not, it puts a little red x or green check mark on the end depending on validity of links.

anyway..

using quick modify everything is normal, using normal modify i see the little red x or green check mark in the post typing box.

so i tested this on a post with a Rapidshare link in it which did not use the hide tag and got the same thing,

This leads me to think i have a problem with my forum and not software your mod.

it like the modify button reads the data that is normally displayed instead of reading it from database, but im not sure,

im gonna post in the support section on this :)

Thanks for your help
Title: Re: Hide Tag Special (V1.8.0)
Post by: Dzonny on February 07, 2009, 06:59:12 AM
Ok, I've edited all files manually, and when i do it all my post are empty...
I belive error is in Subs.php, so I've attach that file here if someone can edit that for me, couse I really dont know what's the problem about this...
It was working fine untill i've upgrade to 1.1.8, and i have big number of posts that is hidden, so i'll be grateful if someone can tell me how to fix this...
Regards

Edit: I've fix this thing...Thanks. :D
Title: Re: Hide Tag Special (V1.8.0)
Post by: ディン1031 on February 08, 2009, 07:09:17 AM
Quote from: Dzonny on February 07, 2009, 06:59:12 AM
Ok, I've edited all files manually, and when i do it all my post are empty...
I belive error is in Subs.php, so I've attach that file here if someone can edit that for me, couse I really dont know what's the problem about this...
It was working fine untill i've upgrade to 1.1.8, and i have big number of posts that is hidden, so i'll be grateful if someone can tell me how to fix this...
Regards

Edit: I've fix this thing...Thanks. :D
Good to hear that you fixed it :).
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 10, 2009, 03:32:09 PM
Version 1.8.1 (10.02.09)
! Fixed a possible bypass to see hidden content (very very difficult to made, but possible, but now not anymore :P)
- Upgrade included



First Version for SMF 2.0 RC1 with the features of 1.8.1 ;)
Version 2.3.0 (10.02.08)
- Only Comptable to SMF 2.0RC1
*+! Add all the function like in the 1.8.1 and all Bugfixes, too ;)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: ɔɔɔɔɔɔuɥoɾ on February 11, 2009, 07:43:59 PM
ok i think i figured out the problem i was having with the modifying of posts with hide tags

it only happens when using the WYSIWYG editor, when using basic editor the quick modify and normal modify act the same, the correct way, so..

Is hide tag compatible with WYSIWYG editor?
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 12, 2009, 01:05:56 AM
Quote from: johncccccc on February 11, 2009, 07:43:59 PM
ok i think i figured out the problem i was having with the modifying of posts with hide tags

it only happens when using the WYSIWYG editor, when using basic editor the quick modify and normal modify act the same, the correct way, so..

Is hide tag compatible with WYSIWYG editor?
I'm not sure, i thought that i testet it but i will test it to see if there is a bug in it :D.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: poolhall on February 14, 2009, 01:42:12 PM
Quote from: ディン1031 on February 10, 2009, 03:32:09 PM


First Version for SMF 2.0 RC1 with the features of 1.8.1 ;)
Version 2.3.0 (10.02.08)
- Only Comptable to SMF 2.0RC1
*+! Add all the function like in the 1.8.1 and all Bugfixes, too ;)

Bye
DIN1031

Thanks a lot ディン1031!

I installed the 2.3.0 version on SMF 2.0 Beta 4. Yes, I know this version labeled for RC1 only, but I emulated SMF 2.0 RC1 and decided to give it a try.

I have a question about the Enable auto add [hide][/hide] on new topics feature. I specified the board this feature should apply to, and one actually can see the first post hidden in such thread. However, following posts in the thread are not hidden. It seems to me this should be the oher way around: 1st post should be unhidden - because it's an announcement - and following posts shoud be hidden.

Is this a supposed behavior or a result of the mod not being installed on the correct SMF version?
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 14, 2009, 02:21:46 PM
It does what it says oO.
So it work like you said, than it's okay.
I understand you want it in that way oO

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: poolhall on February 14, 2009, 02:35:40 PM
thanks for the answer!

Unfortunately, I am the one who needs it the other way around - everything hidden except to the first post (an announcement), and everything be unhidden on the topic lock. Well, I guess I'm going to have my users use the tag manually. The 'unhide content on topic lock' feature is more important for me and I greatly appreciate your work!
Title: Re: Hide Tag Special (V1.8.1)
Post by: micky_2556 on February 23, 2009, 05:20:12 PM
hello i want a hide bbc  for smf 2.0 rc1 please
Title: Re: Hide Tag Special (V1.8.1)
Post by: poolhall on February 23, 2009, 05:22:32 PM
it is for RC 1.
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 24, 2009, 12:14:39 AM
Quote from: micky_2556 on February 23, 2009, 05:20:12 PM
hello i want a hide bbc  for smf 2.0 rc1 please
Version 2.3.0 is for SMF 2.0 RC1 ONLY!.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: micky_2556 on February 25, 2009, 06:37:56 PM
i want the bbc  icon

for mod

i install the mode correct

but i want bbc
Title: Re: Hide Tag Special (V1.8.1)
Post by: poolhall on February 25, 2009, 06:39:33 PM
you mean the button? It's attached to the first post of the topic.
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 26, 2009, 12:34:54 AM
Quote from: micky_2556 on February 25, 2009, 06:37:56 PM
i want the bbc  icon

for mod

i install the mode correct

but i want bbc
Like "poolhall" allready said :D.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: ɔɔɔɔɔɔuɥoɾ on February 26, 2009, 12:43:23 AM
Quote from: ディン1031 on February 12, 2009, 01:05:56 AM
Quote from: johncccccc on February 11, 2009, 07:43:59 PM
ok i think i figured out the problem i was having with the modifying of posts with hide tags

it only happens when using the WYSIWYG editor, when using basic editor the quick modify and normal modify act the same, the correct way, so..

Is hide tag compatible with WYSIWYG editor?
I'm not sure, i thought that i testet it but i will test it to see if there is a bug in it :D.

Bye
DIN1031

Is there any progress on this issue yet? :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 26, 2009, 06:27:31 AM
Quote from: johncccccc on February 26, 2009, 12:43:23 AM
Quote from: ディン1031 on February 12, 2009, 01:05:56 AM
Quote from: johncccccc on February 11, 2009, 07:43:59 PM
ok i think i figured out the problem i was having with the modifying of posts with hide tags

it only happens when using the WYSIWYG editor, when using basic editor the quick modify and normal modify act the same, the correct way, so..

Is hide tag compatible with WYSIWYG editor?
I'm not sure, i thought that i testet it but i will test it to see if there is a bug in it :D.

Bye
DIN1031

Is there any progress on this issue yet? :)
I thought i tested it, but if i think about it... i think it's mysticle missing in my task list... i think i forgot it... i will do the test as soon as possible... sorry for the delay...
Title: Re: Hide Tag Special (V1.8.1)
Post by: micky_2556 on February 26, 2009, 07:34:41 PM
Quote from: ディン1031 on February 26, 2009, 12:34:54 AM
Quote from: micky_2556 on February 25, 2009, 06:37:56 PM
i want the bbc  icon

for mod

i install the mode correct

but i want bbc
Like "poolhall" allready said :D.

Bye
DIN1031


yes i know and install it on smf version2.0 beta4

but now i upgrade to smf 2.0 rc1

and when i uplos the button to install it

the forum told me that is not computible with my smf version

so i ask for button computible with smf version 2.0 rc1
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 27, 2009, 06:33:59 AM
Okay could be possible... i will test it later... hope my time table make it possible :X.
But bormal it should work ;).
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on February 27, 2009, 01:14:52 PM
Quote from: ディン1031 on February 26, 2009, 06:27:31 AM
Quote from: johncccccc on February 26, 2009, 12:43:23 AM
Quote from: ディン1031 on February 12, 2009, 01:05:56 AM
Quote from: johncccccc on February 11, 2009, 07:43:59 PM
ok i think i figured out the problem i was having with the modifying of posts with hide tags

it only happens when using the WYSIWYG editor, when using basic editor the quick modify and normal modify act the same, the correct way, so..

Is hide tag compatible with WYSIWYG editor?
I'm not sure, i thought that i testet it but i will test it to see if there is a bug in it :D.

Bye
DIN1031

Is there any progress on this issue yet? :)
I thought i tested it, but if i think about it... i think it's mysticle missing in my task list... i think i forgot it... i will do the test as soon as possible... sorry for the delay...


Version 2.3.1 (27.02.08)
! Fixed the Wycsiwyg bug, that remove the hidden content on edit.
- Upgrade included

Should fix you problem :).



@micky_2556 Download the updated package, it should work now :)



Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: 4Kstore on February 27, 2009, 03:49:35 PM
Thanks for fix the problem!
baiis!
Title: Re: Hide Tag Special (V1.8.1)
Post by: ɔɔɔɔɔɔuɥoɾ on February 27, 2009, 07:16:10 PM
Thanks I will try it later :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: micky_2556 on February 28, 2009, 07:29:03 AM
Thank you ディン1031

thank you very much its work

thank you
Title: Re: Hide Tag Special (V1.8.1)
Post by: JackWise on March 18, 2009, 06:29:03 PM
Hi mates,

Can anyone tell me how "Enable Variable for Thank You Post Button and Link:" works ?

I enabled It but I don't konw what to do to see it working.

Thanks in advance,

JW
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on March 19, 2009, 01:11:09 AM
Quote from: JackWise on March 18, 2009, 06:29:03 PM
Hi mates,

Can anyone tell me how "Enable Variable for Thank You Post Button and Link:" works ?

I enabled It but I don't konw what to do to see it working.

Thanks in advance,

JW
You mean how the add on "Thank-O-Matic Add On: Hide Tag Link" work together with this mod?
Normal you need only to insert in the hidden content text $thankYouPostLink or $thankYouPostButton.
The link can be used in the way [url=$thankYouPostLink]Thank me now![/url] and the the $thankYouPostButton show only the the thank you button with link ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: MaXiForum.cz on March 22, 2009, 12:59:22 PM
Quote from: ディン1031 on February 27, 2009, 01:14:52 PM
Version 2.3.1 (27.02.08)
! Fixed the Wycsiwyg bug, that remove the hidden content on edit.
- Upgrade included

Should fix you problem :).
....
Bye
DIN1031

Hi,
I have with this problem on RC1 too ...

    // Fix the hide tag problem... my mod is strict to strict...
if(hideTagExists($text, 'text'))
$text = preg_replace("/\[\/hide\]/i", '#hide#', $text);
$text = parse_bbc($text, true, '', $allowed_tags);
// Set it back to normal :D
if(hideTagExists($text, 'text'))
$text = str_replace("#hide#", '[/hide]', $text);


BBC button missing :(
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on March 23, 2009, 02:57:55 AM
Quote from: MaxiPes on March 22, 2009, 12:59:22 PM
Hi,
I have with this problem on RC1 too ...
Than update your version, to the latest. (And it will work)

Quote
BBC button missing :(
Install the package for the button, i will never include this in my package because i don't like the button for hide.
Attached to the first post is the package for the bbc button ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: MaXiForum.cz on March 23, 2009, 07:36:41 AM
Hi,
lastest version is 2.3.1 and this I have instaled :)


Quote from: ディン1031 on March 23, 2009, 02:57:55 AM
...........
Install the package for the button, i will never include this in my package because i don't like the button for hide.
Attached to the first post is the package for the bbc button ;).

Bye
DIN1031

Thanks a lot DIN :) ;)
Title: Re: Hide Tag Special (V1.8.1)
Post by: JackWise on March 23, 2009, 05:38:23 PM
Quote from: ディン1031 on March 19, 2009, 01:11:09 AM
Quote from: JackWise on March 18, 2009, 06:29:03 PM
Hi mates,

Can anyone tell me how "Enable Variable for Thank You Post Button and Link:" works ?

I enabled It but I don't konw what to do to see it working.

Thanks in advance,

JW
You mean how the add on "Thank-O-Matic Add On: Hide Tag Link" work together with this mod?
Normal you need only to insert in the hidden content text $thankYouPostLink or $thankYouPostButton.
The link can be used in the way [url=$thankYouPostLink]Thank me now![/url] and the the $thankYouPostButton show only the the thank you button with link ;).

Bye
DIN1031

can you give some examples ?
I tried this but with no results.

JW
Title: Re: Hide Tag Special (V1.8.1)
Post by: JackWise on March 23, 2009, 06:43:23 PM
Quote from: JackWise on March 23, 2009, 05:38:23 PM
Quote from: ディン1031 on March 19, 2009, 01:11:09 AM
Quote from: JackWise on March 18, 2009, 06:29:03 PM
Hi mates,

Can anyone tell me how "Enable Variable for Thank You Post Button and Link:" works ?

I enabled It but I don't konw what to do to see it working.

Thanks in advance,

JW
You mean how the add on "Thank-O-Matic Add On: Hide Tag Link" work together with this mod?
Normal you need only to insert in the hidden content text $thankYouPostLink or $thankYouPostButton.
The link can be used in the way [url=$thankYouPostLink]Thank me now![/url] and the the $thankYouPostButton show only the the thank you button with link ;).

Bye
DIN1031

can you give some examples ?
I tried this but with no results.

JW

Hi,

I did'it, just like this :

[url=http://$thankYouPostLink][img]http://f.imagehost.org/0337/clicame.gif[/img][/url]

I put this in "hidden text information" under "hide tag special" in Admin.

It works.

Many thanks,

JW
Title: Re: Hide Tag Special (V1.8.1)
Post by: Leonta on April 03, 2009, 07:08:14 AM
I can't get this to work. When I am using "$thankYouPostLink" or "$thankYouPostButton" all I get is blank. I have checked the files and all of them have been "hacked" correct with the installation. I am using greek language but it doesn't work even when I change to english and default theme :(
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on April 03, 2009, 07:50:45 AM
Quote from: Leonta on April 03, 2009, 07:08:14 AM
I can't get this to work. When I am using "$thankYouPostLink" or "$thankYouPostButton" all I get is blank. I have checked the files and all of them have been "hacked" correct with the installation. I am using greek language but it doesn't work even when I change to english and default theme :(
This will work only if you install the add on for the thank-o-matic. Without the addon this will not work ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: Leonta on April 03, 2009, 08:17:26 AM
I have installed it, I am no stupid  :D I have the option enabled from the control panel.

p.s I think I have something. I have these 2 errors from Display.php:

Undefined variable: ID_MEMBER at line 1297
Undefined index: ID_MSG at line 1296

These lines are:

$context['thank_you_post_extra']['msg'] = $message['ID_MSG'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'] && !isset($context['thank_you_post']['postet_thanks'][$message['ID_MSG']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));

These lines are from Thank-O-Matic Addon: Hide Tag Link
I hope this helps :)

Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on April 04, 2009, 04:14:31 PM
Quote from: Leonta on April 03, 2009, 08:17:26 AM
I have installed it, I am no stupid  :D I have the option enabled from the control panel.

p.s I think I have something. I have these 2 errors from Display.php:

Undefined variable: ID_MEMBER at line 1297
Undefined index: ID_MSG at line 1296

These lines are:

$context['thank_you_post_extra']['msg'] = $message['ID_MSG'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'] && !isset($context['thank_you_post']['postet_thanks'][$message['ID_MSG']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));

These lines are from Thank-O-Matic Addon: Hide Tag Link
I hope this helps :)
On which version of the Thank-O-Matic did you install this modification? :X
Title: Re: Hide Tag Special (V1.8.1)
Post by: Leonta on April 05, 2009, 07:11:21 AM
Quote from: ディン1031 on April 04, 2009, 04:14:31 PM
Quote from: Leonta on April 03, 2009, 08:17:26 AM
I have installed it, I am no stupid  :D I have the option enabled from the control panel.

p.s I think I have something. I have these 2 errors from Display.php:

Undefined variable: ID_MEMBER at line 1297
Undefined index: ID_MSG at line 1296

These lines are:

$context['thank_you_post_extra']['msg'] = $message['ID_MSG'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'] && !isset($context['thank_you_post']['postet_thanks'][$message['ID_MSG']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));

These lines are from Thank-O-Matic Addon: Hide Tag Link
I hope this helps :)
On which version of the Thank-O-Matic did you install this modification? :X

2.0 Beta 9
Title: Re: Hide Tag Special (V1.8.1)
Post by: mkress on April 06, 2009, 01:38:02 PM
is it possible to disable the hide-tag for a special post.

I used the nobbc tags and php-tags, but the hide-tags always get parsed...
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on April 07, 2009, 04:26:24 AM
Quote from: Leonta on April 05, 2009, 07:11:21 AM
Quote from: ディン1031 on April 04, 2009, 04:14:31 PM
Quote from: Leonta on April 03, 2009, 08:17:26 AM
I have installed it, I am no stupid  :D I have the option enabled from the control panel.

p.s I think I have something. I have these 2 errors from Display.php:

Undefined variable: ID_MEMBER at line 1297
Undefined index: ID_MSG at line 1296

These lines are:

$context['thank_you_post_extra']['msg'] = $message['ID_MSG'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'] && !isset($context['thank_you_post']['postet_thanks'][$message['ID_MSG']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));

These lines are from Thank-O-Matic Addon: Hide Tag Link
I hope this helps :)
On which version of the Thank-O-Matic did you install this modification? :X

2.0 Beta 9
This AddOn does not work in that version... (normal i wonder why it is installable... i was sure there was an error in it :X)
But you can fix it if you like ;).
Normal if you replace the ID_MEMBER with id_member and ID_MSG with id_msg it should normal work =).

Quote from: fca07 on April 06, 2009, 01:38:02 PM
is it possible to disable the hide-tag for a special post.

I used the nobbc tags and php-tags, but the hide-tags always get parsed...
Hmmm no... the content will be parsed every time... i could ad a option that will only allow the hide remove on specific boards? Would that be useful for you?

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: Leonta on April 09, 2009, 02:23:13 AM
Thanks, that did the trick. The add on is working, I still get flood by "Undefined variable: id_member" errors at the logs but I guess I'll have to ignore them.
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on April 11, 2009, 07:07:32 AM
Quote from: Leonta on April 09, 2009, 02:23:13 AM
Thanks, that did the trick. The add on is working, I still get flood by "Undefined variable: id_member" errors at the logs but I guess I'll have to ignore them.
But you right i forgot something *g*


$context['thank_you_post_extra']['msg'] = $message['ID_MSG'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $ID_MEMBER != $message['ID_MEMBER'] && !isset($context['thank_you_post']['postet_thanks'][$message['ID_MSG']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));


replace with

global $user_info;
$context['thank_you_post_extra']['msg'] = $message['id_msg'];
$context['thank_you_post_extra']['postWithThankYou'] = $context['thank_you_post_enable'] && empty($context['is_thank_you_post_locked']) && allowedTo('thank_you_post_post') && $user_info['id'] != $message['id_member'] && !isset($context['thank_you_post']['postet_thanks'][$message['id_msg']]) && !(empty($modSettings['thankYouPostOnePerPost']) && !empty($context['thank_you_post']['postet_thanks']));


Possible that the global $user_info; is not needed, you should test this, but after that the second error should be away, too =).

Or replace simple the $ID_MEMBER with $user_info['id'] ;).

bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: ɔɔɔɔɔɔuɥoɾ on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hde tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hde tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: PHPLearner on April 30, 2009, 10:51:28 PM
Thanks For this mod, This Is what I need But installing on 1.1.8 it says cannot parse from the mod page, It works and does great(package manager)but gives me about 50 errors per click, I am kinda new to this,  thanks again, Dave

Oh Yeah error on install is ./Sources/Subs.php , If I could manually code it would be great, but the mod says it supports 1.1.8? Thanks, You obviously have good mods!!!!!!!
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 02, 2009, 10:43:19 AM
Quote from: fmap4life on April 30, 2009, 10:51:28 PM
Thanks For this mod, This Is what I need But installing on 1.1.8 it says cannot parse from the mod page, It works and does great(package manager)but gives me about 50 errors per click, I am kinda new to this,  thanks again, Dave

Oh Yeah error on install is ./Sources/Subs.php , If I could manually code it would be great, but the mod says it supports 1.1.8? Thanks, You obviously have good mods!!!!!!!
Are you sure they come from this modification oO?
What kind of errors?

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: PHPLearner on May 04, 2009, 10:06:23 PM
Not sure if a different mod jacked up my subs.php or not, I uninstalled everyone and still get the errors, Is it possible to post the code entry for 1.1.8 for sources/subs.php , I would appreciate it, I would like to figure this out manually, Thanks Again


I am A dummy, I had to select 1.81 then parse, i thought I did, LOL, I Am not finding the first string in my subs, I am gonna look at a original subs and see where it is supposed to be, thanks
Title: Re: Hide Tag Special (V1.8.1)
Post by: PHPLearner on May 04, 2009, 11:03:11 PM
Ok this is what I found When Told to find
Code () Select
global $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;


I Have This global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;



I Tried Replacing, I am sure it is a mod, I have to look deeper, Any Ideas, Can I just Add to the code? I Should Be able to just add the strings After I install Or?
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 05, 2009, 12:41:12 AM
Quote from: fmap4life on May 04, 2009, 11:03:11 PM
Ok this is what I found When Told to find
Code () Select
global $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;


I Have This global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;



I Tried Replacing, I am sure it is a mod, I have to look deeper, Any Ideas, Can I just Add to the code? I Should Be able to just add the strings After I install Or?
Normal it should work without problems ;).
Title: Re: Hide Tag Special (V1.8.1)
Post by: PHPLearner on May 05, 2009, 12:55:50 AM
Thanks, I tried and I get errors beyond belief, I decided to edit the subs manually, install the package and then ftp the subs over, It stopped the errors and I thought I was done, but when I went to preview, I got errors from manageboards, That wasn't a error I got before, If I edit the subs before I install, The forum goes into errors saying it doesn't exist(hide) that is, So I can't actually get in and add the package only the other way around, Thank For the help, I Truly appreciate it
Title: Re: Hide Tag Special (V1.8.1)
Post by: easyrider77 on May 08, 2009, 08:52:06 AM
Install the 1.8.1 V,  in  smf 1.18 successful..  but is no hide button in post area..!! any idea about..??    :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 08, 2009, 01:11:23 PM
Quote from: easyrider77 on May 08, 2009, 08:52:06 AM
Install the 1.8.1 V,  in  smf 1.18 successful..  but is no hide button in post area..!! any idea about..??    :)
Because it's not standard in the modification ;) (I don't like a button for hidden content :P)

But attached to this post -> http://www.simplemachines.org/community/index.php?topic=32954.0 <- is package for the HideTagSpecial BBC Button (HideTagSpecialBBCButton101Fix.zip) ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: easyrider77 on May 08, 2009, 02:29:17 PM
Yes.. i detect it finally..  ;D thanks for the  mod also ディン1031..!  8)
Title: Re: Hide Tag Special (V1.8.1)
Post by: n00dle on May 12, 2009, 07:24:24 PM
I installed :  HideTagSpecialBBCButton101Fix.zip
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?
Title: Re: Hide Tag Special (V1.8.1)
Post by: ɔɔɔɔɔɔuɥoɾ on May 12, 2009, 11:18:53 PM
Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 13, 2009, 12:32:03 AM
Quote from: n00dle on May 12, 2009, 07:24:24 PM
I installed :  HideTagSpecialBBCButton101Fix.zip
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?
Possible you insert not the image on your costum theme or you costum theme use a own file for the post.

Quote from: johncccccc on May 12, 2009, 11:18:53 PM
Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)
No ;).
Title: Re: Hide Tag Special (V1.8.1)
Post by: n00dle on May 14, 2009, 07:46:30 PM
Quote from: ディン1031 on May 13, 2009, 12:32:03 AM
Quote from: n00dle on May 12, 2009, 07:24:24 PM
I installed :  HideTagSpecialBBCButton101Fix.zip
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?
Possible you insert not the image on your costum theme or you costum theme use a own file for the post.

Quote from: johncccccc on May 12, 2009, 11:18:53 PM
Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)
No ;).

I added the image included with the mod into each themes directory and it does not show up on the ONE theme I actually want to use for default.  I just realized it works on the other custom themes.  I'm confused.  It's in the directory.

The one custom theme it works on does NOT have a post.template.php file.  All my other themes do.. is there something I can add to that file to make it work?

EDIT:

I figured it out.... just edit theme/themename/Post.template.php

Find:
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Add After:
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 15, 2009, 01:21:01 AM
Good to hear that you could solve it =).
Title: Re: Hide Tag Special (V1.8.1)
Post by: Maxtor on May 20, 2009, 04:18:12 PM
in "Admin">"Forum Error Log" this error:

8: Undefined index: hiddenOption
File: /home/maxt0ras/public_html/forum/Sources/Display.php
Line: 1021
is repeating 20 times every second each time by different user wtf!??!?

anyone can help??? i cant solve this.

Display.php line 1021 code:
// Hide the post or Not? --- XD
$message['can_view_post'] = 1;
if (!empty($modSettings['allow_hiddenPost']) && $message['hiddenOption'] > 0)
{
global $sourcedir;
require_once($sourcedir . '/HidePost.php');
$message['ID_TOPIC'] = $topic;
$context['current_message'] = $message;
$message['body'] = getHiddenMessage();
$message['can_view_post'] = $context['can_view_post'];
}
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on May 21, 2009, 03:59:16 AM
Quote from: maxtor on May 20, 2009, 04:18:12 PM
in "Admin">"Forum Error Log" this error:

8: Undefined index: hiddenOption
File: /home/maxt0ras/public_html/forum/Sources/Display.php
Line: 1021
is repeating 20 times every second each time by different user wtf!??!?

anyone can help??? i cant solve this.

Display.php line 1021 code:
// Hide the post or Not? --- XD
$message['can_view_post'] = 1;
if (!empty($modSettings['allow_hiddenPost']) && $message['hiddenOption'] > 0)
{
global $sourcedir;
require_once($sourcedir . '/HidePost.php');
$message['ID_TOPIC'] = $topic;
$context['current_message'] = $message;
$message['body'] = getHiddenMessage();
$message['can_view_post'] = $context['can_view_post'];
}

You're on the wrong mod thread this is not from my mod.
You have installed this mod -> http://custom.simplemachines.org/mods/index.php?mod=228
Please ask there for help i don't know how to help you with this ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on June 04, 2009, 01:47:03 AM
Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: HNHF on June 07, 2009, 06:17:32 AM
Hi There,

I want to install  the Hide Tag Special  1.81 on my SMF 1.19   all files succesvol  but 1 file unsuccesvol    subs.php   he can make the changes.

I have tried manualy but he cant find the strings ( search .................................... )  there for in can't replace or add anything.

I have desinstalled the mod.  I hope you can make the correct one for version 1.19

Fine regards   ,  Martin
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on June 07, 2009, 06:42:09 AM
Quote from: HNHF on June 07, 2009, 06:17:32 AM
Hi There,

I want to install  the Hide Tag Special  1.81 on my SMF 1.19   all files succesvol  but 1 file unsuccesvol    subs.php   he can make the changes.

I have tried manualy but he cant find the strings ( search .................................... )  there for in can't replace or add anything.

I have desinstalled the mod.  I hope you can make the correct one for version 1.19

Fine regards   ,  Martin
Sorry but i made a test install with 1.1.9 and it work fine... i think some of some other installed modifications create the problem.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: HNHF on June 07, 2009, 06:51:55 AM
Oke i looking in to it,   thanks for the fast support.
Title: Re: Hide Tag Special (V1.8.1)
Post by: Kimmie on June 07, 2009, 06:03:15 PM
Quote from: ディン1031 on June 04, 2009, 01:47:03 AM
Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

Bye
DIN1031

Mod:
http://custom.simplemachines.org/mods/index.php?mod=883

Version I have installed:
Enhanced Quick Reply Box 2.0.2


Thanks for the help :)
Title: Re: Hide Tag Special (V1.8.1)
Post by: ディン1031 on June 08, 2009, 04:01:26 AM
Quote from: Kimmie on June 07, 2009, 06:03:15 PM
Quote from: ディン1031 on June 04, 2009, 01:47:03 AM
Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

Bye
DIN1031

Mod:
http://custom.simplemachines.org/mods/index.php?mod=883

Version I have installed:
Enhanced Quick Reply Box 2.0.2


Thanks for the help :)
Work with the same change like in the Post.template.php.
Look into the Display.template.php and do the same change es as the package does for the button.

Code (search for) Select

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Code (replace with) Select

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),


Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.1)
Post by: Kimmie on June 08, 2009, 04:01:24 PM
Quote from: ディン1031 on June 08, 2009, 04:01:26 AM
Quote from: Kimmie on June 07, 2009, 06:03:15 PM
Quote from: ディン1031 on June 04, 2009, 01:47:03 AM
Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

Bye
DIN1031

Mod:
http://custom.simplemachines.org/mods/index.php?mod=883

Version I have installed:
Enhanced Quick Reply Box 2.0.2


Thanks for the help :)
Work with the same change like in the Post.template.php.
Look into the Display.template.php and do the same change es as the package does for the button.

Code (search for) Select

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Code (replace with) Select

'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),


Bye
DIN1031


You are SO AWESOME!!! Thank you!!! :) :) :)
Title: Hide Tag Special and simple portal 2.2 problem
Post by: Pantash on June 16, 2009, 07:12:17 PM
HI, I'M Isuing smf 2.0 rc1-1 whit simple portal2.2  (http://custom.simplemachines.org/mods/index.php?mod=1104) and your hide tag special 2.3.1 version, simple portal has a very good fuction to use a post made in the forum as a article in the index of the site, but here is the problem, for example i have hide tag special config to only hide content for guest, every registered user can see the hiden content, this work greate on the forum, but does not in the index of simple portal, where no matter is the admin or anybody, only can see the legend of hiden content, is there a way to fix this???.

i just note it happens the same y the recents topics function: ex forum/index.php?action=recent

Pd: sorry my poor english

thank in advance

Title: Re: Hide Tag Special and simple portal 2.2 problem
Post by: ディン1031 on June 17, 2009, 06:42:40 AM
Quote from: Pantash on June 16, 2009, 07:12:17 PM
HI, I'M Isuing smf 2.0 rc1-1 whit simple portal2.2  (http://custom.simplemachines.org/mods/index.php?mod=1104) and your hide tag special 2.3.1 version, simple portal has a very good fuction to use a post made in the forum as a article in the index of the site, but here is the problem, for example i have hide tag special config to only hide content for guest, every registered user can see the hiden content, this work greate on the forum, but does not in the index of simple portal, where no matter is the admin or anybody, only can see the legend of hiden content, is there a way to fix this???.

i just note it happens the same y the recents topics function: ex forum/index.php?action=recent

Pd: sorry my poor english

thank in advance
Hmmm normal this should be done but i can look.
Normal i will only make this checkups only on the Display.php.
I will insert a option for it that overwrite the setup on each parseing and check if the use is allowed to see it every time. Wait for the next Version ;) (Install or Upgrade to Version 1.8.5).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 17, 2009, 01:14:00 PM


Version 1.8.5 (17.06.09)
+ Option to unhide everywhere the hidden content for groups who allowed to view hidden content without posting.
- Upgrade included

Only a feature update ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: Pantash on June 17, 2009, 04:34:58 PM
it works perfect now, you are awesome, thank you so much
Title: Re: Hide Tag Special (V1.8.5)
Post by: farao25 on July 08, 2009, 06:31:31 PM
Is there any way to put an image that will say "hidden content" and when you post reply or press thanks button there will be an image that will say"unhidden content" ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 09, 2009, 12:19:50 AM
Quote from: farao25 on July 08, 2009, 06:31:31 PM
Is there any way to put an image that will say "hidden content" and when you post reply or press thanks button there will be an image that will say"unhidden content" ?
... yes? :X
Usee an img tag to show a pic instead, look into the examples for it ;).
If you like an thank you button there is a way for the thank-o-matic.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: farao25 on July 09, 2009, 01:19:04 AM
yes i see but i meant how can you make it work automatically. For example when i post a link like this  [hide]link[/hide] i want an image to apear saying "hidden content" and "unhidden content" when you post reply or press thanks button.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 09, 2009, 03:12:44 PM
... set it in the thank you or thank-o-matic option that the thank unhidden the content.
And for the unhidden content image use the second text area and enable the unhidden content information...
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 18, 2009, 03:08:28 AM
Hey ディン1031,

Got a question for you. :D
I tried installing 3 versions of the hide tag (2.3.0, 2.3.1, and  2.3.5). All of them returned the following 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 2.0 RC1.2 with Simple Portal 2.2.2 and the ECM Theme by NATI.
Let me know if you can help me or link me to a solution. I did a search on this site and couldn't find anything. Thanks in advance. :D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 20, 2009, 12:21:08 AM
Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 20, 2009, 04:41:51 AM
Quote from: ディン1031 on July 20, 2009, 12:21:08 AM
Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">

Ok thanks, I got it to work now, but now when I go to Admin > Posts and topics I don't see the name, "Hide tag" There is no text. I see a blank space and when I click on it, it brings me to the settings of the hide tags. Do you know why this is?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 20, 2009, 05:45:08 AM
Quote from: REGNARTS_ on July 20, 2009, 04:41:51 AM
Quote from: ディン1031 on July 20, 2009, 12:21:08 AM
Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">

Ok thanks, I got it to work now, but now when I go to Admin > Posts and topics I don't see the name, "Hide tag" There is no text. I see a blank space and when I click on it, it brings me to the settings of the hide tags. Do you know why this is?
Do you make the language changes for you langauge? ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 20, 2009, 06:03:27 AM
Quote from: ディン1031 on July 20, 2009, 05:45:08 AM
Do you make the language changes for you langauge? ;)

My forum is in english and I didn't use MUI switch or the $language. :D

Here's the message from the error log:

(http://i32.tinypic.com/1491b45.jpg)
Title: Re: Hide Tag Special (V1.8.5)
Post by: qtime on July 21, 2009, 08:38:45 AM
thanks for this great coding!!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 22, 2009, 05:12:03 AM
Quote from: REGNARTS_ on July 20, 2009, 06:03:27 AM
Quote from: ディン1031 on July 20, 2009, 05:45:08 AM
Do you make the language changes for you langauge? ;)

My forum is in english and I didn't use MUI switch or the $language. :D

Here's the message from the error log:

(http://i32.tinypic.com/1491b45.jpg)
Than the language changes are missing... clear the files cache porbely it's not correct cleared.
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 23, 2009, 11:39:03 PM
Quote from: ディン1031 on July 22, 2009, 05:12:03 AM
Than the language changes are missing... clear the files cache porbely it's not correct cleared.

Hmm. I cleared the cache, doesn't work. Still getting errors. For now, I just went in Admin.php and comment out that code. I don't see a hide tag menu under "topic and settings" because I comment out the code, but I can still use the hide tags. Not sure why this is.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 30, 2009, 12:21:58 AM
The hide tag is working with the install, you can only not setup things. But his is really strange... and you're sure that the language changes are correct done?
Title: Re: Hide Tag Special (V1.8.5)
Post by: nay27uk on July 30, 2009, 08:08:25 AM
I wondered if you could help I have installed version235 on SMF 2.0RC1.2 but the tab in the admin section does not display I have had to manualy save the url for the settings into my browser favourits just so i can get to the settings.

Also when in the settings page the save button is just a very small line with no text in it.

And I have a question about the functionality of the mod, Does it hide atachements aswell because i have a VIP section in my forum i want everything hiding unless the user has paid for a V.I.P membership
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 30, 2009, 04:40:54 PM
Quote from: ディン1031 on July 30, 2009, 12:21:58 AM
The hide tag is working with the install, you can only not setup things. But his is really strange... and you're sure that the language changes are correct done?

Yes, I'm sure it's correctly done. But it's ok. I'll work around it. I've disable some functions and unable to see the tabs and unable to go to configuration, but when I need to edit it, I'll do it manually. Thanks.
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on July 30, 2009, 04:44:00 PM
Quote from: nay27uk on July 30, 2009, 08:08:25 AM
I wondered if you could help I have installed version235 on SMF 2.0RC1.2 but the tab in the admin section does not display I have had to manualy save the url for the settings into my browser favourits just so i can get to the settings.

Also when in the settings page the save button is just a very small line with no text in it.

And I have a question about the functionality of the mod, Does it hide atachements aswell because i have a VIP section in my forum i want everything hiding unless the user has paid for a V.I.P membership

This is the same thing I got when installing on RC1.2. I wasn't able to see the text and the save button is small. If you check your error log, you'll also get a bunch of errors pertaining to hidetag. Let me know if you have figure this out.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 31, 2009, 02:44:15 AM
Quote from: nay27uk on July 30, 2009, 08:08:25 AM
I wondered if you could help I have installed version235 on SMF 2.0RC1.2 but the tab in the admin section does not display I have had to manualy save the url for the settings into my browser favourits just so i can get to the settings.

Also when in the settings page the save button is just a very small line with no text in it.

And I have a question about the functionality of the mod, Does it hide atachements aswell because i have a VIP section in my forum i want everything hiding unless the user has paid for a V.I.P membership
Hum Hum i tested it again... i see everthing... i do not understand why this is not working... did you clear the file chache? Did you try to delete all files in the chache folder (possible the file chache clear is not working...)

No attachments are not hidden. But i think i posted somewhere in thread a sulotion for this... but thats a long time ago.
Title: Re: Hide Tag Special (V1.8.5)
Post by: nay27uk on July 31, 2009, 07:57:59 AM
Hi my forum does not have caching swiched on.

I found your reply to hidding attachements but this was all to do with permissions, I canot use permissions because permissions are board wide and im only using hide tag in three boards.

PLEASE could you give me some code to manualy add in a file somewher that will make your mod also hide attachemnents
Title: Re: Hide Tag Special (V1.8.5)
Post by: nay27uk on August 02, 2009, 01:24:23 PM
Im uninstalling this its ******.
People can see the hiden content after making a quote post, they can also see the hiden content after making a post, This is not how i have it setup i have it set so only pepople that have purchased a V.I.P membership and are in the usergroup V.I.P can see it. But this ****** mod only hides the content untill a post is made ******ING ******
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 05, 2009, 01:15:22 AM
Quote from: nay27uk on August 02, 2009, 01:24:23 PM
Im uninstalling this its ******.
People can see the hiden content after making a quote post, they can also see the hiden content after making a post, This is not how i have it setup i have it set so only pepople that have purchased a V.I.P membership and are in the usergroup V.I.P can see it. But this ****** mod only hides the content untill a post is made ******ING ******
That's the goal of the modification oO to make a post viewable after a post is done!
Did you really make a correct setup? Because it's possible to set it that no one eles than a specific group can unhide hidden content... and you can not quotes post with hidden content only if you set something wrong than this would be possible... i know that this correct work because i used a way on many forums...

And could you use a nicer words it's not nice to use such hard word... only because you did something in settings wrong the mod is not the fault of that it not do what it should... possible you create a bug that i not know because of a setup that i never used... you must think there a millions of way to set up the modfication and i don't know what you setup...

Quote from: nay27uk on July 31, 2009, 07:57:59 AM
Hi my forum does not have caching swiched on.

I found your reply to hidding attachements but this was all to do with permissions, I canot use permissions because permissions are board wide and im only using hide tag in three boards.

PLEASE could you give me some code to manualy add in a file somewher that will make your mod also hide attachemnents
Okay than you don't need solution anymore. And sorry that i've to much othere things to do and that you not even give me a change to help you...

Bye
DIN1031

Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on August 06, 2009, 07:53:48 PM
ok I have racked my brain on this for an hour and half and cant figure it out..lol.


I upgraded to 2.0 today (from 1.9).

1. I have no Tab in my admin panel for the settings
2. I keep getting this error (just me nobody else)

action=admin;area=logs;b48652da25a6=d37861f6003af14c40196bfc1211a1fe
8: Undefined index: manageposts_hidetagspecial_settings
File: /home//public_html/Sources/Admin.php
Line: 267

action=admin
8: Undefined index: manageposts_hidetagspecial_settings
File: /home//public_html/Sources/Admin.php
Line: 267

action=admin;area=news;sa=editnews
8: Undefined index: manageposts_hidetagspecial_settings
File: /home//public_html/Sources/Admin.php
Line: 267

action=admin;area=news;b48652da25a6=d37861f6003af14c40196bfc1211a1fe
8: Undefined index: manageposts_hidetagspecial_settings
File: /home//public_html/Sources/Admin.php
Line: 267


Any ideas before I pull this last strand of hair out?  lol
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 07, 2009, 05:15:38 AM
Okay i think i found the bug... i'm a idiot... i will release a fixed version in the next days... sorry for the problem but my time is very limited at the moment =). I think i insert the wrong language files on SMF2 Version... (I will make now a fixed version that is compatible to both smf versions..., with this this will never happen again.)

Current Soltuion for this Problem:

$languagedir/Admin.english.php (All Files: $languagedir/Admin.YOULANGUAGE.php)
Code (Search for) Select

//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Hide Tag Special';
$txt['hidetagspecial_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';


Code (Repalce with) Select

//Hide Tag Special Options
$txt['manageposts_hidetagspecial_settings'] = 'Hide Tag Special';
$txt['manageposts_hidetagspecial_settings_title'] = 'Hide Tag Special Settings';
$txt['manageposts_hidetagspecial_settings_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';
$txt['manageposts_hidetagspecial_settings_submit'] = 'Save Hide Settings';
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on August 07, 2009, 06:48:27 AM
If you want, I can make Russian translation for your mod ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on August 07, 2009, 03:13:09 PM
Quote from: ディン1031 on August 07, 2009, 05:15:38 AM
Okay i think i found the bug... i'm a idiot... i will release a fixed version in the next days... sorry for the problem but my time is very limited at the moment =). I think i insert the wrong language files on SMF2 Version... (I will make now a fixed version that is compatible to both smf versions..., with this this will never happen again.)

Current Soltuion for this Problem:

$languagedir/Admin.english.php (All Files: $languagedir/Admin.YOULANGUAGE.php)
Code (Search for) Select

//Hide Tag Special Options
$txt['hidetagspecial_titel'] = 'Hide Tag Special';
$txt['hidetagspecial_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';


Code (Repalce with) Select

//Hide Tag Special Options
$txt['manageposts_hidetagspecial_settings'] = 'Hide Tag Special';
$txt['manageposts_hidetagspecial_settings_title'] = 'Hide Tag Special Settings';
$txt['manageposts_hidetagspecial_settings_description'] = 'You can set all the Setting that needed for the Hide Tag Special mod "[hide][/hide]"';
$txt['manageposts_hidetagspecial_settings_submit'] = 'Save Hide Settings';



Thank you :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: qtime on August 09, 2009, 12:50:41 PM
Is it only me or is it a bug?
If a member replies, will it be forwarded to the board index and not to the unhidden threat??
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 10, 2009, 08:01:11 AM
Quote from: qtime on August 09, 2009, 12:50:41 PM
Is it only me or is it a bug?
If a member replies, will it be forwarded to the board index and not to the unhidden threat??
Thats a smf setting, you can change this in you profile options ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 10, 2009, 08:31:13 AM
Quote from: Ben K on August 07, 2009, 06:48:27 AM
If you want, I can make Russian translation for your mod ;)
If you like you can update the current files =).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: qtime on August 10, 2009, 11:49:56 AM
Ok thanks for reply, I will have a look.
Quote from: ディン1031 on August 10, 2009, 08:01:11 AM
Quote from: qtime on August 09, 2009, 12:50:41 PM
Is it only me or is it a bug?
If a member replies, will it be forwarded to the board index and not to the unhidden threat??
Thats a smf setting, you can change this in you profile options ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on August 10, 2009, 02:45:45 PM
Also,  if this mod could add it's bb code, it would be awsome !
I mean a botton :D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 12, 2009, 05:15:43 AM
Quote from: Ben K on August 10, 2009, 02:45:45 PM
Also,  if this mod could add it's bb code, it would be awsome !
I mean a botton :D
Look at the first post there is extra package for the button... it's my personal thinking that the hide tag shouldn't show a button on default ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: qtime on August 12, 2009, 05:52:25 AM
I like to change the change the word hide in the code [hide] [hide] to [secret word] [/secret word]
Which files do I need to change?

I want this, because I don't want that all users can use this function. Or is it possible to put it of to certain membergroups (the right to use it).
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 13, 2009, 07:35:15 AM
Every file that the mod need to change... except the ModSettings.php or ManageSettings.php and Admin.php
Title: Re: Hide Tag Special (V1.8.5)
Post by: qtime on August 13, 2009, 12:00:08 PM
Quote from: ディン1031 on August 13, 2009, 07:35:15 AM
Every file that the mod need to change... except the ModSettings.php or ManageSettings.php and Admin.php
thanks for your reply, I will do a test with it
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on August 13, 2009, 10:32:35 PM
Just on a hunch, Do you think it could be made possible to auto hide certain data, like a link for example

*.rapidshare.com/*
megupload.com/*

*meaning wild card

This would be a nice addition, would probably require an option for adding the information to auto hide and would be an addition to another version released in the near future ( next hopefully :p ).
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 14, 2009, 02:58:00 AM
Quote from: johncccccc on August 13, 2009, 10:32:35 PM
Just on a hunch, Do you think it could be made possible to auto hide certain data, like a link for example

*.rapidshare.com/*
megupload.com/*

*meaning wild card

This would be a nice addition, would probably require an option for adding the information to auto hide and would be an addition to another version released in the near future ( next hopefully :p ).
What you hope for and what i do are two different things ;).
But i will see...
Title: Re: Hide Tag Special (V1.8.5)
Post by: BoomZLolicon on August 15, 2009, 07:16:12 AM
I've problem with HideTagSpecial235_(ONLY FOR 2.0RC1-X)_Fix.zip

It's failed with this step.

(http://img90.imageshack.us/img90/7919/modigq.jpg)

But I've manually replace it with myself =w="

I want you to fix it >//<

Thank you  ;D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 15, 2009, 08:34:37 AM
If you fixed it yourself what should i do? *g*

tip search for $newtopic = empty(
and add the complete part after that line into you're file...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arkangel on August 17, 2009, 05:37:05 PM
desahabilitar option hide in some sub forums? could be?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on August 24, 2009, 12:43:50 AM
Quote from: Arkangel on August 17, 2009, 05:37:05 PM
desahabilitar option hide in some sub forums? could be?
No ???
Title: Re: Hide Tag Special (V1.8.5)
Post by: djkavaa on September 02, 2009, 11:29:37 AM
I can't use this mod on my forum (i have the 2.0RC1.2 the latest)
Could you make a update for us or something that will work.
Because i really like this.
Title: Re: Hide Tag Special (V1.8.5)
Post by: 20junior on September 05, 2009, 08:08:45 AM
it does't shows the text on the option thing!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on September 05, 2009, 05:45:27 PM
Quote from: djkavaa on September 02, 2009, 11:29:37 AM
I can't use this mod on my forum (i have the 2.0RC1.2 the latest)
Could you make a update for us or something that will work.
Because i really like this.
The Version 2.3.5 should work with 2.0 RC1.2

Quote from: 20junior on September 05, 2009, 08:08:45 AM
it does't shows the text on the option thing!
???
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on September 05, 2009, 08:19:46 PM
20junior: what version are you using, and are you using English in your forum?
Title: Re: Hide Tag Special (V1.8.5)
Post by: kanderson88 on September 07, 2009, 09:41:59 AM
when trying to install 2.3.5 on smf2.0 rc1.2

i get a error saying cannot add to sources/subs.php

and i opened up subs.php file, and cannot find

Quotestatic $disabled;

to replace it so it works, cause its not workin..
Title: Re: Hide Tag Special (V1.8.5)
Post by: oep on September 08, 2009, 04:06:44 AM
Installed SMF 2.0 RC1.2 HideTagSpecial235.
After a user logs hidden text displayed. The user presses the "Print" and the text is hidden again. What?
I speak Russian will use an interpreter. Thank you.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Broken_System on September 09, 2009, 11:21:04 PM
Nice mod, i'm been using it and i really like it.
Could you please update this mod to the last smf version (1.1.10) so i could use it again?
Thanks!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on September 10, 2009, 12:11:51 AM
Quote from: kanderson88 on September 07, 2009, 09:41:59 AM
when trying to install 2.3.5 on smf2.0 rc1.2

i get a error saying cannot add to sources/subs.php

and i opened up subs.php file, and cannot find

Quotestatic $disabled;

to replace it so it works, cause its not workin..
Strange i looked into the code the line exist...

Quote
// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '', $parse_tags = array())
{
   global $txt, $scripturl, $context, $modSettings, $user_info;
   static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
   static $disabled;

   // Never show smileys for wireless clients.  More bytes, can't see it anyway :P.

Quote from: oep on September 08, 2009, 04:06:44 AM
Installed SMF 2.0 RC1.2 HideTagSpecial235.
After a user logs hidden text displayed. The user presses the "Print" and the text is hidden again. What?
I speak Russian will use an interpreter. Thank you.

Thats normal i never check on other positions than the thead itself if a userpost exist.

Quote from: Broken_System on September 09, 2009, 11:21:04 PM
Nice mod, i'm been using it and i really like it.
Could you please update this mod to the last smf version (1.1.10) so i could use it again?
Thanks!
It allread work with that version oO.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: gisfreak on September 15, 2009, 12:24:03 AM
hello, i just use 2 of your mod

HIDE TAG SPECIAL and the HIDE BUTTON

and every time i use it , its generate an error on my log


Quote8: Undefined index: bbc_hide
File: /home1/gis4unet/public_html/forum/Themes/default/languages/Post.english-utf8.php (main sub template - eval?)
Line: 795

please need a guidance

regards, GISfreak
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on September 15, 2009, 04:58:01 AM
Are you using a language other than English, gisfreak?
Title: Re: Hide Tag Special (V1.8.5)
Post by: gisfreak on September 15, 2009, 08:35:05 AM
Quote from: Arantor on September 15, 2009, 04:58:01 AM
Are you using a language other than English, gisfreak?

nah, in my forum, its set to english-UTF8  :D

any clue on this ? i desperately need my forum cleanest as possible  :(

regards, GISfreak

Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on September 15, 2009, 09:54:18 AM
That's the problem. The mod makes changes to some of the files in languages/*.english.php - but not to *.english-utf8.php.

You'll have to make those edits yourself - go to the mod pages, find your version of SMF in the dropdown, select Parse, and you'll get a list of edits to the different files. Find those that affect .english.php files and do those on the matching .english-utf8.php files.
Title: Re: Hide Tag Special (V1.8.5)
Post by: gisfreak on September 15, 2009, 11:56:14 AM
done thanx................ ;D
Title: Re: Hide Tag Special (V1.8.5)
Post by: shadowcrews on September 16, 2009, 10:01:38 PM
have this test failed on 2.0 rc 1.2

Execute Modification     ./Sources/Post.php     Test failed
     5.     Replace     ./Sources/Post.php     Test failed
*     7.     Execute Modification     ./Sources/Subs.php     Test failed
     1.     Add After     ./Sources/Subs.php     Test failed


please help to fix this
Title: Re: Hide Tag Special (V1.8.5)
Post by: shadowcrews on September 17, 2009, 11:49:20 PM
any fix for this
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on September 18, 2009, 03:19:47 AM
There isn't really a fix other than installing it manually - you've already gone some other mod(s) installed that this one conflicts with.
Title: Re: Hide Tag Special (V1.8.5)
Post by: RML on October 02, 2009, 11:58:19 AM
Quote from: shadowcrews on September 16, 2009, 10:01:38 PM
have this test failed on 2.0 rc 1.2

Execute Modification     ./Sources/Post.php     Test failed
     5.     Replace     ./Sources/Post.php     Test failed
*     7.     Execute Modification     ./Sources/Subs.php     Test failed
     1.     Add After     ./Sources/Subs.php     Test failed


please help to fix this

I had the same problem. I figured, that Simple Portal has already modified that line and now it looks this way: static $disabled, $parse_tag_cache;
What I have done is: modified that search term in the mod file and everything went well.  ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 04, 2009, 04:12:13 PM
Hmmm when was this line changed... i was sure i tested it with the latest Version oO... in which Version is this wrong? 1.1.10 or 2.0 RC1.2?

So i looked at the orginal code:

1.8.5 for SMF 1.1.10
My search:
Quote
   global $txt, $scripturl, $context, $modSettings, $user_info;
   static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
   static $disabled;
Orginal Code:
Quote
   global $txt, $scripturl, $context, $modSettings, $user_info;
   static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
   static $disabled;
100% the same ;).

Next Version 2.3.5 for RC 1.2:
My search for add after:

static $disabled;

in the file

static $disabled;

Line 877 is the same...

So it should work <<...

Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 07, 2009, 06:37:11 PM
Thanks again for the great mod
I think I have found a bug in the coding

Moderated members, unapproved post can see hidden content

Would there be a simple edit to fix this?

Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 08, 2009, 12:19:21 AM
Quote from: johncccccc on October 07, 2009, 06:37:11 PM
Thanks again for the great mod
I think I have found a bug in the coding

Moderated members, unapproved post can see hidden content

Would there be a simple edit to fix this?

Thanks
I will look into this, i'm sure that i tested it. But i will look =).
You mean the overview of the unapproved posts and the Moderated Members Overview page? :X
Or can you give me an example image with the page links? And which options you are turned on?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 08:57:37 AM
yes the overview un-hides the hidden content (when its orange colored) with awaiting approval message.
I never knew until I had the urge to test it using a test regular member account.

settings used:
(http://i37.tinypic.com/10oio01.png)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 08, 2009, 12:06:56 PM
So i've done some test... it work fine look here

Hmmm i don't know how i can test it in a other way xD than disallow anything and anything need to be approved *g* but it work fine.
Only if you have posted it that thread and the post is shown in the thread this will be shown ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 12:35:11 PM
hmmm I think that test is not covering the problem at hand it appears you have used the same username to post, which means that user can see the hidden text anyway

Try this test start a topic, add some hidden content, using admin account. Get another member (moderated test user), and reply to the thread then see if that moderated user can see the hidden content :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 08, 2009, 01:46:11 PM
Quote from: johncccccc on October 08, 2009, 12:35:11 PM
hmmm I think that test is not covering the problem at hand it appears you have used the same username to post, which means that user can see the hidden text anyway

Try this test start a topic, add some hidden content, using admin account. Get another member (moderated test user), and reply to the thread then see if that moderated user can see the hidden content :)
No I've used a different user because the user itself can see it everytime on the post overview ;).

Ah i understand you're problem now...

You mean a moderated user should see it only after the approve?

Somehow logical not to show this user the hidden content *g*, okay i will make a fix for this =).
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 01:48:37 PM
Yes,

If the post is not approved they should not see the hidden content, but they still do