Simple Machines Community Forum

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

Title: Hide Tag Special
Post by: enik on April 11, 2005, 03:41:07 PM
Link to the mod (https://custom.simplemachines.org/index.php?mod=118)

Hide Tag Special 3.0 by
(http://www.smfpersonal.net/Adkmods/logo.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.* please use HideTagSpecial30_(Only_for_2.0).zip


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

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 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) 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 -> 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
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 08, 2009, 02:13:50 PM
So Fixed, now at least one unapproved post need to be in the topic that he can see the hidden content =).

Upgrade to 2.3.6 and the problem is solved ;).



Version 2.3.6 (08.10.09)
* You need at least one Approved post in a Topic to see the hidden content.
! Removed the last Query in the Old style... i thought i changed all *g*.
- Upgrade included

This change is only for SMF2 RC1-X
The Mod is incompatible to RC2 at the moment...
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 02:34:00 PM
Great work, thanks!

Can you please post the code changed here too,

I have some weird errors (failed tests) on uninstalling and manually removing them will results in more manual coding to install the new version too

Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: Iviiik on October 08, 2009, 06:02:24 PM
Hey, i have a question....


How make this for hide and unhide ? :(


I want this , exactly this (screen)

Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 08, 2009, 06:08:45 PM
You can't make it look exactly like that without modifications to your forum.

The text and the icon can be done - you just add them in BBcode to the first large box in Admin > Posts and Topics > Hide Tag Special.

But the dotted border cannot be done without more complex, deeper changes.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Iviiik on October 08, 2009, 06:11:58 PM
Quote from: Arantor on October 08, 2009, 06:08:45 PM
You can't make it look exactly like that without modifications to your forum.

The text and the icon can be done - you just add them in BBcode to the first large box in Admin > Posts and Topics > Hide Tag Special.

But the dotted border cannot be done without more complex, deeper changes.

And how make deeper changes ? i want dotted border :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 08, 2009, 06:24:37 PM
Without me going through and figuring out how this mod works, the deeper changes I would suggest would be to edit Subs.php, create a new bbcode tag that puts that border around the contents and use that in the box I mentioned.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Iviiik on October 08, 2009, 06:29:07 PM
i wait for answer creator ディン1031 

maybe he know what make :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 08, 2009, 06:33:02 PM
He'd be the best person; he knows the mod better. I don't know if he still reads this thread though.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Iviiik on October 08, 2009, 07:06:16 PM
Quote from: Arantor on October 08, 2009, 06:33:02 PM
He'd be the best person; he knows the mod better. I don't know if he still reads this thread though.

ok ;) thank you
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 07:44:36 PM
Actually, you can create something similar to that, the hidden text is replaced with another set of text, you can use BBC in there, with that, you could use Arantors mod (admin/mod tags) and use those in the hidden content warning, you will get s similar looking warning with those 2 mods combined
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 08, 2009, 07:47:12 PM
Well, that should work but that relies on then configuring it so the same users have the same rights as the mod/admin tag. I also don't know if the protection against unauthorised usage of tags would mess it up, though I don't think it would.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 07:55:16 PM
Quote from: Arantor on October 08, 2009, 07:47:12 PM
Well, that should work but that relies on then configuring it so the same users have the same rights as the mod/admin tag. I also don't know if the protection against unauthorised usage of tags would mess it up, though I don't think it would.

Hide tag is really easy, I have it, Im have that setup now, that's why I say it
(http://i38.tinypic.com/2kpp4p.png)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 08, 2009, 07:56:20 PM
Well, I had to take that position as I hadn't tested it but logically it should work without any issues at all.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 08, 2009, 09:49:43 PM
Yes. The logical answer is that a non mod or admin cant use the tags, but somehow the hide tag mod can even display them even when posts are created by the regular member, its a pretty complex mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 09, 2009, 01:44:13 AM
Quote from: johncccccc on October 08, 2009, 02:34:00 PM
Great work, thanks!

Can you please post the code changed here too,

I have some weird errors (failed tests) on uninstalling and manually removing them will results in more manual coding to install the new version too

Thanks
Upload the new package and click on upgrade ;). Than it will make only the needed changes, without deinstall. Alternativ look the Upgrade235to2362.0.x.mod file if you like to do it yourself ;).

Quote from: evolva on October 08, 2009, 06:29:07 PM
i wait for answer creator ディン1031 

maybe he know what make :)
You can style the hidden content information as you like. You can enable the HTML mode than you can use all kind of HTML Styling things. Like <div> tags wich can be formated in the way you like it.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Iviiik on October 09, 2009, 05:50:45 AM
ディン1031 

Hey, i have a question....


How make this for hide and unhide ? :(


I want this , exactly this (screen)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 09, 2009, 06:06:32 AM
You can do this with the hide tag special settings... it's normal no problem.

And with the enabled HTML insert option it should be easy... i don't know how i should help you there, i'm not a designer but i know that it is possible without problems to set it up that it work oO.

Did you ever look at the Posts and Topics -> Hide Tag Special Options?

Use a html editor create this part you need and insert only that part into the field.

If you like to see it only at the end of the post, there is option where you can show it only one time in the post and at the end of the post...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 09, 2009, 06:59:25 AM
Quote from: johncccccc on October 08, 2009, 09:49:43 PM
Yes. The logical answer is that a non mod or admin cant use the tags, but somehow the hide tag mod can even display them even when posts are created by the regular member, its a pretty complex mod

Yes, because it doesn't use the Subs-Post code; when a post is made, a check is done that the user concerned is a suitably privileged user. Hide tag bypasses that entirely.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 09, 2009, 08:54:50 AM
Quote
Upload the new package and click on upgrade (http://smileys/default/wink.gif). Than it will make only the needed changes, without deinstall. Alternativ look the Upgrade235to2362.0.x.mod file if you like to do it yourself (http://smileys/default/wink.gif).

I don't see an upgrade button, however all the tests passed, dispite the earlier version already been installed ???

Normally I would go ahead and install, but I have had 2 instances of the same mod installed before, took me the best part of a day to remove it/them manually.

Never mind, the installer auto detects if I have a previous version installed already and chooses upgrade for me

Thanks,

TESTED:
Unapproved posts DO NOT give authorization to see hidden content, only approved posts will un hide the hidden content (the system works) Muahahaha!!!
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 09, 2009, 03:55:22 PM
Hi, I want to install this script x 3
What I have to modify in the mod file to change de code "[hide]" to  "[hide=1]", "[hide=2]", "[hide=3]"

this is to set diferents requeriments to each tag.

THX
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 09, 2009, 05:20:56 PM
Thats alot of work, this mod is complex enough as it is, although what your asking is for a version of this with 3 different tags that require 3 different member reactions to access the hidden data, it would probably be a mod request, as I dont think he will do this.

If your looking to have a button to click to unhide hidden content, like a thank you button, then install his other mod thank-o-matic
http://custom.simplemachines.org/mods/index.php?mod=710

they both work together when both are installled
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 09, 2009, 07:19:58 PM
If anyone can modify the script to have 3 or more options would be excellent.
For now my only request is to know how can I change the TAG. [hide] to [hide=whatever]
After that I will see how to install the same scrip 3 or more times to set up different configuration to each one.

thanks for the reply.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 09, 2009, 07:24:15 PM
You can't just change it. You'll need to copy the code in Subs.php 3 times first.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 09, 2009, 07:27:32 PM
and even after doing that, there is a lot more, like detecting what the member has done to deserve the right to see hidden content (your request), then the message for members without the right. (could be the same message)

ディン1031 will see your message and more than likely tell you the exact same thing.
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 09, 2009, 07:47:38 PM
Quote from: Arantor on October 09, 2009, 07:24:15 PM
You can't just change it. You'll need to copy the code in Subs.php 3 times first.

yes, that perhaps it easy. But how do we differentiate tags in the forum


Quote from: johncccccc on October 09, 2009, 07:27:32 PM
and even after doing that, there is a lot more, like detecting what the member has done to deserve the right to see hidden content (your request), then the message for members without the right. (could be the same message)

ディン1031 will see your message and more than likely tell you the exact same thing.

that makes the script itself. The different tags will not be used in the same post, in that way will be no conflict.
even if it were the universe will not explode, just would not work.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 09, 2009, 07:49:10 PM
Quote from: YoProPool on October 09, 2009, 07:47:38 PM
yes, that perhaps it easy. But how do we differentiate tags in the forum

Actually, now I think about it, you'd copy it once, not three times. Once for [hide] and once for [hide=value].

But really the mod's author would be the best person to ask.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 10, 2009, 02:38:05 PM
Quote from: YoProPool on October 09, 2009, 07:19:58 PM
If anyone can modify the script to have 3 or more options would be excellent.
For now my only request is to know how can I change the TAG. [hide] to [hide=whatever]
After that I will see how to install the same scrip 3 or more times to set up different configuration to each one.

thanks for the reply.
Hmm difficult very difficult :X.

It's not done with a 3 time copy, you need create a hole new mod for each versions... because all variables need to be changed for this, too. It's never be created so that he should used in diffrent tag ways. Also it was never planed to be have diffrent hide tag options.   
You need also change some other files to detect correct edits and and and ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 10, 2009, 05:29:52 PM
Quote from: ディン1031 on October 10, 2009, 02:38:05 PM
Quote from: YoProPool on October 09, 2009, 07:19:58 PM
If anyone can modify the script to have 3 or more options would be excellent.
For now my only request is to know how can I change the TAG. [hide] to [hide=whatever]
After that I will see how to install the same scrip 3 or more times to set up different configuration to each one.

thanks for the reply.
Hmm difficult very difficult :X.

It's not done with a 3 time copy, you need create a hole new mod for each versions... because all variables need to be changed for this, too. It's never be created so that he should used in diffrent tag ways. Also it was never planed to be have diffrent hide tag options.   
You need also change some other files to detect correct edits and and and ;).

There is a price I can pay for that job?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 10, 2009, 05:43:19 PM
Quote from: YoProPool on October 10, 2009, 05:29:52 PM
There is a price I can pay for that job?

That should get his attention :D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 11, 2009, 01:46:01 AM
Quote from: YoProPool on October 10, 2009, 05:29:52 PM
Quote from: ディン1031 on October 10, 2009, 02:38:05 PM
Quote from: YoProPool on October 09, 2009, 07:19:58 PM
If anyone can modify the script to have 3 or more options would be excellent.
For now my only request is to know how can I change the TAG. [hide] to [hide=whatever]
After that I will see how to install the same scrip 3 or more times to set up different configuration to each one.

thanks for the reply.
Hmm difficult very difficult :X.

It's not done with a 3 time copy, you need create a hole new mod for each versions... because all variables need to be changed for this, too. It's never be created so that he should used in diffrent tag ways. Also it was never planed to be have diffrent hide tag options.   
You need also change some other files to detect correct edits and and and ;).

There is a price I can pay for that job?
Hmmm than sent me a exact description via pm what the mod should do after the changes. Than i will tell you if i can do it or not. At the moment i would say i can't making it because of some time problems ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 11, 2009, 04:29:51 AM
Quote from: ディン1031 on October 11, 2009, 01:46:01 AM
Quote from: YoProPool on October 10, 2009, 05:29:52 PM
Quote from: ディン1031 on October 10, 2009, 02:38:05 PM
Quote from: YoProPool on October 09, 2009, 07:19:58 PM
If anyone can modify the script to have 3 or more options would be excellent.
For now my only request is to know how can I change the TAG. [hide] to [hide=whatever]
After that I will see how to install the same scrip 3 or more times to set up different configuration to each one.

thanks for the reply.
Hmm difficult very difficult :X.

It's not done with a 3 time copy, you need create a hole new mod for each versions... because all variables need to be changed for this, too. It's never be created so that he should used in diffrent tag ways. Also it was never planed to be have diffrent hide tag options.   
You need also change some other files to detect correct edits and and and ;).

There is a price I can pay for that job?
Hmmm than sent me a exact description via pm what the mod should do after the changes. Than i will tell you if i can do it or not. At the moment i would say i can't making it because of some time problems ;).


I do not know if this way would be easier.
If it were possible to simply associate the number after... "Hide=xxx" to the amount of Karma / posts, necessary to view content. That would be far more useful to me.
And from the admin panel choose whether the number will refer, to Karma or Posts, or whatever.

I really appreciate the attention. Many thx
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 12, 2009, 12:35:35 AM
I think you want something like
[hide Karma=10 Posts=10], And this should rewrite the current settings of minimum posts?

Hmmm difficult... i want never insert it because it's to heavy to insert. But i will see... possible there is a way... even if don't like it...

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on October 12, 2009, 02:24:31 AM
That would be just awesome. If you do that I will be eternally grateful.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 12, 2009, 05:00:06 PM
Quote from: YoProPool on October 12, 2009, 02:24:31 AM
That would be just awesome. If you do that I will be eternally grateful.
So for 1.8.5 the change.

Search in Subs.php for
Code (search for) Select

if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;

Code (replace with) Select

if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;

/*
This add some speical options to the hide tag.
[hide=OPTION]
The option change the output so that a diffrent setup for the post is avaible.
!!!Please beware only the first found option will be used as master all other will be ignored!!!
Use on own risk and it's complete untested :P
*/
$reset_hide_tage_special = false;
$old_user_post_avaible = $context['user_post_avaible'];
if ((!isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) && hideTagExists($message, $cache_id) && !$user_info['is_guest'])
{
/*
This array work in follow way (it's casesensitv)
[hide=NAME]XXXX[/hide]

'NAME' => array(
'minimum_karma' => 0,
// True disable the karma check (needed becuase negativ values are possible) (true or false)
'disable_karma_check' => false,
'minimum_posts' => 0,
// True disable the post check (true or false)
'disable_posts_check' => false,
// Should all valid to see the hidden content or only one? (true or false)
'one_to_enable_unhidden_content' => true,
);
If not the minimum_posts set than he disable the posts check the same goes for karma.
Standard for one_to_enable_unhidden_content is true
*/
static $special_hide_setup_array;

if (!isset($special_hide_setup_array))
{
$special_hide_setup_array = array(
'test' => array(
'minimum_karma' => 10,
'disable_karma_check' => true,
'minimum_posts' => 2,
'disable_posts_check' => false,
'one_to_enable_unhidden_content' => true,
),
);

// Load the current Member Data 1 time, i need it ;).
global $ID_MEMBER;
loadMemberData($ID_MEMBER);
loadMemberContext($ID_MEMBER);
}

// Okay how the Hardcore check, trust me... this everthing but not server friendly :P
preg_match_all("~\[hide.*?\]~", $message, $matches);

if (!empty($matches[0]))
{
foreach ($matches[0] as $item)
{
$item_splited = explode('=', substr($item, 0, -1));
// So rewiten Setups... seems to be done
if (!empty($item_splited[1]) && isset($special_hide_setup_array[$item_splited[1]]))
{
// First he is not allowed to see this post!
$context['user_post_avaible'] = 0;

global $memberContext;
$current_hide_setup = $special_hide_setup_array[$item_splited[1]];

// Standard Setup :)
$current_hide_setup['disable_karma_check'] = !isset($current_hide_setup['disable_karma_check']) ? !isset($current_hide_setup['minimum_karma']) : (bool) $current_hide_setup['disable_karma_check'];
$current_hide_setup['disable_posts_check'] = !isset($current_hide_setup['disable_posts_check']) ? !isset($current_hide_setup['minimum_posts']) : (bool) $current_hide_setup['disable_posts_check'];
$current_hide_setup['one_to_enable_unhidden_content'] = !isset($current_hide_setup['one_to_enable_unhidden_content']) ? true : (bool) $current_hide_setup['one_to_enable_unhidden_content'];

$karmaOK = false;
$postOK = false;
if (!$current_hide_setup['disable_posts_check'])
{
print_r($current_hide_setup);
$postOK = $user_info['posts'] >= (int) $current_hide_setup['minimum_posts'];
if ($postOK && $current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
}
if (!$reset_hide_tage_special && !$current_hide_setup['disable_karma_check'])
{
if ($karmaOK && $current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
elseif($karmaOK && $postOK && !$current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
}

if($reset_hide_tage_special)
$context['user_post_avaible'] = 1;

// Okay hardcore fix :P
$message = preg_replace("~\[hide.*?\]~", "[hide]", $message);

// Sorry the first one only will work... i can't unhide it seperate...
break;
}
}
}
}

Code (search for) Select

// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];

Code (replace with) Select

// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];

// Disable it after the change?
if($reset_hide_tage_special)
$context['user_post_avaible'] = $old_user_post_avaible;


How to extent the options or change them, read the comments. The settings for this are hard coded :P.
The change will make it possible to use [hide=test] and it will change the options for karma and posts ;).

I give not warranty that this work correct, use is on own risk!
Title: Re: Hide Tag Special (V1.8.5)
Post by: magnitude2007 on October 18, 2009, 06:53:54 AM
how to permanantly disabled the HideTagSpecial185_Fix mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 18, 2009, 08:03:58 AM
To disable any mod, go to the Package Manager and uninstall it.
Title: Re: Hide Tag Special (V1.8.5)
Post by: magnitude2007 on October 18, 2009, 08:15:59 AM
Quote from: Arantor on October 18, 2009, 08:03:58 AM
To disable any mod, go to the Package Manager and uninstall it.
i just want to show the hidden content to guests also  but i didnt find how to disable it for a short time to promote the site without any hidden contents
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 18, 2009, 08:23:52 AM
Ah, you didn't make it clear that was what you wanted to do.

There is no facility for that, other than uninstalling then reinstalling the mod, I believe. Maybe the author could add it to a later version.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 18, 2009, 10:42:08 AM
There is a setting option called
"Allowed Groups to see a hidden content without posting:"
You can check off guests in there then they can see the hidden content.

If you wish to upgrade to newer version, DIN 1031 has made it so no uninstall it necessary, just run the newer installer and click upgrade.
Title: Re: Hide Tag Special (V1.8.5)
Post by: magnitude2007 on October 19, 2009, 01:33:41 PM
Quote from: ♪ JohnCcCcCc ♫ on October 18, 2009, 10:42:08 AM
There is a setting option called
"Allowed Groups to see a hidden content without posting:"
You can check off guests in there then they can see the hidden content.

If you wish to upgrade to newer version, DIN 1031 has made it so no uninstall it necessary, just run the newer installer and click upgrade.

thanks for quick reply the guest option is not available in allowed group to see a hidden content do i also need to remove the php code from the files manually to upgrade to newer version.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 19, 2009, 02:36:06 PM
Depending on which version you have installed currently, you may not even need to uninstall, there may be a simple upgrade mod :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: magnitude2007 on October 20, 2009, 02:33:36 AM
Quote from: ♪ JohnCcCcCc ♫ on October 19, 2009, 02:36:06 PM
Depending on which version you have installed currently, you may not even need to uninstall, there may be a simple upgrade mod :)

thanks john
Title: Re: Hide Tag Special (V1.8.5)
Post by: SafariMan on October 24, 2009, 01:32:30 PM
   
After installing when I try to access the forum is a blank page, what can I do?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 24, 2009, 04:37:53 PM
Quote from: SafariMan on October 24, 2009, 01:32:30 PM
   
After installing when I try to access the forum is a blank page, what can I do?
Are you sure that it happen evertime after you installed the modifcation? Normal the mod do not change so much that the forum take to long to load oO.
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on October 28, 2009, 09:49:40 AM
hide tag install secsefully but when i aplly i got this Error
Installations actions for "Hide Tag":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

My forum version is Powered by SMF 2.0 RC1.2  now please tell me how can i uninstall this mod uninstall option is not showing there are only tow option delete and all file


Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 28, 2009, 09:52:36 AM
Select version 2.0 RC1 from the parse options instead. The code is the same, just the package parser doesn't accept the code used for 2.0 RC1.2 (and really, nor should it)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on October 28, 2009, 09:56:57 AM
Quote from: jaisi on October 28, 2009, 09:49:40 AM
hide tag install secsefully but when i aplly i got this Error
Installations actions for "Hide Tag":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

My forum version is Powered by SMF 2.0 RC1.2  now please tell me how can i uninstall this mod uninstall option is not showing there are only tow option delete and all file


Thanks
"Warning - while you were typing a new reply has been posted. You may wish to review your post.                           "
Arantor, beat me to it.
___________________________________________________________________________________________________
It would appear (based on your description) that the mod never got installed. If the options available are Apply Mod and Delete, then the mod is not installed, or the package manager is detecting it as uninstalled anyway.
As for why its giving you that message, I cant see why, but you could try downloading another version there are specific versions of the mod for every version of SMF.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on October 28, 2009, 10:14:10 AM
I believe the mod site parser now uses the same base code as 2.0 RC2 does, and it doesn't like mods using previous workarounds such as 2.0 - 2.0.99 to accept 2.0 versions, which is why you get errors on packages that say 2.0 RC1.2 compliant but won't be parseable.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on October 28, 2009, 07:06:06 PM
Strange... normal it should be installable on RC1.2 oO on my test system the Version 2.3.5 detect the SMF Version correct. I've only the problems with the upgrade there the detection is not correct... But if you use RC1 as compatible mode it should work, too. The code is not changed and it should work, too. Only if you use RC2 than the mod will not work ;). (Never updated it, because the RC2 is not public at the moment) ;)

And i do not use the 2.0-2.0.99 =)
Title: Re: Hide Tag Special (V1.8.5)
Post by: scorpion1082 on November 03, 2009, 03:40:35 AM
  if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '') 

this failed on install for me.  im using 236 for my 2.0 rc 1.2.  should i use a different version or something?  i would manually install it, but im not on the server side, im just a forum admin who deals with all the forum stuff.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 03, 2009, 09:53:56 AM
Without this change you can not post with only [hide] and nothing else, it will show that this is a empty post. If you you say it's no problem and than it should be work ;). I'm not sure about the preview but i think i solved that in a different way ;). So i will give no warranty that it work.
Title: Re: Hide Tag Special (V1.8.5)
Post by: scorpion1082 on November 03, 2009, 03:31:34 PM
sorry, im sure english is not ur primary language, so id like to try to translate this.  i believe what ur saying is without that code, i CAN NOT post with [hide] manually, but everything else DOES work?  meaning if i force a board to be automatically hidden by default, then that WILL work?  see, i have an area that i dont want anyone to be able to read ANY posts at all except the person who posted the info and myself (the forum admin).  will that still workout?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 04, 2009, 03:40:09 AM
Hmmm no ;).

You can not post a post which complete hide the content, there will be a error message that will say that the post is empty and will not post the content. And i'm not sure if there are problems with the preview.
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on November 09, 2009, 08:41:48 PM
I just noticed that if you first installed Aeva, the Hide Tag Special mod could not be installed via Package Manager automatically because Aeva, in ./Sources/Post.php replaces all instances of '<img> with '<img><object><embed>'. If you first install this mod and then Aeva, it works just fine.



ディン1031, could you please also update HideTagSpecialBBCButton101Fix.zip to work with RC2?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on November 09, 2009, 08:58:51 PM
Quote from: poolhall on November 09, 2009, 08:41:48 PM
I just noticed that if you first installed Aeva, the Hide Tag Special mod could not be installed via Package Manager automatically because Aeva, in ./Sources/Post.php replaces all instances of '<img> with '<img><object><embed>'. If you first install this mod and then Aeva, it works just fine.



ディン1031, could you please also update HideTagSpecialBBCButton101Fix.zip to work with RC2?


You can use an hidden character (outside of the hide tag) this will let you post a blank post.

A hidden character is similar to a space, but not blocked by smf for posting alone.
for example using an ALT character ALT+ 0144 (number pad only) works, well did in earlier versions

I will try to post another post with it here :)

EDIT, look below it works :)

it could be possible to edit the tag code to add the hidden character after [/hide] then it will always be used automatically when using the hide tag
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on November 09, 2009, 08:59:01 PM

Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 10, 2009, 12:19:41 AM
Quote from: poolhall on November 09, 2009, 08:41:48 PM
ディン1031, could you please also update HideTagSpecialBBCButton101Fix.zip to work with RC2?
Updated
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on November 10, 2009, 01:24:36 AM
Quote from: ディン1031 on November 10, 2009, 12:19:41 AM
Quote from: poolhall on November 09, 2009, 08:41:48 PM
ディン1031, could you please also update HideTagSpecialBBCButton101Fix.zip to work with RC2?
Updated
uhhh, but it is the same as before?
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on November 10, 2009, 01:27:08 AM
Quote from: ♪ JohnCcCcCc ♫ on November 09, 2009, 08:58:51 PM
Quote from: poolhall on November 09, 2009, 08:41:48 PM
I just noticed that if you first installed Aeva, the Hide Tag Special mod could not be installed via Package Manager automatically because Aeva, in ./Sources/Post.php replaces all instances of '<img> with '<img><object><embed>'. If you first install this mod and then Aeva, it works just fine.



ディン1031, could you please also update HideTagSpecialBBCButton101Fix.zip to work with RC2?


You can use an hidden character (outside of the hide tag) this will let you post a blank post.

A hidden character is similar to a space, but not blocked by smf for posting alone.
for example using an ALT character ALT+ 0144 (number pad only) works, well did in earlier versions

I will try to post another post with it here :)

EDIT, look below it works :)

it could be possible to edit the tag code to add the hidden character after [/hide] then it will always be used automatically when using the hide tag
Why would I need to want to use this character? Maybe you meant to quote someone's else post, not mine :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: YoProPool on November 10, 2009, 02:53:15 AM
Quote from: ディン1031 on October 12, 2009, 05:00:06 PM

So for 1.8.5 the change.

Search in Subs.php for
Code (search for) Select

if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;

Code (replace with) Select

if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;

/*
This add some speical options to the hide tag.
[hide=OPTION]
The option change the output so that a diffrent setup for the post is avaible.
!!!Please beware only the first found option will be used as master all other will be ignored!!!
Use on own risk and it's complete untested :P
*/
$reset_hide_tage_special = false;
$old_user_post_avaible = $context['user_post_avaible'];
if ((!isset($context['user_post_avaible']) || empty($context['user_post_avaible'])) && hideTagExists($message, $cache_id) && !$user_info['is_guest'])
{
/*
This array work in follow way (it's casesensitv)
[hide=NAME]XXXX[/hide]

'NAME' => array(
'minimum_karma' => 0,
// True disable the karma check (needed becuase negativ values are possible) (true or false)
'disable_karma_check' => false,
'minimum_posts' => 0,
// True disable the post check (true or false)
'disable_posts_check' => false,
// Should all valid to see the hidden content or only one? (true or false)
'one_to_enable_unhidden_content' => true,
);
If not the minimum_posts set than he disable the posts check the same goes for karma.
Standard for one_to_enable_unhidden_content is true
*/
static $special_hide_setup_array;

if (!isset($special_hide_setup_array))
{
$special_hide_setup_array = array(
'test' => array(
'minimum_karma' => 10,
'disable_karma_check' => true,
'minimum_posts' => 2,
'disable_posts_check' => false,
'one_to_enable_unhidden_content' => true,
),
);

// Load the current Member Data 1 time, i need it ;).
global $ID_MEMBER;
loadMemberData($ID_MEMBER);
loadMemberContext($ID_MEMBER);
}

// Okay how the Hardcore check, trust me... this everthing but not server friendly :P
preg_match_all("~\[hide.*?\]~", $message, $matches);

if (!empty($matches[0]))
{
foreach ($matches[0] as $item)
{
$item_splited = explode('=', substr($item, 0, -1));
// So rewiten Setups... seems to be done
if (!empty($item_splited[1]) && isset($special_hide_setup_array[$item_splited[1]]))
{
// First he is not allowed to see this post!
$context['user_post_avaible'] = 0;

global $memberContext;
$current_hide_setup = $special_hide_setup_array[$item_splited[1]];

// Standard Setup :)
$current_hide_setup['disable_karma_check'] = !isset($current_hide_setup['disable_karma_check']) ? !isset($current_hide_setup['minimum_karma']) : (bool) $current_hide_setup['disable_karma_check'];
$current_hide_setup['disable_posts_check'] = !isset($current_hide_setup['disable_posts_check']) ? !isset($current_hide_setup['minimum_posts']) : (bool) $current_hide_setup['disable_posts_check'];
$current_hide_setup['one_to_enable_unhidden_content'] = !isset($current_hide_setup['one_to_enable_unhidden_content']) ? true : (bool) $current_hide_setup['one_to_enable_unhidden_content'];

$karmaOK = false;
$postOK = false;
if (!$current_hide_setup['disable_posts_check'])
{
print_r($current_hide_setup);
$postOK = $user_info['posts'] >= (int) $current_hide_setup['minimum_posts'];
if ($postOK && $current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
}
if (!$reset_hide_tage_special && !$current_hide_setup['disable_karma_check'])
{
if ($karmaOK && $current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
elseif($karmaOK && $postOK && !$current_hide_setup['one_to_enable_unhidden_content'])
$reset_hide_tage_special = true;
}

if($reset_hide_tage_special)
$context['user_post_avaible'] = 1;

// Okay hardcore fix :P
$message = preg_replace("~\[hide.*?\]~", "[hide]", $message);

// Sorry the first one only will work... i can't unhide it seperate...
break;
}
}
}
}

Code (search for) Select

// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];

Code (replace with) Select

// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];

// Disable it after the change?
if($reset_hide_tage_special)
$context['user_post_avaible'] = $old_user_post_avaible;


How to extent the options or change them, read the comments. The settings for this are hard coded :P.
The change will make it possible to use [hide=test] and it will change the options for karma and posts ;).

I give not warranty that this work correct, use is on own risk!

only one question. What about this?

(http://i36.tinypic.com/s2utu9.jpg)

Title: Re: Hide Tag Special (V1.8.5)
Post by: 7s-1k on November 10, 2009, 05:10:06 AM
I hope the Button of Hide will be released too for 2.0 RC2
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 10, 2009, 06:49:31 AM
Never... i'm against a hide button :P. A secret is not a secret if anyone know that there could be a secret. (My personal thought).
[he]
@YoProPool
Quote
(http://i36.tinypic.com/s2utu9.jpg)
This is only a example to test it ;). You can change it remove or rename and use you're own values.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: the_shadow on November 10, 2009, 07:58:39 AM
i can´t find this in sources/Display.php
$context['is_approved'] = $topicinfo['approved'];
Title: Re: Hide Tag Special (V1.8.5)
Post by: 7s-1k on November 10, 2009, 11:27:37 AM
Quote from: ディン1031 on November 10, 2009, 06:49:31 AM
Never... i'm against a hide button :P. A secret is not a secret if anyone know that there could be a secret. (My personal thought).

Or just for Mods/Admins only  :D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on November 10, 2009, 12:06:21 PM
Quote from: ディン1031 on November 04, 2009, 03:40:09 AM
Hmmm no ;).

You can not post a post which complete hide the content, there will be a error message that will say that the post is empty and will not post the content. And i'm not sure if there are problems with the preview.

I was meant to quote this one ^ :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 10, 2009, 01:32:17 PM
Quote from: the_shadow on November 10, 2009, 07:58:39 AM
i can´t find this in sources/Display.php
$context['is_approved'] = $topicinfo['approved'];
Which Mod Version and SMF Version?
Title: Re: Hide Tag Special (V1.8.5)
Post by: the_shadow on November 10, 2009, 01:35:19 PM
for SMF 2.0RC2 and last version mod!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 11, 2009, 12:36:56 AM
*lookingatthecode*

Line 619 in the Display.php oO. So it exist.
Title: Re: Hide Tag Special (V1.8.5)
Post by: France on November 18, 2009, 11:32:56 AM
How to install with 1.1.10 ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 18, 2009, 01:25:59 PM
upload it to the package dir and install it with the packet manager  O:)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on November 21, 2009, 05:22:29 PM
I have installed a mod on SMF RC1-1
But when I updated it to RC-2 mod didn't update files.
So now I can seem to uninstall it to install a new version.
Can any one help me ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on November 21, 2009, 05:23:51 PM
Uninstall it, and ignore the errors it gives you.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on November 21, 2009, 06:41:04 PM
QuoteНе найден файл пакета модификаций!
QuoteNo such modification package found !
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on November 21, 2009, 06:49:44 PM
Huh?

What did you click on?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on November 21, 2009, 07:05:27 PM
QuoteHuh?

What did you click on?
Installed packages >

5.   Hide Tag   2.3.5   [ Delete ]
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on November 21, 2009, 07:10:35 PM
You clicked the delete button? Note that deleting doesn't uninstall anything.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on November 21, 2009, 07:15:15 PM
ones more, there is no changes to the files as good as I know.
I just need to get this thing out, because when i try to install it it trys to update it ...
Ps: the was no such thing as uninstall like on other mods, there was only look at files & delete files, I clicked delete files.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on November 21, 2009, 07:17:25 PM
So if you just upgraded there aren't any files modified by this mod, so yeah delete should do it but it sounds like it's not finding the right file.

I'm also not sure whether that would appropriately delete the entry in the database.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ben K on November 21, 2009, 07:25:57 PM
What I have found :
If click update it spits at you errors, then if you update it, & then try to delete it, it will only give you alote of errors, & deletes it.
So mod is not in files.
How can I delete every thing about old one ?
I have searched db but didn't find any thing =\
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on November 21, 2009, 07:32:37 PM
If you try and update that, that's because the mod is not installed, so it can't modify the code that it expects to find.

And just outright deleting it doesn't work...

You need to remove the rows from the {db_prefix}log_packages table that refer to it, of which there may be many. Then you can just delete the file after manually from FTP.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dzen on November 26, 2009, 07:07:34 AM
Got a problem with this mod as well :(
I have SMF 1.1.10 and installed HideTagSpecial185_Fix.zip It installed like a charm but there's no changes at my admin panel. I know where to look for it. There is no new tab :( I'm using russian language pack.

Pleease help  :-[
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dzen on November 26, 2009, 08:22:04 AM
Went to error log. Pretty much there :( One of them
file_get_contents(/home/domain/public_html/Packages/temp/./HideTagSpecialRussian.xml) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: /home/domain/public_html/Sources/Packages.php


I'm confused about "/temp/./HideTagSpecialRussian.xml" Why is it a dot there. Feel like I'm missing omething very basic just can't find anything with search.

Pleease, help  :-[
Thank you!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on November 26, 2009, 12:19:54 PM
Quote from: Dzen on November 26, 2009, 08:22:04 AM
Went to error log. Pretty much there :( One of them
file_get_contents(/home/domain/public_html/Packages/temp/./HideTagSpecialRussian.xml) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
File: /home/domain/public_html/Sources/Packages.php


I'm confused about "/temp/./HideTagSpecialRussian.xml" Why is it a dot there. Feel like I'm missing omething very basic just can't find anything with search.

Pleease, help  :-[
Thank you!
Strange... i don't know why there is a point oO... i looked at the packages and they are correct...
Title: Re: Hide Tag Special (V1.8.5)
Post by: wernix on November 28, 2009, 10:51:26 AM
sorry my english

i convert phpbb3 forum to smf2. in phpbb3 use mod with some different tags like [hide:213126371263]text[/hide:213126371263] so you mod dont work with it((((
I tried to correct himself code
$form_message = preg_replace("~\[hide\](.+?)\[\/hide\]~i", "&nbsp;", $form_message);

to
$form_message = preg_replace("~\[hide(.*?)\](.+?)\[\/hide(.*?)\]~i", "&nbsp;", $form_message);

I made a correction, forum correctly hides the text, but when the user can see hidden text, it does not work css style. Hide tags not replaced. Where I made a mistake? can you correct mod to correctly hide phpbb3 hide tags?
thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 01, 2009, 03:34:41 PM
Quote from: wernix on November 28, 2009, 10:51:26 AM
sorry my english

i convert phpbb3 forum to smf2. in phpbb3 use mod with some different tags like [hide:213126371263]text[/hide:213126371263] so you mod dont work with it((((
I tried to correct himself code
$form_message = preg_replace("~\[hide\](.+?)\[\/hide\]~i", "&nbsp;", $form_message);

to
$form_message = preg_replace("~\[hide(.*?)\](.+?)\[\/hide(.*?)\]~i", "&nbsp;", $form_message);

I made a correction, forum correctly hides the text, but when the user can see hidden text, it does not work css style. Hide tags not replaced. Where I made a mistake? can you correct mod to correctly hide phpbb3 hide tags?
thanks
Oh you ask already ;), hmmm this is not the only position... the problem is that i use the standard smf system for the replace and unhidden (so that the bbc items inside the hiden content are available.)

Hmmm for this you need replace them before go thought the parset with it, because i don't know that smf can handle this way... look in the Subs.php in the function parse_bbc there is a part for the hidden content remove and i think you can use it for you own thing to replace all your special hide tags with the normal ones.

Hope this will help you to solve you problem :).
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dzonny on December 03, 2009, 05:09:18 PM
Sorry for interupt, buh how can we make links in hide tag innactive?

Regards.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 07, 2009, 05:09:46 AM
How do you mean that? Links inactive, remove it? Remove the url? Add a codetag around? Do not parse around it?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dzonny on December 07, 2009, 05:52:54 AM
Quote from: ディン1031 on December 07, 2009, 05:09:46 AM
How do you mean that? Links inactive, remove it? Remove the url? Add a codetag around? Do not parse around it?
i just dont want it to be like url, i mean linkable...
How can i do that?

Regaeds.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on December 07, 2009, 11:16:04 AM
Just wrap links in code and hide tags..

HIDE - CODE

Links
Links

/CODE - /HIDE
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 08, 2009, 12:15:16 AM
Quote from: Dzonny on December 07, 2009, 05:52:54 AM
Quote from: ディン1031 on December 07, 2009, 05:09:46 AM
How do you mean that? Links inactive, remove it? Remove the url? Add a codetag around? Do not parse around it?
i just dont want it to be like url, i mean linkable...
How can i do that?

Regaeds.
With the code tag is a way, but normal i would say that what the parser parse will be parsed inside the hidden content. I can not slect some tags inside the hidden content and do not parse them. The only way to do is to disable the the parsing inside the hidden content (that would be possible in the subs.php). But than not one bbc will be parsed like in the code tag. :X
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on December 08, 2009, 03:23:51 AM
Quote from: ディン1031 on December 08, 2009, 12:15:16 AM
With the code tag is a way, but normal i would say that what the parser parse will be parsed inside the hidden content. I can not slect some tags inside the hidden content and do not parse them. The only way to do is to disable the the parsing inside the hidden content (that would be possible in the subs.php). But than not one bbc will be parsed like in the code tag. :X

Actually, you can do that in 2.0; the last parameter to parse_bbc is actually an array containing a list of all the bbcodes you actually want to enable.
Title: Re: Hide Tag Special (V1.8.5)
Post by: kanderson88 on December 09, 2009, 12:27:23 AM
Ive got a problem with display.php and im not sure what to do.

ill attach my php file.
Code (FIND) Select
id_msg, icon, subject, poster_time, poster_ip, id_member, modified_time, modified_name, body,
Code (INSERT) Select
hiddenOption, hiddenValue, hiddenInfo, id_board,

i have rc2 newest version. heeeelp
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 09, 2009, 12:37:52 AM
Quote from: Arantor on December 08, 2009, 03:23:51 AM
Quote from: ディン1031 on December 08, 2009, 12:15:16 AM
With the code tag is a way, but normal i would say that what the parser parse will be parsed inside the hidden content. I can not slect some tags inside the hidden content and do not parse them. The only way to do is to disable the the parsing inside the hidden content (that would be possible in the subs.php). But than not one bbc will be parsed like in the code tag. :X

Actually, you can do that in 2.0; the last parameter to parse_bbc is actually an array containing a list of all the bbcodes you actually want to enable.
Thanks for the info, but i think that is not what he wanted, i think he will only remove the automatic urls on hidden contents...

Quote from: kanderson88 on December 09, 2009, 12:27:23 AM
Ive got a problem with display.php and im not sure what to do.

ill attach my php file.
Code (FIND) Select
id_msg, icon, subject, poster_time, poster_ip, id_member, modified_time, modified_name, body,
Code (INSERT) Select
hiddenOption, hiddenValue, hiddenInfo, id_board,

i have rc2 newest version. heeeelp
What is this... thats defentiv not my mod oO. Possible you're in the wrong thread i think that hide post mod not the hide tag special mod.

Bye
DIN!031
Title: Re: Hide Tag Special (V1.8.5)
Post by: kanderson88 on December 09, 2009, 12:42:02 AM
oooops hahaha i am so sorry thanks.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on December 09, 2009, 03:57:25 AM
Quote from: ディン1031 on December 09, 2009, 12:37:52 AM
Thanks for the info, but i think that is not what he wanted, i think he will only remove the automatic urls on hidden contents...

Just pass all the currently enabled tags - minus url and iurl - in as the array. Automatic URLs are simply rewritten to have [url] around them.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 09, 2009, 07:45:02 AM
Yes i know it would be end in something like


array(
'tag' => 'hide',
'type' => 'unparsed_content',
'before' => $modSettings['hide_preparedOption']['before_info'],
'after' => $modSettings['hide_preparedOption']['after_info'],
'validate' => isset($disabled['hide']) ? null : create_function('&$tag, &$data, $disabled', '
if (!isset($disabled[\'hide\']))
{
// I don\'t like this way <<
global $chached_bbc_content
if (!isset($chached_bbc_content))
{
$bbc = parse_bbc(false);
$not_allowed = array('iurl', 'url');
$chached_bbc_content = array();
foreach ($bbc as $item)
if (!in_array($item['tag'], $not_allowed))
$chached_bbc_content[$item['tag']] = $item['tag'];
}
$data = parse_bbc($data, true, '', $chached_bbc_content);
}'),
'block_level' => true,
),


But i don't like it in that way, because there are thing that will be lost, for example the smilies disable ;). Possible there are better ways :X.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on December 09, 2009, 08:38:59 AM
They don't have to be; smileys are controlled by the second parameter to parse_bbc.

Not sure quite what $bbc = parse_bbc(false); is all about though :S
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 10, 2009, 12:26:45 AM
Quote from: Arantor on December 09, 2009, 08:38:59 AM
They don't have to be; smileys are controlled by the second parameter to parse_bbc.

Not sure quite what $bbc = parse_bbc(false); is all about though :S
Thats was only to load all current bbc codes. So that i can create the parse tags code without url and irul. The false will return the current BBC $codes array ;).

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on December 10, 2009, 02:09:21 AM
Quote from: ディン1031 on December 10, 2009, 12:26:45 AM
Thats was only to load all current bbc codes. So that i can create the parse tags code without url and irul. The false will return the current BBC $codes array ;).

I didn't know about that. Thanks for sharing!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arkino on December 12, 2009, 01:25:42 AM
BUG TIME

When I change English to Spanish I got these error:

Undefined index: manageposts_hidetagspecial_settings
Archivo: /foro/Sources/Admin.php
Línea: 262

8: Undefined index: manageposts_hidetagspecial_settings_description
Archivo: /foro/Sources/ManagePosts.php
Línea: 97

I have edited and I have put the $txt in:

Admin.spanish_es-utf8.php
Help.spanish_es-utf8.php
index.spanish_es-utf8.php

before ?> and did not work :S

I am using SMF 2.0 RC2 with HideTagSpecial236_(2.0RC2_Compatible)

how can I fix it?

Thank you in advance
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on December 12, 2009, 03:02:14 AM
To fix this error: Admin > Maintenance > Routine > Empty the file cache

Changes to language files need to empty file cache after being done.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arkino on December 12, 2009, 12:19:47 PM
Quote from: Arantor on December 12, 2009, 03:02:14 AM
To fix this error: Admin > Maintenance > Routine > Empty the file cache

Changes to language files need to empty file cache after being done.

Thank you =) Its works!
Title: Re: Hide Tag Special (V1.8.5)
Post by: aktsa on December 12, 2009, 02:18:51 PM
i have upload the mod but when i am going to apply it it ask for FTP information what should i do i don't know much about ftp which required for this hide tage please help me
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on December 12, 2009, 08:58:12 PM
Quote from: aktsa on December 12, 2009, 02:18:51 PM
i have upload the mod but when i am going to apply it it ask for FTP information what should i do i don't know much about ftp which required for this hide tage please help me

You would enter the information its asking for, usually the host/cpanel login information is the same as main FTP account.
Title: Re: Hide Tag Special (V1.8.5)
Post by: oilsjtmp3 on December 16, 2009, 10:22:58 AM
We upgraded our forum to version from  smf2.0rc1.2 to smf2.0rc2.0.
We used a hide function for the attachments (no photo's but a file). Users have to reply befor they see the attachment.  (Hide Tag 2.3.6)
Since we made the upgrade this function doesn't work anymore.
Can somebody help ?

Thnx in advance
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 17, 2009, 12:57:47 AM
Quote from: oilsjtmp3 on December 16, 2009, 10:22:58 AM
We upgraded our forum to version from  smf2.0rc1.2 to smf2.0rc2.0.
We used a hide function for the attachments (no photo's but a file). Users have to reply befor they see the attachment.  (Hide Tag 2.3.6)
Since we made the upgrade this function doesn't work anymore.
Can somebody help ?

Thnx in advance
Hmm? Attachment hidden? I do not know that my mod support this... normal if you insert it yourself it should be work afterward i do not change any variables for hidden conent detection ;).

How does the function look that you use to unhide hidden content? :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: lexa90 on December 18, 2009, 08:22:39 PM
Hello peeps,

i just wanted to ask if u could help me.

I installed this mod without any errors, throught package parser, but, when i post something with [hide][/hide]  nothing happens, the post stays the same.

I appreciate any help
Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on December 18, 2009, 08:48:22 PM
Quote from: lexa90 on December 18, 2009, 08:22:39 PM
Hello peeps,

i just wanted to ask if u could help me.

I installed this mod without any errors, throught package parser, but, when i post something with [hide][/hide]  nothing happens, the post stays the same.

I appreciate any help
Thanks
Check hide tag permissions, who can see hidden text. Probably you can see it as admin.
Title: Re: Hide Tag Special (V1.8.5)
Post by: lexa90 on December 18, 2009, 09:19:20 PM
Aha ok :) Will check out.
Title: Re: Hide Tag Special (V1.8.5)
Post by: meko me on December 21, 2009, 08:56:18 AM
hello i'm using RC2 please kindly update the bbc button for this mod please :)

regards :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 22, 2009, 09:00:45 AM
Quote from: meko me on December 21, 2009, 08:56:18 AM
hello i'm using RC2 please kindly update the bbc button for this mod please :)

regards :)
Already done...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Oskarlover on December 28, 2009, 07:39:38 AM
Im trying to install this mode but i go this 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.



5. Execute Modification ./Sources/Post.php Test failed


Everything else seems to be ok.

so im scared, what do i need to do?

I have the latest RC 2.0 2.2
Title: Re: Hide Tag Special (V2.3.6)
Post by: herace on December 28, 2009, 07:30:23 PM
HideTagSpecial236_(2.0RC2_Compatible) error:

Failed

Subs.php
Find:
static $disabled;

Add After:
static $disabled;

// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

// Prepare the unhidden infomation?
if (!empty($modSettings['hide_enableUnhiddenText']))
{
$modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
}
}

// So prepare the unhidden Option for the Parser ;)
if (!empty($modSettings['hide_useSpanTag']))
{
$modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</span>';
}
else
{
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
}

// Okay Let's see where i must put the unhidden Informations :)
if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
{
if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 3)
$modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
elseif ($modSettings['hide_posUnhiddenText'] == 2)
$modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 1)
$modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
else
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
}

$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

// Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
$modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
{
$modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
foreach ($user_info['groups'] as $group_id)
if (in_array($group_id, $modSettings['hide_autounhidegroups']))
{
$modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
break; //One is enouph ;D
}
}
}

// Hide Mod.. i remove the code before i do anything...
if ($message !== false && !empty($message))
{
if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;
// Add the Hidden Text at the end of the post :)
if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
$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);
}
// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}
Title: Re: Hide Tag Special (V2.3.6)
Post by: Oskarlover on December 28, 2009, 07:34:10 PM
Quote from: herace on December 28, 2009, 07:30:23 PM
HideTagSpecial236_(2.0RC2_Compatible) error:

Failed

Subs.php
Find:
static $disabled;

Add After:
static $disabled;

// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

// Prepare the unhidden infomation?
if (!empty($modSettings['hide_enableUnhiddenText']))
{
$modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
}
}

// So prepare the unhidden Option for the Parser ;)
if (!empty($modSettings['hide_useSpanTag']))
{
$modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</span>';
}
else
{
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
}

// Okay Let's see where i must put the unhidden Informations :)
if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
{
if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 3)
$modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
elseif ($modSettings['hide_posUnhiddenText'] == 2)
$modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 1)
$modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
else
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
}

$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

// Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
$modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
{
$modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
foreach ($user_info['groups'] as $group_id)
if (in_array($group_id, $modSettings['hide_autounhidegroups']))
{
$modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
break; //One is enouph ;D
}
}
}

// Hide Mod.. i remove the code before i do anything...
if ($message !== false && !empty($message))
{
if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;
// Add the Hidden Text at the end of the post :)
if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
$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);
}
// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}


Is thats for me?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on December 29, 2009, 03:45:17 AM
Quote from: Oskarlover on December 28, 2009, 07:39:38 AM
Im trying to install this mode but i go this 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.



5. Execute Modification ./Sources/Post.php Test failed


Everything else seems to be ok.

so im scared, what do i need to do?

I have the latest RC 2.0 2.2
What Version is 2.0 2.2?
You could tell me what exactly not correct replaced... (In SMF 2.0 RC2 you can look which replace not work)

@herace
Defentiv this is in the code... so there is no error... i think you've mod installed who changed this line...

Code (Subs.php Line 864-873) Select

// 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, $smcFunc;
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.
if (WIRELESS)
$smileys = false;


Title: Re: Hide Tag Special (V1.8.5)
Post by: herace on December 29, 2009, 07:18:56 PM
Quote from: ディン1031 on December 29, 2009, 03:45:17 AM

@herace
Defentiv this is in the code... so there is no error... i think you've mod installed who changed this line...

Code (Subs.php Line 864-873) Select

// 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, $smcFunc;
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.
if (WIRELESS)
$smileys = false;



Thank you.
static $disabled, $parse_tag_cache;
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on January 08, 2010, 09:19:38 AM
Okay i offical annonce... there is a incomptible problem with aeva and hide tag special 2.3.6 after the install the '( and :'( smilies are not working anymore... at the moment i do not know why... i hope i find a soulution...
Okay it's avae only problem... tested it...
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on January 18, 2010, 12:25:30 PM
Im trying to install this mode but i go this error:
QuoteError 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.

1. Execute Modification ./Sources/Admin.php Test successful
  1. Replace ./Sources/Admin.php Test successful

2. Execute Modification ./Sources/ManagePosts.php Test successful
  1. Replace ./Sources/ManagePosts.php Test successful
  2. Replace ./Sources/ManagePosts.php Test successful
  3. Replace ./Sources/ManagePosts.php Test successful

3. Execute Modification ./Sources/Subs-Editor.php Test successful
  1. Replace ./Sources/Subs-Editor.php Test successful

4. Execute Modification ./Sources/Display.php Test successful
  1. Add Before ./Sources/Display.php Test successful
  2. Replace ./Sources/Display.php Test successful

5. Execute Modification ./Sources/Post.php Test failed  
  1. Replace ./Sources/Post.php Test successful
  2. Replace ./Sources/Post.php Test successful
  3. Replace ./Sources/Post.php Test successful
  4. Replace ./Sources/Post.php Test failed 
  5. Replace ./Sources/Post.php Test successful
  6. Replace ./Sources/Post.php Test successful
  7. Replace ./Sources/Post.php Test successful
  8. Replace ./Sources/Post.php Test successful

6. Execute Modification ./Sources/Search.php Test successful
  1. Add After ./Sources/Search.php Test successful

7. Execute Modification ./Sources/Subs.php Test successful
  1. Add After ./Sources/Subs.php Test successful
  2. Add After ./Sources/Subs.php Test successful
  3. Replace ./Sources/Subs.php Test successful
  4. Replace ./Sources/Subs.php Test successful
  5. Replace ./Sources/Subs.php Test successful

8. Execute Modification ./Themes/default/Admin.template.php Test successful
  1. Replace ./Themes/default/Admin.template.php Test successful

9. Execute Modification ./Sources/Post.php Test successful
  1. Add Before ./Sources/Post.php Test successful

10. Execute Modification ./Themes/default/languages/Admin.english.php Test successful
  1. Add Before ./Themes/default/languages/Admin.english.php Test successful

11. Execute Modification ./Themes/default/languages/Help.english.php Test successful
  1. Add Before ./Themes/default/languages/Help.english.php Test successful

12. Execute Modification ./Themes/default/languages/index.english.php Test successful
  1. Add Before ./Themes/default/languages/index.english.php Test successful

13. Execute Modification ./Themes/default/languages/Admin.german.php Skipping file
14. Execute Modification ./Themes/default/languages/Help.german.php Skipping file
15. Execute Modification ./Themes/default/languages/index.german.php Skipping file
16. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Skipping file
17. Execute Modification ./Themes/default/languages/Help.english-utf8.php Skipping file
18. Execute Modification ./Themes/default/languages/index.english-utf8.php Skipping file
19. Execute Modification ./Themes/default/languages/Admin.german-utf8.php Skipping file
20. Execute Modification ./Themes/default/languages/Help.german-utf8.php Skipping file
21. Execute Modification ./Themes/default/languages/index.german-utf8.php Skipping file
22. Execute Modification ./Themes/default/languages/Admin.greek-utf8.php Skipping file
23. Execute Modification ./Themes/default/languages/Help.greek-utf8.php Skipping file
24. Execute Modification ./Themes/default/languages/index.greek-utf8.php Skipping file
25. Execute Modification ./Themes/default/languages/Admin.turkish.php Skipping file
26. Execute Modification ./Themes/default/languages/Help.turkish.php Skipping file
27. Execute Modification ./Themes/default/languages/index.turkish.php Skipping file
28. Execute Modification ./Themes/default/languages/Admin.russian.php Skipping file
29. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
30. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
31. Execute Modification ./Themes/default/languages/Admin.russian-utf8.php Skipping file
32. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/index.russian-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/Admin.czech.php Skipping file
35. Execute Modification ./Themes/default/languages/Help.czech.php Skipping file
36. Execute Modification ./Themes/default/languages/index.czech.php Skipping file
37. Execute Modification ./Themes/default/languages/Admin.czech-utf8.php Skipping file
38. Execute Modification ./Themes/default/languages/Help.czech-utf8.php Skipping file
39. Execute Modification ./Themes/default/languages/index.czech-utf8.php Skipping file
40. Execute Modification ./Themes/default/languages/Admin.polish.php Skipping file
41. Execute Modification ./Themes/default/languages/Help.polish.php Skipping file
42. Execute Modification ./Themes/default/languages/index.polish.php Skipping file


Everything else seems to be ok.

so im scared, what do i need to do?

I have the latest Powered by SMF 2.0 RC2

and mod version is this HideTagSpecial236_(2.0RC2_Compatible).zip
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on January 20, 2010, 04:01:24 AM
bump please reply
Title: Re: Hide Tag Special (V1.8.5)
Post by: masterz3d on January 20, 2010, 04:33:25 PM
Hi din, may I translate your Hide Tag Special into Italian? And, when I'm done, should I send you the whole modified package (.tar.gzipped) or just the modified/added files?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on January 21, 2010, 05:01:04 AM
Quote from: jaisi on January 20, 2010, 04:01:24 AM
bump please reply
Hmmm i think some modifcation give a confilict, you can try to insert the missing part by yourself... (you can do that on you're own risk.)

Quote from: masterz3d on January 20, 2010, 04:33:25 PM
Hi din, may I translate your Hide Tag Special into Italian? And, when I'm done, should I send you the whole modified package (.tar.gzipped) or just the modified/added files?
No Problem :), i will insert it :D.
Title: Re: Hide Tag Special (V1.8.5)
Post by: masterz3d on January 21, 2010, 02:48:56 PM
Here it is, I checked the translation, it should be fine.

(DIN1031: Removed the file)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dr3amstor on February 11, 2010, 10:03:38 AM
I installed this Mod every thing fine, but after setup everything allowed groups and so on, didn't work properly, my self as Admin can't see what I between the tags the even after posting.
I'm using SMF 1.1.11

Any advise?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on February 12, 2010, 05:11:44 AM
Quote from: masterz3d on January 21, 2010, 02:48:56 PM
Here it is, I checked the translation, it should be fine.
Thank you... i insert it :).

Quote from: Dr3amstor on February 11, 2010, 10:03:38 AM
I installed this Mod every thing fine, but after setup everything allowed groups and so on, didn't work properly, my self as Admin can't see what I between the tags the even after posting.
I'm using SMF 1.1.11

Any advise?
Depend on your setup... (i know a lot ways which even for the admin is impossible to see hidden content.)

Title: Re: Hide Tag Special (V1.8.5)
Post by: raffomix on February 19, 2010, 11:14:52 AM
the button,  please :(
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on February 22, 2010, 02:23:08 AM
Quote from: raffomix on February 19, 2010, 11:14:52 AM
the button,  please :(
attached to the first post oO.
Title: Re: Hide Tag Special (V1.8.5)
Post by: minos on March 09, 2010, 12:51:15 AM
please update to 2.0 rc3  its not compatible
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 09, 2010, 01:46:05 AM
Difficult at the moment, but i will see what i can do <<.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on March 10, 2010, 01:39:33 PM
Hi, once again thanks for the great mod, its been working perfectly since day 1 :)

I wanted to know, if it would be possible for the reply (to un-hide links) could have a required word(s), when the word(s) is not used the reply will be rejected where topics with hide tags are used. Also a bigger stretch, if possible, once a reply has been validated by the word requirement system, future replies will not need the required word.

If this is too difficult, no worries, just an idea which I and maybe other could fine useful :)

Thanks in Advanced.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 11, 2010, 08:33:41 AM
Quote from: minos on March 09, 2010, 12:51:15 AM
please update to 2.0 rc3  its not compatible
done ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on March 12, 2010, 03:30:17 PM
Please update russian translation — files in attachments
Title: Re: Hide Tag Special (V1.8.5)
Post by: minos on March 13, 2010, 05:46:11 PM
Quote from: ディン1031 on March 11, 2010, 08:33:41 AM
Quote from: minos on March 09, 2010, 12:51:15 AM
please update to 2.0 rc3  its not compatible
done ;)


thanks a lot
Title: Re: Hide Tag Special (V1.8.5)
Post by: azhriel on March 15, 2010, 05:45:57 AM
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.italian.php File not found
27. Execute Modification ./Themes/default/languages/Help.italian.php File not found
28. Execute Modification ./Themes/default/languages/index.italian.php Skipping file
29. Execute Modification ./Themes/default/languages/Admin.russian.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
31. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
32. Execute Modification ./Themes/default/languages/Admin.russian-utf8.php Skipping file
33. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Skipping file
34. Execute Modification ./Themes/default/languages/index.russian-utf8.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
38. Execute Modification ./Themes/default/languages/Admin.czech-utf8.php Skipping file
39. Execute Modification ./Themes/default/languages/Help.czech-utf8.php Skipping file
40. Execute Modification ./Themes/default/languages/index.czech-utf8.php Skipping file
41. Execute Modification ./Themes/default/languages/Admin.polish.php Skipping file
42. Execute Modification ./Themes/default/languages/Help.polish.php Skipping file
43. Execute Modification ./Themes/default/languages/index.polish.php Skipping file


Got this error.... Is it ok if i continue the install...??? sorry im a newbie
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 15, 2010, 05:47:53 AM
That's entirely fine, azhriel. All it's trying to do is add support in all the different languages and failing because you don't have them installed - the mod itself isn't affected.

Din: edits for Admin.italian.php and Help.italian.php should be marked error="skip", I think...
Title: Re: Hide Tag Special (V1.8.5)
Post by: azhriel on March 15, 2010, 05:52:14 AM
Quote from: Arantor on March 15, 2010, 05:47:53 AM
That's entirely fine, azhriel. All it's trying to do is add support in all the different languages and failing because you don't have them installed - the mod itself isn't affected.

Din: edits for Admin.italian.php and Help.italian.php should be marked error="skip", I think...

Thanks arantor
Title: Re: Hide Tag Special (V1.8.5)
Post by: VegaTheChosen on March 16, 2010, 02:24:58 AM
Hi installed the mod and sadly its not working correctly i had a pal do it for me while i was out and he seemd to have screwed up somewhere tried to reedit it with parser but the parser kept saying incompatible,
basically right now the stuff hides but doesnt show hide "text" and it shows up as a missing image or something and if u view the source u can see the hidden content
im running 1.1.11
and hide tag 1.8.5

my friend mentioned there was en error that came up in the post.php?
when i attempted uninstall it gave these errors
Uninstall Actions "Hide Tag Special":
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 failed
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 failed
10. Execute Modification ./Themes/default/languages/index.english.php Test successful
11. Execute Modification ./Themes/default/languages/Admin.english-utf8.php Test successful
12. Execute Modification ./Themes/default/languages/Help.english-utf8.php Test failed
13. Execute Modification ./Themes/default/languages/index.english-utf8.php Test successful
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 Test successful
18. Execute Modification ./Themes/default/languages/Help.german-utf8.php Test successful
19. Execute Modification ./Themes/default/languages/index.german-utf8.php Test successful
20. Execute Modification ./Themes/default/languages/Admin.greek-utf8.php Test successful
21. Execute Modification ./Themes/default/languages/Help.greek-utf8.php Test successful
22. Execute Modification ./Themes/default/languages/index.greek-utf8.php Test successful
23. Execute Modification ./Themes/default/languages/Admin.italian.php File not found
24. Execute Modification ./Themes/default/languages/Help.italian.php File not found
25. Execute Modification ./Themes/default/languages/index.italian.php Skipping file
26. Execute Modification ./Themes/default/languages/Admin.turkish.php Skipping file
27. Execute Modification ./Themes/default/languages/Help.turkish.php Skipping file
28. Execute Modification ./Themes/default/languages/index.turkish.php Skipping file
29. Execute Modification ./Themes/default/languages/Admin.russian.php Skipping file
30. Execute Modification ./Themes/default/languages/Help.russian.php Skipping file
31. Execute Modification ./Themes/default/languages/index.russian.php Skipping file
32. Execute Modification ./Themes/default/languages/Admin.russian-utf8.php Test successful
33. Execute Modification ./Themes/default/languages/Help.russian-utf8.php Test successful
34. Execute Modification ./Themes/default/languages/index.russian-utf8.php Test successful
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
38. Execute Modification ./Themes/default/languages/Admin.czech-utf8.php Test successful
39. Execute Modification ./Themes/default/languages/Help.czech-utf8.php Test successful
40. Execute Modification ./Themes/default/languages/index.czech-utf8.php Test successful
41. Execute Modification ./Themes/default/languages/Admin.polish.php Skipping file
42. Execute Modification ./Themes/default/languages/Help.polish.php Skipping file
43. Execute Modification ./Themes/default/languages/index.polish.php Skipping file

if need be i can attatch these files,
please help need this mod running!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 17, 2010, 05:30:02 PM
Quote from: Arantor on March 15, 2010, 05:47:53 AM
That's entirely fine, azhriel. All it's trying to do is add support in all the different languages and failing because you don't have them installed - the mod itself isn't affected.

Din: edits for Admin.italian.php and Help.italian.php should be marked error="skip", I think...
Thanks for the info... i will fix it... stange that this bug do not show on my install, but i think i did not test 1.8.5 the last time...
Title: Re: Hide Tag Special (V1.8.5)
Post by: VegaTheChosen on March 17, 2010, 11:06:55 PM
anybody got any insight on my issue?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 17, 2010, 11:11:34 PM
VegaTheChosen, if you could attach Sources/Post.php, and the Help.english.php file it refers to, it would help diagnose the problem.
Title: Re: Hide Tag Special (V1.8.5)
Post by: VegaTheChosen on March 18, 2010, 07:57:46 PM
here's the attached files, thanks for the help
Title: Re: Hide Tag Special (V1.8.5)
Post by: Skandalli on March 20, 2010, 07:25:07 PM
Tell me please, why in the Russian edition of missing item:

Allowed Groups can see everywhere the hidden content
(Not only on the Topic):
Can overwrite some special setting for diffrent mods!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on March 21, 2010, 02:15:53 AM
Quote from: Skandalli on March 20, 2010, 07:25:07 PM
Tell me please, why in the Russian edition of missing item:

Allowed Groups can see everywhere the hidden content
(Not only on the Topic):
Can overwrite some special setting for diffrent mods!
http://www.simplemachines.org/community/index.php?topic=32954.msg2536361#msg2536361
Title: Re: Hide Tag Special (V1.8.5)
Post by: haito on March 21, 2010, 05:28:44 AM
i have an error  :(

7.  Execute Modification  .\Sources/Subs.php  Test failed

i use smf 2.0 RC3
what sholud i do?

Title: Re: Hide Tag Special (V1.8.5)
Post by: ealexander on March 21, 2010, 03:09:18 PM
hi friends want to know what changes to make if you want to use this mod on smf 2RC2, thanks for your possible help
Greetings
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 22, 2010, 11:14:20 PM
Looks like a lot of people are having the following problem. What's the issue? Is it that we have Aeva installed? Can someone help me modified the individual code?


5. Execute Modification ./Sources/Post.php Test failed
1. Replace ./Sources/Post.php Test successful
2. Replace ./Sources/Post.php Test successful
3. Replace ./Sources/Post.php Test successful
4. Replace ./Sources/Post.php Test failed
5. Replace ./Sources/Post.php Test successful
6. Replace ./Sources/Post.php Test successful
7. Replace ./Sources/Post.php Test successful
8. Replace ./Sources/Post.php Test successful
6. Execute Modification ./Sources/Search.php Test successful
7. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed
Title: Re: Hide Tag Special (V1.8.5)
Post by: VegaTheChosen on March 23, 2010, 03:27:58 PM
Quote from: REGNARTS_ on March 22, 2010, 11:14:20 PM
Looks like a lot of people are having the following problem. What's the issue? Is it that we have Aeva installed? Can someone help me modified the individual code?


5. Execute Modification ./Sources/Post.php Test failed
1. Replace ./Sources/Post.php Test successful
2. Replace ./Sources/Post.php Test successful
3. Replace ./Sources/Post.php Test successful
4. Replace ./Sources/Post.php Test failed
5. Replace ./Sources/Post.php Test successful
6. Replace ./Sources/Post.php Test successful
7. Replace ./Sources/Post.php Test successful
8. Replace ./Sources/Post.php Test successful
6. Execute Modification ./Sources/Search.php Test successful
7. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed


I actually installed the Hide Hack prior to Aeva so the problem isnt there in my case but that could also be another problem.
but does anyone have a rememdy for this my attached files are still there and problem unsolved going on a week.
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 23, 2010, 06:44:00 PM
Quote from: VegaTheChosen on March 23, 2010, 03:27:58 PM
I actually installed the Hide Hack prior to Aeva so the problem isnt there in my case but that could also be another problem.
but does anyone have a rememdy for this my attached files are still there and problem unsolved going on a week.

Yeah, I uninstalled then deleted Aeva and then tried installing the Hide Tag and Post.php is still having a problem.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 24, 2010, 01:35:47 AM
Quote from: VegaTheChosen on March 23, 2010, 03:27:58 PM
Quote from: REGNARTS_ on March 22, 2010, 11:14:20 PM
Looks like a lot of people are having the following problem. What's the issue? Is it that we have Aeva installed? Can someone help me modified the individual code?


5. Execute Modification ./Sources/Post.php Test failed
1. Replace ./Sources/Post.php Test successful
2. Replace ./Sources/Post.php Test successful
3. Replace ./Sources/Post.php Test successful
4. Replace ./Sources/Post.php Test failed
5. Replace ./Sources/Post.php Test successful
6. Replace ./Sources/Post.php Test successful
7. Replace ./Sources/Post.php Test successful
8. Replace ./Sources/Post.php Test successful
6. Execute Modification ./Sources/Search.php Test successful
7. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed


I actually installed the Hide Hack prior to Aeva so the problem isnt there in my case but that could also be another problem.
but does anyone have a rememdy for this my attached files are still there and problem unsolved going on a week.
What kind of problem i don't know about a problem with attached files oO.

Quote from: ealexander on March 21, 2010, 03:09:18 PM
hi friends want to know what changes to make if you want to use this mod on smf 2RC2, thanks for your possible help
Greetings
The 2.3.6 should work with RC2...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on March 24, 2010, 11:09:06 AM
Please UPDATE russian translation! Users complain!

http://www.simplemachines.org/community/index.php?topic=32954.msg2536361#msg2536361
http://www.simplemachines.org/community/index.php?topic=32954.msg2548012#msg2548012
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 24, 2010, 04:07:28 PM
Quote from: REGNARTS_ on March 22, 2010, 11:14:20 PM
Looks like a lot of people are having the following problem. What's the issue? Is it that we have Aeva installed? Can someone help me modified the individual code?


5. Execute Modification ./Sources/Post.php Test failed
1. Replace ./Sources/Post.php Test successful
2. Replace ./Sources/Post.php Test successful
3. Replace ./Sources/Post.php Test successful
4. Replace ./Sources/Post.php Test failed
5. Replace ./Sources/Post.php Test successful
6. Replace ./Sources/Post.php Test successful
7. Replace ./Sources/Post.php Test successful
8. Replace ./Sources/Post.php Test successful
6. Execute Modification ./Sources/Search.php Test successful
7. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed


Does anyone know how to manually get this to work on RC3?
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on March 24, 2010, 07:47:22 PM
Quote from: REGNARTS_ on March 24, 2010, 04:07:28 PM
Does anyone know how to manually get this to work on RC3?
No one knows but you easily can track it down if this is due to conflicting mods.

Do you see where it says Test failed? Click on the icon (http://simplemachines.org/community/Themes/default/images/admin/package_ops.gif) corresponding to this entry. The popup will appear and say: find ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '') (this is an example). Then get your post.php, open it and see why the parser can find the needed code. If this is due to a conflicting mod, you usually will see it by the mod comments. Backup the original post.php and make the changes. You don't need to know PHP for that at all. You just need to have the eyes.
Title: Re: Hide Tag Special (V1.8.5)
Post by: VegaTheChosen on March 24, 2010, 11:17:17 PM
Quote from: ディン1031 on March 24, 2010, 01:35:47 AM
Quote from: VegaTheChosen on March 23, 2010, 03:27:58 PM
Quote from: REGNARTS_ on March 22, 2010, 11:14:20 PM
Looks like a lot of people are having the following problem. What's the issue? Is it that we have Aeva installed? Can someone help me modified the individual code?


5. Execute Modification ./Sources/Post.php Test failed
1. Replace ./Sources/Post.php Test successful
2. Replace ./Sources/Post.php Test successful
3. Replace ./Sources/Post.php Test successful
4. Replace ./Sources/Post.php Test failed
5. Replace ./Sources/Post.php Test successful
6. Replace ./Sources/Post.php Test successful
7. Replace ./Sources/Post.php Test successful
8. Replace ./Sources/Post.php Test successful
6. Execute Modification ./Sources/Search.php Test successful
7. Execute Modification ./Sources/Subs.php Test failed
1. Add After ./Sources/Subs.php Test failed


I actually installed the Hide Hack prior to Aeva so the problem isnt there in my case but that could also be another problem.
but does anyone have a rememdy for this my attached files are still there and problem unsolved going on a week.
What kind of problem i don't know about a problem with attached files oO.

Quote from: ealexander on March 21, 2010, 03:09:18 PM
hi friends want to know what changes to make if you want to use this mod on smf 2RC2, thanks for your possible help
Greetings
The 2.3.6 should work with RC2...

here are the links to files and issue
http://www.simplemachines.org/community/index.php?topic=32954.msg2545367#msg2545367
http://www.simplemachines.org/community/index.php?topic=32954.msg2541860#msg2541860
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 28, 2010, 01:53:40 AM
Quote from: poolhall on March 24, 2010, 07:47:22 PM
Quote from: REGNARTS_ on March 24, 2010, 04:07:28 PM
Does anyone know how to manually get this to work on RC3?
No one knows but you easily can track it down if this is due to conflicting mods.

Do you see where it says Test failed? Click on the icon (http://simplemachines.org/community/Themes/default/images/admin/package_ops.gif) corresponding to this entry. The popup will appear and say: find ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '') (this is an example). Then get your post.php, open it and see why the parser can find the needed code. If this is due to a conflicting mod, you usually will see it by the mod comments. Backup the original post.php and make the changes. You don't need to know PHP for that at all. You just need to have the eyes.

Thanks for the info. So I gave it a try and it says to find static $disabled; and replace it with some other code. I searched the post.php and there's  no static $disabled;  Where should I add it to on post.php?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 29, 2010, 12:30:32 AM
Quote from: poolhall on March 24, 2010, 07:47:22 PM
Quote from: REGNARTS_ on March 24, 2010, 04:07:28 PM
Does anyone know how to manually get this to work on RC3?
No one knows but you easily can track it down if this is due to conflicting mods.

Do you see where it says Test failed? Click on the icon (http://simplemachines.org/community/Themes/default/images/admin/package_ops.gif) corresponding to this entry. The popup will appear and say: find ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '') (this is an example). Then get your post.php, open it and see why the parser can find the needed code. If this is due to a conflicting mod, you usually will see it by the mod comments. Backup the original post.php and make the changes. You don't need to know PHP for that at all. You just need to have the eyes.
Haha... funny but i need the position and not on every position is a comment <<... also sometimes you need to extent the line, best example for this are the attachments... and and there are many reasons to use code as search code...

You can search some part of it... example

$smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>

The avea (don't konw the new name xD) for example extent this line with some tags ;) and the first part should be founded...

@REGNARTS
Also serach only the part of it ;).

static $disabled

Also this part is extented by other mod (i think also avae.)

Bye
DIN1031


Title: Re: Hide Tag Special (V1.8.5)
Post by: spandexforfun on March 29, 2010, 02:46:37 AM
Hi all SMF here and thank for great mod from ディン1031

I have question about Hide Tag Special 2.3.6 for smf2.0 rc3. that How can I hide attachment by this mod?

If anyone have guideline for that please point for me.

Thanks for advance.
S
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on March 29, 2010, 07:03:05 AM
Quote from: spandexforfun on March 29, 2010, 02:46:37 AM
Hi all SMF here and thank for great mod from ディン1031

I have question about Hide Tag Special 2.3.6 for smf2.0 rc3. that How can I hide attachment by this mod?

If anyone have guideline for that please point for me.

Thanks for advance.
S
Not included, and as far i know i programmed something for this... but i'm not sure where i postet it *g*
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 31, 2010, 08:36:01 PM
Quote from: ディン1031 on March 29, 2010, 12:30:32 AM
@REGNARTS
Also serach only the part of it ;).

static $disabled

Also this part is extented by other mod (i think also avae.)

Bye
DIN1031

Thanks  ディン1031 and poolhall. This is super easy now. LOL.
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on March 31, 2010, 09:00:47 PM
Now, when I test to reply to a post to unhide a link, I get this message. Any help?


Fatal error: Call to undefined function hidetagexists() in /home/xxxx/public_html/forum/Sources/Subs-Editor.php on line 131

Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on April 01, 2010, 03:13:32 AM
Quote from: REGNARTS_ on March 31, 2010, 09:00:47 PM
Now, when I test to reply to a post to unhide a link, I get this message. Any help?


Fatal error: Call to undefined function hidetagexists() in /home/xxxx/public_html/forum/Sources/Subs-Editor.php on line 131

Hmm did you made all changes in the "./Sources/Subs.php".

I think you forgot to insert the function :). (It's the last replace.)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: REGNARTS_ on April 01, 2010, 09:36:02 PM
Quote from: ディン1031 on April 01, 2010, 03:13:32 AM
Hmm did you made all changes in the "./Sources/Subs.php".

I think you forgot to insert the function :). (It's the last replace.)

Bye
DIN1031

Oh I see. What I did was I used the packager to install. I thought the packager will install everything except the code that it cannot find. I had to go back in and add the rest of the code that the installer skipped.

Thanks again. :D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on April 05, 2010, 03:41:39 PM
Normal the installer skip only thing that i mark as skip oO.
Title: Re: Hide Tag Special (V1.8.5)
Post by: panafff on April 14, 2010, 02:23:53 PM
Hello, I am having issues trying to install the "Hide tag special " mod, I am running SMF 1.1.11 it should be compatible but when I try to install it I receive the error
this 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.

I was trying to install Hide Tag Special Version 1.8.5


Any ideas?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on April 15, 2010, 06:44:58 AM
Like stand there there is a error in the install ;P
Than mean that there is other mod with changed something so that this mod can not installed without errors ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: aelmiger on April 23, 2010, 09:24:44 PM
Hi man, I would ask how do I make the mod visitors not show you the information you enter or registered to the forum. But the link does not have the hide code, and notice guests can not see the link I put the code does not hide and that is the idea that those who do not carry this code, everyone can see them, without having to enter or register on the forum.

Greetings and thanks man advanced.

Sorry for my bad English
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on April 28, 2010, 01:33:45 AM
Quote from: aelmiger on April 23, 2010, 09:24:44 PM
Hi man, I would ask how do I make the mod visitors not show you the information you enter or registered to the forum. But the link does not have the hide code, and notice guests can not see the link I put the code does not hide and that is the idea that those who do not carry this code, everyone can see them, without having to enter or register on the forum.

Greetings and thanks man advanced.

Sorry for my bad English
... sorry i've porblems to bing in my mind what you exactly want... there is an option which prevent to show the informations for guests...
Title: Re: Hide Tag Special (V1.8.5)
Post by: deni100 on May 01, 2010, 07:17:58 AM
Hello i need the file for 2.RC3
Can somebody help me where i can finde the file , because it doesnt work with the other files.
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on May 01, 2010, 07:31:33 AM
WOW! i am very impressed with all the consistent work that you have put into this mod,  ディン1031 :)
I believe that you are a true credit to SMF. Keep up the excellent work and thank you for this useful mod.
Title: Re: Hide Tag Special (V1.8.5)
Post by: spandexforfun on May 02, 2010, 12:26:46 PM
I got problem about WYSIWYG editor in Smf 2.0 RC3 with Hide tag

When I need to modify [Hide] .... [/hide] message in my forum. I click on "Modify".
But in modify message page. The old message not appear in text editor form.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/1.jpg)

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/2.jpg)

I try to fix this but not work. And I view source code of modify page I can see old message in that.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/3.jpg)

