TinyPortal
Development => Support => Topic started by: aerojad on December 17, 2007, 08:00:02 AM
Hello there. I was wondering if there was a way to disable a certain bloc on a per-skin basis. I have multiple skins installed on my board, but the new default I want to go with basically has the user panel already integrated into it. I want to get rid of the redundancy on that skin but not screw with other skins that members have chosen.
Even if it's a dirty hack that would involve a not statement or something to that end with sql/php, I'm all ears.
Thank you.
global $user_info;
if ($user_info['theme'] == 4)
echo 'your code between the single quotes';
Replace the number 4 with your theme ID. You can do multiple of these if statements of course.