Customizing SMF > Modifications and Packages

Hide Tag Special (3.0)

<< < (3/351) > >>

ディン1031:
Version: 1.10
Changes
- Fix a error in the SSI include (i don't know why this happend but know there should be never a porblem again :D)
- The alternativ text for the hide can now be changed in the Forum Settings.
- The Admin can know allowed to view every hide without a post
- And a very very small chance to view the hiden text without post (very very difficullt to find but know there is no chance to view it without post.)

Deinstall the old Version before you install the new Version.

nameless:
I installed Version: FP1.11 had to add the following manually because I couldn't find it


--- Code: ---<search for>
array('check', 'descr_allow'),
</search for>

<add before>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add before>
--- End code ---

I tested this but when I reply back it just shows the hidden text. I can't see the information I entered in [hide][/hide]

whatever:
I cant find this:


--- Quote ---array('check', 'descr_allow')

--- End quote ---

hmph

ディン1031:
Hmmm i... so i must install the faster parsment on a test instalation...
i remove it from the dl list...


--- Quote from: nameless on April 29, 2005, 03:40:19 PM ---I installed Version: FP1.11 had to add the following manually because I couldn't find it


--- Code: ---<search for>
array('check', 'descr_allow'),
</search for>

<add before>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add before>
--- End code ---

I tested this but when I reply back it just shows the hidden text. I can't see the information I entered in [hide][/hide]

--- End quote ---
Sorry for using the wrong line some how i came one line below the line i want to use...

Found the error... never thought that there a global is missing...

In the Subs.php

--- Code: ---<search for>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt;
</search for>

<replace>
function parsecode(&$message)
{
global $modSettings, $scripturl, $txt, $context;
</replace>

--- End code ---

I think now it should work :).



--- Quote from: whatever on April 29, 2005, 05:34:28 PM ---I cant find this:

--- Quote ---array('check', 'descr_allow')

--- End quote ---

--- End quote ---

This one should work...

--- Code: ---<edit file>
$sourcedir/ModSettings.php
</edit file>

<search for>
array('check', 'enableBBC'),
</search for>

<add after>
array('text', 'hide_hiddentext'),
array('check', 'hide_adminshouldsee'),
</add after>

--- End code ---

Bye and Thx for the help...

nameless:
Works great now :) THANKS!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version