D&D Forums - MyBB Plugins & Themes
[Emerald] Removing Mobile Theme - Printable Version

+- D&D Forums - MyBB Plugins & Themes (https://developement.design/forum)
+-- Forum: MyBB Ressources (https://developement.design/forum/forumdisplay.php?fid=5)
+--- Forum: Free MyBB Themes (https://developement.design/forum/forumdisplay.php?fid=7)
+---- Forum: Support (https://developement.design/forum/forumdisplay.php?fid=12)
+---- Thread: [Emerald] Removing Mobile Theme (/showthread.php?tid=7)



[Emerald] Removing Mobile Theme - Krax - 12-11-2017

Hi, I currently am trying to disable the mobile theme for this theme, as it breaks numerous plugins I have installed on the homepage, such as the shoutbox and servers list. If there's a way to disable the theme so it simply would show the desktop version on mobile, that would be great.


RE: [Emerald] Removing Mobile Theme - AmazOuz - 12-11-2017

Hello,
It is not easily possible for this version, because the mobile design is included in the same html/css code as desktop view.
Can you give me the index template so i see if i may help you to get it fetching the mobile design ?


RE: [Emerald] Removing Mobile Theme - Krax - 12-11-2017

Here's my full index template: 

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}

    
<div class="forum" style="float: left;">{$serversboard}{$inferno_shoutbox}{$forums}{$boardstats}</div>
<div class="side" style="float: right; width: 22%; margin: auto;">

    
    <table style="" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">
<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-shield"></i>  Staff of the Month
  </td>
</tr>

<tr>
  <td class="trow2" style="padding:11px">
     <a href="#">Staff of the Month, December: N/A</a>
  </td>
</tr>
</tbody></table>

<table style="margin-top: 10px; margin-bottom: 10px;" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">

<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bar-chart-o"></i> Statistics
  </td>
</tr>

<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Members :</span> <span style="float:right">{$stats['numusers']}</span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Posts :</span> <span style="float:right">{$stats['numposts']} </span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Threads :</span> <span style="float:right">{$stats['numthreads']}</span>
  </td>
</tr>
<tr style="">
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Newest Member :</span> <span style="float:right"><a href="#">{$newestmember}</a></span>
  </td>
</tr>
        {$topStats['LastThreads']}
        
        
            <iframe src="https://discordapp.com/widget?id=379277695311282176&theme=dark" width="330" height="500" allowtransparency="true" frameborder="0"></iframe>
            
        
</tbody></table>
</div>
<br class="clear" />
{$footer}
</body>
</html>



RE: [Emerald] Removing Mobile Theme - AmazOuz - 12-11-2017

Can you try this ?

Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<div class="forum" style="float: left;">{$serversboard}{$inferno_shoutbox}{$forums}{$boardstats}</div>
<div class="side" style="float: right; width: 22%; margin: auto;">

    
    <table style="" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">
<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-shield"></i>  Staff of the Month
  </td>
</tr>

<tr>
  <td class="trow2" style="padding:11px">
     <a href="#">Staff of the Month, December: N/A</a>
  </td>
</tr>
</tbody></table>

<table style="margin-top: 10px; margin-bottom: 10px;" class="tborder" border="0" cellpadding="{$theme['tablespace']}" cellspacing="{$theme['borderwidth']}">

<tbody><tr>
  <td style="font-weight: bold;" class="thead">
 <i class="fa fa-bar-chart-o"></i> Statistics
  </td>
</tr>

<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Members :</span> <span style="float:right">{$stats['numusers']}</span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Posts :</span> <span style="float:right">{$stats['numposts']} </span>
  </td>
</tr>
 
<tr>
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Threads :</span> <span style="float:right">{$stats['numthreads']}</span>
  </td>
</tr>
<tr style="">
  <td style="padding: 12px;" class="trow2">
 <span style="float:left">Newest Member :</span> <span style="float:right"><a href="#">{$newestmember}</a></span>
  </td>
</tr>
             
</tbody></table>
</div>
<div style="float: right; width: 22%; margin: auto;">
{$topStats['LastThreads']}
<iframe src="https://discordapp.com/widget?id=379277695311282176&theme=dark" width="330" height="500" allowtransparency="true" frameborder="0"></iframe>
</div>
<br class="clear" />
{$footer}
</body>
</html>



RE: [Emerald] Removing Mobile Theme - Krax - 12-11-2017

Didn't work :/


RE: [Emerald] Removing Mobile Theme - AmazOuz - 12-11-2017

Can you please contact me via PM, create an account on your forum and give me access to templates so i can edit in live, if you matter Wink


RE: [Emerald] Removing Mobile Theme - AmazOuz - 12-14-2017

Fixed. I close this thread