Follow SMF on Twitter.
Started by enik, April 11, 2005, 03:41:07 PM
Quote from: ディン1031 on August 26, 2007, 07:16:04 AMFor 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 .ByeDIN1031
Quote[hide]Code Select Expandsomesmallcode[/hide]
Quote from: GWeber on September 09, 2007, 01:22:49 AMGood 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]Code Select Expandsomesmallcode[/hide]I got a strange visual effect when unhiding text:What can I do to hide last "hide"?Thanks
Quote from: L.G.S on September 09, 2007, 07:55:21 AMProblem with installing with Post.phpI 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.
Quote from: L.G.S on September 09, 2007, 09:25:14 AMLine 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);
Quote from: fortest on September 11, 2007, 04:51:11 AMI'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.