• Login
  • Register
  • Login Register
    Login
    Username:
    Password:
  • Home
  • Members
  • Team
  • Help
  • More
    • YouTube
    • Facebook
User Links
  • Login
  • Register
  • Login Register
    Login
    Username:
    Password:

    Quick Links Home Members Team Help
    More Subscribe YouTube Facebook
    D&D Forums - MyBB Plugins & Themes MyBB Ressources Free MyBB Themes Support [Emerald] Removing Mobile Theme

    Thread Closed 
     
    • 0 Vote(s) - 0 Average
    [Emerald] Removing Mobile Theme
    Krax
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: Dec 2017
    Reputation: 0
    #1
    12-11-2017, 05:34 PM
    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.
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #2
    12-11-2017, 05:48 PM
    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 ?
    Krax
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: Dec 2017
    Reputation: 0
    #3
    12-11-2017, 06:13 PM
    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>
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #4
    12-11-2017, 09:57 PM
    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>
    Krax
    Offline

    Junior Member

    Posts: 5
    Threads: 2
    Joined: Dec 2017
    Reputation: 0
    #5
    12-11-2017, 10:14 PM
    Didn't work :/
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #6
    12-11-2017, 11:46 PM
    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
    AmazOuz
    Offline

    Administrator

    Posts: 272
    Threads: 34
    Joined: Oct 2017
    Reputation: 11
    #7
    12-14-2017, 12:59 AM
    Fixed. I close this thread
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)



    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    D&D Company

    Home · Members · Team · Help · Contact

    © D&D - Powered by MyBB

    Paris, France

    07 53 04 58 86

    business@developement.design

    About the company We are a growing company of web developers & designers, specialized in MyBB plugins & themes. Our work is our propaganda.

    Linear Mode
    Threaded Mode