![]() |
Scrollbars for oversized signatures
1 Attachment(s)
I've seen image resize mods and stuff like that, but the scrollbar seems better in my experiences.
This requires just one template edit, no downloading or uploading. ... And it should work on any version of vB. Live Demo In the POSTBIT template find: Code:
$post[signature] Code:
<div style="max-width:900px; max-height:150px; overflow:auto;"> Adjust what I have in red to your liking. ... some forums are wider than others. http://img190.imageshack.us/img190/3116/sigscroll.png |
This is just what I wanted! Thank you so much!!
|
I'm glad you like it. :)
|
Simple yet amazing...
Bundle of Thanks :D |
You're more than welcome. :D
|
very nice kickman, very nice you'll be a Jedi master yet...
|
Well you have taught me, Master RW ...
|
thanks
|
Cool,
thank u.. |
Quote:
Quote:
|
well done
|
It doesn't work. Nothing's happening when i replace the code.
|
Worked pretty good, thanks & kind regards ^_^
|
Quote:
Could you show me the code you have? |
hey,
I made copy and paste for the cood ?! but nothing changed I have version 3.8.3 regards |
If you copied and pasted correctly, the scrollbars are not showing because none of the signatures on your board go beyond the dimensions that are in the code; therefore, they are not needed.
If you still have signatures that are too big, then you probably did it wrong or you need to change the dimensions to better fit your theme. It works perfect on my 3.8.3 I should've added this in the first post... If you use LEGACY style (username and everything on the left, post on the right or vice versa on some themes) then you you should edit the postbit_legacy template instead. |
I made a change in width an hieght in the code to 20pix for each :eek: also I change it in postbit_legacy... and still nothing happend
|
This works for message too that are insanely long.
replace $post[message] with: Code:
<div style="max-height:1000px; overflow:auto;"> Great hack! |
Quote:
but this od fore the messagr I need it for the signeture regards |
Sweeeeet.
Installed. Thanks. :) |
Cool..Installed :D
|
Quote:
|
Installed but many users seem to dislike it... probably won't last long. :(
Can the width be set to a percentage instead of pixels? |
Can this be added for some usergroups only?
|
Not as it is currently written but I think you could use vB conditionals (<if> statements) to limit it to specified usergroups.
|
Thanks - I guess I will have to wait for someone else then... ;)
|
Quote:
Code:
<if condition="is_member_of($post, 2, 5, 6, 7 )"> Code:
</if> |
I would like to use this but I run 4.1.2, could some one update the coding on this please?
|
4.1.2 info here: https://vborg.vbsupport.ru/showthread.php?t=248702
|
Thanks very much :) BirdO
|
this nice :)
|
This is just awesome.
|
All times are GMT. The time now is 04:07 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:
|