But when I remove hide code in that message . Anything normal.

So anyone can help me please. ;D ;D ;D
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 03, 2010, 12:35:17 AM
Quote from: deni100 on May 01, 2010, 07:17:58 AM
Hello i need the file for 2.RC3
Can somebody help me where i can finde the file , because it doesnt work with the other files.
The Version 2.3.6 is working with RC3

Quote from: spandexforfun on May 02, 2010, 12:26:46 PM
I got problem about WYSIWYG editor in Smf 2.0 RC3 with Hide tag

When I need to modify [Hide] .... [/hide] message in my forum. I click on "Modify".
But in modify message page. The old message not appear in text editor form.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/1.jpg)

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/2.jpg)

I try to fix this but not work. And I view source code of modify page I can see old message in that.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/3.jpg)

But when I remove hide code in that message . Anything normal.

So anyone can help me please. ;D ;D ;D
Hmmm normal this bug should be fixed since the RC1 hmmm... i must look into this... it should not happen that the complete post is missing...
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 03, 2010, 02:17:36 PM
Quote from: spandexforfun on May 02, 2010, 12:26:46 PM
I got problem about WYSIWYG editor in Smf 2.0 RC3 with Hide tag

When I need to modify [Hide] .... [/hide] message in my forum. I click on "Modify".
But in modify message page. The old message not appear in text editor form.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/1.jpg)

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/2.jpg)

I try to fix this but not work. And I view source code of modify page I can see old message in that.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/3.jpg)

But when I remove hide code in that message . Anything normal.

So anyone can help me please. ;D ;D ;D
So i tested you thing it's working normal... i tested with all ways to edit a post... and every way work fine... any special settings?
I would assume that changes are missing...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 03, 2010, 04:31:01 PM
I just upgraded to RC3 (from RC1.2). Is there anything special I need to do before I reinstall this mod? Like making any type of changes to any of the db tables from the previous version I had, etc?

I want to make sure that when I reinstall it, its going to work right  :)


Thanks in advance!
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 04, 2010, 02:58:25 AM
Nothing needed, there are no database changes...
Title: Re: Hide Tag Special (V1.8.5)
Post by: spandexforfun on May 04, 2010, 11:18:56 AM
Quote from: ディン1031 on May 03, 2010, 02:17:36 PM
Quote from: spandexforfun on May 02, 2010, 12:26:46 PM
I got problem about WYSIWYG editor in Smf 2.0 RC3 with Hide tag

When I need to modify [Hide] .... [/hide] message in my forum. I click on "Modify".
But in modify message page. The old message not appear in text editor form.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/1.jpg)

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/2.jpg)

I try to fix this but not work. And I view source code of modify page I can see old message in that.

(http://i689.photobucket.com/albums/vv253/spandexforfun/Web/3.jpg)

But when I remove hide code in that message . Anything normal.

So anyone can help me please. ;D ;D ;D
So i tested you thing it's working normal... i tested with all ways to edit a post... and every way work fine... any special settings?
I would assume that changes are missing...

I found that problem happen with long message with many bb code tag.

Now I remove hide tag first to modify message then put it back to message.

Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 04, 2010, 06:38:51 PM
k I have a couple of issues with getting this mod reinstalled on RC3

1. In Sources/Subs.php its looking for:

static $disabled;

and it cant find it. I edited that file manually and that statement is no where in that file.

2. In Sources/Post.php its looking for:
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

And it test failed so I edited the file and there are actually 2 instances of that code. Even though the mod install showed a "test failed" on that, it actually installed it right after this code:

// Preparse code. (Zef)
if ($user_info['is_guest'])
$user_info['name'] = $_POST['guestname'];
preparsecode($_POST['message']);


Is that where it was supposed to add it to, or did it test fail because it was supposed to add it to BOTH areas where it has that and it couldnt. The other it didnt add it before, comes right after this code:

$_POST['message'] = $smcFunc['htmlspecialchars']($_POST['message'], ENT_QUOTES);

preparsecode($_POST['message']);
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 05, 2010, 01:28:30 AM
Quote from: Kimmie on May 04, 2010, 06:38:51 PM
k I have a couple of issues with getting this mod reinstalled on RC3

1. In Sources/Subs.php its looking for:

static $disabled;

and it cant find it. I edited that file manually and that statement is no where in that file.

2. In Sources/Post.php its looking for:
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

And it test failed so I edited the file and there are actually 2 instances of that code. Even though the mod install showed a "test failed" on that, it actually installed it right after this code:

// Preparse code. (Zef)
if ($user_info['is_guest'])
$user_info['name'] = $_POST['guestname'];
preparsecode($_POST['message']);


Is that where it was supposed to add it to, or did it test fail because it was supposed to add it to BOTH areas where it has that and it couldnt. The other it didnt add it before, comes right after this code:

$_POST['message'] = $smcFunc['htmlspecialchars']($_POST['message'], ENT_QUOTES);

preparsecode($_POST['message']);

First, every serachterm is in the files...

Downloaded the Orginal Version:
Subs.php
Code (Line: 872) Select
static $disabled;

Post.php
Code (Line: 1508) Select
$user_info['name'] = $_POST['guestname'];
preparsecode($_POST['message']);

Code (Line: 2719) Select
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

All Positions exists and should be do the correct insert...

I would assume you've installe the media gallery, that mod will never be install compatible, it's impossible for me to do that...

I test every of my mod with a standard SMF Installation so that the install should work at least on a fresh install... and i do it on a windows system and bsd system... so i can not do more than that ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 05, 2010, 02:32:57 AM
Quote from: ディン1031 on May 05, 2010, 01:28:30 AM
Quote from: Kimmie on May 04, 2010, 06:38:51 PM
k I have a couple of issues with getting this mod reinstalled on RC3

1. In Sources/Subs.php its looking for:

static $disabled;

and it cant find it. I edited that file manually and that statement is no where in that file.

2. In Sources/Post.php its looking for:
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

And it test failed so I edited the file and there are actually 2 instances of that code. Even though the mod install showed a "test failed" on that, it actually installed it right after this code:

// Preparse code. (Zef)
if ($user_info['is_guest'])
$user_info['name'] = $_POST['guestname'];
preparsecode($_POST['message']);


Is that where it was supposed to add it to, or did it test fail because it was supposed to add it to BOTH areas where it has that and it couldnt. The other it didnt add it before, comes right after this code:

$_POST['message'] = $smcFunc['htmlspecialchars']($_POST['message'], ENT_QUOTES);

preparsecode($_POST['message']);

First, every serachterm is in the files...

Downloaded the Orginal Version:
Subs.php
Code (Line: 872) Select
static $disabled;

Post.php
Code (Line: 1508) Select
$user_info['name'] = $_POST['guestname'];
preparsecode($_POST['message']);

Code (Line: 2719) Select
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

All Positions exists and should be do the correct insert...

I would assume you've installe the media gallery, that mod will never be install compatible, it's impossible for me to do that...

I test every of my mod with a standard SMF Installation so that the install should work at least on a fresh install... and i do it on a windows system and bsd system... so i can not do more than that ;).


I havent installed any media gallery. Not sure what it has to do with this mod. I just opened up the original subs.php file that came with the upgrade zip, did a ctrl f and did a search for that term and  its nowhere in that file. I have attached both here so you can see for yourself. The original one is the first one, and mine is the 2nd one.


Here is my search of the original file with 0 results:
(http://i43.tinypic.com/dln8rs.png)



This line of code in post.php appears "twice" thoughout the file:
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

During the install it showed a "test failed" on that code. When I edited that file, it shows the mod code above the first one but not the second one. The mod page only shows "one" edit for that so there is something wrong with that part as well. I have also attached my post.php so you can see it and here is where it showd the test failed on it:

(http://i44.tinypic.com/eb7n6c.jpg)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 05, 2010, 04:29:19 AM
No it's exact one time in the files, i downloaded a fresh RC3 and there is only one position found... hope you serach with the tabs and not with something else.

I can not do more than create a new forum and click install and than there is no error...

And i give you the exact lines and if you compare it this are the exact matches...

I looked into you're file you've installed this mod i mentioned! Possible it's the aeva (media) and not the media gallery :P. (Both made the same problems for me...)

Look at the orginal file in the install package and you will see my mod install fine!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 05, 2010, 01:37:35 PM
Quote from: ディン1031 on May 05, 2010, 04:29:19 AM
No it's exact one time in the files, i downloaded a fresh RC3 and there is only one position found... hope you serach with the tabs and not with something else.

I can not do more than create a new forum and click install and than there is no error...

And i give you the exact lines and if you compare it this are the exact matches...

I looked into you're file you've installed this mod i mentioned! Possible it's the aeva (media) and not the media gallery :P. (Both made the same problems for me...)

Look at the orginal file in the install package and you will see my mod install fine!

I did look at the original file, thats the picture I posted above and the attachment I posted. I opened the file in notepad, and used notepads feature to "find" and it could not find that term anywhere - as I showed you in the pic. What is the code that the line    static $disabled;  is supposed to come after so I can look for that code instead? I can see where another mod may alter a file however we are talking about the original file now. I looked at both the Upgrade post.php file and I also downloaded the full RC3 zip for a new install and didnt find it in that one either. As you can also see in my subs.php file, that code is in there twice. Are you saying that the aeva added that code again? Somethings definitely not right somewhere. I will uninstall both this mod and the aeva mod and then reinstall this one and see if that helps.

Edit: ok I have unininstalled both mods. I went to try and install the hide mod again, and the test failed on the post.php file has been fixed, however it still cannot find the    static $disabled; code in subs.php

(http://i43.tinypic.com/w8xjdt.jpg)

I took the liberty of parsing the aeva mod and no where in the edits does it make a reference to change the term static $disabled. Please tell me exactly what code (in the original subs.php file) that this term is supposed to fall before and after so I can look for those codes. I have attached the "exact file" that is included with the "smf_2-0-rc3_upgrade" zip file.  If its in there, I sure dont see it..lol
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 07, 2010, 12:33:19 AM
No it's not twice in it it's exact one time in it... and i don't use the upgrade i use the install package oO.

I look at you subs.php file i opend my editior insert static $disabled;
and the editor tell me Line 872 exact match...

So i serach for
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
And exact one match in the Post.php... Line 2719...

You can install the other two, i could tell you where you need to insert it on you files... i looked at and i know where the changes are :P. (Also i don't know if there is a other mod that is not compatible with my replacments...)

So i looked at the large update and there is exact the same result...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 10, 2010, 07:40:16 PM
Quote from: ディン1031 on May 07, 2010, 12:33:19 AM
No it's not twice in it it's exact one time in it... and i don't use the upgrade i use the install package oO.

I look at you subs.php file i opend my editior insert static $disabled;
and the editor tell me Line 872 exact match...

I want your glasses..lol. This is my line 872:

(http://i43.tinypic.com/25p61au.jpg)

QuoteSo i serach for
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
And exact one match in the Post.php... Line 2719...

And this is my line 2719:

(http://i40.tinypic.com/29kxbh4.jpg)



QuoteYou can install the other two, i could tell you where you need to insert it on you files... i looked at and i know where the changes are :P. (Also i don't know if there is a other mod that is not compatible with my replacments...)

So i looked at the large update and there is exact the same result...

that would be helpful..lol


I would also like to know what "editor" your using



Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 11, 2010, 12:15:26 AM
http://www.simplemachines.org/community/index.php?topic=32954.msg2614097#msg2614097 <- this are you current files?

Boths Subs.php files:
Than it's line 883:

static $disabled, $default_disabled, $parse_tag_cache;

Search for this and add the code after it ;).

Second the Post File Changes:
Line: 2869

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed>')) === '')


I hope you now what to do now...

(And i think this are the aeva media incompatible parts...)

I use textpad, notpad++ or uedit for my php searches and changes ;P (depend on pc and system)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: Kimmie on May 16, 2010, 01:23:26 PM
Quote from: ディン1031 on May 11, 2010, 12:15:26 AM
http://www.simplemachines.org/community/index.php?topic=32954.msg2614097#msg2614097 <- this are you current files?

Boths Subs.php files:
Than it's line 883:

static $disabled, $default_disabled, $parse_tag_cache;

Search for this and add the code after it ;).

Second the Post File Changes:
Line: 2869

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed>')) === '')


I hope you now what to do now...

(And i think this are the aeva media incompatible parts...)

I use textpad, notpad++ or uedit for my php searches and changes ;P (depend on pc and system)

Bye
DIN1031

I uninstalled the AEVA mod several days ago after you said it messed up this mod. My last post I made above was searching for those strings without that mod being installed so its not that mod that is causing the problem now. :).


I know why it cant find it.....

(http://i42.tinypic.com/29oskdx.png)

Its looking for a " ; " but its actually a comma ( , ).


ok I made the changes but there are issues. The hide tags are not working (their still showing up in posts and not actually hiding the content)

(http://i41.tinypic.com/10r30yh.jpg)

and when I try and modify a post I get this error:

Fatal error: Call to undefined function hideTagExists() in /home/****/public_html/Sources/Subs-Editor.php on line 131


and when I try to uninstall the mod I get a ton of test faileds not just on those two files and that was after I put the original post and sub.php files back.

(http://i39.tinypic.com/207m9lk.jpg)


EDIT: Ok I think I am getting it all straigtened out  lol (sheesh what a mess..lol)
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 17, 2010, 12:29:10 AM
oO normal the function should be in the Subs.php...

An in the orginal files there is ; after the $disabled. Because the line have no other things in it =). (I thoght Avae add this parsed tags things... so it seems like a other mod did it...)

Normal after you installed the hide tag the avae should be installable without problems as far i know...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on May 17, 2010, 06:17:46 AM
ディン1031, look at please http://www.simplemachines.org/community/index.php?topic=32954.msg2536361#msg2536361
http://www.simplemachines.org/community/index.php?topic=32954.msg2553205#msg2553205
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on May 18, 2010, 06:32:12 AM
Hmmm i was sure that i allready replaced them oO...
Title: Re: Hide Tag Special (V1.8.5)
Post by: CommanderMadi on June 07, 2010, 07:38:34 PM
Hello, I installed this mod but a test failed during installation, it was in ./Sources/Post.php, and I went to edit it manually and couldnt find them even....

Find
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')


         Replace
// Okay i will say there is something, so that i check for an real empty post :)
$context['user_post_avaible'] = 1;

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')


The problem is that I could not find the Original code in my ./Sources/Post.php
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 09, 2010, 06:33:20 AM
Because there are three mod i know which change this part...

Search only for if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false),
and add this before.

// Okay i will say there is something, so that i check for an real empty post :)
$context['user_post_avaible'] = 1;
Title: Re: Hide Tag Special (V1.8.5)
Post by: CommanderMadi on June 09, 2010, 08:05:34 AM
Ok mate, thank you very much, but I found another error in subs which says

Find:
static $disabled;

Add After:
static $disabled;

// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

// Prepare the unhidden infomation?
if (!empty($modSettings['hide_enableUnhiddenText']))
{
$modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
}
}

// So prepare the unhidden Option for the Parser ;)
if (!empty($modSettings['hide_useSpanTag']))
{
$modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</span>';
}
else
{
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
}

// Okay Let's see where i must put the unhidden Informations :)
if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
{
if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 3)
$modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
elseif ($modSettings['hide_posUnhiddenText'] == 2)
$modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 1)
$modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
else
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
}

$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

// Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
$modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
{
$modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
foreach ($user_info['groups'] as $group_id)
if (in_array($group_id, $modSettings['hide_autounhidegroups']))
{
$modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
break; //One is enouph ;D
}
}
}

// Hide Mod.. i remove the code before i do anything...
if ($message !== false && !empty($message))
{
if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;
// Add the Hidden Text at the end of the post :)
if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
$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);
}
// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}


I can not also find this "static $disabled;" to change it

By the way this file is in the subs.php

thank you in advance

Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on June 09, 2010, 08:07:27 AM
So what other mods do you have?
Title: Re: Hide Tag Special (V1.8.5)
Post by: CommanderMadi on June 09, 2010, 08:28:38 AM
1.Sitemap   
2.Member Color Link   
3.Advanced Contact Form   
4.Team Page   
5.UrbanDictionary.com BBC        
6.Registered Links       
7.Pretty URLs        
8.Aeva Media       
9.SimplePortal      
10.Global Headers Footers
Title: Re: Hide Tag Special (V1.8.5)
Post by: CommanderMadi on June 09, 2010, 09:15:43 AM
I wonder!, I can find static $disabled,

not static $disabled;

The difference is in the semi-colon!!

ain't it strange?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on June 09, 2010, 10:34:36 AM
Not really, one of your other mods has extended the list of what is static. Aeva, IIRC does this.
Title: Re: Hide Tag Special (V1.8.5)
Post by: forumnepali on June 09, 2010, 03:02:53 PM
hi i wan to show hide icone in post page please see attached file for more info

Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 10, 2010, 12:30:23 AM
Quote from: forumnepali on June 09, 2010, 03:02:53 PM
hi i wan to show hide icone in post page please see attached file for more info
Attached to the first post is the hide icon installer :).

Quote from: madikingofkings on June 09, 2010, 08:28:38 AM
8.Aeva Media       
Yes my mod can not installed if this mod is allready installed. (I posted serval times in the thread and some solutions, too.)

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: forumnepali on June 10, 2010, 01:13:24 PM
Quote from: ディン1031 on June 10, 2010, 12:30:23 AM
Quote from: forumnepali on June 09, 2010, 03:02:53 PM
hi i wan to show hide icone in post page please see attached file for more info
Attached to the first post is the hide icon installer :).


Thank you for replying.
And wich first post hide icon installer ?? please guide me wich file you need ??
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 11, 2010, 01:14:04 AM
http://www.simplemachines.org/community/index.php?topic=32954.msg245755#msg245755 first post of this thread... there is the installer package for it. If you use the RC2 compatible version it should be installable on all smf versions ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: forumnepali on June 11, 2010, 01:29:33 PM
bb code i have install secsefully but icone show link this please see attached file..

i'am useing custum theme facebook forum version is r3
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 12, 2010, 07:05:32 AM
Copy the hide icon into your theme... in the same image folder <<
Title: Re: Hide Tag Special (V1.8.5)
Post by: farneville on June 22, 2010, 01:06:47 AM
Hi I just installed this brilliant mod of yours but it caused the users and myself to get stuck on a blank page when logging in and out.
I am not sure if others have encountered the same but check out my forum hxxp://www.pspmygames.org/forums  for more info.
I think it's related to session / database etc.

Cheers...

Update:

Hi again I have no problems with IE8 but this is happening on FireFox only...

Hope I get a reply...
Title: Re: Hide Tag Special (V1.8.5)
Post by: danisk on June 22, 2010, 11:31:35 AM
I do not work: S I install it manually, 2 and 1 veses but nothing [hide] [/ hide] does not hide anything or visitors .... I installed the AVEA but I have only just brings problems Subs.php not the mod file creo... any solution? is the first time this happened to me but not the first time you install this mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: farneville on June 24, 2010, 12:57:31 AM
Hi again I just realize I might be using the incorrect version I am using SMF 1.1.11 what version of Hide Tag Special should I use?
There are so many versions although you stated:

Version 1.2.7 is for SMF 1.0.x-1.1.2.
Version 1.7.1+ is for SMF 1.1.2+.
Version 2.2.1+ is for SMF 2.0 Beta ONLY!.
Version 2.3.0+ is for SMF 2.0 RC1+ ONLY!.

Which is confusing 1.1.11 is nowhere to be found above...

Maybe this is the one causing issue on FireFox

Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 29, 2010, 01:15:02 AM
Your Version is 1.8.5 ;).
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on June 29, 2010, 09:14:40 AM
static $disabled;
Cannot be found in a Clean Subs.php, at all, for the 1st edit in Subs.php for SMF 2.0 RC3

The line to find for me is:

   static $disabled, $default_disabled, $parse_tag_cache;
Explains why you can find " static $disabled, ".
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on June 30, 2010, 03:13:41 AM
It's not a clean Subs.php!!!!!

I downloaded the current install, update and upgrade package of SMF and this is in the Subs.php.

Code (Around Line 873) Select

// 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, $smcFunc;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;


Please remove your attachment because it's not correct for in my view...

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on June 30, 2010, 02:54:21 PM
Removed, I'm sure mine was clean, I got the same error when testing on localhost...
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 01, 2010, 12:31:48 AM
I know there are too many mods who change this part...
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on July 01, 2010, 11:33:00 PM
I think it may have been simple portal
Title: Re: Hide Tag Special (V1.8.5)
Post by: mladja037 on July 02, 2010, 08:42:26 AM
This mod will not work with the database that I inserted the new forum, but only with a new post
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 05, 2010, 12:19:49 AM
No it work as long the [hide] is the bbc code oO. It should even work on old posts...
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on July 05, 2010, 07:23:53 PM
Quote from: mladja037 on July 02, 2010, 08:42:26 AM
This mod will not work with the database that I inserted the new forum, but only with a new post

Do a maintenance on your forum first. Fix errors, recount all, optimize, and then try again to code with hide tags. It should work.
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on July 09, 2010, 02:53:49 PM
Hi ディン1031

Thanks for your great mod. I am using SMF 2.0 RC3 and i cannot install the button that you provided attached to the first post of this thread. Is there any way to install the BBC code button for the hide tags? It works only for SMF 1.1.x.

P.S. Pleeease consider cleaning up your mod page to remove the different outdated versions. It's such a mess... with so many outdated versions. It's really so confusing for so many people.
http://custom.simplemachines.org/mods/index.php?mod=118
Title: Re: Hide Tag Special (V1.8.5)
Post by: haito on July 09, 2010, 10:26:52 PM
you can parse manual...


source/Subs-Editor.php
find

array(
'image' => 'quote',
'code' => 'quote',
'before' => '[quote]',
'after' => '[/quote]',
'description' => $txt['bbc_quote']
),

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


Modifications.english.php
find
?>
add before
$txt['bbc_hide'] = 'Hide something in the Post';


dont forget to copy the hide tag special button to your bbcode directory theme....
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on July 10, 2010, 11:20:42 AM
Quote from: ディン1031 on May 18, 2010, 06:32:12 AM
Hmmm i was sure that i allready replaced them oO...
It's not exactly so... Russian translations in HideTagSpecial185Fix.zip and HideTagSpecial236_(2.0RC3_Compatible).zip are NOT updated (2009 year)!
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on July 11, 2010, 12:59:14 AM
Thanks for your reply,  haito. I will try that. It's unfortunate that there cannot be a package for the BBC button. It would be best for easy uninstall as well. :(
Title: Re: Hide Tag Special (V1.8.5)
Post by: ɔɔɔɔɔɔuɥoɾ on July 12, 2010, 12:02:17 AM
Quote from: sharks on July 11, 2010, 12:59:14 AM
Thanks for your reply,  haito. I will try that. It's unfortunate that there cannot be a package for the BBC button. It would be best for easy uninstall as well. :(

Its really easy if you just keep on it.

Just make a backup of the file, look for the "find" or part of the "find" code, then simply add the code after.

As for uninstalling, you can make a link to the post here and save it on your computer to this post and always get back to the information easily.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 13, 2010, 12:11:05 AM
Quote from: sharks on July 09, 2010, 02:53:49 PM
Hi ディン1031

Thanks for your great mod. I am using SMF 2.0 RC3 and i cannot install the button that you provided attached to the first post of this thread. Is there any way to install the BBC code button for the hide tags? It works only for SMF 1.1.x.

P.S. Pleeease consider cleaning up your mod page to remove the different outdated versions. It's such a mess... with so many outdated versions. It's really so confusing for so many people.
http://custom.simplemachines.org/mods/index.php?mod=118
That's my way... and i think this are not to much ;). I also think on people who want to update version by version... even the older versions...

Quote from: Bugo on July 10, 2010, 11:20:42 AM
Quote from: ディン1031 on May 18, 2010, 06:32:12 AM
Hmmm i was sure that i allready replaced them oO...
It's not exactly so... Russian translations in HideTagSpecial185Fix.zip and HideTagSpecial236_(2.0RC3_Compatible).zip are NOT updated (2009 year)!
????

Quote from: sharks on July 11, 2010, 12:59:14 AM
Thanks for your reply,  haito. I will try that. It's unfortunate that there cannot be a package for the BBC button. It would be best for easy uninstall as well. :(
There is a extra package for the BBC Icon installer (See the attachment on the first post). And it's my personal thought that i've this icon not in the package...

Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on July 13, 2010, 07:33:09 PM
HI ディン1031, it's great to have you finally reply. But your BBC hide button package is NOT compatible with 2.0 RC3! Could you maybe edit the package and update it to support RC3? Thank you.
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 14, 2010, 07:01:25 AM
Normal it should ;). It's a lucky game if it correct detected or not...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on July 14, 2010, 08:24:58 AM
New russian translation (Updated is Today). Please update mod.
Title: Re: Hide Tag Special (V1.8.5)
Post by: azhriel on July 17, 2010, 01:22:32 AM
i have error on post.php

may i request if you could manually install it for me. im afraid to make mistakes on my installation.
Thanks so much
Title: Re: Hide Tag Special (V1.8.5)
Post by: azhriel on July 17, 2010, 08:37:28 AM
is there a way that this mod will automatically hides all replies to all members & mods. but will show the topic? only the replies will automatically be hidden.
Title: Re: Hide Tag Special (V1.8.5)
Post by: azhriel on July 19, 2010, 02:35:24 AM
hi there. only just this 1. instead of the new topic. is there a way that the new replies will be automatically hidden to others? pls reply
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 20, 2010, 12:08:34 AM
No, for this exists other mods. My mod is a bbc tag.

Bye
DIN1031
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on July 28, 2010, 08:03:34 PM
i installed this but i cannot figure out how to get it to work i have put the tags around stuff but it does not do anything am i missing something ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on July 30, 2010, 12:46:46 AM
No errors on the install? :X
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on July 30, 2010, 01:00:23 AM
actually i just got it working a lil while go thanks

great mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on August 16, 2010, 06:14:51 PM
hi have installed this and when i go to make a new topic i get this error

Fatal error: Call to undefined function hidetagexists() in /home/appfuzio/public_html/Sources/Subs-Editor.php on line 131

RC3
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on August 16, 2010, 06:16:23 PM
this is the string i have in that file on that line it looks ok

   // 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);
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on August 16, 2010, 08:09:07 PM
ok i got the errors gone and the mod is working however i dont see the bbc code button anywhere please help that is all i need i dont even see in the parser where i it controlled

i already added the image for it to all m themes and it doesnt show on the default theme

Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on August 16, 2010, 08:39:36 PM
forget it all good

great mod i love it
Title: Re: Hide Tag Special (V1.8.5)
Post by: sattninja on August 18, 2010, 10:42:48 AM
man that would be an awesome freaking mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: OnlineFunCorner on August 19, 2010, 04:28:21 AM
I Done It
But I Have Some Questions
1-Can We Restrict The Use Of [hide][/hide] Tag To Some Groups?
For Example Only Administrator And Moderator Can Use [hide][/hide] In Post And "New Members,Regular Or Senior Members Can Not Use [hide][/hide] In Posts
--
2-In Auto Hide Option Is It Possible? That All Urls Or Links Posted By Any Member Hides Automatically Between [hide][/hide] "Not Only 1st Post Of Topic Hides Automatically"
--
3-Is It Possible? The Already Posted Urls In Posts Of My Forum Covered Between [hide][/hide] Tag
---
THANKS A LOT ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: OnlineFunCorner on August 19, 2010, 05:12:14 AM
Where i change the permision of the HIDE tag?

When a user use this tag appear a mesege whit this "You do not have permission to hide text" or similar.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Conoco on August 22, 2010, 05:01:18 PM
Hello, Im having a problem with Hide Tag Special when i was doing the installation it gave me an error that it failed on the file post.php so i went and continued the installation and edited that file manually. (But i think the mod somehow interacts with Registered Links or Hide Images From Guest) and now everything works ok except the Hide tag special only admin can see under the [hide]text[/hide] members see the warning that they must registered even though they are logged in and already are members.

I attach you my post.php file if anyone could please help to resolve this small problem.

Thank you in advance.
It is a terrific mod keep up the great work!
Title: Re: Hide Tag Special (V1.8.5)
Post by: OnlineFunCorner on August 23, 2010, 01:09:03 AM
Quote from: Dr.IT on August 19, 2010, 04:28:21 AM
I Done It
But I Have Some Questions
1-Can We Restrict The Use Of [hide][/hide] Tag To Some Groups?
For Example Only Administrator And Moderator Can Use [hide][/hide] In Post And "New Members,Regular Or Senior Members Can Not Use [hide][/hide] In Posts
--
2-In Auto Hide Option Is It Possible? That All Urls Or Links Posted By Any Member Hides Automatically Between [hide][/hide] "Not Only 1st Post Of Topic Hides Automatically"
--
3-Is It Possible? The Already Posted Urls In Posts Of My Forum Covered Between [hide][/hide] Tag
---
THANKS A LOT ;)
ANy Help????????????????????????
Title: Re: Hide Tag Special (V1.8.5)
Post by: pjn on September 20, 2010, 02:40:47 AM
i get this eror:

Fatal error: Cannot redeclare template_edit_hidetagspecial_settings() (previously declared in /home/pjnet/domains/pjn-il.com/public_html/Sources/Load.php(2116) : eval()'d code:1782) in /home/pjnet/domains/pjn-il.com/public_html/Sources/Load.php(2116) : eval()'d code on line 2597

it's becoase hide tag???
how can i fix it??
Title: Re: Hide Tag Special (V1.8.5)
Post by: pjn on September 22, 2010, 04:12:34 AM
i get eror in log admin:
Quotehttp://pjn-il.com/index.php?action=admin;area=logs;sa=errorlog;desc;e1891464=4b5036cf35d193b0df936778c4ee15ff
8:
Undefined index: manageposts_hidetagspecial_settings
files: /home/pjnet/domains/pjn-il.com/public_html/Sources/Admin.php
line: 276

thanx...
Title: Re: Hide Tag Special (V1.8.5)
Post by: lord alibaski on September 24, 2010, 05:03:19 PM

I tested this mod on the core theme ok via wampserver just tried to put it on my main forum with the core theme but it wouldn't install.

Would love a working version of this to work on 2.0RC3 core theme.
Title: Re: Hide Tag Special (V1.8.5)
Post by: minos on November 06, 2010, 01:23:09 AM
2rc4 compatible please
Title: Re: Hide Tag Special (V1.8.5)
Post by: www.bokupa.com on November 09, 2010, 02:58:17 AM
I would like for smf2.0 rc 4.  :) :) :)

Thank you very much  ;D ;D ;D ;D
Title: Re: Hide Tag Special (V1.8.5)
Post by: minos on November 09, 2010, 10:07:36 PM
well the developer if offline since 20 octuber  anyone who knows how update this to rc4 please
'?
Title: Re: Hide Tag Special (V1.8.5)
Post by: The Domain Shop on November 11, 2010, 03:15:25 PM
Yep would love this for RC4, someone step in and update this for Rc4 please ;D or if anyone knows of another that will work..
Title: Re: Hide Tag Special (V1.8.5)
Post by: sebasso on November 11, 2010, 10:08:52 PM
i deleted the mod hide in the package area because it wasnt working after the update to 1.1.12, now i cant uninstall the mod so i can install a clean one, the error says that there isnt a uninstaller
I dont know what to do, please help
Title: Re: Hide Tag Special (V1.8.5)
Post by: Oskarlover on November 12, 2010, 03:16:30 AM
Quote from: expact on November 09, 2010, 02:58:17 AM
I would like for smf2.0 rc 4.  :) :) :)

Thank you very much  ;D ;D ;D ;D

Thats right! Anyone?
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on November 12, 2010, 08:00:32 AM
Please updated this mod for RC4 also
Title: Re: Hide Tag Special (V1.8.5) not working on SFM 1.1.12!!!
Post by: Ciler on November 18, 2010, 11:27:47 AM
Hello all,

Please can someone upgrade Hide Tag Special for version 1.1.12?
After updating from SFM 1.1.11 to 1.1.12 seems that this Mod is not compatible with version 1.1.12 and I really need it. It's one of the most important Mod on my Forum!

So please can somebody make this Mod compatible to v1.1.12?

Thanks in advance!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on November 19, 2010, 05:39:57 PM
Please update :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 22, 2010, 10:53:39 AM
Still not updated? Please come on!!
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on November 22, 2010, 12:58:22 PM
Looks like another mod developer has given up. Just a repeat episode all over the forum. :(
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 23, 2010, 04:54:02 AM
Hi Bugo,

Please can you update it also for the stable version of SFM 1.1.12 please?
I really need it.

Thanks!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on November 23, 2010, 05:15:20 AM
@Ciler Why not update to SMF 2.0? What's SFM? I don't know this abbreviation :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on November 23, 2010, 05:22:44 AM
hello bugo i'am getting this Error now please suggest me..

Please see Attached file
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 23, 2010, 05:57:38 AM
Quote from: Bugo on November 23, 2010, 05:15:20 AM
@Ciler Why not update to SMF 2.0? What's SFM? I don't know this abbreviation :)

No sorry I only want a stable version of SMF! And also updating to version 2.0 gives to many problems from version 1.1.X isn't it?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.

@Ciler => Loot at this site (simplemachines.org) — it is on SMF 2.0 RC4. Is it unstable? No, it perfectly works.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 23, 2010, 06:49:03 AM
Quote from: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.

@Ciler => Loot at this site (simplemachines.org) — it is on SMF 2.0 RC4. Is it unstable? No, it perfectly works.

Dear friend but what if upgrading from 1.1.X to 2.0 it's a totally other structure in the database!
By the way I am asking for an update of hide tag mod not for an upgrade to SMF 2.0...

Other important note in the download section:

Note: As this is in development, we do not recommend running SMF 2.0 RC4 on a production site.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on November 23, 2010, 07:16:38 AM
Quote from: Ciler on November 23, 2010, 06:49:03 AM
Dear friend but what if upgrading from 1.1.X to 2.0 it's a totally other structure in the database!
There are update/upgrade packages for it => Large upgrade/Small update => http://download.simplemachines.org/ :)
Quote from: Ciler on November 23, 2010, 06:49:03 AM
By the way I am asking for an update of hide tag mod not for an upgrade to SMF 2.0...
Ask author of this mod. I'm not author.

Quote from: Ciler on November 23, 2010, 06:49:03 AM
Other important note in the download section:

Note: As this is in development, we do not recommend running SMF 2.0 RC4 on a production site.
Well, the truth is out there :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: haito on November 23, 2010, 07:26:23 AM
it works... thanks bugo :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on November 23, 2010, 07:27:42 AM
Quote from: Bugo on November 23, 2010, 03:19:34 AM
Unofficial 2.36, only for SMF 2.0 RC4. Try it :)

Ah thanks!,

1 thing failed.. FIXED :)

Search

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')

Add before
// Okay i will say there is something, so that i check for an real empty post :) $context['user_post_avaible'] = 1;


Can u also make the HideTagSpecialBBCButton compatible with RC4? :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on November 23, 2010, 07:57:48 AM
Quote from: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.

Thank you for repling please tell me now what should i do now. and i have recently upgrade rc3 to rc4 and my mod list are here


Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on November 23, 2010, 08:10:26 AM
Quote from: jaisi on November 23, 2010, 07:57:48 AM
Quote from: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.

Thank you for repling please tell me now what should i do now. and i have recently upgrade rc3 to rc4 and my mod list are here


    1. MessagePreviewOnHover 1.7   [ Uninstall ] [ List Files ] [ Delete ] 
    2. SimpleAds 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
    3. AvatarSelect 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
    4. SA Affiliates 3.3.5.4   [ Uninstall ] [ List Files ] [ Delete ] 
    5. Hide Tag Special 2.3.6 Ultra Unofficial  [ Install Mod ] [ List Files ] [ Delete ] 
    6. Simple Audio Video Embedder 1.0.9   [ Uninstall ] [ List Files ] [ Delete ] 
    7. 'Read the Rules' Link Above Post Button 2.0   [ Uninstall ] [ List Files ] [ Delete ] 
    8. Board Message Icon 1.0   


I had the same problem as you did. I fixed it.

Open this one, upload it and extract.

After that you should open your Post.php

Find (not the 1st one, but the 2nd hit)

