2017-01-31, 05:25 PM
Hi,
Request for php and plugin masters.
I have php code.
I want add this php result in mybb verb like.
User resolution: {$screenresolution}
The verb {$screenresolution} I want use menualy every where on mybb tamplate.
To get screen resolution.
Can anyone please make this plugin
I will be very thankful you for this one.
Request for php and plugin masters.
I have php code.
<?php
session_start();
if(isset($_SESSION['screen_width']) AND isset($_SESSION['screen_height'])){
echo 'User resolution: ' . $_SESSION['screen_width'] . 'x' . $_SESSION['screen_height'];
} else if(isset($_REQUEST['width']) AND isset($_REQUEST['height'])) {
$_SESSION['screen_width'] = $_REQUEST['width'];
$_SESSION['screen_height'] = $_REQUEST['height'];
header('Location: ' . $_SERVER['PHP_SELF']);
}
?>
I want add this php result in mybb verb like.
User resolution: {$screenresolution}
The verb {$screenresolution} I want use menualy every where on mybb tamplate.
To get screen resolution.
Can anyone please make this plugin
I will be very thankful you for this one.