![]() |
User info collapsable table on left side of postbit_legacy
******* User info collapse on postbit_legacy v.9 **********
I had a number of users complaining about how much "white space" there was on posts where the person had only entered 1 line of text because of the size of the user information below the username on the left hand side. This hack puts the user information (online/offline status, location, post count, join date, etc) in the postbit_legacy template (only works if you are using the legacy postbit) into a collapsable table like many of the other collapsable tables in vB3. Users can collapse/expand this information at will while viewing a thread and the status is saved in the cookie. This is the very first javascript code I've ever written so go easy on me ;) . Please click on install if you use this hack! |
Does this collpase all or just the ones you choose ?
|
It collapses all. You can see it here if you want - http://www.turbodieselregister.com/f...d.php?t=105948 . Just click on the up arrow below any of the names. It does it on the fly so you can switch back and forth at any time.
|
oh this is SOOO being installed.... our postbits are so damn long.
thats steve i needed this. |
Quote:
|
Quote:
|
Great, Thanks steve ima have a fiddle.
|
nice idea! thx
|
Wow, maybe with this mod I will be back to the traditional postbit_legacy!
|
Please click on install if you guys use this that way I know how many are running it! I use that to judge when to go full release.
|
Moved to full release - no known issues
|
only works if you are using the legacy
postbit Where can I turn this on? |
I may install this when I feel like making some edits to the hack. I have added so much to my postbit legacy that I would have to add them all... :(
|
Quote:
|
* integra99 clicks Install!
I redid your template hacks a bit though.. I like it better :) |
beauty, nice job
|
Okay, installed this and it looks good, however, I am experiencing a small problem. Whenever you click on the small arrow to collapse the user info, all it does is take you to the top of the page and the user info stays open. Here is a link to one of my posts there so you can see for yourself: http://www.gothicgaming.com/forum/showthread.php?t=3
|
Doing a hard refresh of your browser CTRL-F5 should do the trick.
|
Quote:
|
Email sent, and thanks.
|
Quote:
|
I think I sent you the backups and not the modified files. I will check and resend them
|
Resolved and working well, thanks.
*clicks installed* |
I am having a slight problem where I'm supposed to post the following code in my postbit:
Code:
<table class="tborder" cellspacing="1" border="0" width="100%"><tbody> Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> |
Got this one installed, works good!
Questions: How can I make the title / rank visible? It seems to hide it. Also, how can I get rid of the border around the table? I tried sniffing around the code for the border width code, but everything was set to zero! Help me! Please! :nervous: |
Nice mod. Friendly for those who don't like postbit clutter, but also allows a lot for those info hounds. ;)
DJDarknez: If you haven't found a workaround yet: just add the table code below the title/rank (inbetween the divs), then it won't hide them. And change this in clientscript/vbulletin_global.js (there's 2 of these) from thead|tcat to your new CSS class names for a different thead and tcat for the postbit... PHP Code:
Added: you can also change the table class from tborder to something else to customize the border (easier). Chris |
How hard is it to change this so only some things collapse?
|
Quote:
|
edit......
Officially uninstalled. Followed instructions to a T, but gave me, and my users, this message: Warning: Cannot modify header information - headers already sent by (output started at /home/djd/public_html/forums/includes/functions_showthread.php:673) in /includes/functions.php on line 2946 whenever trying to view a thread. |
Hello Steven, thanks for this hack :)
a question :p, in your installation, kept silent asks to replace a complete part of text, regrettably, I have to modify my postbit, can you put, just change has to make in the postbit Please ? |
I sent a pm to you, Steven, asking for permission to port this over to 3.5 :)
Please respond when you have a chance :) |
Quote:
|
Thanks ;D I got a few questions tho...
how does this works? I mean, once u click on the arrow, it stays collapsed till?? I mean, each time the user logs out he has to re-collapse it? or every time he goes to the forum? Is there a way to keep by default, the user info collapsed? n_n |
It sets a cookie on the users PC for the setting. They will stay collapsed until they either uncollapse them or delete their cookies.
|
Is there anything similar for 3.6.8 or is it possible to set it from default Vbulletin options ? I can't find it....newbie in vBUlletin...:(
|
All times are GMT. The time now is 05:03 AM. |
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:
|