The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
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]"> |
#11
|
|||
|
|||
I took the basic idea and crunched it down as far as I possibly could to allow readers to get an extremely small layout if they tell it to collapse everything.
Example usage: http://forums.metalparachutes.com/showthread.php?t=9 |
#12
|
||||
|
||||
Quote:
|
#13
|
|||
|
|||
Quote:
And naturally the page isn't being promoted yet for public use, thus the lack of activity (and random broken things as I experiment since I'm not bothering with a test style while the forum isn't ready for use). Trying to get as many kinks worked out and all the custom changes I want in before trying to build up the community. I'm loving the crap out of vB 3.5 though. Very worth the $$$. |
#14
|
|||
|
|||
will this work with the latest version
|
#15
|
|||
|
|||
I have it installed on my board and running on 3.5.1 just fine. You'll have to redo the code edit after upgrading obviously.
I haven't had a chance to test Oblivions code though but hope to do that very soon. Then I'll send out an email with an upgrade. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|