![]() |
change usercp settings when specific style is set
I would love to change some user cp display settings when specific forum style is set, for example when style2 is selected, forum options under user control panel :
Visible Post Elements: all three options( show signatures, show avatars, show images) to be deactivated. Is it somehow possible to set that? |
You could do that with some CSS in the additional.css template for that particular style. For example, try:
Code:
.signaturecontainer, .postuseravatar { |
thanks, exactly what I was looking for!
The images in the threads recognized by IMG tags , that's the third option in USER CP by those two you typed. |
Okay, try this:
Code:
.signaturecontainer, .postuseravatar, .content img:not(.inlineimg) { |
yes, it's removing the image content completely :up:
can you make it just to leave a link or code to original image external location, without actually showing the bbcode thumbnail? LOL I was trying to find that variable whole evening! |
Quote:
Here's what I would do instead. Remove the CSS you added to the "additional.css" template. Now, create a plugin hooked at "postbit_display_complete" with the following code: PHP Code:
|
All times are GMT. The time now is 06:05 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:
|