showhidelayer signature using javascript
3 posters
Page 1 of 1
showhidelayer signature using javascript
I would like to know how to hide user signatures using javascript on phpbb2 subsilver. The code itself is the same as the showhidelayer code. I just need to know how to write it around the signature id.
Re: showhidelayer signature using javascript
You can set it in your administration panel where users can not have signatures.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: showhidelayer signature using javascript
Hello EsperofNight,
If you want a show/hide feature for the signatures, try adding this script :
Administration Panel > Modules > Javascript codes management > Create a new script
Title : Show/Hide Signature
Placement : In the topics
Paste the code below and save :
By default of the script signatures will be hidden however, they can be shown by clicking a button present in each message that contains a signature.
If you want a show/hide feature for the signatures, try adding this script :
Administration Panel > Modules > Javascript codes management > Create a new script
Title : Show/Hide Signature
Placement : In the topics
Paste the code below and save :
- Code:
$(function() {
$('.signature_div').before('<input class="liteoption hidesig" type="submit" value="show/hide signature" style="margin-top:10px;">').hide();
$('.hidesig').click(function() { $(this).next().toggle() });
});
By default of the script signatures will be hidden however, they can be shown by clicking a button present in each message that contains a signature.
Similar topics
» Javascript in the signature not showing.
» Javascript- More then 1 javascript code
» Signature options not available and signature not showing on posts
» javascript
» javascript help plz
» Javascript- More then 1 javascript code
» Signature options not available and signature not showing on posts
» javascript
» javascript help plz
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum