The Arcive of vBulletin Modifications Site. |
|
Hidden Signature Hack Details »»
|
|||||||||||||||||||||||||
Hack Author
Name: KBV E-Mail: havok@naruto.no Forums: http://www.naruto.no/forum Description: This will "hide" the signature field and will make the user have to push a link to show it. Very usefull for forums with HUGE signatures. Notes: If you have installed Comicforum.de's spoilertag modification (https://vborg.vbsupport.ru/showpost....7&postcount=11) you can skip step 1. If you use this hack, please click on the INSTALL button. Changelog: V0.1 (10th february 2005) * Hidden Signature Hack released! Installation Time: 3 min. Testing: Tested on vBulletin 3.0.3 Files to Modify: * None Templates to Modify: * postbit * postbit_legacy * Common Templates -> "headinclude" INSTALLATION: Step 1: Goto your main skin (not child skins) and "Edit Common Templates", in the "headinclude" part add the code Code:
<script type="text/javascript">
<!--
function showSpoiler(block) {
block.nextSibling.nextSibling.style.display ="block";
block.parentNode.removeChild(block);
}
// -->
</script>
Goto your main skin and edit "postbit" and "postbit_legacy". Replace Code:
<!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> Code:
<!-- spoiler signature --> <div>__________________<br /><a onclick="showSpoiler(this);"><u>$post[username]'s signature</u></a> <span style="display:none"> <!-- sig --> <div> $post[signature] </div> <!-- / sig --> </span> </div> <!-- spoiler signature--> And you're done. Enjoy! ![]() Copyright: The actuall javascript was NOT made by me, but was developed by one of www.comicforum.de's users, TheSmallOne. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Interesting. I would be great to have this as an option that each user could turn on/off in their own CP instead of just globally. Thanks for the hack!
|
|
#3
|
||||
|
||||
|
Interesting, thanks for sharing...
|
|
#4
|
|||
|
|||
|
Thanks.
If anyone knows how to hack this so that a user kan turn it on and off in their CP, it would be great. ^.^ |
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
|||
|
|||
|
Nice idea. Just pump out ideas for this hack.
I'll see what I can do with some of them.
|
|
#7
|
||||
|
||||
|
Quote:
Quote:
|
|
#8
|
||||
|
||||
|
Quote:
|
|
#9
|
||||
|
||||
|
Quote:
|
|
#10
|
||||
|
||||
|
or... if you wanted to get really fancy, you could have an option to set up parameters: if the sig is over X number of characters (or contains any BB code) then the sig is hidden by default
|
![]() |
|
|