![]() |
User Info Collapsable Postbit in Legacy
This hack was originally released by Steve St.Lauren for vb3.0.x in this thread -
https://vborg.vbsupport.ru/showthread.php?t=68043 This is a port of that hack and ALL credit goes to Steve for this modification. I did nothing more then make one of the edits a plugin and add a phrase. Please click da instally thinga magigy ;) O and you won't have to clear any cookies for this to work, or for it to remember your settings. Things To Do: 1. Edit /clientscript/vbulletin_global.js (1 modification) 2. Import new product xml 3. Edit postbit_legacy template 4. Edit postbit template Changes:
|
this is pretty cool :) now how can you add extra fileds to it though? like say i want to ad alot of the profile fields to it /
|
u beat me to it, was gonna ask exactly the same thing...lmao
|
Any extra profile fields or entries you do into the signature that is under location and before the msn icons will be inside this :)
Just put the code in between the two edits :) To summarize, the first postbit_legacy edit is the start of the box. The last edit is the end of the box. Everything between there is in the collapse. |
Thanks for porting this over Chris. When I convert to 3.5 in a few months (assuming it's stable) I'll be clicking install ;) .
|
Am I doing something wrong, or should this not be global.
i.e. when I collapse the postbit in one thread and then go to another thread the postbit is no longer collapsed. |
Did you upload the xml into the product manager?
Without the hook in there, it won't save your setting to your cookies. |
works a treat...nice hack
|
<font color="Lime">*Clicks install</font>
|
Quote:
PMs don't use the $post[postcount] figure, so just create a false one. I used 99.. My button code: Code:
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapseuserinfo('postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>')"><img id="collapseimg_postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_postbit_legacy_userinfo].gif" alt="" border="0" /></a> Code:
<tbody id="collapseobj_postbit_legacy_userinfo<if condition="THIS_SCRIPT == 'private'">99<else />$post[postcount]</if>" style="$vbcollapse[collapseobj_postbit_legacy_userinfo]"> |
All times are GMT. The time now is 11:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|