News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Hide Tag Special

Started by enik, April 11, 2005, 03:41:07 PM

Previous topic - Next topic

xtremecruiser

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)

RIXTHEMIX

is there a hide mod for version SMF 1.1 RC1 ? if so what other mods do i need to make it work ?

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

sxwk12

#63
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

AzaToth

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.

edi67

#65
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



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
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

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. ;)
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

#67
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



Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

AzaToth

#68
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

edi67

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
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

edi67

another one little bug

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

Quote

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


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
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

edi67

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
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

AzaToth

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!

ディン1031

#73
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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

L.G.S

Any chance of knowing the code to let images and links work in it?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


edi67

#75
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?
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

ディン1031

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
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ArkServer

Execute Modification     .\Sources/Subs.php     Test failed

1.1RC1

ディン1031

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

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

L.G.S

The subs on my package manager cannot be installed properly either?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Advertisement: