The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Hiding Postbit.
How do we get rid of the big grey box that contains user information?
I just want to use the page in a thread without it. Is there a way to hide it to none registered users and those not logged on? Cheers all. . . . |
#2
|
||||
|
||||
you can hide parts of the templates postbit and postbit legacy with simple conditionals...
https://vborg.vbsupport.ru/showthrea...t=conditionals [edit] sorry, just saw you use vb5, but maybe it will work there too. |
#3
|
||||
|
||||
Quote:
It may prove complicated for me to do it using permissions so I might just do it for all users. Thanks. . . |
#4
|
||||
|
||||
It's not too difficult to do at all. You can hide it with CSS and javascript/jquery although you will see it on pageload for a split second. The best way to do it is via template conditionals and should only take a couple lines of code to do it.
|
Благодарность от: | ||
DemOnstar |
#5
|
||||
|
||||
Quote:
My level would be finding the template responsible and erasing some stuff. Thanks. . . |
#6
|
||||
|
||||
What part exactly are you trying to hide? Stats or all userinfo? Does it matter if it is still on the page but just hidden?
Try this code to hide postbit. Add to your css_additional.css Code:
.userinfo { display: none; } .l-col__flex-3, .l-row__fixed--left > .l-col__flex-3 { margin-left: 0; } |
#7
|
||||
|
||||
Quote:
I am not sure it will matter as long as it isn't seen. But, does it matter? Are there microseconds of time lost by queries that are unnecessary? Your suggested code has done the job. Thanks for that. . . |
#8
|
||||
|
||||
At the risk of butting in here, I can write a small add-on if you want that will add the CSS Replicant posted, but only in the forums you choose.
edit: Oops...nevermind, I didn't pay enough attention to notice this is a vB5 discussion. |
Благодарность от: | ||
DemOnstar |
#9
|
||||
|
||||
Quote:
Not sure if anyone else would want to use it but it's all yours. . . |
#10
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|