Customizing SMF > Now Available

SMF [hide] BBCode

<< < (21/23) > >>

Vinspire:

--- Quote from: L.G.S on May 20, 2006, 06:54:21 AM ---There are 3 mods made

http://mods.simplemachines.org/?action=search;basic_search=hide

--- End quote ---

So, which do you recommend ?

Tried Hide Post but its not working. Dont know why but didn't bother checking it.

Tried Hide Tag Special but i wanted to have a working BBC button for it.

Tried Hide Tag but there is an error when installing it.

1.     Execute Modification     ./Sources/Subs.php     Test failed

L.G.S:
Well on my SMF 1.1RC2 forum the HIDE POST mod worked great.

Maybe it didn't work because you did it wrong.

You do not use hide tags, instead you click additional options and then choose your hide from there

sbm:
Hi
Im using smf1.1rc2........

Tried Hide Post but its not working. Dont know why but didn't bother checking it.

Tried Hide Tag Special but i wanted to have a working BBC button for it.

Tried Hide Tag but there is an error when installing it.

1.     Execute Modification     ./Sources/Subs.php     Test failed

Any suggestion.....

majestic13:
i read a the posts here, but there is no solution for my problem.

i get this error every time a user want to view the (hidden) post:
Notice: Undefined index: hide_tag_b in /www/.../.../celebrana/forum/Sources/Subs.php on line 1047

im using 1.0.8 and this is the code in the subs.php

--- Code: ---// [hide]Guests cannot see this! Mwahaha![/hide]
$codefromcache[] = '~\[hide\](.+?)\[/hide\]~i';
if (isset($disabled['hide']) || $user_info['is_admin'])
    $codetocache[] = '$1';
    else
    {
if (!empty($context['current_topic']) && !$user_info['is_guest'])
{
$request = mysql_query("
SELECT ID_MSG FROM {$db_prefix}messages
WHERE ID_MEMBER = $ID_MEMBER
AND ID_TOPIC = $context[current_topic]
LIMIT 1");

if (mysql_num_rows($request))
$codetocache[] = '<b>$1</b>';
else
$codetocache[] = $txt['hide_tag_a'];
mysql_free_result($request);
    }
    else
    $codetocache[] = $txt['hide_tag_b'];
      }

--- End code ---

what can i do?

Edurg:
hide tag bbc mod done for my:
http://custom.simplemachines.org/mods/index.php?mod=704
regards ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version