if ($smcFunc['htmltrim'](str

Add before

// Okay i will say there is something, so that i check for an real empty post :) $context['user_post_avaible'] = 1;
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on November 23, 2010, 08:19:15 AM
Quote from: giovannie_1 on November 23, 2010, 08:10:26 AM
Quote from: jaisi on November 23, 2010, 07:57:48 AM
Quote from: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.

Thank you for repling please tell me now what should i do now. and i have recently upgrade rc3 to rc4 and my mod list are here


    1. MessagePreviewOnHover 1.7   [ Uninstall ] [ List Files ] [ Delete ] 
    2. SimpleAds 1.0   [ Uninstall ] [ List Files ] [ Delete ] 
    3. AvatarSelect 1.2.1   [ Uninstall ] [ List Files ] [ Delete ] 
    4. SA Affiliates 3.3.5.4   [ Uninstall ] [ List Files ] [ Delete ] 
    5. Hide Tag Special 2.3.6 Ultra Unofficial  [ Install Mod ] [ List Files ] [ Delete ] 
    6. Simple Audio Video Embedder 1.0.9   [ Uninstall ] [ List Files ] [ Delete ] 
    7. 'Read the Rules' Link Above Post Button 2.0   [ Uninstall ] [ List Files ] [ Delete ] 
    8. Board Message Icon 1.0   


I had the same problem as you did. I fixed it.

Open this one, upload it and extract.

After that you should open your Post.php

Find (not the 1st one, but the 2nd hit)

if ($smcFunc['htmltrim'](str

Add before

// Okay i will say there is something, so that i check for an real empty post :) $context['user_post_avaible'] = 1;

Great Its working Thanks for SHaring
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on November 23, 2010, 08:29:11 AM
All the credits for the update goes out to Bugo, I just solved your problem. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 23, 2010, 09:49:05 AM
OK and now for the stable version 1.1.12 please...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on November 25, 2010, 12:45:53 PM
What happened to the author of this mod he is not responding!
Does anyone knows how to get a working hide tag on the latest stable version 1.1.12?
Please I need it....
Title: Re: Hide Tag Special (V1.8.5)
Post by: mladja037 on December 02, 2010, 01:58:54 PM
When arriving for RC4?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Bugo on December 02, 2010, 02:11:18 PM
http://www.simplemachines.org/community/index.php?topic=32954.msg2859559#msg2859559
Title: Re: Hide Tag Special (V1.8.5)
Post by: herace on December 07, 2010, 04:36:47 PM
Quote from: Bugo on November 23, 2010, 03:19:34 AM
Unofficial 2.36, only for SMF 2.0 RC4. Try it :)

Thanks.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Jippo on December 08, 2010, 12:06:46 AM
My FIRST time even attempting to even look into a mod.... here is an updated version. Please be kind, my first time.

Unofficial 1.02 - HideTagSpecialBBCButton102_(RC4_Compatible).zip

http://www.megaupload.com/?d=OWKIKUMO
Title: Re: Hide Tag Special (V1.8.5)
Post by: katb on January 08, 2011, 09:48:15 PM
Quote from: Bugo on November 23, 2010, 06:39:44 AM
@jaisi => I tested package on fresh SMF 2.0 RC4, w/o other mods.


I didn't find a pack for SMF 2.0 RC4  oir manual instructions( if i select SMF 2.0 RC4  and parse, it is showing error occurred ) .Please advice
Title: Re: Hide Tag Special (V1.8.5)
Post by: katb on January 09, 2011, 12:14:52 AM
this is the only mod i was looking  in SMF 2.0 RC4 ( or need to keep) i think better going back to previous version of smf is the only option ...
Title: Re: Hide Tag Special (V1.8.5)
Post by: lycan.v on January 15, 2011, 07:01:29 AM
Dear friends,

i am using this hide tag special and thank-o-matic mod on my SMF 2 RC3 board... its working fine and showed no error while installing, but recently i noticed a odd thing happening...
actually.. the content hidden by the hide tag remains hidden in the topic(thread) but when i open my forums RSS feed page all the hidden contents appears as unhidden... and that happens even in case of guests..
i checked all the settings of hide tag and thank-o-matic and all are fine, means guests have no permission to unhide the hidden content...

is this happening only with my forum or others also facing this situation?

Can anybody help me sort out this problem?

Thanks,

Regards.


And forgive me if the solution is present in this forum, i tried to search it but couldn't find it.
Title: SMF 2.0 RC3 - Installation Problem (Subs.php)
Post by: Aktoraman on January 15, 2011, 10:37:37 PM
Hello everyone!
Happy New Year also to all the guys here! :D

I am having a problem installing the HideTagSpecial236_(2.0RC3_Compatible).zip
Iam having a SMF 2.0 RC3 forum and i wanted this MOD to run there.

Starting my installation, it gives me an Error in Package Installation.
The error is in ./Sources/Subs.php

I Parse it and checked that it can't find the:

static $disabled;

and put after it this code:


// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);


Can someone advice me what should i change there?


Title: Re: Hide Tag Special (V1.8.5)
Post by: haito on January 15, 2011, 11:15:19 PM
find only $disabled...
i think your subs.php structure has changed with other mod
Title: Re: Hide Tag Special (V1.8.5)
Post by: Aktoraman on January 16, 2011, 08:44:34 AM
Quote from: haito on January 15, 2011, 11:15:19 PM
find only $disabled...
i think your subs.php structure has changed with other mod

So you advice me to find:

$disabled


and put after it, this code:

   // On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
   if (!isset($modSettings['hide_preparedOption']))
   {
      // First there is nothing in it ;)
      $modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
      $modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

      if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
      {
         // Prepare the hidden information :)
         $modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
         $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
         if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
            $modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
         if (!empty($modSettings['hide_enableHTML']))
            $modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);


Actually I have found this :

static $disabled, $default_disabled, $parse_tag_cache;

I put the code after this ???????????
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on January 19, 2011, 12:06:55 PM
Cannot install this mod on SMF 1.1.12 fresh installation. Can someone please update this mod?
Title: Re: Hide Tag Special (V1.8.5)
Post by: roonekoos on January 19, 2011, 01:10:42 PM
@Bugo ... many thanks for the RC4 version, work perfectly.

This mod is crucial to my forum so I am more than happy  ;)

http://metal-world.biz
Title: Re: Hide Tag Special (V1.8.5)
Post by: sharks on January 19, 2011, 02:12:57 PM
OK, i managed to install on SMF 1.1.12 by editing the package xml file.
Title: Re: Hide Tag Special (V1.8.5)
Post by: impreza on January 19, 2011, 06:11:39 PM
Great addition - I tested it, I greet and thank
Title: Re: Hide Tag Special (V1.8.5)
Post by: haito on January 19, 2011, 07:06:21 PM
@Aktoraman
yes, and dont forget to backup :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on January 22, 2011, 04:37:03 PM
Anyone who installed this on 1.1.12 version of SMF ? I get an error.. telling me that the version of the mod is incomaptible with my version of SMF or it's corrupted.
I would really want this mod installed on my blog. Please help !
Thanks.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on January 22, 2011, 05:04:56 PM
Ok, I edited the package-info.xml aswell.. (saw that Sharks said something about it above) and now I'm able to install it, but it gives me 1 failed test:

3.    execute the modification     ./Sources/Post.php      failed

I didn't install it yet.. cause I'm afraid to not mess everything. I'm making a backup from cpanel now.. then I'll try to install the mod.

But what can be done in order to solve that error ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: MarkoKg on January 29, 2011, 02:17:04 PM
Hello there.

How can we change style for hiddent and unhiddent content?
For smf 1.1.x there was .hiddencontent in style.css, but i cant see it in 2.0 RC4 version?

Anyone can help?
Title: Re: Hide Tag Special (V1.8.5)
Post by: MarkoKg on February 03, 2011, 04:35:01 PM
Bump! Anyone can help me?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on February 04, 2011, 04:15:39 AM
Quote from: MarkoKg on January 29, 2011, 02:17:04 PM
Hello there.

How can we change style for hiddent and unhiddent content?
For smf 1.1.x there was .hiddencontent in style.css, but i cant see it in 2.0 RC4 version?

Anyone can help?

In admin panel.

Admin - Forum - Postsettings - Hidetag special.

Use: Hidden Text Information (?):
BBC allowed, You can use $txtvariable and $language,
look into the help for more info.

and: Unhidden Text Information (?):
BBC allowed, You can use $txtvariable and $language,
look into the help for more info
Title: Re: Hide Tag Special (V1.8.5)
Post by: MarkoKg on February 04, 2011, 07:55:30 AM
I have a content there, and that is not problem.
What i want is to style hidden content, for example, i want it to be bordered, and with scroll bar.
It is displayed like in image in attachmen right now.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on February 04, 2011, 12:55:05 PM
Anyone managed to install this one on SMF 1.1.12 ? Who can help me ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: MarkoKg on February 04, 2011, 04:17:14 PM
It works fine with 1.1.12 version, if you install it manually:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=118;attach=138123;smf_version=1.1.11

I still need help with style about hiddent content.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on February 04, 2011, 04:41:57 PM
Quote from: MarkoKg on February 04, 2011, 04:17:14 PM
It works fine with 1.1.12 version, if you install it manually:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=118;attach=138123;smf_version=1.1.11

I still need help with style about hiddent content.

Thanks man.
I'll try all those steps & will come back with answers.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on February 05, 2011, 03:50:57 AM
Ok, I managed to install it manually and it works !!! Yey
But the problem is that I can't see the Option menu in "Admin -> Posts and Topics -> Hide Tag Special" if I'm using Romanian for example. How to solve it ? Anyone has ideas ?
Title: Re: Hide Tag Special (V1.8.5)
Post by: MarkoKg on February 05, 2011, 04:32:07 AM
Quote from: Perspective on February 05, 2011, 03:50:57 AM
Ok, I managed to install it manually and it works !!! Yey
But the problem is that I can't see the Option menu in "Admin -> Posts and Topics -> Hide Tag Special" if I'm using Romanian for example. How to solve it ? Anyone has ideas ?
Did you add strings to your language too?
Youll have to add in Admin.romanian.php, at the end of file:

//Hide Tag Special Options
// This is for SMF 1.1.x
$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]"';
// This is for SMF 2.0
$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';
// This will be used in both Versions
$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_karmaenable_help'] = 'This Option must be enabled that all karma Options work';
$txt['hide_karmaenable'] = 'Enable Hide Karma Support';
$txt['hide_minkarmaunhide'] = 'Minmum karma count to allow unhide content';
$txt['hide_minkarmaautounhide'] = 'Minmum karma count to unhide content without posting';
$txt['hide_minimumkarmaandpost'] = 'The user need the Minimum Karma and Post to see hidden content';
$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_unhideparser'] = 'Allowed Groups can see everywhere the hidden content<br />(Not only on the Topic)';
$txt['hide_unhideparser_help'] = 'Can overwrite some special setting for diffrent mods!';
$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';
$txt['hide_unhideunlockedtopic'] = 'Enable to unhide hidden content on closed/locked topics';
$txt['hide_unhideunlockedtopicgroups'] = 'Allowed Groups to see a hidden content on locked topics';
$txt['hide_unhideunlockedtopicguest'] = 'Allow guests to see a hidden content on locked topics';
$txt['hide_autohidefirstpostenable'] = 'Enable auto add [hide][/hide] on new topics';
$txt['hide_autohidefirstpostenable_help'] = 'Work only on new created topics without hidden content!';
$txt['hide_autohidefirstpost'] = 'Boards for auto hide hidden content on new topic.';
$txt['hide_selectBoards'] = 'Select Boards';

You also have to add some strings in help.romanian, and in index.romanian to get mod works right. You can see strings on link i gave to you, just follow the steps about file.english.php and add code to file.romanian.php.

I hope that i helped.




Blah, anyone to help with style?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on February 05, 2011, 05:13:50 AM
Quote from: MarkoKg on February 04, 2011, 07:55:30 AM
I have a content there, and that is not problem.
What i want is to style hidden content, for example, i want it to be bordered, and with scroll bar.
It is displayed like in image in attachmen right now.

I don't know if such a thing is possible at  RC2. x versions.

I'm sorry I can't help u with this. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Perspective on February 05, 2011, 07:08:39 AM
@MarkoKg
Yap, works. Thanks a lot for your help !
Title: Re: Hide Tag Special (V1.8.5)
Post by: zzuzu on February 14, 2011, 11:15:22 AM
Hello,

I don't know if this belongs to Hide tag or to thanks mod. So I'll ask here.

I'm using WGtool's link checker. And it needs rights to see hidden links. How can I change permissions so it can see links as admins do?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Hüsamettin on February 18, 2011, 06:03:04 AM
hi,

this mode for 2.0 rc5?
Title: Re: Hide Tag Special (V1.8.5)
Post by: shahnewaz on March 02, 2011, 10:51:14 AM
how to use this mod in smf 2 rc5??

i need help here
Title: Re: Hide Tag Special (V1.8.5)
Post by: raffomix on March 07, 2011, 07:39:58 AM
Quote from: shahnewaz on March 02, 2011, 10:51:14 AM
how to use this mod in smf 2 rc5??

i need help here

yes, I also need help, please
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 07, 2011, 07:40:17 AM
The mod's author hasn't been here in over a month.
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on March 07, 2011, 11:39:42 AM
I am using it with RC5, and if I remember it correctly, this mod requires some very minor changes to be installed via the package manager.
Title: Re: Hide Tag Special (V1.8.5)
Post by: RvG on March 07, 2011, 01:20:31 PM
Quote from: poolhall on March 07, 2011, 11:39:42 AM
I am using it with RC5, and if I remember it correctly, this mod requires some very minor changes to be installed via the package manager.

would you be kind to share your edited files for rc5?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 07, 2011, 02:14:49 PM
No-one other than the mod's author can post mod files, but it's OK to list what the changes were.
Title: Re: Hide Tag Special (V1.8.5)
Post by: raffomix on March 07, 2011, 04:36:33 PM
Quote from: poolhall on March 07, 2011, 11:39:42 AM
I am using it with RC5, and if I remember it correctly, this mod requires some very minor changes to be installed via the package manager.

I'm Italian, excuse my bad english (use Google Translator), I first worked on the file "package-info" adding compatibility with 2.0 RC5 (with the ultimate version "HideTagSpecial236_(2.0RC3_Compatible)) , then I tried to install, but the board detects errors (look the screen)

(http://img3.imageshack.us/img3/4611/hidetagscreen.th.jpg) (http://img3.imageshack.us/i/hidetagscreen.jpg/)

...I manually changed files, but the forum disappears, forcing me to use the backups via packages

I can not understand what's the problem!
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on March 07, 2011, 07:55:33 PM
Quote from: RvG on March 07, 2011, 01:20:31 PM
Quote from: poolhall on March 07, 2011, 11:39:42 AM
I am using it with RC5, and if I remember it correctly, this mod requires some very minor changes to be installed via the package manager.

would you be kind to share your edited files for rc5?
I don't remember what changes I made and I am not allowed to post the entire file... But I am sure you can find it yourself. Upload the RC3 version of the mod, emulate this version in Package Manager and do the install - it won't install it but will tell you which files you need to edit. In the package manager you can also see what particular code in your files the manager can't locate. Download your actual files and made appropriate changes in HideTagSpecial2.0.x.mod, which you can find inside the mod archive. Then repack the archive.
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on March 07, 2011, 07:59:35 PM
Quote from: raffomix on March 07, 2011, 04:36:33 PM
I can not understand what's the problem!
most probably you made a mistake in your edits. Try again.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 10, 2011, 08:36:05 AM
I got this one work on a fresh RC5. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Biology Forums on March 13, 2011, 11:52:27 PM
I'm guessing this mod prevents search engines like Google from crawling all the content within the [hide] tags, correct?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 14, 2011, 05:28:55 AM
Quote from: shuban on March 13, 2011, 11:52:27 PM
I'm guessing this mod prevents search engines like Google from crawling all the content within the [hide] tags, correct?

Yes
Title: Re: Hide Tag Special (V1.8.5)
Post by: RvG on March 14, 2011, 12:58:42 PM
Quote from: giovannie_1 on March 10, 2011, 08:36:05 AM
I got this one work on a fresh RC5. :)

good, let me play around this... :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Hüsamettin on March 15, 2011, 06:56:49 AM
unofficial for rc 5

this mod for rc5 updated  (http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html;msg105927#msg105927)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Biology Forums on March 15, 2011, 01:31:16 PM
Why does it show the message on topic summary even when the users are allowed to view content within the hidden tags? Is this a glitch or have I done something wrong?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 22, 2011, 03:00:53 PM
Quote from: Hüsamettin on March 15, 2011, 06:56:49 AM
unofficial for rc 5

this mod for rc5 updated  (http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html;msg105927#msg105927)

Where can I download the unofficial for RC5? It's a link to turkish bla bla bla...
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on March 22, 2011, 04:16:24 PM
When arriving for RC5????
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 22, 2011, 05:30:09 PM
Quote from: Ciler on March 22, 2011, 03:00:53 PM
Quote from: Hüsamettin on March 15, 2011, 06:56:49 AM
unofficial for rc 5

this mod for rc5 updated  (http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html;msg105927#msg105927)

Where can I download the unofficial for RC5? It's a link to turkish bla bla bla...
I think I made a good effort. PM me.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 23, 2011, 02:14:31 PM
Hi Giovanni,

Please find my admin.php and subs.php from my test forum Dark Mark Theme RC5.
Hope you are able to solve the problem.

Thanks in advance.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 23, 2011, 03:48:55 PM
Hello,

Admin.php or Admin.template.php ?

If it's Admin.template.php:

find:
function template_modify_language_entries()

Replace with:
// Template for editing hide tag special settings.
function template_edit_hidetagspecial_settings()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

echo '
<form name="hidesettings" action="'.$context['post_url'].'" method="post" accept-charset="', $context['character_set'], '">
<table border="0" cellspacing="0" cellpadding="4" align="center" width="80%" class="tborder">
<tr class="titlebg">
<td colspan="2">', $txt['manageposts_hidetagspecial_settings_title'], '</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_MUIswitch_check">', $txt['hide_MUIswitch'], '</label> <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_MUIswitch_help" onclick="return reqWin(this.href);">?</a>)</span>:
</th>
<td valign="top">
<input type="checkbox" name="hide_MUIswitch" id="hide_MUIswitch_check"', empty($modSettings['hide_MUIswitch']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_enableHTML_check">', $txt['hide_enableHTML'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_enableHTML_help'].'</span></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_enableHTML" id="hide_enableHTML_check"', empty($modSettings['hide_enableHTML']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_useSpanTag_check">', $txt['hide_useSpanTag'], '</label> <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_useSpanTag_help" onclick="return reqWin(this.href);">?</a>)</span>:
</th>
<td valign="top">
<input type="checkbox" name="hide_useSpanTag" id="hide_useSpanTag_check"', empty($modSettings['hide_useSpanTag']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_enableUnhiddenText_check">', $txt['hide_enableUnhiddenText'], ':  <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_unhiddentext_help" onclick="return reqWin(this.href);">?</a>)</span>
</th>
<td valign="top">
<input type="checkbox" name="hide_enableUnhiddenText" id="hide_enableUnhiddenText_check"', empty($modSettings['hide_enableUnhiddenText']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<td colspan="2"><hr /></td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_hiddentext_textarea">', $txt['hide_hiddentext'], ' <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_text_help" onclick="return reqWin(this.href);">?</a>)</span>:<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_hiddentext_help'].'</span></label>
</th>
<td valign="top">
<textarea name="hide_hiddentext" id="hide_hiddentext_textarea" cols="40" rows="8">', (empty($modSettings['hide_hiddentext']) ? '' : $modSettings['hide_hiddentext']), '</textarea>
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_unhiddentext_textarea">', $txt['hide_unhiddentext'], ' <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_text_help" onclick="return reqWin(this.href);">?</a>)</span>:<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_hiddentext_help'].'</span></label>
</th>
<td valign="top">
<textarea name="hide_unhiddentext" id="hide_unhiddentext_textarea" cols="40" rows="8">', (empty($modSettings['hide_unhiddentext']) ? '' : $modSettings['hide_unhiddentext']), '</textarea>
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_posUnhiddenText_select">', $txt['hide_posUnhiddenText'], '</label> <span style="font-weight: normal;">(<a href="', $scripturl, '?action=helpadmin;help=hide_posUnhiddenText_help" onclick="return reqWin(this.href);">?</a>)</span>:
</th>
<td valign="top">
<select name="hide_posUnhiddenText" id="hide_posUnhiddenText_select" class="select">
<option value="1"', $modSettings['hide_posUnhiddenText'] == 1 ? ' selected="selected"' : '', '>', $txt['hide_posUnhiddenOption1'], '</option>
<option value="2"', $modSettings['hide_posUnhiddenText'] == 2 ? ' selected="selected"' : '', '>', $txt['hide_posUnhiddenOption2'], '</option>
<option value="3"', $modSettings['hide_posUnhiddenText'] == 3 ? ' selected="selected"' : '', '>', $txt['hide_posUnhiddenOption3'], '</option>
<option value="4"', $modSettings['hide_posUnhiddenText'] == 4 ? ' selected="selected"' : '', '>', $txt['hide_posUnhiddenOption4'], '</option>
</select>
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_onlyonetimeinfo_check">', $txt['hide_onlyonetimeinfo'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_onlyonetimeinfo_help'].'</span></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_onlyonetimeinfo" id="hide_onlyonetimeinfo_check"', empty($modSettings['hide_onlyonetimeinfo']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_noinfoforguests_check">', $txt['hide_noinfoforguests'], '</label>:
</th>
<td valign="top">
<input type="checkbox" name="hide_noinfoforguests" id="hide_noinfoforguests_check"', empty($modSettings['hide_noinfoforguests']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<td colspan="2"><hr /></td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right" valign="top">
<label for="hide_autounhidegroups_input" onclick="return openAutoUnhideGroupsList();">', $txt['hide_autounhidegroups'], '</lable>:
</th>
<td valign="top" align="left"><a href="#allowedAutoUnhideGroupsList" onclick="return openAutoUnhideGroupsList();">'.$txt['mboards_groups'].'</a><br />
<div id="allowedAutoUnhideGroupsList" style="display:block;">';

// List all the membergroups so the user can choose who may access this board.
foreach ($context['groups'] as $group)
echo '
<label for="groups_', $group['id'], '"><input type="checkbox" name="hide_autounhidegroups[]" value="', $group['id'], '" id="groups_', $group['id'], '"', $group['checked'] ? ' checked="checked"' : '', ' /> <span', $group['is_post_group'] ? ' style="border-bottom: 1px dotted;" title="' . $txt['mboards_groups_post_group'] . '"' : '', '>', $group['name'], '</span></label><br />';
echo '
<i>', $txt['check_all'], '</i> <input type="checkbox" onclick="invertAll(this, this.form, \'hide_autounhidegroups[]\');" /><br />
<br /></div>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
//This Skript is only for Opening and Closing the group select list
var allowedFlashGroupListStatus = false;

function openAutoUnhideGroupsList()
{
if(allowedFlashGroupListStatus)
{
allowedFlashGroupListStatus = false;
document.getElementById("allowedAutoUnhideGroupsList").style.display = "block";
}
else
{
allowedFlashGroupListStatus = true;
document.getElementById("allowedAutoUnhideGroupsList").style.display = "none";
}
return false;
}
// ]]></script>

</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_unhideparser_check">', $txt['hide_unhideparser'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_unhideparser_help'].'</span></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_unhideparser" id="hide_unhideparser_check"', empty($modSettings['hide_unhideparser']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_minpostunhide_input">', $txt['hide_minpostunhide'], '</label>:
</th>
<td valign="top">
<input type="text" name="hide_minpostunhide" id="hide_minpostunhide_input" value="', (empty($modSettings['hide_minpostunhide']) ? '0' : $modSettings['hide_minpostunhide']), '" class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_minpostautounhide_input">', $txt['hide_minpostautounhide'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_minpostautounhide_help'].'</span></label>
</th>
<td valign="top">
<input type="text" name="hide_minpostautounhide" id="hide_minpostautounhide_input" value="', (empty($modSettings['hide_minpostautounhide']) ? '0' : $modSettings['hide_minpostautounhide']), '" class="check" />
</td>
</tr>
<tr class="windowbg2">
<td colspan="2"><hr /></td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_unhideunlockedtopic_check">', $txt['hide_unhideunlockedtopic'], ':<br /></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_unhideunlockedtopic" id="hide_unhideunlockedtopic_check"', empty($modSettings['hide_unhideunlockedtopic']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right" valign="top">
<label for="hide_unhideunlockedtopicgroups_input" onclick="return openAutoUnhideLockedTopicGroupsList();">', $txt['hide_unhideunlockedtopicgroups'], '</lable>:
</th>
<td valign="top" align="left"><a href="#allowedAutoUnhideLockedTopicGroupsList" onclick="return openAutoUnhideLockedTopicGroupsList();">'.$txt['mboards_groups'].'</a><br />
<div id="allowedAutoUnhideLockedTopicGroupsList" style="display:block;">';

// List all the membergroups so the user can choose who may see the content of locked topics
foreach ($context['groups'] as $group)
echo '
<label for="groups_', $group['id'], '"><input type="checkbox" name="hide_unhideunlockedtopicgroups[]" value="', $group['id'], '" id="groups_', $group['id'], '"', $group['checked_2'] ? ' checked="checked"' : '', ' /> <span', $group['is_post_group'] ? ' style="border-bottom: 1px dotted;" title="' . $txt['mboards_groups_post_group'] . '"' : '', '>', $group['name'], '</span></label><br />';
echo '
<i>', $txt['check_all'], '</i> <input type="checkbox" onclick="invertAll(this, this.form, \'hide_unhideunlockedtopicgroups[]\');" /><br />
<br /></div>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
//This Skript is only for Opening and Closing the group select list
var allowedFlashGroupListStatus2 = false;

function openAutoUnhideLockedTopicGroupsList()
{
if(allowedFlashGroupListStatus2)
{
allowedFlashGroupListStatus2 = false;
document.getElementById("allowedAutoUnhideLockedTopicGroupsList").style.display = "block";
}
else
{
allowedFlashGroupListStatus2 = true;
document.getElementById("allowedAutoUnhideLockedTopicGroupsList").style.display = "none";
}
return false;
}
// ]]></script>

</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_unhideunlockedtopicguest_check">', $txt['hide_unhideunlockedtopicguest'], ':</label>
</th>
<td valign="top">
<input type="checkbox" name="hide_unhideunlockedtopicguest" id="hide_unhideunlockedtopicguest_check"', empty($modSettings['hide_unhideunlockedtopicguest']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>';
if (!empty($modSettings['karmaMode'])) {
echo '
<tr class="windowbg2">
<td colspan="2"><hr /></td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_karmaenable_check">', $txt['hide_karmaenable'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_karmaenable_help'].'</span></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_karmaenable" id="hide_karmaenable_check"', empty($modSettings['hide_karmaenable']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_minkarmaunhide_input">', $txt['hide_minkarmaunhide'], ':</label>
</th>
<td valign="top">
<input type="text" name="hide_minkarmaunhide" id="hide_minkarmaunhide_input" value="', (empty($modSettings['hide_minkarmaunhide']) ? '0' : $modSettings['hide_minkarmaunhide']), '" class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_minkarmaautounhide_input">', $txt['hide_minkarmaautounhide'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_minpostautounhide_help'].'</span></label>
</th>
<td valign="top">
<input type="text" name="hide_minkarmaautounhide" id="hide_minkarmaautounhide_input" value="', (empty($modSettings['hide_minkarmaautounhide']) ? '0' : $modSettings['hide_minkarmaautounhide']), '" class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_minimumkarmaandpost_check">', $txt['hide_minimumkarmaandpost'], ':</label>
</th>
<td valign="top">
<input type="checkbox" name="hide_minimumkarmaandpost" id="hide_minimumkarmaandpost_check"', empty($modSettings['hide_minimumkarmaandpost']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_onlykarmagood_check">', $txt['hide_onlykarmagood'], ':</label>
</th>
<td valign="top">
<input type="checkbox" name="hide_onlykarmagood" id="hide_onlykarmagood_check"', empty($modSettings['hide_onlykarmagood']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>';
}
// Okay now i will add this large board setting things, i will also make it collapseable, the site should not look to large after this :D
echo '
<tr class="windowbg2">
<td colspan="2"><hr /></td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right">
<label for="hide_autohidefirstpostenable_check">', $txt['hide_autohidefirstpostenable'], ':<br />
<span class="smalltext" style="font-weight: normal;">'.$txt['hide_autohidefirstpostenable_help'].'</span></label>
</th>
<td valign="top">
<input type="checkbox" name="hide_autohidefirstpostenable" id="hide_autohidefirstpostenable_check"', empty($modSettings['hide_autohidefirstpostenable']) ? '' : ' checked="checked"', ' class="check" />
</td>
</tr>
<tr class="windowbg2">
<th width="50%" align="right" valign="top">
<label for="hide_autohidefirstpost_input" onclick="return openAutoHideFirstPost();">', $txt['hide_autohidefirstpost'], '</lable>:
</th>
<td valign="top" align="left"><a href="#autohidefirstpostenable" onclick="return openAutoHideFirstPost();">'.$txt['hide_selectBoards'].'</a>
</td>
</tr>
<tr class="windowbg2">
<td colspan="2">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function selectBoards(ids)
{
var toggle = true;

for (i = 0; i < ids.length; i++)
toggle = toggle & document.forms.creator["brd" + ids[i]].checked;

for (i = 0; i < ids.length; i++)
document.forms.creator["brd" + ids[i]].checked = !toggle;
}
// ]]></script>
<div id="autohidefirstpostenable" style="display:block;">
<table border="0" width="100%" cellpadding="3">
<tr>
<td>';

// This script is needed for the select? :P
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function selectBoards(ids)
{
var toggle = true;

for (i = 0; i < ids.length; i++)
toggle = toggle & document.forms.hidesettings["brd" + ids[i]].checked;

for (i = 0; i < ids.length; i++)
document.forms.hidesettings["brd" + ids[i]].checked = !toggle;
}
// ]]></script>';

// Load the Boards...
echo '
<fieldset class="windowbg2" style="padding: 10px; margin-left: 5px; margin-right: 5px;">
<table id="searchBoardsExpand" width="100%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin-top: 1ex;">';
$alternate = true;
foreach ($context['board_columns'] as $board)
{
if ($alternate)
echo '
<tr>';
echo '
<td width="50%">';

if (!empty($board) && empty($board['child_ids']))
echo '
<label for="brd', $board['id'], '" style="margin-left: ', $board['child_level'], 'ex;"><input type="checkbox" id="brd', $board['id'], '" name="hide_autohidefirstpost[', $board['id'], ']" value="', $board['id'], '"', $board['checked'] ? ' checked="checked"' : '', ' class="check" />', $board['name'], '</label>';
elseif (!empty($board))
echo '
<a href="javascript:void(0);" onclick="selectBoards([', implode(', ', $board['child_ids']), ']); return false;" style="text-decoration: underline;">', $board['name'], '</a>';

echo '
</td>';
if (!$alternate)
echo '
</tr>';

$alternate = !$alternate;
}

echo '
</table><br />
<input type="checkbox" name="all" id="check_all" value=""'.($context['all_checked'] ? ' checked="checked"' : '').' onclick="invertAll(this, this.form, \'hide_autohidefirstpost\');" class="check" /><i> <label for="check_all">', $txt['check_all'], '</label></i><br />
</fieldset>
</tr>
</td>
</table>
</div>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
//This script is only for open and close the board select list
var boardListStatus = false;

function openAutoHideFirstPost()
{
if(boardListStatus)
{
boardListStatus = false;
document.getElementById("autohidefirstpostenable").style.display = "block";
}
else
{
boardListStatus = true;
document.getElementById("autohidefirstpostenable").style.display = "none";
}
return false;
}
// ]]></script>
</td>
</tr>
<tr class="windowbg2">
<td align="center" colspan="2">
<input type="submit" name="save_settings" value="', $txt['manageposts_hidetagspecial_settings_submit'], '" />
</td>
</tr>
</table>
<input type="hidden" name="sc" value="', $context['session_id'], '" />
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// This script close all group realated list :D
function closeGroupsLists()
{
if(!allowedFlashGroupListStatus)
{
allowedFlashGroupListStatus = true;
document.getElementById("allowedAutoUnhideGroupsList").style.display = "none";
}
if(!allowedFlashGroupListStatus2)
{
allowedFlashGroupListStatus2 = true;
document.getElementById("allowedAutoUnhideLockedTopicGroupsList").style.display = "none";
}
if(!boardListStatus)
{
boardListStatus = true;
document.getElementById("autohidefirstpostenable").style.display = "none";
}
return false;
}

window.onload=closeGroupsLists;
// ]]></script>
</form>';
}

function template_modify_language_entries()


In Subs.php find:
static $disabled, $default_disabled, $parse_tag_cache;

After add:
// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

// Prepare the unhidden infomation?
if (!empty($modSettings['hide_enableUnhiddenText']))
{
$modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
}
}

// So prepare the unhidden Option for the Parser ;)
if (!empty($modSettings['hide_useSpanTag']))
{
$modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</span>';
}
else
{
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
}

// Okay Let's see where i must put the unhidden Informations :)
if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
{
if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 3)
$modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
elseif ($modSettings['hide_posUnhiddenText'] == 2)
$modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 1)
$modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
else
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
}

$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

// Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
$modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
{
$modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
foreach ($user_info['groups'] as $group_id)
if (in_array($group_id, $modSettings['hide_autounhidegroups']))
{
$modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
break; //One is enouph ;D
}
}
}

// Hide Mod.. i remove the code before i do anything...
if ($message !== false && !empty($message))
{
if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;
// Add the Hidden Text at the end of the post :)
if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
$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);
}
// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}


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


add after:
array(
'tag' => 'hide',
'before' => $modSettings['hide_preparedOption']['before_info'],
'after' => $modSettings['hide_preparedOption']['after_info'],
'block_level' => true,
),


Search for:
// Shall we take the time to cache this?


Replace with:
//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;
}
}
}
}

// Shall we take the time to cache this?


Search for:
// Cleanup whitespace.
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));


Replace with:
// Cleanup whitespace.
$message = strtr($message, array('  ' => ' &nbsp;', "\r" => '', "\n" => '<br />', '<br /> ' => '<br />&nbsp;', '&#13;' => "\n"));

//Clean up some missing removed hide close tags... Hide Tags can not disabled!
//If you don't like to reomve this tags, insert in the settings the value hide_doNotRemoveHideTag
if(empty($modSettings['hide_doNotRemoveHideTag'])) {
if(preg_match("/\[\/hide\]/i", $message) != 0)
$message = preg_replace("/\[\/hide\]/i", '', $message);
if(preg_match("/\[\hide\]/i", $message) != 0)
$message = preg_replace("/\[\hide\]/i", '', $message);
}


Search for:
// Generate a random seed and ensure it's stored in settings.


Replace with:
// Check if an hide tag exists inside the message
function hideTagExists($message, $cache_id = '')
{
static $chached_tags = array();

if (empty($message))
return false;

// Cashed data? (I need not check it twice)
if (!empty($cache_id) && isset($chached_tags[$cache_id]))
return $chached_tags[$cache_id];
// Store the last data into the cache ;)
elseif (empty($cache_id))
$cache_id = 'last';

// Check if the hidden content exist
$chached_tags[$cache_id] = preg_match("/\[hide\](.+?)\[\/hide\]/i", $message) != 0 || preg_match("/\[hide(.+?)\](.+?)\[\/hide\]/i", $message) != 0;
return $chached_tags[$cache_id];
}

// Generate a random seed and ensure it's stored in settings.
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on March 24, 2011, 01:26:54 PM
Please update for R5
Title: Re: Hide Tag Special (V1.8.5)
Post by: Hüsamettin on March 24, 2011, 05:52:17 PM
to be un official this mod (packages)
on this adres but, want user login
http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html (http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 07:42:30 AM
Hi Giovanni after updating the changes into the script i get database errors so unfortunately it isn't working... :(
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 07:46:47 AM
Quote from: Hüsamettin on March 24, 2011, 05:52:17 PM
to be un official this mod (packages)
on this adres but, want user login
http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html (http://destek.smfmod.com/hide-tag-special-sbt-ve-husaminin-katkilariyla-rc4-ve-rc5e-guncellendi-t11472.0.html)

How to registrate if you don't understand turkish language please describe into english what to do to get the RC5 compatible mod!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 25, 2011, 07:54:00 AM
Quote from: Ciler on March 25, 2011, 07:42:30 AM
Hi Giovanni after updating the changes into the script i get database errors so unfortunately it isn't working... :(
Which one?

Have you installed other packages?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 08:24:23 AM
Even if I uninstall all mods and begin with this mod first i got this:

Fatal error: Cannot redeclare modifyhidetagspecialsettings() (previously declared in /home/avchdedi/public_html/forum/Sources/ManagePosts.php:288) in /home/avchdedi/public_html/forum/Sources/ManagePosts.php on line 613
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 25, 2011, 10:07:34 AM
Quote from: Ciler on March 25, 2011, 08:24:23 AM
Even if I uninstall all mods and begin with this mod first i got this:

Fatal error: Cannot redeclare modifyhidetagspecialsettings() (previously declared in /home/avchdedi/public_html/forum/Sources/ManagePosts.php:288) in /home/avchdedi/public_html/forum/Sources/ManagePosts.php on line 613

Attach ManagePosts.php please

Have you installed other mods already?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 10:15:18 AM
No I did the upgrade to RC5 (from RC4) on my testforum again and didn't install any mod yet!
When i begin with this hide tag special unofficial mod i can't enter admin section and get this fatal error above mentioned. (even in the default theme)

Attached is my manageposts.php file.

Regards,

Ciler.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 25, 2011, 10:55:04 AM
I couldn't find the following after 1 line:

);

Try this

Can you give me a link to your forum please?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 11:39:59 AM
I suppose you attached manageposts.php edited by yourself? Still it's not working i can't go to post and topics ----- hide tag special because i keep getting database errors.

Thanks for all your helping efforts but i keep RC4 untill this mod is stable for RC5!

To the core workers maybe it's time to integrate this mod in the core upgrades of SMF 2.X because it's a really important function thus why not built in the core files;

[hide].......[/hide]

Other reason the author of this mod stopped support so a lot of users are unable to upgrade!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 25, 2011, 02:22:49 PM
May I ask what you changed in Post.php?
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 03:55:06 PM
Nothing because I supposed you edited my attached file since you asked: Try This
But again thanks Giovanni for all your support but I keep RC4 this takes to much time and troubles and I really don't understand why the core developpers built hide tag special in the core files because every other script uses this important function and each time at another upgrade this mod is the bottleneck to upgrade each time it isn't working and i am planning to convert to vbulletin because support in mods with SMF is frustrating! (Doesn't mean for you!)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 25, 2011, 04:24:05 PM
It's not in the core files because the vast majority of forums do not need it or want it, especially as all it does is encourage bad contribution.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 25, 2011, 04:45:38 PM
Quote from: Arantor on March 25, 2011, 04:24:05 PM
It's not in the core files because the vast majority of forums do not need it or want it, especially as all it does is encourage bad contribution.

Did you notice how many users are asking for this mod to work? And most forums don't need it? How do you know? Encourage bad contribution on what is your opinion based???

Does it mean the author of this mod stops support nobody will pick up his work? No hide tag and my forum is doomed and i think for many others as i read here! Upgrades are useless as most mods are not compatible and stay if not in short time they've been upgrade also for compatibility!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 25, 2011, 05:49:51 PM
QuoteDid you notice how many users are asking for this mod to work?

A few hundred maybe.

QuoteAnd most forums don't need it? How do you know?

If it were that popular it would be in the top 10 downloaded mods, I don't think it's even in the top 25 downloaded mods, even excluding avatars.

QuoteEncourage bad contribution on what is your opinion based???

Experience. Most people use this to hide content until people have replied. Experience tells me the majority of the time this results in one or two word posts solely so people can see the content that they couldn't have seen in order to comment on.

QuoteDoes it mean the author of this mod stops support nobody will pick up his work?

Unless the mod author specifically grants permission for someone to take it over, or someone else writes from scratch, a little thing called copyright law prevents it.

QuoteNo hide tag and my forum is doomed and i think for many others as i read here!

Ask yourself: why do you want the tag? What exactly do you hope to use it for?

QuoteUpgrades are useless as most mods are not compatible and stay if not in short time they've been upgrade also for compatibility!

And if you read the majority of threads out there, most mods that work on the likes of 2.0 RC3 will work with few or no changes for RC5 (and ditto goes for 1.1.x for virtually any 1.1.x mod). If you're going to vBulletin I assure you the situation is not significantly better there, but you have to remember, people who write mods (which used to include me) do so in their spare time so that people like you get the benefit. They're under no pressure, no demand to keep them updated.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 26, 2011, 08:24:25 AM
Sorry but i really get frustrated because i am not able to get this mod working for RC5!
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 26, 2011, 10:21:13 AM
Quote from: Ciler on March 26, 2011, 08:24:25 AM
Sorry but i really get frustrated because i am not able to get this mod working for RC5!

I was willing to stretch my hands out but you gave up so soon. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 26, 2011, 11:27:00 AM
Quote from: giovannie_1 on March 26, 2011, 10:21:13 AM
Quote from: Ciler on March 26, 2011, 08:24:25 AM
Sorry but i really get frustrated because i am not able to get this mod working for RC5!

I was willing to stretch my hands out but you gave up so soon. :)

I understand sorry Giovanni I will pick it up later but the strange thing is what you told me I did everything and after installing this mod after a fresh upgrade to RC5 I was even not able to enter the admin section and get immediately a database error :( Also in the default theme...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on March 26, 2011, 12:11:30 PM
Quote from: Ciler on March 26, 2011, 11:27:00 AM
Quote from: giovannie_1 on March 26, 2011, 10:21:13 AM
Quote from: Ciler on March 26, 2011, 08:24:25 AM
Sorry but i really get frustrated because i am not able to get this mod working for RC5!

I was willing to stretch my hands out but you gave up so soon. :)

I understand sorry Giovanni I will pick it up later but the strange thing is what you told me I did everything and after installing this mod after a fresh upgrade to RC5 I was even not able to enter the admin section and get immediately a database error :( Also in the default theme...

I know. But I was willing to help you and solve the problem. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 26, 2011, 06:02:51 PM
Ok Giovanni my frustrations are less now lol.
This is the database error:

Fatal error: Cannot redeclare modifyhidetagspecialsettings() (previously declared in /home/avchdedi/public_html/forum/Sources/ManagePosts.php:288) in /home/avchdedi/public_html/forum/Sources/ManagePosts.php on line 612

Attached my managepost.php file
Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on March 26, 2011, 06:05:53 PM
The mod install was run twice, so you had two copies of the code in that file. Try this version of it.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Ciler on March 26, 2011, 06:30:02 PM
Many many thanks Arantor and Giovanni!
Now it's working! ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on March 28, 2011, 03:38:35 PM
Please  help me to insatall this mod i'an getting Error my Forum Version is R5
Title: Re: Hide Tag Special (V1.8.5)
Post by: Luffysama on April 07, 2011, 08:41:02 AM
Hi, I changed the mod to make it compatible with version 2.0 RC5. I used the version HideTagSpecial236_ (2.0RC3_Compatible).

You should only make minor modifications to the file HideTagSpecial2.0.x.mod, which are:


Code (Find) Select

<search for>
'subsections' => array(
'posts' => array($txt['manageposts_settings'], 'admin_forum'),
</search for>

<replace>
'subsections' => array(
'posts' => array($txt['manageposts_settings'], 'admin_forum'),
'hidetagspecial' => array($txt['manageposts_hidetagspecial_settings'], 'admin_forum'),
</replace>

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

<search for>
'posts' => array('ModifyPostSettings', 'admin_forum'),
</search for>

<replace>
'posts' => array('ModifyPostSettings', 'admin_forum'),
'hidetagspecial' => array('ModifyHideTagSpecialSettings', 'admin_forum'),
</replace>



Code (Replace with) Select

<search for>
'subsections' => array(
'posts' => array($txt['manageposts_settings']),
</search for>

<replace>
'subsections' => array(
'posts' => array($txt['manageposts_settings']),
'hidetagspecial' => array($txt['manageposts_hidetagspecial_settings']),
</replace>

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

<search for>
'posts' => 'ModifyPostSettings',
</search for>

<replace>
'posts' => 'ModifyPostSettings',
'hidetagspecial' => 'ModifyHideTagSpecialSettings',
</replace>


That's it.

Greetings
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on April 07, 2011, 01:26:19 PM
did anybody have  checked ??
Title: Re: Hide Tag Special (V1.8.5)
Post by: devouk on April 09, 2011, 11:13:22 AM
Hi ..

I got the hide tag special installed and working .. in where i have enabled the automatically hide links in new posts is there anyway for when using the automated hidelink .. rather than hide the whole message it parses the http:// links only and hide them ?

thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: Groovy™ on April 09, 2011, 03:57:34 PM
If anyone has the RC5, he would be grateful if you would give me the PM sent ;)

Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on April 09, 2011, 04:36:08 PM
I think someone of the SMF team don't want me to help other people to make this mod work for RC5 because they deleted my 'if you want this mod for RC5, PM me' post.  ::)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on April 11, 2011, 05:39:57 PM
I really Need This MOd PLease Update For RC5

Thanks In Advance 
Title: Re: Hide Tag Special (V1.8.5)
Post by: ディン1031 on April 19, 2011, 12:09:36 PM
If someone else will update my mod i give the rights to anyone who like to update it. ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on April 28, 2011, 08:14:08 PM
Please update this mod for RC5
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 03, 2011, 01:20:15 PM
Bup..........
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on May 03, 2011, 03:16:12 PM
Quote from: ディン1031 on April 19, 2011, 12:09:36 PM
If someone else will update my mod i give the rights to anyone who like to update it. ;)

How funny this is, I quoted your message and updated the package for RC5, now it has been deleted by one of the teammembers.

I wonder who did it (done twice).. :o
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 05, 2011, 05:03:13 PM
want this mod for rc5 is there is one? can any one help me with this one?
or any other mod with which i can force my users to post before showing link.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on May 06, 2011, 04:03:56 AM
* Removed *
Title: Re: Hide Tag Special (V1.8.5)
Post by: Aleksi "Lex" Kilpinen on May 06, 2011, 04:53:12 AM
Quote from: giovannie_1 on May 06, 2011, 04:03:56 AM
* Removed *
I'm sorry - But I removed the link for the reason that the mod is not yours,
so we would at least want confirmation that you have the permission to distribute it.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Rain Forest on May 06, 2011, 07:50:35 AM
Quote from: Aleksi "Lex" Kilpinen on May 06, 2011, 04:53:12 AM
Quote from: giovannie_1 on May 06, 2011, 04:03:56 AM
* Removed *
I'm sorry - But I removed the link for the reason that the mod is not yours,
so we would at least want confirmation that you have the permission to distribute it.

http://www.simplemachines.org/community/index.php?topic=32954.msg3021860#msg3021860

Title: Re: Hide Tag Special (V1.8.5)
Post by: Arantor on May 06, 2011, 07:56:45 AM
Get the mod transferred to your account first, then you can update the proper page...
Title: Re: Hide Tag Special (V1.8.5)
Post by: Aleksi "Lex" Kilpinen on May 06, 2011, 07:59:25 AM
Quote from: Once Upon A Star on May 06, 2011, 07:56:45 AM
Get the mod transferred to your account first, then you can update the proper page...
^This. I see the author's post, but it is not clear enough IMO to understand it so that just anyone can go and grab it - since usually mods are transferred to someone the original author approves first.
Title: Re: Hide Tag Special (V1.8.5)
Post by: poolhall on May 06, 2011, 11:06:34 AM
he didn't say anything about a transfer, he just gave an open permission to update the mod.
Title: Re: Hide Tag Special (V1.8.5)
Post by: Dave J on May 07, 2011, 02:22:17 PM
all installed and working well with the 'ThankOmatic' mod too.

Thanks
Title: Re: Hide Tag Special (V1.8.5)
Post by: lord alibaski on May 08, 2011, 07:03:37 PM
I've installed this mod on v2.0RC5 works fine.

The original modder did say in his wording he's willing to pass it on so giovannie_1 deserves the opportunity to keep this mod alive.
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 09, 2011, 02:27:05 PM
Quote from: lord alibaski on May 08, 2011, 07:03:37 PM
I've installed this mod on v2.0RC5 works fine.

The original modder did say in his wording he's willing to pass it on so giovannie_1 deserves the opportunity to keep this mod alive.

where did you download please give me that path so i will check i need this mod...
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 10, 2011, 07:22:09 PM
soon be available for 2.0 RC5

We are working on the update.

Bye enik...
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 12, 2011, 01:16:47 PM
Thank you for infirming enik
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 12, 2011, 02:15:11 PM
For nothing  ;)

Tell us about the progress of the mod.

I have it 80% working on RC5, I think that is a couple of days will be ready to work on RC5.
Title: Re: Hide Tag Special (V1.8.5)
Post by: lucas-ruroken on May 13, 2011, 12:37:14 PM
Really great work enik ;) We're awaiting for the next release. (2.0)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 13, 2011, 03:19:07 PM
Thank you for infirming us we are waiting hope its come soon
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 13, 2011, 03:50:10 PM
Thanks Lucas're almost a minute of sending the mod site.

Jaisi

Very soon will have on your site  ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: lord alibaski on May 16, 2011, 10:12:01 PM
Any luck with this yet enik?

Sat here twiddling my thumbs waiting for this one.. :)
Title: Re: Hide Tag Special (V1.8.5)
Post by: eakleo on May 16, 2011, 10:32:35 PM
sounds cool, gonna try it

thank you
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 17, 2011, 10:10:59 AM
Hi we are in final testing, will be ready soon  ;)
Title: Re: Hide Tag Special (V1.8.5)
Post by: lord alibaski on May 17, 2011, 04:21:32 PM
What new things are you adding to this enik?

This is the only mod I am waiting for now so I can add it to my forum so I can open the forum again.
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 17, 2011, 07:40:13 PM
It is improving in admin interface, also has been added bbc default button.

Bye enik...
Title: Re: Hide Tag Special (V1.8.5)
Post by: carlos16v on May 18, 2011, 01:51:00 PM
Please enik waiting for RC5 version!!  ::)
Title: Re: Hide Tag Special (V1.8.5)
Post by: jaisi on May 18, 2011, 05:44:48 PM
 me to waiting for  RC5 Version
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 18, 2011, 06:24:11 PM
Sorry 8 bugs reported  >:( >:( ,take a little longer
Title: Re: Hide Tag Special (V1.8.5)
Post by: lord alibaski on May 18, 2011, 06:51:59 PM
Bugger looks like I'll be re-opening forum much earlier than expected.

Hope you get them sorted out soon...good luck.
Title: Re: Hide Tag Special (V1.8.5)
Post by: lucas-ruroken on May 18, 2011, 07:13:13 PM
We're working on everything ;) (Enik specially :P)
Title: Re: Hide Tag Special (V1.8.5)
Post by: Biology Forums on May 19, 2011, 12:09:30 AM
I love this mod. Currently, guests are not able to view hidden messages. The message they see is "Guests are not allowed to view hidden messages, please login / register."

However, when they log in, they're able to see the hidden content.

What I would like to do is show a second message, once they've logged in, that says "you must have at least 1 post to view the hidden message".

I think this will encourage more discussion from new registrants that only sign up to see the content but never contribute.

Any ideas on how I can pull this off?
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 19, 2011, 11:10:19 AM
At the moment we are focused on completing the new version.

Once launched it will support.

Bye enik...
Title: Re: Hide Tag Special (V1.8.5)
Post by: enik on May 24, 2011, 05:58:48 PM
Ok ok ....

Good news Hide Tag Special is 95%.

Will be free soon.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 25, 2011, 09:44:36 PM
The mod it´s done, enjoy it !!!  ;)

http://www.simplemachines.org/community/index.php?topic=32954.0
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on May 25, 2011, 11:27:23 PM
Really good job.
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 26, 2011, 02:36:38 AM
Thanks guys really appreciate you updating this mod specially enik  :)

I'm sure it will be appreciated by many... cheers.

Ya know I give up

Once again I set all my permissions so I can install a mod and once again back to

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

These permission settings are totally pissing me off.
Title: Re: Hide Tag Special (3.0)
Post by: jaisi on May 26, 2011, 05:10:41 AM
Hi enik it is possible to install both mod This mod (http://custom.simplemachines.org/mods/index.php?mod=2953)    and your mod ??
Title: Re: Hide Tag Special (3.0)
Post by: jaisi on May 26, 2011, 05:31:54 AM
i have install this mod and work great but some error shoiwng please check here is erroe logs


http://******.com/index.php?action=admin;area=packages;sa=install;package=HideTagSpecial30_Only_for_RC5.zip2: fclose(): supplied argument is not a valid stream resourceFile: /home/****/public_html/forum/Sources/Subs-Package.php
Line: 2502

And
http://forum.*****.com/index.php?action=admin;area=HtsAdmin;8: Array to string conversionFile: /home/*****/public_html/forum/Sources/HtsAdmin.php
Line: 115
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 26, 2011, 10:23:13 AM
Quote from: lucas-ruroken on May 25, 2011, 11:27:23 PM
Really good job.

Thanks my fiend  ;)

Quote from: lord alibaski on May 26, 2011, 02:36:38 AM
Thanks guys really appreciate you updating this mod specially enik  :)

I'm sure it will be appreciated by many... cheers.

Ya know I give up

Once again I set all my permissions so I can install a mod and once again back to

You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

These permission settings are totally pissing me off.

Is the temp folder is created inside the packages folder?

Quote from: jaisi on May 26, 2011, 05:10:41 AM
Hi enik it is possible to install both mod This mod (http://custom.simplemachines.org/mods/index.php?mod=2953)    and your mod ??


I think not...

Quote from: jaisi on May 26, 2011, 05:31:54 AM
i have install this mod and work great but some error shoiwng please check here is erroe logs


http://******.com/index.php?action=admin;area=packages;sa=install;package=HideTagSpecial30_Only_for_RC5.zip2: fclose(): supplied argument is not a valid stream resourceFile: /home/****/public_html/forum/Sources/Subs-Package.php
Line: 2502

And
http://forum (http://forum/).*****.com/index.php?action=admin;area=HtsAdmin;8: Array to string conversionFile: /home/*****/public_html/forum/Sources/HtsAdmin.php
Line: 115

This error never look for the testings

Bye enik...

Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 26, 2011, 12:32:51 PM
Quote from: enik on May 26, 2011, 10:23:13 AM
Is the temp folder is created inside the packages folder?

Yeah it is m8 I had so many problems the other week installing my mods again after I updated from rc4 to rc5

look here
http://www.simplemachines.org/community/index.php?topic=434063.msg3046833#msg3046833

The temp folder had to be titled tmp and had to be made a root folder before it letme install any mods. I left my permissions open for a couple of days hoping you had this fixed before I re-opened the forum but thought oh well seeing as this permission issue looked fixed I set my permissions back to default and re-opened the forum early....but when I set my permissions to install modifications again I got that error again straight away.

Title: Re: Hide Tag Special (3.0)
Post by: enik on May 26, 2011, 01:07:48 PM
If you host of payment, contact them  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 26, 2011, 01:45:51 PM
Just waiting for my friend to come back online m8 let him look into it for me...but look here

(http://freefiles.maxi-files.com/images/c3umewzkq36nyl42dtu.png)

You can see tmp folder there

Though the Aeva, Read the rules & treasury mods have installed as user apache they still installed and are working fine and it set the permissions itself to 755 after I installed them with the permissions set to 777.

The MCLSM is member colour theme mod which was the only one that installed normally.

I have tried installing the hidetag mod with the 755 permissions but still gives me that error.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 26, 2011, 01:56:56 PM
You should open a new topic in smf 2.0 support, that is another problem not for the mod  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 26, 2011, 02:03:19 PM
Quote from: enik on May 26, 2011, 01:56:56 PM
You should open a new topic in smf 2.0 support, that is another problem not for the mod  ;)

Wasn't saying it was a mod problem m8 I know its an host problem I just cant do anything until my friend comes back online, hes the host owner.
Title: Re: Hide Tag Special (3.0)
Post by: Addicted2Bass on May 27, 2011, 01:17:09 PM
(http://i248.photobucket.com/albums/gg182/CDhacker_vs_R_Creations/error-2.png)

When I proceed to install, it's installs and after that I see nothing anymore... A blank page... Also on my forum index...

Edit: i've backed up Subs.php and it seems to be working now... Testing it ;)

Edit 2: Mod isn't working...
This is my Subs.php that i'm currently using: http://www64.zippyshare.com/v/1633436/file.html
Is there anyone that can update my Subs.php to let the mod work? $5 donation for the person who can edit it.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 27, 2011, 02:36:26 PM
Attach me the file Subs.php  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 27, 2011, 02:46:21 PM
I got it installed eventually and I got those 2 failed test  but I just installed it and the mods working fine for me.


Thanks enik.
Title: Re: Hide Tag Special (3.0)
Post by: Addicted2Bass on May 27, 2011, 02:52:47 PM
Hi enik

Here is my subs.php
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 27, 2011, 04:49:52 PM
It´s done please test  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 27, 2011, 05:03:42 PM
Not being ungrateful enik but is it possible I can remove the copyright from the footer of my forum for this mod.

Thanks.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 27, 2011, 05:55:34 PM
Sorry but it is a work of 3 developers, in addition to being a free mod is the only thing we ask.

A simple copy to help us.

Removal is illegal as it is licensed  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: Addicted2Bass on May 28, 2011, 04:42:28 AM
Hi enik,

The mod is working but the unhidden text information is not shown...
Unhidden Information is enabled,
Show the un-/hidden Text Information one time is disabled.

What i'm doing wrong?

By the way... Is it possible to enable this mod in the Adk Portal (http://custom.simplemachines.org/mods/index.php?mod=2255) also?
edit: It's already working with Adk portal but the hidden content isn't shown for me (Administrator). How can I fix that?
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 28, 2011, 10:37:29 AM
so that administrators want to hide ??

Administrators do not need that..

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 28, 2011, 05:00:50 PM
Hi m8 how do I add an image m8 to replace the txt like this


(http://freefiles.maxi-files.com/images/zml277s25fccsi9pmo.png)

Just havent got my head on at the moment to work it out.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 28, 2011, 05:54:35 PM
it´s simple:

[img]http://www.example.com/hidden.jpg[/img]
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 28, 2011, 06:37:03 PM


If I wanted to add it and direct it from my own host how would I do that?
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 29, 2011, 02:36:30 PM
Hi m8 I had to uninstall the mod and when I tried to install it this time I got post.php test failed this time instead of subs.php.

(http://freefiles.maxi-files.com/images/88jil0bdhe0v9v3nuirp.png)

I've attached my post.php for you.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 30, 2011, 10:26:57 AM
It´s done ,the problen is aeva something had changed.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 30, 2011, 12:27:21 PM
Has this actually passed now m8?

(http://freefiles.maxi-files.com/images/afnvq1k6wva8wgio508.png)

Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on May 31, 2011, 04:36:19 PM
Thanks,

Mod installed perfectly, however, Admin cannot see hidden content without posting, Admin is not in the exception list.
Title: Re: Hide Tag Special (3.0)
Post by: enik on May 31, 2011, 08:42:56 PM
Hi I looked at something that we are thinking about it  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 01, 2011, 04:28:21 PM
Quote from: ɔɔɔɔɔɔuɥoɾ on May 31, 2011, 04:36:19 PM
Thanks,

Mod installed perfectly, however, Admin cannot see hidden content without posting, Admin is not in the Allowed Groups to see a hidden content without posting list.

Quote from: enik on May 31, 2011, 08:42:56 PM
Hi I looked at something that we are thinking about it  ;)

Bye enik...

Is this my reply, if so, I don't understand what your saying...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on June 01, 2011, 05:59:48 PM
Quote from: ɔɔɔɔɔɔuɥoɾ on May 31, 2011, 04:36:19 PM
Thanks,

Mod installed perfectly, however, Admin cannot see hidden content without posting, Admin is not in the exception list.

The main admin of the board can view anything thats behind the hidden code no matter what there is no need for the admin to reply he is exempt from having to reply to view the post.

If the main admin created another Administrator member group then that admin would have to add the permissions of allowed to view without replying to that new administrator group.


Quote from: lord alibaski on May 30, 2011, 12:27:21 PM
Has this actually passed now m8?

(http://freefiles.maxi-files.com/images/afnvq1k6wva8wgio508.png)

Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 01, 2011, 09:59:01 PM
Exactly as I thought, in earlier versions I could select Admin from the allowed groups drop down, but its no longer there and I can not see hidden content, I am #1 Admin.
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 01, 2011, 10:10:15 PM
Repairing this error  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 01, 2011, 10:47:31 PM
Thanks,
Waits patiently :)
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 03, 2011, 11:45:20 AM
I just spotted another error in the mod, you could fix while your doing the other fix

In Subs.php your mod makes " ?>" not the last characters in the file, it gives people using SSI pages an error.

Quote from: W3 Validator<b>Notice</b>: SSI.php was unable to load a session! This may cause problems with logout and other functions - please make sure SSI.php is included before *anything* else in all your scripts! in <b>

I have used file_check.php to confirm I fixed it once by doing this manually, however when it came to uninstalling the mod, I had issues, had to manually remove the mod for Subs.php as I made changes to it to fix the error...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 05, 2011, 11:49:02 PM
Sorry to bump, its been a while.

Any progress this?
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 06, 2011, 10:17:01 AM
I'm behind on this, I hope to have it ready today or tomorrow  ;)
Title: Re: Hide Tag Special (3.0)
Post by: Apllicmz on June 12, 2011, 08:37:02 PM
When Update dont forget portuguese files

Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on June 12, 2011, 08:38:55 PM
Thanks candidosa ;)
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 13, 2011, 02:42:47 PM
Quote from: enik on June 06, 2011, 10:17:01 AM
I'm behind on this, I hope to have it ready today or tomorrow  ;)

Any progress?
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 13, 2011, 07:59:32 PM
I'm on it  ;)
Title: Re: Hide Tag Special (3.0)
Post by: The Domain Shop on June 19, 2011, 10:51:32 AM
"Trax" waits patiently for this to work on smf 2.0  :P
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on June 19, 2011, 11:34:03 AM
Quote from: "Trax" on June 19, 2011, 10:51:32 AM
"Trax" waits patiently for this to work on smf 2.0  :P

Done ;) Compatible with SMF 2.0
Title: Re: Hide Tag Special (3.0)
Post by: The Domain Shop on June 19, 2011, 12:53:36 PM
Quote from: lucas-ruroken on June 19, 2011, 11:34:03 AM
Quote from: "Trax" on June 19, 2011, 10:51:32 AM
"Trax" waits patiently for this to work on smf 2.0  :P

Done ;) Compatible with SMF 2.0

Sweet, if only all mod authors responded like you 8) Thanks ;)

EDIT: got error upon install in /Sources/Subs.php it says to "Add Before" but it don't give the code what i need to add or even the code what i add it before :/
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on June 19, 2011, 01:16:49 PM
Install the mod.... after that, attach de Subs.php ;)

The mod works without any error in a clean SMF 2.0. Maybe, You have a conflict with another mods. so... after install, attach the Subs.php

PD: Sorry for my poor english, It's not my native language :P
Title: Re: Hide Tag Special (3.0)
Post by: The Domain Shop on June 19, 2011, 01:49:50 PM
Here it is :)
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on June 19, 2011, 02:11:40 PM
done!! ;)
Title: Re: Hide Tag Special (3.0)
Post by: The Domain Shop on June 19, 2011, 02:36:30 PM
Quote from: lucas-ruroken on June 19, 2011, 02:11:40 PM
done!! ;)

Thanks a bunch, works like a charm  ;D
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 19, 2011, 03:53:25 PM
Any progress on the "Admins" cannot see hidden text without posting issue

I'm still on SMF RC5
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 20, 2011, 10:58:06 AM
Lukas upgrade to 2.0 but I'll work on the errors reported from rc5

;)
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 21, 2011, 09:42:53 PM
Quote from: Joomlamz on June 12, 2011, 08:37:02 PM
When Update dont forget portuguese files

Please check your files, missing lines of code.
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 22, 2011, 10:42:52 AM
Updated fidex two errors (admin permissions and ssi.php)

Bye enik.
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on June 22, 2011, 12:54:32 PM
Happy you've updated this enik but I have just tried it on a localhost.

Package installed fine but when I uninstalled the package the Hide Tag Special By SMF Personal © 2011 is still present.

I have removed everything in the database regarding this mod but still the copyright is still there.
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 22, 2011, 01:19:47 PM
Quote from: lord alibaski on June 22, 2011, 12:54:32 PM
Happy you've updated this enik but I have just tried it on a localhost.

Package installed fine but when I uninstalled the package the Hide Tag Special By SMF Personal © 2011 is still present.

I have removed everything in the database regarding this mod but still the copyright is still there.
Looks like your subs.php file may not have had the hide tag code removed, or you may just need to empty your cache, empty the cache, if that does not work --check the mod parser for the subs.php and check if any edits still exist for subs.php.

Thanks for the fixes enik :)
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 22, 2011, 02:02:00 PM
Hello copy no longer working in subs.php

Work with base_64

I have done tests on local_host and my sites, and the copy is removed when you remove the mod.

It is a pleasure ɔɔɔɔɔɔuɥoɾ  ;)
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on June 22, 2011, 02:12:01 PM
Well as you can see with cache emptied everything to do with it inside database removed its still there.

(http://freefiles.maxi-files.com/images/4zwca0qyd3i8w5k4o8l9.png)


I have just installed it again on local host and it's put the copyright in there twice now.

(http://freefiles.maxi-files.com/images/90cxei9wy216y673tok1.png)
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on June 22, 2011, 02:31:30 PM
Sorry for the double post but I just fixed it m8

I had to edit the

QueryString.php and remove it from there.

Title: Re: Hide Tag Special (3.0)
Post by: enik on June 22, 2011, 06:02:44 PM
Ok perfect  ;)
Title: Re: Hide Tag Special (3.0)
Post by: Xenmorph on June 23, 2011, 08:37:45 PM
I have installed this on my 2.0 forum and is great as all ways...

Just 1 problem so far, Hidden Items within Quotes are not displayed correctly for me.

NOTHING is shown in the Quote, Not the HIDDEN TEXT or the Actual content.

Works like a charm everywhere else though.....
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 23, 2011, 09:15:55 PM
Any failure to install?

You have it configured correctly ?

What you are testing your admin or regular user ?

Url of your forum plase.

Bye enik.
Title: Re: Hide Tag Special (3.0)
Post by: haito on June 24, 2011, 10:49:10 PM
i hope adk-team also take over another ディン1031's mod such as http://www.simplemachines.org/community/index.php?topic=176565.0
hide tag special and thank-o-matic can be combined together

::)
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 24, 2011, 10:54:29 PM
Quote from: haito on June 24, 2011, 10:49:10 PM
i hope adk-team also take over another ディン1031's mod such as http://www.simplemachines.org/community/index.php?topic=176565.0
hide tag special and thank-o-matic can be combined together

::)

+1

I want to use both of those combined also
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 25, 2011, 12:25:11 PM
Quote from: haito on June 24, 2011, 10:49:10 PM
i hope adk-team also take over another ディン1031's mod such as http://www.simplemachines.org/community/index.php?topic=176565.0 (http://www.simplemachines.org/community/index.php?topic=176565.0)
hide tag special and thank-o-matic can be combined together

::)

Hello will not be possible to take this mod.

Already updated it, other people sorry.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 25, 2011, 12:37:27 PM
Has anyone tried the RC3 version on SMF 2.0 final?
It may work...
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 25, 2011, 01:08:21 PM
Everything is possible in php  :P .

I could not tell if it works or not.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 25, 2011, 03:24:14 PM
Quote from: enik on June 25, 2011, 01:08:21 PM
Everything is possible in php  :P .

I could not tell if it works or not.

Bye enik...


Including you taking on the mod lol :P
Title: Re: Hide Tag Special (3.0)
Post by: Maxtor on June 26, 2011, 11:32:15 AM
i just installed and now my forum crashed.

500 Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.


im running smf 2.0

Title: Re: Hide Tag Special (3.0)
Post by: Xenmorph on June 26, 2011, 06:53:34 PM
Quote from: Xenmorph on June 23, 2011, 08:37:45 PM
I have installed this on my 2.0 forum and is great as all ways...

Just 1 problem so far, Hidden Items within Quotes are not displayed correctly for me.

NOTHING is shown in the Quote, Not the HIDDEN TEXT or the Actual content.

Works like a charm everywhere else though.....

DOH !

Never mind, I just realized that the mod is working as Intended / Designed.

All text from the Start and including the [hide] tag to the end of [/hide] tag are removed when the Quote is copied into the post box. This makes sense as not doing so would allow folks to wread hiddent content by just creating temp New post with the Relevant post as a quote.


However, Would it be possible to modify the code responsible so that it Inserts the "Hidden Text" info in-place of what it removes.


//Remove Hidden content... i don't need a information for this...
$form_message = preg_replace("~\[hide\](.+?)\[\/hide\]~i", "&nbsp;", $form_message);
$form_message = preg_replace(array('~\n?\[hide.*?\].+?\[/hide\]\n?~is', '~^\n~', '~\[/hide\]~'), "&nbsp;", $form_message);
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 26, 2011, 11:25:02 PM
That option already exists, check the settings area..
Title: Re: Hide Tag Special (3.0)
Post by: Xenmorph on June 26, 2011, 11:34:10 PM
Quote from: ɔɔɔɔɔɔuɥoɾ on June 26, 2011, 11:25:02 PM
That option already exists, check the settings area..

Not exactly, I'm referring to how this Mod totally Removes all the HIDDEN TEXT & TAGS from within Quotes.
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 27, 2011, 12:32:04 AM
Oh, I see what you mean now, I just assumed that the replacement text, within the options would be in a quote, I guess it would only take a little code change to include the hidden text replacement within a quote
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on June 27, 2011, 10:48:21 AM
Quote from: Xenmorph on June 26, 2011, 11:34:10 PM
Not exactly, I'm referring to how this Mod totally Removes all the HIDDEN TEXT & TAGS from within Quotes.

This is actually a good idea and I dont really want it changing.

I remember when using proboards people would bypass the hidden txt by either disabling java or just using the quote to view the hidden txt....I don't think it's the same in smf but I the mod is working how I wanted it to work for me anyway.
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 27, 2011, 11:07:42 AM
Exactly the original author, he did so

As quoted, it could look the hide.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: ɔɔɔɔɔɔuɥoɾ on June 29, 2011, 09:39:05 PM
This mod does not actually hide the text, it just "does not display it", technically there is a difference, that's why the mod works so well.
Title: Re: Hide Tag Special (3.0)
Post by: enik on June 29, 2011, 09:51:14 PM
Exactly  ;D
Title: Re: Hide Tag Special (3.0)
Post by: anicolac on July 08, 2011, 04:39:04 AM
Spanish (color negro)
English translated by google (green)


Hola, Muchas gracias por este MOD.
Hello, Thank you for this MOD.

Cuando intento instalar la versión del MOD "HideTagSpecial30_(ONLY FOR 2.0RC5 & 2.0)" en SMF 2.0, me sale el siguiente error:
When trying to install the version of the MOD "HideTagSpecial30_ (ONLY FOR 2.0RC5 & 2.0)" in SMF 2.0, I get the following error:

8.    Executar Modificación    ./Sources/Post.php    Prueba fallida/failed test
          5.    Reemplazar    ./Sources/Post.php  Prueba fallida/failed test

En dicha acción, me quiere reemplazar:
That action replaces:
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
por:

// Okay i will say there is something, so that i check for an real empty post :)
$context['user_post_avaible'] = 1;

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')



Pero mirando el archivo "./Sources/Post.php" de mi base de datos, y lo que más se parece al primer código, son estos 2 resultados:
But looking at the ". / Sources / Post.php" in my database, which is most like the first code, these are 2 results:

Line 1523
// Let's see if there's still some content left without the tags.
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed><div><iframe>')) === '' && (!allowedTo('admin_forum') || strpos($_POST['message'], '[html]') === false))
$post_errors[] = 'no_message';


Line 2731
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed><div><iframe>')) === '')

Tengo instalados los siguientes mods
I have installed the following mods
1. SMF Links 2.3.2 [ Desinstalar ]
2. eBay BBCode 2.0 [ Desinstalar ]
3. Simple Audio Video Embedder 2.0.1 [ Desinstalar ]
4. Ad Managment 3.0.1 [ Desinstalar ]
5. Watermark.light 1.3 [ Desinstalar ]
6. cbi, 1.0 1.6.3 [ Desinstalar ]
7. Justify BBCode 2.3.2 [ Desinstalar ]
8. Highslide BBCode and Image Viewer 1.0 [ Desinstalar ]
9. Highslide 4 SMF 0.7a [ Desinstalar ]
10. Float BBCODE 1.0.2 [ Desinstalar ]
11. Custom Copyright 1.0.2 [ Desinstalar ]
12. Curve_centered_menu 1.4 [ Desinstalar ]
13. Google +1 1.0 [ Desinstalar ]
14. Disable 'last edit by...' for Administrators 1.2 [ Desinstalar ]
15. Caps_Lock_Detection_on_Login 1.1.0.1 [ Desinstalar ]
16. TinyPortal 1.104 [ Desinstalar ]


Por favor, alguien tiene alguna idea?, Muchas gracias.
Please anyone have any idea?, Thank you.
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 08, 2011, 10:30:26 AM
Install the mod with the error and attach me the file Post.php plase.

Remeber that Hide Tag Special Collides with mods of videos.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: anicolac on July 10, 2011, 05:08:43 PM
Quote from: enik on July 08, 2011, 10:30:26 AM
Install the mod with the error and attach me the file Post.php plase.

Remeber that Hide Tag Special Collides with mods of videos.

Bye enik...
Hello Enik ...
I have not understood. Sorry
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 11, 2011, 10:45:58 AM
Install the mod with the error and attach me the file Post.php plase.

Remeber that Hide Tag Special Collides with mods of videos.

Bye enik...




Instala el mod con el error y adjuntame la fila Post.php por favor.

