Hide Tag Special

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

Previous topic - Next topic

ディン1031

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

ThaiAnime

i want to support 1.1 bata3 very much.

blackbone

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

hel8itch

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

Millermo

Help please for 1.1. beta 3.

http:/www.torrentsmexico.com

ディン1031

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

hel8itch

i havent got the faster parsecode installed??

1MileCrash

this is exactly like the Hide Hack at vBstyles.
The only thing php can't do is tell you how much milk is left in the fridge.



ディン1031

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

carola0102

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 :'(

Escobar

#50
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.
I chose SMF because you get your questions answered.

carola0102


mforum

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 ?  :'(

Escobar

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.
I chose SMF because you get your questions answered.

carola0102

Hey thank you somuch!!! its working perfectly! :D

L.G.S

Can we get this for SMF 1.1?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


anniewayz

Yes I agree, I have SMF 1.1 too & really need this mod..please?

floating

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?

ディン1031

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

Escobar

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.
I chose SMF because you get your questions answered.

Advertisement: