Hide Content

Started by kelvincool, January 03, 2015, 11:08:17 PM

Previous topic - Next topic

lord alibaski

The forum I run is hidden anyway so no need to worry about guest looking at links, we just have a few ignorant members who just grab without saying thank you bit stupid when the links we use can detect who is downloading it via IP.

We used to use the hide tag special mod years ago this was the best one but it's not been updated in years would like to have something like this back on smf.

@kelvincool I looked at the say thanks mod but it doesn't really do what is needed but thanks anyway.

Lucarella

Maybe we have the same type of forum and I use hide content with say thank and everything works fine. The links are visible only after thanking.
It seems to me that in addition to the thanker, the links (or whatever content you want to hide)  also appear if the user inserts a post to the topic, but I don't remember well.
The only problem comes from the spoiler that must not be customized, it must be left by default, that is like this
[spoiler][/spoiler]and not like this, otherwise the links do not appear even after clicking on the thank you
[spoiler=YOUR TEXT][/spoiler]

lord alibaski

@Lucarella

No idea how your getting this to work with both modifications installed.

I have tried both installed but when I have them both installed the say thank you option isn't there?







How have you got this set up inside modifications.

Thanks

Lucarella

I sent you a PM with the settings I use

EDIT
It's normal for the thanks button not to appear in your own posts, but only in other people's posts.

lord alibaski

Cheers Lucarella will check when I'm back on my PC later.

Those pics one was taking with me being admin the other was taken again with a test account with normal permissions.

Hopefully your settings will fix the problem I am seeing.

Thank you

lord alibaski

Update those settings worked perfect Lucarella much appreciated for that. I know why it didn't work last time I tried it I uninstalled the hide content mod for some strange reason and didn't notice when I took the screenshot.

Many thanks for your help.

Lucarella

Hi, tonight I realized that I and a friend of mine on another forum have this problem:
https://www.simplemachines.org/community/index.php?topic=588394.msg4170984#msg4170984
I uninstalled the hide content mod (2.3.2) and everything went back to normal, so the problem is caused by the mod.

Even if it's not a serious problem, is there a way to solve it?

Thanks

kelvincool

@Lucarella I have released v2.3.3 that addresses this issue.

Lucarella

Thanks, now the problem is gone ;)

Duban Black

@kelvincool there is also an error when quoting links, the urls that are part of a message that includes HTML are distorted by new code that is added.

Original code:
<div class="ryehead" style="background: url(https://i.imgur.com/SJxuWKG.jpeg);">
<img src="https://i.imgur.com/zhas9VU.jpeg" width="120px">
<div class="ryetitulo">Viejos hábitos
<span style="font-size: 10px;"><a href="https://harrypotterhead.com/foro">Club de duelos</a></span></div></div>

Code when quoting
<div class="ryehead" style="background: url([url="https://i.imgur.com/SJxuWKG.jpeg);"]https://i.imgur.com/SJxuWKG.jpeg);[/url]">
<img src="[url="https://i.imgur.com/zhas9VU.jpeg"]https://i.imgur.com/zhas9VU.jpeg[/url]" width="120px">
<div class="ryetitulo">Viejos hábitos
<span style="font-size: 10px;"><a href="[url="https://harrypotterhead.com/foro/"]https://harrypotterhead.com/foro/[/url]/foro/index.php">Club de duelos</a></span></div></div>

When I uninstall the mod it works correctly when quoting, so it's definitely a mod issue

kelvincool

@Duban Black this should be fixed in v2.3.4 now

puravida47

Hi Kelvin
In installed your update and main issue now,
1. it does not hide the text.
It creates the green background text, but its visible for any person looking at the topics.

2. If I include a URL link inside the hidden content, it divides the content random all over that green box.

I tried several times, and no luck.
Please advise.
thanks

kelvincool

@puravida47 I cannot replicate those issues.

1. Are you logged in as admin or moderator? Can guests see the content?

2. Can you attach a screenshot and the exact text you are posting in the post?

Can you revert to the previous version 2.3.3 and see if those issues are still there? Were you on 2.3.3 previously?

Advertisement: