The Arcive of vBulletin Modifications Site. |
|
User Info Collapsable Postbit in Legacy Details »»
|
|||||||||||||||||||||||||
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:
Supporters / CoAuthors Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
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 /
|
|
#3
|
||||
|
||||
|
u beat me to it, was gonna ask exactly the same thing...lmao
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
|||
|
|||
|
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
.
|
|
#6
|
||||
|
||||
|
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. |
|
#7
|
|||
|
|||
|
Did you upload the xml into the product manager?
Without the hook in there, it won't save your setting to your cookies. |
|
#8
|
||||
|
||||
|
works a treat...nice hack
|
|
#9
|
|||
|
|||
|
<font color="Lime">*Clicks install</font>
|
|
#10
|
||||
|
||||
|
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]">
|
![]() |
|
|