Page 1 of 1

Thanks 2 Unhide 3.2

Posted: Thu May 16, 2019 2:15 pm
by bradipo19
Hi guys,
I hope that this is the right section for my request.
I have seen this post viewtopic.php?t=1723035 and I would need the same ext for phpBB 3.2.
Anyone knows if a similar ext is in development or if anyone can do this?

Thanks a lot.

Re: Thanks 2 Unhide 3.2

Posted: Thu May 16, 2019 2:25 pm
by Exabot
BBCode Usage:

Code: Select all

[pswdspoil={SIMPLETEXT}]{TEXT}[/pswdspoil]
HTML Replacement:

Code: Select all

<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
<b>Spoiler</b>: <input type="button" value="Kuva" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="password=prompt('Please enter password to view this message...',' ');
if (password=='{SIMPLETEXT}')
{
alert('Password Accepted!');
if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '')
{
  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = '';
  this.innerText = '';
  this.value = 'Peida'; }
else
{
  this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none';
  this.innerText = '';
  this.value = 'Kuva';
}
}
">
</div>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset;">
<div style="display: none;">
{TEXT}
</div>
</div>
</div>
Help Line:

Code: Select all

Password Spoiler:  [pswdspoil=password]Message[/pswdspoil]

Re: Thanks 2 Unhide 3.2

Posted: Thu May 16, 2019 2:44 pm
by bradipo19
Thanks for this solution but i search an ext with a counter of "thanks" received.

Actually I use this ext viewtopic.php?f=456&t=2259046 for thanks on my site.
U think that is possible to improve with "thank 2 unhide"?

Re: Thanks 2 Unhide 3.2

Posted: Thu May 16, 2019 2:45 pm
by </Solidjeuh>
Users must know the password for this Exabot, the op asked to unhide link/text on reply or with a thanks button. Also, you can see the password when you quote the message.

Re: Thanks 2 Unhide 3.2

Posted: Tue May 21, 2019 1:09 pm
by bradipo19
Someone can help me?

Re: Thanks 2 Unhide 3.2

Posted: Tue May 21, 2019 1:55 pm
by </Solidjeuh>
This was a great MOD back in the days: viewtopic.php?f=434&t=560705#p3076573, Maybe someone can convert this to a ext?