News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Hide Tag Special

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

Previous topic - Next topic

ディン1031

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

lonrot

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.

babjusi

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

Djuka

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?

ディン1031

Do you use a other language? Than you need to change the language things for your language.

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

Jori

#605
The mod works fine and is great! But the BBC icon idoesn't work well:

Can you please help me or fix it?

ディン1031

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

Jori

Really thanks, it works fine now.

suiko

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

ディン1031

Are you really installed it?

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

suiko

I installed your mod! But do I have to install something else?

ディン1031

Normal if you installed it correct it should work :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

GWeber

#612
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:
hxxp:img293.imageshack.us/my.php?image=hidetagspecialcodeki6.png [nonactive]

What can I do to hide last "hide"?
Thanks

L.G.S

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.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


ディン1031

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:


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

Line number please? And could you post a few lines around it so I can find them too?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


ディン1031

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

Weird that I don't have it... What did it actually do anyway?

Thanks and installed.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


fortest


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's Hide Post Mod)

Thanks in advance, and sorry for my n00bness.

ディン1031

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's Hide Post 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
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

Advertisement: