Hide Tag Special

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

Previous topic - Next topic

PHPLearner

#1020
Not sure if a different mod jacked up my subs.php or not, I uninstalled everyone and still get the errors, Is it possible to post the code entry for 1.1.8 for sources/subs.php , I would appreciate it, I would like to figure this out manually, Thanks Again


I am A dummy, I had to select 1.81 then parse, i thought I did, LOL, I Am not finding the first string in my subs, I am gonna look at a original subs and see where it is supposed to be, thanks

PHPLearner

Ok this is what I found When Told to find
Code () Select
global $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;


I Have This global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;



I Tried Replacing, I am sure it is a mod, I have to look deeper, Any Ideas, Can I just Add to the code? I Should Be able to just add the strings After I install Or?

ディン1031

Quote from: fmap4life on May 04, 2009, 11:03:11 PM
Ok this is what I found When Told to find
Code () Select
global $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;


I Have This global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
static $bbc_codes = array(), $itemcodes = array(), $no_autolink_tags = array();
static $disabled;



I Tried Replacing, I am sure it is a mod, I have to look deeper, Any Ideas, Can I just Add to the code? I Should Be able to just add the strings After I install Or?
Normal it should work without problems ;).
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

PHPLearner

Thanks, I tried and I get errors beyond belief, I decided to edit the subs manually, install the package and then ftp the subs over, It stopped the errors and I thought I was done, but when I went to preview, I got errors from manageboards, That wasn't a error I got before, If I edit the subs before I install, The forum goes into errors saying it doesn't exist(hide) that is, So I can't actually get in and add the package only the other way around, Thank For the help, I Truly appreciate it

easyrider77

Install the 1.8.1 V,  in  smf 1.18 successful..  but is no hide button in post area..!! any idea about..??    :)
SMF  1.1.11 / Joomla 1.5.20  /default theme

ディン1031

Quote from: easyrider77 on May 08, 2009, 08:52:06 AM
Install the 1.8.1 V,  in  smf 1.18 successful..  but is no hide button in post area..!! any idea about..??    :)
Because it's not standard in the modification ;) (I don't like a button for hidden content :P)

But attached to this post -> http://www.simplemachines.org/community/index.php?topic=32954.0 <- is package for the HideTagSpecial BBC Button (HideTagSpecialBBCButton101Fix.zip) ;).

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

easyrider77

Yes.. i detect it finally..  ;D thanks for the  mod also ディン1031..!  8)
SMF  1.1.11 / Joomla 1.5.20  /default theme

n00dle

I installed :  HideTagSpecialBBCButton101Fix.zip [nofollow]
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?

ɔɔɔɔɔɔuɥoɾ

Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

ディン1031

Quote from: n00dle on May 12, 2009, 07:24:24 PM
I installed :  HideTagSpecialBBCButton101Fix.zip
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?
Possible you insert not the image on your costum theme or you costum theme use a own file for the post.

Quote from: johncccccc on May 12, 2009, 11:18:53 PM
Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)
No ;).
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

n00dle

#1030
Quote from: ディン1031 on May 13, 2009, 12:32:03 AM
Quote from: n00dle on May 12, 2009, 07:24:24 PM
I installed :  HideTagSpecialBBCButton101Fix.zip [nofollow]
And it does not work, I see no button but it says it was successfully installed.\
How can I fix this?
Possible you insert not the image on your costum theme or you costum theme use a own file for the post.

Quote from: johncccccc on May 12, 2009, 11:18:53 PM
Quote from: ディン1031 on April 29, 2009, 05:19:41 AM
Quote from: johncccccc on April 28, 2009, 11:03:52 AM
Hi, Great mod the new updated one works with wysiwyg editor well, thanks.

I have a question though,
For the option " Enable auto add [hide][/hide] on new topics: " would it be possible to make the hide tags wrap only around code tags, instead of the whole post, if so, could you please see where the change in code would be and post it here :)

Thanks in advanced.
Yes it's possible i will see if i can make something that can do that ;).

Bye
DIN1031

@ ディン1031, Did you ever get anywhere with this? :)
No ;).

I added the image included with the mod into each themes directory and it does not show up on the ONE theme I actually want to use for default.  I just realized it works on the other custom themes.  I'm confused.  It's in the directory.

The one custom theme it works on does NOT have a post.template.php file.  All my other themes do.. is there something I can add to that file to make it work?

EDIT:

I figured it out.... just edit theme/themename/Post.template.php

Find:
'list' => array('code' => 'list', 'before' => '[list]\n[li]', 'after' => '[/li]\n[li][/li]\n[/list]', 'description' => $txt[261]),

Add After:
'hide' => array('code' => 'hide', 'before' => '[hide]', 'after' => '[/hide]', 'description' => $txt['bbc_hide']),

ディン1031

Good to hear that you could solve it =).
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

Maxtor

in "Admin">"Forum Error Log" this error:

8: Undefined index: hiddenOption
File: /home/maxt0ras/public_html/forum/Sources/Display.php
Line: 1021
is repeating 20 times every second each time by different user wtf!??!?

anyone can help??? i cant solve this.

Display.php line 1021 code:
// Hide the post or Not? --- XD
$message['can_view_post'] = 1;
if (!empty($modSettings['allow_hiddenPost']) && $message['hiddenOption'] > 0)
{
global $sourcedir;
require_once($sourcedir . '/HidePost.php');
$message['ID_TOPIC'] = $topic;
$context['current_message'] = $message;
$message['body'] = getHiddenMessage();
$message['can_view_post'] = $context['can_view_post'];
}

ディン1031

Quote from: maxtor on May 20, 2009, 04:18:12 PM
in "Admin">"Forum Error Log" this error:

8: Undefined index: hiddenOption
File: /home/maxt0ras/public_html/forum/Sources/Display.php
Line: 1021
is repeating 20 times every second each time by different user wtf!??!?

anyone can help??? i cant solve this.

Display.php line 1021 code:
// Hide the post or Not? --- XD
$message['can_view_post'] = 1;
if (!empty($modSettings['allow_hiddenPost']) && $message['hiddenOption'] > 0)
{
global $sourcedir;
require_once($sourcedir . '/HidePost.php');
$message['ID_TOPIC'] = $topic;
$context['current_message'] = $message;
$message['body'] = getHiddenMessage();
$message['can_view_post'] = $context['can_view_post'];
}

You're on the wrong mod thread this is not from my mod.
You have installed this mod -> http://custom.simplemachines.org/mods/index.php?mod=228
Please ask there for help i don't know how to help you with this ;).

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

Kimmie

ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)

ディン1031

Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

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

HNHF

Hi There,

I want to install  the Hide Tag Special  1.81 on my SMF 1.19   all files succesvol  but 1 file unsuccesvol    subs.php   he can make the changes.

I have tried manualy but he cant find the strings ( search .................................... )  there for in can't replace or add anything.

I have desinstalled the mod.  I hope you can make the correct one for version 1.19

Fine regards   ,  Martin
Groetjes Martin....


Http://www.hnhf.nl/

ディン1031

Quote from: HNHF on June 07, 2009, 06:17:32 AM
Hi There,

I want to install  the Hide Tag Special  1.81 on my SMF 1.19   all files succesvol  but 1 file unsuccesvol    subs.php   he can make the changes.

I have tried manualy but he cant find the strings ( search .................................... )  there for in can't replace or add anything.

I have desinstalled the mod.  I hope you can make the correct one for version 1.19

Fine regards   ,  Martin
Sorry but i made a test install with 1.1.9 and it work fine... i think some of some other installed modifications create the problem.

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

HNHF

Oke i looking in to it,   thanks for the fast support.
Groetjes Martin....


Http://www.hnhf.nl/

Kimmie

Quote from: ディン1031 on June 04, 2009, 01:47:03 AM
Quote from: Kimmie on June 04, 2009, 01:15:26 AM
ディン1031

I have the Enhanced Quick Reply mod installed and I was wondering if you could tell me what I need to do to get the Hide button added to it. (I did it once before along time ago, but for the life of me I cant remember...lol)


Thanks in advance :)
Enhanced Quick Reply can you give me the Modsite? :) (That i know which one you install)

Bye
DIN1031

Mod:
http://custom.simplemachines.org/mods/index.php?mod=883

Version I have installed:
Enhanced Quick Reply Box 2.0.2


Thanks for the help :)

Advertisement: