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

FragaCampos

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 ;)

ディン1031

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

FragaCampos

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?




ディン1031

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

FragaCampos

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.

ディン1031

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

FragaCampos

Ok, thanks for everything ;)

Take care!

Kimmie

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.

ディン1031

Depend on you settings ;).

did also put in you yourtheme/images/bbc folder :X

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

Blu

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!

ディン1031

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

Kimmie

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. :)

izar

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...

ディン1031

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

EboLLa

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

EboLLa

and btw i readed the pages :| because i get this error:       Execute Modification     ./Sources/Subs.php     Test failed
what could be wrong??

ディン1031

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

EboLLa

and how i do it? i install the mod with packege manager and then only edit subs.php??? or i should all instll manual?:|

ディン1031

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

EboLLa

ok thx i will try to make it somehow :P

Advertisement: