CSS with template conditionals
#1 08-03-2016 
Hi Lee,

do you remember how to do this?

http://web.archive.org/web/2013022821041...-128.html?

For each category (xthreads fields filter) I had a class in css, so different background color.

I would like change background to forumdisplay_threads only when thread is public ( <if $mybb->user['usergroup'] == 4 && $GLOBALS['threadfields']['showorhide'] == 'show' then> background yellow</if> ) and only visible to admins.

Thank you in advance :*

#2 08-03-2016 
Nothing Lee..I used wrong name of Custom Thread Field in forumdsplay_thread :/

#3 09-03-2016 
lol so this is solved?

#4 09-03-2016 
Yes, solved Big Grin



Sorry, that is a members only option
Warning [2] Unknown: open(/mnt/home/leefish/tmp/sess_a3nvqpgk471398k34ogudtq9h2, O_RDWR) failed: Disk quota exceeded (122) - Line: 0 - File: Unknown PHP 5.6.40-81+0~20241224.91+debian12~1.gbp02231c (Linux)
File Line Function
[PHP]   errorHandler->error
Warning [2] Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/mnt/home/leefish/tmp) - Line: 0 - File: Unknown PHP 5.6.40-81+0~20241224.91+debian12~1.gbp02231c (Linux)
File Line Function
[PHP]   errorHandler->error