recuerda que Hide Tag choca con los mods de videos.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: anicolac on July 13, 2011, 06:16:02 AM
Quote from: enik on July 11, 2011, 10:45:58 AM
Install the mod with the error and attach me the file Post.php plase.

Remeber that Hide Tag Special Collides with mods of videos.

Bye enik...




Instala el mod con el error y adjuntame la fila Post.php por favor.

recuerda que Hide Tag choca con los mods de videos.

Bye enik...

gracias, pero no te preocupes.
He desinstalado el mod de videos, y no ha dado errores

thanks, but do not worry.
I uninstalled the mod videos, and failed errors
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 13, 2011, 10:32:59 AM
Ok good news  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: micky_2556 on July 26, 2011, 08:03:14 AM
hello

i want to  hide my links from my members from use until they reply

so i tried to us mod

Hide Tag Special

but when i try to install it i found that error

in file post.php

that cod don't found in the file



                            if ($smcFunc&#91;'htmltrim'&#93;(strip_tags(parse_bbc($_POST&#91;'message'&#93;, false), '<img>')) === '')



and this is my post.php file on attach

please if there is anther  mod like what whant please told me about it
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 26, 2011, 10:21:33 AM
It´s Done  ;)

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: micky_2556 on July 26, 2011, 12:26:49 PM
Quote from: enik on July 26, 2011, 10:21:33 AM
It´s Done  ;)

Bye enik...

thanks for your help but it is still give me the same error

that it can't find this cod



                if ($smcFunc&#91;'htmltrim'&#93;(strip_tags(parse_bbc($_POST&#91;'message'&#93;, false), '<img>')) === '')



and when i opened the file and llok for it  and also idonot find it

thanks for you efffort
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 26, 2011, 04:41:48 PM
Hello installs the package with the error, and then up that file overwrites the other.

Bye enik...
Title: Re: Hide Tag Special (3.0)
Post by: micky_2556 on July 26, 2011, 07:33:40 PM
Quote from: enik on July 26, 2011, 04:41:48 PM
Hello installs the package with the error, and then up that file overwrites the other.

Bye enik...

hello i upload the file that you upload

and then try to istall the mod and ignore the error

then every thing is good on cpanel

but when i try to write any replay or start new topic

on internet explorer it give me page errror 500

and on mozila it give me a blank page

so what can i do to solve this problem

i unintall the mod now till the problem solved
Title: Re: Hide Tag Special (3.0)
Post by: studiowi33 on July 26, 2011, 08:13:20 PM
Hi enik--

I have the same issue. I don't have a
if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img>')) === '')
in my Sources/Post.php

What code do I alter?
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 26, 2011, 09:59:18 PM
Hey look for it just like this:

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false),

The problem is that AEVA move that line.
Title: Re: Hide Tag Special (3.0)
Post by: studiowi33 on July 27, 2011, 10:29:41 AM
Quote from: enik on July 26, 2011, 09:59:18 PM
Hey look for it just like this:

if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false),

The problem is that AEVA move that line.

Perfect!
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on July 28, 2011, 03:52:23 AM
Hello...

Can somebody tell me what to do to display the unhidden message ?

Members can only see the hidden message, and after post they see the hidden content, but not the unhidden message.

Thank you very very much.
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 28, 2011, 02:51:38 PM
Check your settings in admin.

It installed without problems.
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on July 29, 2011, 12:39:02 PM
The settings are correct.
Yes the installation its ok.
I need to manually add the Subs.php modifications but everything else its ok.
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on July 30, 2011, 07:23:39 AM
Can somebody help please ?
Title: Re: Hide Tag Special (3.0)
Post by: enik on July 30, 2011, 05:03:21 PM
And add all of subs  ;)
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on July 31, 2011, 10:56:25 AM
OK here is my Subs.php file...
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 05, 2011, 08:06:22 AM
Some help please ?
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 07, 2011, 01:36:06 PM
Up...
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 08, 2011, 10:09:59 PM
Up again...
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 09, 2011, 03:20:29 PM
Hello Subs.php it´s OK.

Let's start from scratch what is your problem  ;D
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 10, 2011, 01:08:18 PM
Hello...

The problem is that members can only see the hidden message, and after post they see the hidden content, but not the unhidden message.

Thank you very very much.
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 10, 2011, 04:30:47 PM
Ok I'll look
Title: Re: Hide Tag Special (3.0)
Post by: MiY4Gi on August 12, 2011, 09:32:07 PM
Does this mod use Ajax to postpone the loading of the hidden content?
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 12, 2011, 09:39:07 PM
No it doesn't use Ajax.

I am still waiting for some help here...
Title: Re: Hide Tag Special (3.0)
Post by: Yngwiedis on August 18, 2011, 04:39:16 AM
Up...
Title: Re: Hide Tag Special (3.0)
Post by: reddriver on August 20, 2011, 11:02:49 AM
Hi all I have this problem with this mod I have SMF 2.0 and after installed this mod I can not go in borad like admin : admin - forum - board to add or change board . and also can not go in hide tag special option : give me always this error:

Template Parse Error!
There was a problem loading the /Themes/default/languages/ManageBoards.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.

Parse error: syntax error, unexpected '>' in .../Themes/default/languages/ManageBoards.english.php on line 103

94: $txt['mboards_move'] = 'move';
95:
96: $txt['mboards_no_cats'] = 'There are currently no categories or boards configured.';
97:
98:
99: //Thank-O-Matic
100: $txt['mboards_thank_you_post_enable'] = 'Enable Thank-O-Matic';
101: $txt['mboards_thank_you_post_enable_desc'] = 'This option enable the "Thank You" option for posts on this board';
102:

103: >?

104:
105:
106:

no work aslo with defult theme

any help please
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 20, 2011, 12:31:02 PM
Please attach the file:

/Themes/default/languages/ManageBoards.english.php
Title: Re: Hide Tag Special (3.0)
Post by: medi2 on August 20, 2011, 02:04:12 PM
It is not working with SMF Version: 2.0 RC3
any hint
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 20, 2011, 04:16:34 PM
Hello for smf 2.0 RC3 download this:

HideTagSpecial236_(2.0RC3_Compatible).zip (http://custom.simplemachines.org/mods/index.php?action=download;mod=118;id=137378)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on August 21, 2011, 10:00:27 PM
running v 2.3.6 (SMF 2.0 RC3). I have had this installed almost since you came out with it, and today for the first time in a long time I wanted to make some changes to my site, one being to this mod. However.. when I went into my admin area, there is no setting for "Admin -> Hide Tag Special".

The mod is still there and working, but i cant get to the settings for it


please help!!!  lol
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 22, 2011, 10:18:05 AM
Hide Tag Special v 2.3.6 =>

admin / post and topic / hide ta special.

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on August 22, 2011, 10:21:17 AM
Quote from: enik on August 22, 2011, 10:18:05 AM
Hide Tag Special v 2.3.6 =>

admin / post and topic / hide ta special.

Regards enik...



THANK YOU enik!!!  :)   Is this mod compatible with 2.0 Gold
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 22, 2011, 02:08:02 PM
the package v 2.3.6 not compatible with 2.0 gold.

Need for 2.0 gold:

version 3.0 of the hide tag special.

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on August 23, 2011, 10:11:18 PM
Quote from: enik on August 22, 2011, 02:08:02 PM
the package v 2.3.6 not compatible with 2.0 gold.

Need for 2.0 gold:

version 3.0 of the hide tag special.

Regards enik...


thanks again enik, I have downloaded 3.0 and stored away for when I get ready to do my upgrade. One last question> Is the hide tag bbc image included with this download or is it still seperate like 1031 always had it?
Title: Re: Hide Tag Special (3.0)
Post by: enik on August 26, 2011, 11:39:54 AM
Hello in the version 3.0 the image hide included in the package by default  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: GraphicJunki on September 12, 2011, 03:47:30 PM
error when installing keep getting same error advised not to install
I am using SMF 2.0
I would really like to use this mod but im not prepared to take anychances

Title: Re: Hide Tag Special (3.0)
Post by: studiowi33 on September 12, 2011, 05:37:18 PM
Quote from: saffz on September 12, 2011, 03:47:30 PM
error when installing keep getting same error advised not to install
I am using SMF 2.0
I would really like to use this mod but im not prepared to take anychances
What I do when this happens is:

I install the mod. Then...
After downloading a copy of my Subs.php file, I open Subs.php in my favorite editor.
I make the required file edits as illustrated and upload the edited Subs.php file while keeping an intact (unedited) copy of the original (after installing the mod) of Subs.php. (Before uploading the edited version, I usually rename the file on the server zSubs.php to prevent overwriting.)

hth

-s.w

Title: Re: Hide Tag Special (3.0)
Post by: enik on September 12, 2011, 06:51:39 PM
If you have any mod videos like AEVA, or something similar, so you get an error when installing.

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: GraphicJunki on September 12, 2011, 09:07:10 PM
Thanks for relpying both of you and I will give it ago  :)
Title: Re: Hide Tag Special (3.0)
Post by: enik on September 12, 2011, 09:34:09 PM
Good luck  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on September 13, 2011, 03:06:43 PM
unfortunately, my hide tag mod will not work until I get the thank you mod back on because the settings for both are linked together in my admin panel because they work together (thats the way they were both set up by the original mod creator) -- and I cant install the thank you mod to "get" to those settings because it seems that there are issues with that mod still. Would love to be able to instal it so I can get THIS one working again.

I just hope that if I ever can get that mod back on, those settings are still intact and were not messed with
Title: Re: Hide Tag Special (3.0)
Post by: haito on September 13, 2011, 10:33:17 PM
sorry, i don't know if somebody has ever suggested it or not.
i just want to suggest, how about to add new features such as

[hide] <-- must post a reply or thank to see
[hide=reply] <-- must post a reply to see
[hide=thanks] <-- must thank to see (with thank-o-matic)
[hide=123] <-- must have post count of 123 to see
[hide=group] <-- only spesific group can see

reference: http://bit.ly/nhpu6N

maybe it will be a great mod, maybe you can add it in pro/paid edition.....
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on September 14, 2011, 07:23:30 AM
Quote from: haito on September 13, 2011, 10:33:17 PM
sorry, i don't know if somebody has ever suggested it or not.
i just want to suggest, how about to add new features such as

[hide] <-- must post a reply or thank to see
[hide=reply] <-- must post a reply to see
[hide=thanks] <-- must thank to see (with thank-o-matic)
[hide=123] <-- must have post count of 123 to see
[hide=group] <-- only spesific group can see

reference: http://bit.ly/nhpu6N

maybe it will be a great mod, maybe you can add it in pro/paid edition.....


with the orig thank you mod (and the ones I have used up until upgrading to 2.0gold, those were already features that linked both those mods in those fashions.. Thats the settings I was referring to in my above post.
Title: Re: Hide Tag Special (3.0)
Post by: enik on September 14, 2011, 08:21:40 PM
Hello, Thank-o-Matic and Hide Tag Special, they continue to work together seamlessly.

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: haito on September 14, 2011, 10:48:19 PM
yes i know too, i have been using both of mod since last year.
i mean, beside of hide-thanks, i just wanted to suggest another options for hide post such as hide for spesific group, post count or karma.

Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on September 14, 2011, 11:33:00 PM
Quote from: haito on September 14, 2011, 10:48:19 PM
yes i know too, i have been using both of mod since last year.
i mean, beside of hide-thanks, i just wanted to suggest another options for hide post such as hide for spesific group, post count or karma.




those were already featues of it - and should still be there if they were not removed  - they are on the thank you mod side
Title: Re: Hide Tag Special (3.0)
Post by: enik on September 15, 2011, 10:44:36 AM
Quote from: haito on September 14, 2011, 10:48:19 PM
yes i know too, i have been using both of mod since last year.
i mean, beside of hide-thanks, i just wanted to suggest another options for hide post such as hide for spesific group, post count or karma.

Before adding new features, we must be sure that both mods work well  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: Kimmie on September 17, 2011, 02:42:38 PM
Quote from: enik on September 15, 2011, 10:44:36 AM
Quote from: haito on September 14, 2011, 10:48:19 PM
yes i know too, i have been using both of mod since last year.
i mean, beside of hide-thanks, i just wanted to suggest another options for hide post such as hide for spesific group, post count or karma.

Before adding new features, we must be sure that both mods work well  ;)

Regards enik...


those arent new features. If you left the features in this mod intact, then they should all still be there.
Title: Re: Hide Tag Special (3.0)
Post by: Perspective on September 20, 2011, 03:04:47 PM
Quote from: haito on September 13, 2011, 10:33:17 PM
sorry, i don't know if somebody has ever suggested it or not.
i just want to suggest, how about to add new features such as

[hide] <-- must post a reply or thank to see
[hide=reply] <-- must post a reply to see
[hide=thanks] <-- must thank to see (with thank-o-matic)
[hide=123] <-- must have post count of 123 to see
[hide=group] <-- only spesific group can see

reference: http://bit.ly/nhpu6N

maybe it will be a great mod, maybe you can add it in pro/paid edition.....

Actually.. those would be some great features. Hope ADK will take them in consideration.
Thanks as well.
Title: Re: Hide Tag Special (3.0)
Post by: ZipCrash on September 22, 2011, 01:24:06 PM
Quote from: Yngwiedis on August 10, 2011, 01:08:18 PM
Hello...

The problem is that members can only see the hidden message, and after post they see the hidden content, but not the unhidden message.

Thank you very very much.


Yup that is a problem that I'm having as well. I'm running 2.0.1. A quick look at the html source reveals the problem but I'm hesitate to dig into the code of the mod to fix it. Here is what the html code looks like when it's unhidden:

<hide><br />hidden content<br /></hide>

And when it's hidden:

<img src="http://www.domain.com/forums/images/hide.gif" alt="" class="bbc_img" />

So obviously the mod is correctly inserting the image for the hidden message but not the for the unhidden message. Obviously <hide> is not a real HTML tag.
Title: Re: Hide Tag Special (3.0)
Post by: shaka on September 23, 2011, 06:03:23 PM
Is there any sign of an update for this fantastic mod to work with 2.0.1  ;D
Title: Re: Hide Tag Special (3.0)
Post by: Adk-Team on September 24, 2011, 03:58:35 PM
Updated to SMF 2.0.1  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: shaka on September 24, 2011, 04:11:41 PM
many thanks  ;)
Title: Re: Hide Tag Special (3.0)
Post by: Eclipse16V on September 30, 2011, 03:08:10 AM
Download for SMF 2.0.1 doesn`t work.
Where can I download a working version?
Title: Re: Hide Tag Special (3.0)
Post by: punktravis182 on September 30, 2011, 05:41:17 AM
Hello ADK Team, just wondering there are changes between smf 2.0 and smf 2.0.1. Is it only the version or are there any updates or changes to the mod? Thank you.
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on September 30, 2011, 12:27:45 PM
Quote from: punktravis182 on September 30, 2011, 05:41:17 AM
Hello ADK Team, just wondering there are changes between smf 2.0 and smf 2.0.1. Is it only the version or are there any updates or changes to the mod? Thank you.

only the version :)

Quote from: Eclipse16V on September 30, 2011, 03:08:10 AM
Download for SMF 2.0.1 doesn`t work.
Where can I download a working version?

it works.... you can download here (smf.org) or in our download site.
Title: Re: Hide Tag Special (3.0)
Post by: Eclipse16V on September 30, 2011, 12:44:13 PM
the download file from the download site is:

HideTagSpecial30_(ONLY

right:
HideTagSpecial30_(ONLY FOR 2.0RC5 & 2.0).zip

Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on September 30, 2011, 12:54:54 PM
iap.... because the name is too large :P

you can add the zip exntesion or download the new zip that I uploaded

HideTagSpecial(SMF2).zip

Regards.
Title: Re: Hide Tag Special (3.0)
Post by: punktravis182 on September 30, 2011, 08:22:18 PM
Thanks, so do I have to uninstall 2.0 to install the new version or is there a way just to update the version.
Title: Re: Hide Tag Special (3.0)
Post by: sharks on October 15, 2011, 07:00:41 AM
Installation fails on SMF 1.1.15 for 185Fix version. Please update it!
Title: Re: Hide Tag Special (3.0)
Post by: lycan.v on November 11, 2011, 07:14:12 PM
Dear ADK Team,

thanks for updating hide tag special for 2.0.1

There are some bugs in it...

1. the unhidden information is not displayed after clicking on thank you...
the unhidden info is only displayed if (http://www.simplemachines.org/community/file:///C:/DOCUME%7E1/MRADUL%7E1/LOCALS%7E1/Temp/moz-screenshot-2.png)"Show the un-/hidden Text Information one time:" is checked, if that option is not checked then the option does not appear at all anywhere in the post.
{I have enabled unhidden information in both cases.}

2. CSS for the class .hiddencontent is not working in this version anymore... it was working in smf 2.0 RC3

3. I am getting this error constantly... what may be the cause of it...
2: in_array() expects parameter 2 to be array, null given
File: /home/......./public_html/forum/Sources/HtsAdmin.php
Line: 126



Please help me find out the solutions of these bugs.

And thanks for updating Thank o Matic also.
(http://www.simplemachines.org/community/file:///C:/DOCUME%7E1/MRADUL%7E1/LOCALS%7E1/Temp/moz-screenshot.png)(http://www.simplemachines.org/community/file:///C:/DOCUME%7E1/MRADUL%7E1/LOCALS%7E1/Temp/moz-screenshot-1.png)
Title: Re: Hide Tag Special (3.0)
Post by: Erikson on November 17, 2011, 05:16:45 AM
Dear's i get following Error Code on SMF 2.0.1 with yours HTS 3 in the post.php.

Can you help me please ! ;)

Title: Re: Hide Tag Special (3.0)
Post by: sharks on November 26, 2011, 06:38:53 AM
There is an annoying bug with your mod and SMF 1.1.15.

Here is what i have installed on my brand new SMF 1.1.15 and i received no installation errors:

Mod Name    Version    
1.    New Topic Button    1.0    [ Uninstall ]
2.    Topic View Log    1.2    [ Uninstall ]
3.    Anonymize Links (1.1.11)    2.5    [ Uninstall ]
4.    Table Plus BBCodes    1.2    [ Uninstall ]
5.    PM On Registration    1.0.2    [ Uninstall ]
6.    Hide Info Center From Guests    1.0    [ Uninstall ]
7.    Search Focus Dropdown    1.6.1    [ Uninstall ]
8.    Users Online Today Mod    1.4.0    [ Uninstall ]
9.    Post PM    1.0    [ Uninstall ]
10.    vReportBoard Mod    1.04    [ Uninstall ]
11.    Move Topic Notification    1.2    [ Uninstall ]
12.    Related Topics    1.3.3    [ Uninstall ]
13.    Last Topics of Person    1.1    [ Uninstall ]
14.    Add IP2Location to Track IP    1.3    [ Uninstall ]
15.    User Email System    1.3    [ Uninstall ]
16.    Limit A Guests Daily PageViews Mod    2.1    [ Uninstall ]
17.    Board Notes    1.0.7    [ Uninstall ]
18.    Admin member list registration date    1.2    [ Uninstall ]
19.    ListCreator    1.3.1    [ Uninstall ]
20.    AvatarSelect    1.2.1    [ Uninstall ]
21.    Hide Tag Special    1.8.5    [ Uninstall ]
22.    Hide Tag BBC Image    1.0.1    [ Uninstall ]
23.    SMF Staff Page    1.7    [ Uninstall ]
24.    SimplePortal    2.3.4    [ Uninstall ]

But my error log keeps flooding with this same error:
8: Undefined index: icon
File: /home/sharks/myforum/smf/Sources/Post.php
Line: 1625

I asked in the SMF support board about this problem and i was told that it was a problem with your mod not being 100% compatible with 1.1.15.
Please fix it! So many people are still using 1.1.15 so i hope you won't ignore all the thousands who still use your mod.

I have attached my Post.php file to this post. Please let me know how i can fix it or maybe you can fix it manually and re-attach it? But the best solution would be to fix the mod itself so others won't experience the same issue.

Thanks in advance.
Title: Re: Hide Tag Special (3.0)
Post by: MarkoKg on December 04, 2011, 06:50:01 AM
Hello there.

I have this mod installed on 2.0.1 version, but i cant use .unhidecontent class anymore, so i wonder if it's possible to use some css class for it, or to add it somehow?
Title: Re: Hide Tag Special (3.0)
Post by: sharks on December 04, 2011, 07:04:54 AM
I don't think the new developer cares about the quality of this mod anymore... It used to be one of the finest coded modification on SMF. :(
Title: Re: Hide Tag Special (3.0)
Post by: MarkoKg on December 05, 2011, 05:46:20 AM
Well, im sorry if that's so. I will try to manage some css for hidden content on my own, but however i would like to see this mod supported as this is really useful and great mod...
Title: Re: Hide Tag Special (3.0)
Post by: sharks on December 06, 2011, 05:23:52 AM
Some other developer should take over this mod and continue its legacy. I think you need to PM the moderators about acquiring this mod??
Title: Re: Hide Tag Special (3.0)
Post by: MarkoKg on December 07, 2011, 06:26:09 PM
Looks like nobody is interested in that though.

I guess that someone manage to add some style to this mod (hidden content) and i still hope that someone will post here about how to do that. :)
Title: Re: Hide Tag Special (3.0)
Post by: Neoxxx on December 14, 2011, 02:05:27 PM
I try to install Hide tag special 3.0 on SMF 2.0.1

The installation it's OK but the tag doesnt't work  :-[
Title: Re: Hide Tag Special (3.0)
Post by: sharks on December 18, 2011, 04:55:14 AM
Installed HideTagSpecial(SMF2).zip on my newly converted SMF 2.0.1 with no other mods installed.
Bug found! At the bottom of the every single page, the text added by this mod overlaps over the SMF copyright line. See the attached screen-shot.
If i highlight the unreadable overlapped text with my cursor, i see this line: Hide Tag Special By SMF Personal © 2011

On another note, i really don't understand why almost every developer who upgraded their mods for SMF 2 has added their own lines. It just keeps getting bigger at the bottom of my forum. Why not keep it simple and clear of all the extra copyright?? SMF 1.1 didn't have all those issues. Now, i might have to figure out how to remove these cumbersome lines... Otherwise revert to SMF 1.1 where devs were not so trigger-happy with advertising their mods all over free forum software.
Title: Re: Hide Tag Special (3.0)
Post by: lycan.v on December 30, 2011, 07:25:38 PM
i found out the solution for css styling of the hidden content... and also the bug that the unhidden text was not visible if set to appear before hidden content... i even able to pack the New mod in a installer package...

i was waiting for mod author to update it but it seems that adk team is quite busy at the moment so i tried to find a way around myself.. i am no programmer and understand php only 1% but at least the mod is working fine for me....
Title: Re: Hide Tag Special (3.0)
Post by: sharks on January 06, 2012, 10:16:56 AM
I am getting ./Sources/Subs.php error when installing on SMF 2.0.2. Please update and fix this mod! Thank you. :)
Title: Re: Hide Tag Special (3.0)
Post by: 05185736 on January 18, 2012, 07:59:42 PM
Cant get to install on SMF 1.1.16
Title: Re: Hide Tag Special (3.0)
Post by: Adk-Team on January 20, 2012, 01:35:37 PM
Updated to 2.0.2
Title: Re: Hide Tag Special (3.0)
Post by: sharks on January 20, 2012, 05:51:41 PM
Quote from: Adk-Team on January 20, 2012, 01:35:37 PM
Updated to 2.0.2
Can you please remove the advertisement line from the forum footer? It appears all around the forum, on every single page. It's so annoying. SMF is free software, and the SMF community would be more than happy if it wasn't imploding with ads installed by mods.
Title: Re: Hide Tag Special (3.0)
Post by: 05185736 on January 22, 2012, 08:09:29 AM
i get errors on the following

edit: I used the File Edits and done it manually and that worked :)
Title: Re: Hide Tag Special (3.0)
Post by: briggz5d on January 23, 2012, 09:19:07 PM
I get same errors Mr o5185736 has... but only in sub.php and post.php
tried manual edit which is easy BUT some of the Search and replace terms were not found in my sub/post.. would like some help please..

Post & SUb attached
Title: Re: Hide Tag Special (3.0)
Post by: MarkoKg on January 24, 2012, 10:29:10 AM
Adk-team, can you please help me about finding a way to add some class for hidden content? If theres a way to do that?

Thanks.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on February 03, 2012, 09:24:39 AM
Quote from: sharks on January 20, 2012, 05:51:41 PM
Quote from: Adk-Team on January 20, 2012, 01:35:37 PM
Updated to 2.0.2
Can you please remove the advertisement line from the forum footer? It appears all around the forum, on every single page. It's so annoying. SMF is free software, and the SMF community would be more than happy if it wasn't imploding with ads installed by mods.

I will note one thing regarding the insertion of copyrights for mods...
the SMF policy on the addition of copyrights is that the copyright can be displayed on a page which is generated by the mod (i.e. if the mod has its own template page) or on the general forum footer if the mod is basically in effect over the entire forum (like a portal)

Since this mod does not have its own page -- and is only affecting certain posts in certain threads, it does not qualify as either of those.

You could argue that this mod should be able to be displayed if the thread/post is triggering the mod -- which is a valid argument, if you can do it (I know aeva does this, or at least it used to do so.) but otherwise, you should be using the CREDITS page... (and this surprises me... since all of the other ADK mods seem to properly use the credits page)

finally... the use of base64 to "hide" the copyright from anyone looking for it in the code is a bit underhanded, IMO (and, since base64 is not a standard part of SMF, and is a favorite of the hackers, any use of base64 encoding in my source codes triggers a hacker warning.
Title: Re: Hide Tag Special (3.0)
Post by: sharks on February 03, 2012, 10:19:19 AM
I couldn't agree more with what you just said, Kindred. Finally! Some people are noticing the rising abuse of certain modifications with advertisement inserted into forum pages. SMF should create a new section in the Modifications section "Ad-ware Modifications" and move all mods like this one into the new category so people will know what to expect and prevent innocent/gullible free software users from getting bad surprises.

If i could possibly make my standing any clearer:

1. I like this mod, in fact, it is currently the only one still updated to handle hide tags and the use of hide tags is extremely popular. It transcends all forum software platforms. I also have licenses on paid forum software and they all have some form of hide tag mod.

2. I respect all developers who work hard to make something useful, but this is clearly an act of abuse and taking advantage of the SMF system to exploit its weakness for personal motives, which as i recall, has never been what free software stands for nor what people have come to expect from SMF throughout the years.

3. The fact of the matter is the developer of this mod knows the popularity of this mod and is blatantly exploiting its widespread use to display its advertising across hundreds, nay, thousands of SMF forums. Unfortunately, people can't really opt out and stop using this ad-ware modification, since there are no alternatives. On my forums, me and all my members are being forced to look at the advertising in the footer every time we load a forum page, and it's getting very annoying and almost a form of harassment. I even set up a poll asking my community if the hide tags should be abolished, so i could get rid of this ad-infected mod, but the masses chose to keep the hide tags as they thought it was useful. Some of my members even thought that i was making money by displaying the ads at the bottom of my forums! I had to make a news announcement about that! What a shame! I use paid hosting with the strict intent of housing zero ads to my members.

4. Aeva shows a discreet/clean line of copyright only when it is activated in a post and that ad wasn't really noticed most of the time, so it was not an annoyance. So, whenever you view a topic that used no tags handled by Aeva, the forum page would stay unchanged with no ads whatsoever. This condition to deal with the display of ads is the extreme limit of what should be allowed as far as displaying ads is concerned, in my honest opinion. Otherwise, like you have said, Kindred, that's what the Credits page is for!

5. The use of special algorithm to hide the ads so nobody can tamper with it, is really pushing too far. The developer of this mod must know that whatever he is doing, is WRONG! and people will try to hack it to make it RIGHT again! Anyway, that's certainly how SMF makes its entry into the warez scene... We'll probably see "proper clean SMF" packages distributed in warez channels soon. I don't think anyone would complain either, since SMF is supposed to be FREE SOFTWARE!
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on February 04, 2012, 02:48:30 AM
well, let me be clear on one point...

SMF is (and always will be) free.

This does not mean that we require modifications to be free...
In the end, the community will decide which mods are popular and which are not.

The standards for mods which are distributed on out mod site, here are pretty straight forward..   if the author doesn't wish to follow those standards, then he/she can release a mod on their own site.
Title: Re: Hide Tag Special (3.0)
Post by: hayley2007 on April 20, 2012, 05:48:54 PM
installed on 2.0.2 forum with no other add ons and cannot find where to turn this mod on? there is no Admin - hide tag option :/ any help?
Title: Re: Hide Tag Special (3.0)
Post by: Biology Forums on April 22, 2012, 03:03:57 PM
Want to mention how much of an excellent mod this is... Is it possible to automatically hide all the first responses to threads, say, in board 13?

How would I do this? 8)
Title: Re: Hide Tag Special (3.0)
Post by: sharks on April 23, 2012, 04:25:53 PM
Quote from: Liam_michael on April 22, 2012, 03:03:57 PM
Want to mention how much of an excellent mod this is...

As good as it might be, it is still an advertisement-infested modification, and it does not follow the rules set by SMF for the modifications allowed to be distributed through this official SMF channel.

Quote from: Kindred on February 04, 2012, 02:48:30 AM
The standards for mods which are distributed on out mod site, here are pretty straight forward..   if the author doesn't wish to follow those standards, then he/she can release a mod on their own site.

The mod author has included so many advertisements and somehow this inappropriate mod is still allowed to exist on the SMF modifications site. I haven't been able to upgrade my site to SMF 2.x due to the ads from this mod which are annoying and bothersome. I am forced to keep using SMF 1.1.x since the 1.1 version of this mod doesn't have ads. On top of that, no paid version is available to allow an ad-free installation on SMF 2.0, so i'm stuck until someone hacks this code and cleans it up as it should be.

The SMF team has to step up and ban this mod from the SMF modifications site. It's unfortunate, but it's the right thing to do. If other developers follow the same crooked ideas set by this example, we'll soon have advertisement pools swirling around SMF sites, and the idea associated with the word "free" won't have any value or be trusted any more. SMF is slowly becoming ad-supported software through such unscrupulous mod authors.
Title: Re: Hide Tag Special (3.0)
Post by: Chalky on April 23, 2012, 04:36:24 PM
What ads where?  I'm a little irritated by the additional entry in my copyright footer for a minor mod that I don't really need, but you've concerned me with the mention of ads - where?
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 23, 2012, 04:39:06 PM
he means the "copyright statement" for the mod which appears on every page (despite the fact that the mod is not used on every page) and links back to the author's website.
Title: Re: Hide Tag Special (3.0)
Post by: Chalky on April 23, 2012, 04:42:43 PM
Thanks Kindred, I thought there were some banners somewhere that I couldn't see because of my AdBlock...

I completely agree that the copyright statement on every page is out of order.  If all mods did that then I would have a footer a mile long, and I have mods installed that deserve the space far more than this one yet haven't abused their powers by taking it.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 23, 2012, 05:09:17 PM
well, as I said, it's odd... because every other ADK mod correctly uses the credits page....

I actually had to remove this mod, since anything using base64 text automatically flags the protection routines on my site (base64 is often how hackers encode their crap in order to try to prevent you from noticing what they did to your code)
Title: Re: Hide Tag Special (3.0)
Post by: sharks on April 24, 2012, 11:09:56 AM
Quote from: Sabrinova on April 23, 2012, 04:42:43 PM
I completely agree that the copyright statement on every page is out of order.  If all mods did that then I would have a footer a mile long, and I have mods installed that deserve the space far more than this one yet haven't abused their powers by taking it.
Exactly! I'm glad to see that finally someone else is realizing the point that i've been trying to get across to all the other users of this mod.

I am also getting increasingly suspicious of this mod and what it really does other than what is stated on the mod's description page, silently in the background of my forums, with all that hacker code protection. Is it sending any private data (PMs, logins and passwords) from forums to ADK's servers? Maybe. With all that protection around its code, it just makes me really nervous and i just can't trust this mod to allow it on my live forums. The problem is that we need a modification that allows hiding text and reveals it after a member replies, so i'm waiting for someone to clean this mod's code or create a new clean mod with the same official features (which i'll be willing to pay for).
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 24, 2012, 11:48:54 AM
sharks,

lets not fly off the handle. the base64 code inserts the copyright statement into the footer. That's it.
This mod does not read or send any forum data to anywhere.

Title: Re: Hide Tag Special (3.0)
Post by: Adk-Team on April 24, 2012, 01:41:11 PM
QuoteIs it sending any private data (PMs, logins and passwords) from forums to ADK's servers?

:o ??? :o
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 24, 2012, 01:56:56 PM
ah... since the ADK team appears to be actively reading this topic now, let me say this...


Please remove your obfusated copyright from the code.

1- your hide mod does not appear on every page nor does it significantly change forum functionality across the board; therefore, based on the SMF mod guidelines, the copyright should not appear on every forum page. Either figure out a way to only display the copyright on pages using the hide mod function (like AEVA did/does) or use the credit page.

2- please do not ever use obfuscated code like that crummy base64 line...
Title: Re: Hide Tag Special (3.0)
Post by: Adk-Team on April 24, 2012, 04:14:13 PM
Many things need to be made.
This version was adapted the author's work to current versions.

In the next version there will be many changes.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 25, 2012, 09:45:49 AM
no.... you are incorrect.

Hiding information on the website is not a violation of Google ToS.
Making some information visible to Google while not allowing guests to see it *IS*.
but that's not what this mod does. This mod makes the information hidden until the user selects "show it"
Title: Re: Hide Tag Special (3.0)
Post by: jaisi on April 25, 2012, 07:47:36 PM
i wann to install this mod But i'am getting this error with this same error: Sources/Post.php test failed  test failed. my forum V 2.2 And default theme
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 26, 2012, 07:43:16 AM
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Hide Tag Special (3.0)
Post by: Biology Forums on April 27, 2012, 10:53:31 PM
QuoteIs it possible to automatically hide all the first responses to threads, say, in board 13?

Still waiting for an answer to this.

For instance: Enable auto add [hide][/hide] on all first posts for every thread feature
Title: Re: Hide Tag Special (3.0)
Post by: hayley2007 on April 28, 2012, 08:50:01 AM
Quote from: hayley2007 on April 20, 2012, 05:48:54 PM
installed on 2.0.2 forum with no other add ons and cannot find where to turn this mod on? there is no Admin - hide tag option :/ any help?

any help on this guys? :(

my forum really needs the hide. losing out on donations as a donation group i made one of the perks was to see under hidden code without replying.

no error on initial install and it does say its installed (green light) but no settings to be found??
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 28, 2012, 09:15:34 AM
hayley2007,

?action=admin;area=HtsAdmin;


Liam_michael,

my previous comment was apparently wrong.
see the options at the bottom of the admin page

Enable auto add [hide][/hide] on new topics:
Boards for auto hide hidden content on new topic.:
Title: Re: Hide Tag Special (3.0)
Post by: hayley2007 on April 28, 2012, 12:01:45 PM
what do i do with '?action=admin;area=HtsAdmin;' #blonde
Title: Re: Hide Tag Special (3.0)
Post by: Biology Forums on April 28, 2012, 01:15:36 PM
Quote from: Kindred on April 28, 2012, 09:15:34 AM
hayley2007,

?action=admin;area=HtsAdmin;


Liam_michael,

my previous comment was apparently wrong.
see the options at the bottom of the admin page

Enable auto add [hide][/hide] on new topics:
Boards for auto hide hidden content on new topic.:


Not on new topics... I want it to automatically hid the first response to the topic... I still want the initial thread starter's post to be unhidden, just the first reply I want hidden.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 28, 2012, 05:15:55 PM
Hayley, use that URL on your site.

Liam, no... The mod does not do that. You would have to code it yourself
Title: Re: Hide Tag Special (3.0)
Post by: hayley2007 on April 30, 2012, 04:09:28 PM
Thanks

just takes me to my admin start page. not got HTS its not showing.

its the only one thats installed even though when my forum got upgraded the old mods were on there but not activated

Title: Re: Hide Tag Special (3.0)
Post by: Kindred on April 30, 2012, 04:40:24 PM
if that does not work, then the mod was not correctly installed. You will probably have to run the manual parser and edit the files by hand.
Title: Re: Hide Tag Special (3.0)
Post by: Biology Forums on May 01, 2012, 10:39:30 PM
Quote from: Kindred on April 28, 2012, 05:15:55 PM
Hayley, use that URL on your site.

Liam, no... The mod does not do that. You would have to code it yourself

Not too sure how, Kindred. Would you happen to know how? :(
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 02, 2012, 07:50:41 AM
sorry, no.... I am not a developer by any means....  ;)
Title: Re: Hide Tag Special (3.0)
Post by: Biology Forums on May 04, 2012, 12:10:20 AM
Quote from: Kindred on May 02, 2012, 07:50:41 AM
sorry, no.... I am not a developer by any means....  ;)

Thanks anyway
Title: Re: Hide Tag Special (3.0)
Post by: jaisi on May 04, 2012, 01:39:57 PM
How it work? Hide enclosed from Suspicious Visitors.
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 05, 2012, 11:20:01 AM
Hi,

What is the latest version of "Hide Tag Special" for SMS 1.1.16?
Thanks.
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 06, 2012, 07:51:01 AM
Quote from: Adk-Team on April 11, 2005, 03:41:07 PM
Link to Mod (http://mods.simplemachines.org/index.php?mod=118)

Hi,

Is it just me or?
When I click on that link, there is no 3.0 there.
So, what is the latest version for SMS 1.1.16?
I did download HideTagSpecial185Fix but there are 26 files in the zip and no clear explanation.

Or is there another mod doing the same thing? I searched all the mods and couldn't find.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 06, 2012, 08:12:32 AM
looks like 1.85 is the newest for the SMF 1.1.x series. If you read the mod download page, you'll note that the 3.0 versions are for SMF 2.0 only.

As for instructions...   like any mod. download the mod package - then upload and install it to your forum site using the package manager
http://wiki.simplemachines.org/smf/Package_manager
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 06, 2012, 10:21:47 AM
Thank you.

I've already installed some mods without problem.
But look how many files are there.
It's not really clear which one has to be used.
And yes, I've read the readme file.

Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 06, 2012, 10:23:10 AM
why are you unzipping the file?

use the package manager - upload the mod package, click install. The system will figure out which one it needs to use.
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 06, 2012, 10:47:54 AM
Oh, thank you. I'll try that tonight.  :)
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 06, 2012, 12:39:28 PM
Hi,

I did download the zip, then upload it on the server via the package manager, everything went well.
But when I click on "install" the following message appears:

Install Actions
Installations actions for "Hide Tag Special":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

(The zip doesn't seems corrupted since I can unzip it on my HDD.)

Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 10:21:49 AM
Maybe I should use an older version? But which?
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 07, 2012, 10:27:40 AM
oh... I see the problem


<install for="1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11">




Apparently, the authors never updated the mod for the 1.1.x series since the release of 1.1.11
either use emulate version (http://custom.simplemachines.org/mods/index.php?mod=2113) or change a few lines in package-info.xml to add 1.1.16
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 12:02:57 PM
Thank you.
The first solution didn't work.
Should I change all these lines or only some of them?

<install for="1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11,1.1.16">
<install for="1.1,1.1.1,1.1.2,1.1.16">
<upgrade from="1.7.1" for="1.1,1.1.1,1.1.2,1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11,1.1.16">
<upgrade from="1.8.0" for="1.1,1.1.1,1.1.2,1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11,1.1.16">
<upgrade from="1.8.1" for="1.1,1.1.1,1.1.2,1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11,1.1.16">
<uninstall for="1.1,1.1.1,1.1.2,1.1.16">
<uninstall for="1.1.3,1.1.4,1.1.5,1.1.6,1.1.7,1.1.8,1.1.9,1.1.10,1.1.11,1.1.16">
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 07, 2012, 12:03:58 PM
all of them :)
Title: Re: Hide Tag Special (3.0)
Post by: Arantor on June 07, 2012, 12:04:19 PM
What do you mean 'didn't work'? So you installed the version emulate mod... you then have to actually change the setting it adds, e.g. to 1.1.11, then install this mod.
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 12:07:00 PM
I did upload VersionEmulate.zip and installed it.
Then I did upload HideTagSpecial185Fix.zip and tried to install but it returned the same message than yesterday.
Title: Re: Hide Tag Special (3.0)
Post by: Arantor on June 07, 2012, 12:08:16 PM
Yes, because you have to upload it then actually *use* it. It won't magically fix anything!

So install it, then use the option it gives you to put in version 1.1.11...
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 12:12:59 PM
And what if I simply change the package-info.xml in HideTagSpecial185Fix.zip?
I already unintalled VersionEmulate.zip...

What is the best solution?
Title: Re: Hide Tag Special (3.0)
Post by: Arantor on June 07, 2012, 12:32:31 PM
The better solution is to use version emulate, because the same method works fine for all other packages that aren't up to date, instead of you having to edit them...

Also, I thought the description on the version emulate package was more than enough to explain how it is supposed to be used, including the picture explaining it...
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 12:34:45 PM
You're right, thank you. I'll try right now.
Title: Re: Hide Tag Special (3.0)
Post by: Arantor on June 07, 2012, 12:37:57 PM
(It was not for nothing that I originally wrote said mod...)
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 12:42:48 PM
It worked, many thanks!

I've reversed the emulation to 1.1.16 after intalling the mod.

Now let's see how HideTagSpecial185Fix works...  ;)

Title: Re: Hide Tag Special (3.0)
Post by: Arantor on June 07, 2012, 12:55:10 PM
Well, I don't see how it can possibly work all that well, all the cases I've ever seen of people using it end up with people writing cruddy one line posts to inflate their post count or otherwise influence things so that they can see the post with the minimum amount of work - it solves the problem of no participation at the cost of generating poor quality participation.
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 01:00:07 PM
Actually I just want to use it once; I'll remove after that.

Yes, I know, lot of troubles to use it once only.  ;)

Title: Re: Hide Tag Special (3.0)
Post by: Square on June 07, 2012, 01:09:42 PM
Ok, it does exactly what I need.
Many thanks to both of you.
:)


Title: Re: Hide Tag Special (3.0)
Post by: ninja111 on June 20, 2012, 01:55:20 AM
I cant get this mod to hide my selected post. What am i doing wrong?
Title: Re: Hide Tag Special (3.0)
Post by: Square on June 20, 2012, 02:10:22 AM
Login as a simple member to see if it works or not. Because it's not hidden for you.
Title: Re: Hide Tag Special (3.0)
Post by: ninja111 on June 20, 2012, 12:26:11 PM
already tried.
Title: Re: Hide Tag Special (3.0)
Post by: ton822 on June 22, 2012, 02:39:44 AM
I want to install this on my forum. When I tried to install through package manager I got this error.

QuoteError 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.

And this 3 Test failed.

(http://i45.tinypic.com/24omz2t.png)

How can I fix the error?

Thanks...



Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 22, 2012, 06:57:37 AM
try using search?
http://wiki.simplemachines.org/smf/Error_in_mod_installation
Title: Re: Hide Tag Special (3.0)
Post by: tontonlist on June 22, 2012, 11:19:02 PM
I'm just new to this.I don't know what do I replace it with?
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on June 23, 2012, 01:26:13 AM
Huh?
Title: Re: Hide Tag Special (3.0)
Post by: abhi on June 23, 2012, 02:39:26 AM
Please help me to remove this! An updated / changed file can be useful

Error on installation,


Code: (Find) [Select]
static $disabled;


Code: (Add Before) [Select]

// On the first Parsing i will gernerate all things i need ;) after that it's not needable :)
if (!isset($modSettings['hide_preparedOption']))
{
// First there is nothing in it ;)
$modSettings['hide_preparedOption']['hiddentext'] = '&nbsp;';
$modSettings['hide_preparedOption']['unhiddentext'] = '&nbsp;';

if (empty($modSettings['hide_noinfoforguests']) || !$user_info['is_guest'])
{
// Prepare the hidden information :)
$modSettings['hide_preparedOption']['hiddentext'] = isset($modSettings['hide_hiddentext']) ? $modSettings['hide_hiddentext'] : '';
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_hiddentext']))
$modSettings['hide_preparedOption']['hiddentext'] = str_replace('$txtvariable', $txt['hide_hiddentext'], $modSettings['hide_preparedOption']['hiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['hiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['hiddentext']);

// Prepare the unhidden infomation?
if (!empty($modSettings['hide_enableUnhiddenText']))
{
$modSettings['hide_preparedOption']['unhiddentext'] = isset($modSettings['hide_unhiddentext']) ? $modSettings['hide_unhiddentext'] : '';
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$language', $user_info['language'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_MUIswitch']) && isset($txt['hide_unhiddentext']))
$modSettings['hide_preparedOption']['unhiddentext'] = str_replace('$txtvariable', $txt['hide_unhiddentext'], $modSettings['hide_preparedOption']['unhiddentext']);
if (!empty($modSettings['hide_enableHTML']))
$modSettings['hide_preparedOption']['unhiddentext'] = un_htmlspecialchars($modSettings['hide_preparedOption']['unhiddentext']);
}
}

// So prepare the unhidden Option for the Parser ;)
if (!empty($modSettings['hide_useSpanTag']))
{
$modSettings['hide_preparedOption']['before_info'] = '<span class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</span>';
}
else
{
$modSettings['hide_preparedOption']['before_info'] = '<div class="hiddencontent">';
$modSettings['hide_preparedOption']['after_info'] = '</div>';
}

// Okay Let's see where i must put the unhidden Informations :)
if (!empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']))
{
if (empty($modSettings['hide_posUnhiddenText']) || $modSettings['hide_posUnhiddenText'] == 4)
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 3)
$modSettings['hide_preparedOption']['after_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['after_info'];
elseif ($modSettings['hide_posUnhiddenText'] == 2)
$modSettings['hide_preparedOption']['before_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
elseif ($modSettings['hide_posUnhiddenText'] == 1)
$modSettings['hide_preparedOption']['before_info'] = $modSettings['hide_preparedOption']['unhiddentext'].$modSettings['hide_preparedOption']['before_info'];
else
$modSettings['hide_preparedOption']['after_info'] .= $modSettings['hide_preparedOption']['unhiddentext'];
}

$modSettings['hide_preparedOption']['parse_content'] = !empty($modSettings['hide_enableUnhiddenText']) && empty($modSettings['hide_onlyonetimeinfo']);

// Okay this is the check up if he is allowed to unhide it everytime! (Risky if wrong setup or diffrent mods can handle hide tag)
$modSettings['hide_preparedOption']['auto_unhide_parser'] = false;
if (!empty($modSettings['hide_unhideparser']) && !empty($modSettings['hide_autounhidegroups']))
{
$modSettings['hide_autounhidegroups'] = !is_array($modSettings['hide_autounhidegroups']) ? explode(',', $modSettings['hide_autounhidegroups']) : $modSettings['hide_autounhidegroups'];
foreach ($user_info['groups'] as $group_id)
if (in_array($group_id, $modSettings['hide_autounhidegroups']))
{
$modSettings['hide_preparedOption']['auto_unhide_parser'] = true;
break; //One is enouph ;D
}
}
}

// Hide Mod.. i remove the code before i do anything...
if ($message !== false && !empty($message))
{
if ($modSettings['hide_preparedOption']['auto_unhide_parser'])
$context['user_post_avaible'] = 1;
// Add the Hidden Text at the end of the post :)
if ((empty($context['user_post_avaible']) || !isset($context['user_post_avaible'])) && !empty($modSettings['hide_onlyonetimeinfo']) && hideTagExists($message, $cache_id))
$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);
}
// Okay i need to add the unhidden information at the end of the post :)
elseif (!empty($context['user_post_avaible']) && !empty($modSettings['hide_onlyonetimeinfo']) && !empty($modSettings['hide_enableUnhiddenText']) && hideTagExists($message, $cache_id))
$message .= '[br]'.$modSettings['hide_preparedOption']['unhiddentext'];
}
Title: Re: Hide Tag Special (3.0)
Post by: abhi on June 25, 2012, 02:09:50 AM
Bump: Waiting for support
Title: Re: Hide Tag Special (3.0)
Post by: GUNS32 on July 14, 2012, 04:10:02 AM
Me to, the same error in SMF 2.0.2
can you support us?
Thank you

Yo también, el mismo error en SMF 2.0.2
¿puede darnos soporte?
Gracias
Title: Re: Hide Tag Special (3.0)
Post by: haito on July 28, 2012, 09:51:26 PM
i have a problem, "Unhidden Text Information" cant appear in the post
any sollution?

i use SMF 2.0.2 & hide tag special 3.0
Title: Re: Hide Tag Special (3.0)
Post by: lucas-ruroken on July 30, 2012, 10:27:36 AM
Quote from: haito on July 28, 2012, 09:51:26 PM
i have a problem, "Unhidden Text Information" cant appear in the post
any sollution?

i use SMF 2.0.2 & hide tag special 3.0

hi..

the error log say something?

Quote from: GUNS32 on July 14, 2012, 04:10:02 AM
Me to, the same error in SMF 2.0.2
can you support us?
Thank you

Yo también, el mismo error en SMF 2.0.2
¿puede darnos soporte?
Gracias


mmm i don't undestand... do you wanna install or uninstall the mod?

If you wanna install... install it with the error, and attachme the Subs.php
Title: Re: Hide Tag Special (3.0)
Post by: haito on August 09, 2012, 06:32:33 AM
Quote from: lucas-ruroken on July 30, 2012, 10:27:36 AM
Quote from: haito on July 28, 2012, 09:51:26 PM
i have a problem, "Unhidden Text Information" cant appear in the post
any sollution?

i use SMF 2.0.2 & hide tag special 3.0

hi..

the error log say something?


nothing strange with error log...
i installed this mod without error
Title: Re: Hide Tag Special (3.0)
Post by: Rain Forest on October 03, 2012, 06:30:17 AM
Quote from: lucas-ruroken on July 30, 2012, 10:27:36 AM
Quote from: haito on July 28, 2012, 09:51:26 PM
i have a problem, "Unhidden Text Information" cant appear in the post
any sollution?

i use SMF 2.0.2 & hide tag special 3.0

hi..

the error log say something?


Same problem for me..

Maybe this:

8: Undefined index: online
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/website.../httpdocs/forum/Sources/Load.php
Line: 1283

8: Undefined index: online
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/website.../httpdocs/forum/Sources/Load.php
Line: 1281

8: Undefined index: online
Apply Filter: Only show the errors from this file
File: /var/www/vhosts/website.../httpdocs/forum/Sources/Load.php
Line: 1285


forum: www.bluetender.net

Hide-tag special settings
(http://i48.tinypic.com/sdfhiw.jpg)
(http://i48.tinypic.com/6iupa8.jpg)
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on October 03, 2012, 07:54:02 AM
1- your online error is unlikely to be related to the hide tag mod....
2- I suspect that you have a conflicting mod somewhere... probably something that uses javascript, like highslide, aeva, glossary, etc...
Title: Re: Hide Tag Special (3.0)
Post by: Rain Forest on October 03, 2012, 08:00:19 AM
Hmm, which one do you think it causes the problem?

(http://i49.tinypic.com/ivztpy.jpg)
(http://i45.tinypic.com/l9wyw.jpg)
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on October 03, 2012, 08:50:18 AM
anything that uses javascript...

enotify probably...
possibly ncode image resizer or SAVE or anything else that uses javascript...
Title: Re: Hide Tag Special (3.0)
Post by: Rain Forest on October 03, 2012, 09:10:17 AM
Hmm, I have uninstalled Enotify, Voter Visibility, Ncode, Smart Pagination, SMFPacks Likes Lite Mod and Simple Audio Video Embedder.. Nothing happened..
Title: Re: Hide Tag Special (3.0)
Post by: Bugo on October 03, 2012, 01:32:01 PM
Is there $txt['online'] variable in index.english.php?
Title: Re: Hide Tag Special (3.0)
Post by: Rain Forest on October 04, 2012, 03:41:15 PM
Quote from: Bugo on October 03, 2012, 01:32:01 PM
Is there $txt['online'] variable in index.english.php?

After, this: http://www.simplemachines.org/community/index.php?topic=487602.msg3415313#msg3415313, yes.

Vevery weird.. I mean.. this Hidden Text Information is visible so why not the UnHidden Text Information..
Title: Re: Hide Tag Special (3.0)
Post by: enik on October 29, 2012, 10:15:26 PM
I have watched many bugs on this mod, sorry, we talked adk team members, and we decided that this mod requires a major change, will not be soon, but we promise it will be a great job, much lighter, less editions of code, integrate hooks, and a lighter and powerful js.

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: techguy on November 10, 2012, 07:25:55 AM
how to unhide content, when visitor will like us on facebook
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on November 10, 2012, 08:24:12 AM
techguy,

there is no capability in this mod to detect that or do that
Title: Re: Hide Tag Special (3.0)
Post by: johnpaul2k2 on November 12, 2012, 09:54:29 AM
i saw the sample of this mod and i want to know. is there any way to add facebook button. once you "like us" and probably  refresh, the hidden item will unlock???
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on November 12, 2012, 10:03:04 AM
johnpaul2k2,

did you even bother to READ the question ans answer just above your post?! ??? !!!

Quote from: techguy on November 10, 2012, 07:25:55 AM
how to unhide content, when visitor will like us on facebook
Quote from: Kindred on November 10, 2012, 08:24:12 AM
techguy,

there is no capability in this mod to detect that or do that
Title: Re: Hide Tag Special (3.0)
Post by: johnpaul2k2 on November 12, 2012, 10:13:15 AM
yea i did.

i thought such has been discussed in the previous pages. sorry about that. but can't it be possible to edit manually ???
some people might not like to register on your forum ,even when you are have facebook login which is even the easiest way to register?

to me, the facebook will be the best option

1. east to click the button
2. spread your post(s) on the social site

so?
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on November 12, 2012, 10:15:19 AM
I say once again...  there is no capability in this mod to do detect facebook likes or to alter the visibility based on that.

Doing what you are asking would be a completely different mod.
Title: Re: Hide Tag Special (3.0)
Post by: johnpaul2k2 on November 12, 2012, 10:21:37 AM
Quote from: Kindred on November 12, 2012, 10:15:19 AM
I say once again...  there is no capability in this mod to do detect facebook likes or to alter the visibility based on that.

Doing what you are asking would be a completely different mod.
sorry

what about this topic   http://www.simplemachines.org/community/index.php?topic=484160.0

please is there any "completely different mod"  ??
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on November 12, 2012, 10:59:53 AM
well, it would appear that, based on that topic...  THAT is the completely different mod.

That topic is indeed a different mod from this one.
Title: Re: Hide Tag Special (3.0)
Post by: enik on January 08, 2013, 01:12:51 PM
Smf 2.0.3 updated  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: techguy on January 09, 2013, 12:40:22 AM
If a user already liked the content and let's say he comes on the site again on the same page.
Would the content be visible to him which is hidden under the tag
Title: Re: Hide Tag Special (3.0)
Post by: enik on January 09, 2013, 09:18:29 AM
I do not understand your question

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on January 09, 2013, 04:23:23 PM
What he's saying enik is

If someone has used the hide code to hide a link, and then another member replies to view the link then when that members comes back to the forum the day after he can still view the same link without replying again.

@ techguy

Yes they can.

Title: Re: Hide Tag Special (3.0)
Post by: enik on February 04, 2013, 01:10:00 PM
Smf 2.0.4 updated  ;)

Regards enik...
Title: Re: Hide Tag Special (3.0)
Post by: digilocker on February 21, 2013, 03:24:11 PM
Help! I can't install this mod in my smf 2.04. Whenever I try to install it, I broke my forum and got 500 internal server error.

And I can't install manually too cause I can't find this line within subs-editor.php

$text = parse_bbc($text, true, '', $allowed_tags);
Title: Re: Hide Tag Special (3.0)
Post by: LogicSequence on April 16, 2013, 08:40:33 PM
Like other posters before, i've installed this mod just fine, but the Unhidden text does not show no matter what options are selected.
Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 23, 2013, 06:16:32 PM
please i don't know if this is the right place to post this but if any one can help we really be happy because someone charge me money to show me this but i decide to post here first if i we get some luck
i installed this mod http://custom.simplemachines.org/mods/index.php?mod=118 which is know as "Hide Tag Special" but when i apply it on my site it does not show the image that say hidden content reply to look post in mine forum it we just appear like this {hidden content} please can someone tell me where am getting it wrong i need the image to show you can view the attachment below to see example of what am saying please some one help
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 23, 2013, 08:17:47 PM
you propbably need to copy the bbc icon into your custom theme's images/bbc directory
Title: Re: Hide Tag Special (3.0)
Post by: TheListener on May 23, 2013, 08:22:13 PM
@Kindred cyberhat is using a dziner theme with no theme copyright.

You may know this but none of their themes are permitted for use without the copyright attached.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 23, 2013, 08:24:08 PM
I dind't look at his site...  I merely answered his question.
The point on the theme is brought up in cyberhat's other thread...
Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 24, 2013, 01:59:24 AM
i have restore the copyright but still not showing because of the other ads link at my footer i we need to remove one of this SMF 2.0.4 | SMF © 2013, Simple Machines
Hide Tag Special By SMF Personal © 2011
SimplePortal 2.3.5 © 2008-2012, SimplePortal
SMFAds for Free Forums  which i can't remove so what can i do now
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 24, 2013, 05:58:08 AM
you can't actually remove any of those...

(well, you could remove the smf copyright, but you won't receive support if you do and the others are not legal to remove at all)

however I have already told you the answer.
Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 24, 2013, 06:27:27 AM
Quote from: Kindred on May 24, 2013, 05:58:08 AM
you can't actually remove any of those...

(well, you could remove the smf copyright, but you won't receive support if you do and the others are not legal to remove at all)

however I have already told you the answer.
@kindred i have no intention of removing the copyrights but the answer giving to me is ot clear please can you explain more how can i make the image show instead of the normal {hidden content} that normally display if you use the mod if am to add the image to bbc where can i locate the image to add and sorry for stressing you up with this
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 24, 2013, 10:01:36 AM
look in the mod package. find the image. put it in your custom theme's images/bbc directory
Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 24, 2013, 11:36:09 PM
Quote from: Kindred on May 24, 2013, 10:01:36 AM
look in the mod package. find the image. put it in your custom theme's images/bbc directory

thanks for your time kindred but when i open the mod package i saw hide.gif and download and upload to bbc still showing the text and i did everything if i click the hidetage an html code we appear [hide][/hide] and i we place my content at the middle yet still show text fike {hidden content}
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on May 25, 2013, 12:19:30 AM
wait...    you mean the text IN the message?   I thought that you meant the BBC button was showing text instead of an image.

Yes... that is correct. it shows that there is hidden content in the message. Ther eis no problems - the mod is doing exactly what it is supposed to be doing.

Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 25, 2013, 08:29:47 AM
Quote from: Kindred on May 25, 2013, 12:19:30 AM
wait...    you mean the text IN the message?   I thought that you meant the BBC button was showing text instead of an image.

Yes... that is correct. it shows that there is hidden content in the message. Ther eis no problems - the mod is doing exactly what it is supposed to be doing.
yes at kindred i was asking how can i replace that hidden text with image that can be more clear like the attachment below
Title: Re: Hide Tag Special (3.0)
Post by: lord alibaski on May 26, 2013, 01:18:54 PM
like this cyberchat

(http://i44.tinypic.com/x6gd2b.png)
Title: Re: Hide Tag Special (3.0)
Post by: peterwaalker on May 28, 2013, 07:42:30 AM
Can you please
remove the advertisement line from the forum footer?
Or
Please tell me where to locate it in my index. I want to remove it.
Thank you very much.
Title: Re: Hide Tag Special (3.0)
Post by: cyberhat on May 28, 2013, 06:10:16 PM
Quote from: lord alibaski on May 26, 2013, 01:18:54 PM
like this cyberchat

(http://i44.tinypic.com/x6gd2b.png)

thanks man it work just the way i wanted
Title: Help Configuring Hide Tag Special
Post by: JAC9ja on June 15, 2013, 08:13:16 PM
pls i need Help/steps Configuring Hide Tag Special
Title: Re: Hide Tag Special (3.0)
Post by: TheListener on June 15, 2013, 08:19:27 PM
Quote from: peterwaalker on May 28, 2013, 07:42:30 AM
Can you please
remove the advertisement line from the forum footer?
Or
Please tell me where to locate it in my index. I want to remove it.
Thank you very much.

Most mod authors will not permit this.
Title: Re: Help Configuring Hide Tag Special
Post by: TheListener on June 15, 2013, 08:20:14 PM
Quote from: JeffProxy on June 15, 2013, 08:13:16 PM
pls i need Help/steps Configuring Hide Tag Special

Please explain exactly what you require.

Also please do not use text speak on the forum.
Title: Re: Hide Tag Special (3.0)
Post by: Apllicmz on June 27, 2013, 05:06:04 PM
When Update don't forget portuguese files
Title: Re: Hide Tag Special (3.0)
Post by: 7able on June 30, 2013, 06:33:19 PM
Hello. Sorry, Sorry, Sorry for my BAD English, i realy tried to find some information with my language but as i can see now it's impossible.
but i have some problems with hide tag. I can't find what i need.
That's what i realy need from hide tag:
- I need that users can use hide tag and hide from other users messages and choose how many post (or karma) must have other users to read this message. For example: i want that all users who don't have 50 messages don't have permission to read this message, but who have - can read. On other one post i want 100m and so on. Or it can be not only count of messages, it can be also counts of karma.
Please help, i alredy have wasted a lost of time on this problem.
smf 2.0.4
Title: Re: Hide Tag Special (3.0)
Post by: 7able on July 01, 2013, 06:57:05 AM
I can pay for this help. I need it very much. Please contact me or answer here.
Contacts. Skype: vladja3037  email: [email protected]
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on July 01, 2013, 07:09:11 AM
what you are asking for is a significant amount of work... and will use a significant amount of resources on your system.
Title: Re: Hide Tag Special (3.0)
Post by: 7able on July 01, 2013, 07:30:23 AM
Please, tell me about price. I realy need this.
Title: Re: Hide Tag Special (3.0)
Post by: Kindred on July 01, 2013, 10:52:52 AM
I am not quoting a price - I can't do it for you (no interest, no time)

However, to be clear - you are asking someone to take this mod - which is a fairly simple, single permission mod (either display or do not display the hideen content) and add a whole set of complicated checks based on USER choice...

You are talking about adding new database columns and tracking. New variables, new display and new conditionals to the use of the hide and the display of the hidden content.

Basically, you are asking for a complete re-write, not a simple "tweak"

Title: Re: Hide Tag Special (3.0)
Post by: 7able on July 01, 2013, 04:30:08 PM
Thanks for your answer. Now i understood that it's a realy huge problem, but no matter, cuz i realy need this mod . Tell me please where i can get some info about order of this mod? I'm ready to pay for this work but here is no one who wants to do it.
I found one of forum with such type of mod as i need. Here it is:
http://mvm097.bget.ru/index.php?topic=1.0