KBV
02-09-2005, 10:00 PM
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.php?p=543707&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<script type="text/javascript">
<!--
function showSpoiler(block) {
block.nextSibling.nextSibling.style.display ="block";
block.parentNode.removeChild(block);
}
// -->
</script>
Step 2:
Goto your main skin and edit "postbit" and "postbit_legacy". Replace<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->with<!-- 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-->WARNING! It's important that you seperate the <div> tag from the <span> tag, THEY CAN NOT BE ON THE SAME LINE!
And you're done. Enjoy! ;)
Copyright: The actuall javascript was NOT made by me, but was developed by one of www.comicforum.de (http://www.comicforum.de)'s users, TheSmallOne.
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.php?p=543707&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<script type="text/javascript">
<!--
function showSpoiler(block) {
block.nextSibling.nextSibling.style.display ="block";
block.parentNode.removeChild(block);
}
// -->
</script>
Step 2:
Goto your main skin and edit "postbit" and "postbit_legacy". Replace<!-- sig -->
<div>
__________________<br />
$post[signature]
</div>
<!-- / sig -->with<!-- 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-->WARNING! It's important that you seperate the <div> tag from the <span> tag, THEY CAN NOT BE ON THE SAME LINE!
And you're done. Enjoy! ;)
Copyright: The actuall javascript was NOT made by me, but was developed by one of www.comicforum.de (http://www.comicforum.de)'s users, TheSmallOne.