News:

SMF 2.1.2 has been released! Take it for a spin! Read more.

Main Menu

Hide Tag Special

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

Previous topic - Next topic

ディン1031

Quote from: Kimmie on June 07, 2009, 06:03:15 PM
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 :)
Work with the same change like in the Post.template.php.
Look into the Display.template.php and do the same change es as the package does for the button.

Code (search for) Select

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

Code (replace with) Select

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


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

Quote from: ディン1031 on June 08, 2009, 04:01:26 AM
Quote from: Kimmie on June 07, 2009, 06:03:15 PM
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 :)
Work with the same change like in the Post.template.php.
Look into the Display.template.php and do the same change es as the package does for the button.

Code (search for) Select

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

Code (replace with) Select

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


Bye
DIN1031


You are SO AWESOME!!! Thank you!!! :) :) :)

Pantash

HI, I'M Isuing smf 2.0 rc1-1 whit simple portal2.2 and your hide tag special 2.3.1 version, simple portal has a very good fuction to use a post made in the forum as a article in the index of the site, but here is the problem, for example i have hide tag special config to only hide content for guest, every registered user can see the hiden content, this work greate on the forum, but does not in the index of simple portal, where no matter is the admin or anybody, only can see the legend of hiden content, is there a way to fix this???.

i just note it happens the same y the recents topics function: ex forum/index.php?action=recent

Pd: sorry my poor english

thank in advance


ディン1031

#1043
Quote from: Pantash on June 16, 2009, 07:12:17 PM
HI, I'M Isuing smf 2.0 rc1-1 whit simple portal2.2 and your hide tag special 2.3.1 version, simple portal has a very good fuction to use a post made in the forum as a article in the index of the site, but here is the problem, for example i have hide tag special config to only hide content for guest, every registered user can see the hiden content, this work greate on the forum, but does not in the index of simple portal, where no matter is the admin or anybody, only can see the legend of hiden content, is there a way to fix this???.

i just note it happens the same y the recents topics function: ex forum/index.php?action=recent

Pd: sorry my poor english

thank in advance
Hmmm normal this should be done but i can look.
Normal i will only make this checkups only on the Display.php.
I will insert a option for it that overwrite the setup on each parseing and check if the use is allowed to see it every time. Wait for the next Version ;) (Install or Upgrade to Version 1.8.5).

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

ディン1031



Version 1.8.5 (17.06.09)
+ Option to unhide everywhere the hidden content for groups who allowed to view hidden content without posting.
- Upgrade included

Only a feature update ;).
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

Pantash

it works perfect now, you are awesome, thank you so much

farao25

Is there any way to put an image that will say "hidden content" and when you post reply or press thanks button there will be an image that will say"unhidden content" ?

ディン1031

Quote from: farao25 on July 08, 2009, 06:31:31 PM
Is there any way to put an image that will say "hidden content" and when you post reply or press thanks button there will be an image that will say"unhidden content" ?
... yes? :X
Usee an img tag to show a pic instead, look into the examples for it ;).
If you like an thank you button there is a way for the thank-o-matic.

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

farao25

yes i see but i meant how can you make it work automatically. For example when i post a link like this  [hide]link[/hide] i want an image to apear saying "hidden content" and "unhidden content" when you post reply or press thanks button.

ディン1031

... set it in the thank you or thank-o-matic option that the thank unhidden the content.
And for the unhidden content image use the second text area and enable the unhidden content information...
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

REGNARTS_

Hey ディン1031,

Got a question for you. :D
I tried installing 3 versions of the hide tag (2.3.0, 2.3.1, and  2.3.5). All of them returned the following error:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."

I'm using SMF 2.0 RC1.2 with Simple Portal 2.2.2 and the ECM Theme by NATI.
Let me know if you can help me or link me to a solution. I did a search on this site and couldn't find anything. Thanks in advance. :D

ディン1031

Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">
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

REGNARTS_

#1052
Quote from: ディン1031 on July 20, 2009, 12:21:08 AM
Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">

Ok thanks, I got it to work now, but now when I go to Admin > Posts and topics I don't see the name, "Hide tag" There is no text. I see a blank space and when I click on it, it brings me to the settings of the hide tags. Do you know why this is?

ディン1031

Quote from: REGNARTS_ on July 20, 2009, 04:41:51 AM
Quote from: ディン1031 on July 20, 2009, 12:21:08 AM
Normal it should work i will look at it later :)

Hmmm yes should work -> <install for="2.0 RC1,2.0 RC1-1,2.0 RC1.2">

Ok thanks, I got it to work now, but now when I go to Admin > Posts and topics I don't see the name, "Hide tag" There is no text. I see a blank space and when I click on it, it brings me to the settings of the hide tags. Do you know why this is?
Do you make the language changes for you langauge? ;)
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

REGNARTS_

#1054
Quote from: ディン1031 on July 20, 2009, 05:45:08 AM
Do you make the language changes for you langauge? ;)

My forum is in english and I didn't use MUI switch or the $language. :D

Here's the message from the error log:


qtime

thanks for this great coding!!

ディン1031

Quote from: REGNARTS_ on July 20, 2009, 06:03:27 AM
Quote from: ディン1031 on July 20, 2009, 05:45:08 AM
Do you make the language changes for you langauge? ;)

My forum is in english and I didn't use MUI switch or the $language. :D

Here's the message from the error log:


Than the language changes are missing... clear the files cache porbely it's not correct cleared.
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

REGNARTS_

Quote from: ディン1031 on July 22, 2009, 05:12:03 AM
Than the language changes are missing... clear the files cache porbely it's not correct cleared.

Hmm. I cleared the cache, doesn't work. Still getting errors. For now, I just went in Admin.php and comment out that code. I don't see a hide tag menu under "topic and settings" because I comment out the code, but I can still use the hide tags. Not sure why this is.

ディン1031

The hide tag is working with the install, you can only not setup things. But his is really strange... and you're sure that the language changes are correct done?
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

nay27uk

I wondered if you could help I have installed version235 on SMF 2.0RC1.2 but the tab in the admin section does not display I have had to manualy save the url for the settings into my browser favourits just so i can get to the settings.

Also when in the settings page the save button is just a very small line with no text in it.

And I have a question about the functionality of the mod, Does it hide atachements aswell because i have a VIP section in my forum i want everything hiding unless the user has paid for a V.I.P membership

Advertisement: