MyBB Hacks

Full Version: get screen width using php in template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello master of mybb and spacial php masters..

i am already use Template Conditionals mybb plugin and try to make
<if content usign screen width but its'nt work properly.

PHP Code:
<if window.screen.width <= 680 then> You are using mobile device</if>

 <if window.screen.width >= 680 then> You are using computer</if>


but itsn't work please fix this issue.

Reference URL's