WebMP Skin: Bootstrap v5.1 (9 aug. 2013) | Page 7

Discussion in 'MPExtended' started by Dragy, March 15, 2013.

  1. Wiedmann

    Wiedmann Portal Pro

    Joined:
    June 22, 2007
    Messages:
    107
    Likes Received:
    12
    Ratings:
    +27 / 3
    Home Country:
    Germany Germany
    OK. Have found the problem. I don't use authentication (from mpextended). If I enable authentication I have the menu.



    e.g. the page: "http://example.com/WebMediaPortal/Settings". Without authentication this part is completely missing in the generated HTML:
    HTML:
    1. <div id="wrap">
    2.  
    3.     <div class="navbar navbar-inverse navbar-fixed-top">
    4.         <div class="navbar-inner">
    5.             <div class="container">
    6.                 <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
    7.                 <span class="icon-bar"></span>
    8.                 <span class="icon-bar"></span>
    9.                 <span class="icon-bar"></span>
    10.                 </button>
    11.                 <a class="brand hidden-desktop" href='/WebMediaPortal/'>WebMediaPortal</a>
    12.              
    13. <div class="nav-collapse collapse">
    14. <ul class="nav">
    15.     <li  ><a href='/WebMediaPortal/'><i class="icon-home icon-white"></i> Startseite</a></li>
    16. <li  ><a href="/WebMediaPortal/MusicLibrary">Musik</a></li>  <li ><a href="/WebMediaPortal/MovieLibrary">Filme</a></li>
    17.         <li class="dropdown "    >
    18.         <a href='/WebMediaPortal/Status' class="dropdown-toggle" data-toggle="dropdown">TV-Server <b class="caret"></b></a>
    19.      
    20.             <ul class="dropdown-menu" >
    21.                 <li><a href="/WebMediaPortal/Television/TVGuide">TV-Programm</a></li>
    22.                 <li><a href="/WebMediaPortal/Television/Recordings">Aufnahmen</a></li>
    23.                 <li><a href="/WebMediaPortal/Schedule">geplante Aufnahmen</a></li>
    24.                 <li><a href="/WebMediaPortal/Status">Status</a></li>
    25.             </ul>
    26.         </li>
    27. </ul>
    28. </div><!--/.nav-collapse -->            
    29.                 <div class="nav-collapse collapse">
    30.                     <ul class="nav pull-right">
    31.                         <li class="dropdown">
    32.                             <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="icon-user icon-white"></i> Willkommen <strong>admin</strong>! <b class="caret"></b></a>
    33.                             <ul class="dropdown-menu">
    34.                                 <li><a href='/WebMediaPortal/Settings'><i class="icon-wrench"></i> Einstellungen</a></li>
    35.                                 <li><a href='/WebMediaPortal/Account/LogOff'><i class="icon-off"></i> Abmelden</a></li>
    36.                             </ul>
    37.                         </li>
    38.                     </ul>
    39. <form action="/WebMediaPortal/Search/Results" class="navbar-search pull-left" method="get"> <input type="text" name="text" class="search-query span2" placeholder="Suchen..." /> </form>                </div>
    40.             </div>
    41.         </div>
    42.     </div>
    43.  
    44.     <div class="container">
    45. <div class="page-header"><h1>Einstellungen <small></small></h1></div>      
    46.  
    Is this your fault, or WebMP?
     
    • Like Like x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Seems like a Web MP bug
     
  4. Wiedmann

    Wiedmann Portal Pro

    Joined:
    June 22, 2007
    Messages:
    107
    Likes Received:
    12
    Ratings:
    +27 / 3
    Home Country:
    Germany Germany
    Well, first and foremost this is a bug in the skin...

    In your layout you have: Only show the menu if the user is authenticated. This can't work if authentication is disabled.

    But I think there is also problem in WebMP: How can I know that the authentication is disabled. My first suspicion was "ViewBag.Availability.Authentication". But this doesn't work. Of course, the MPExtended/WebMP source code isn't documented. So I have no idea how this method should work. And on the fly I have found no other way.

    My current workaround you can see in the diff.
     

    Attached Files:

    • Agree Agree x 1
  5. Dragy

    Dragy Portal Pro

    Joined:
    April 27, 2009
    Messages:
    778
    Likes Received:
    303
    Gender:
    Male
    Occupation:
    Student
    Ratings:
    +332 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thank you for finding out. Are the devs reading here?
     
  6. 4irm
    • Premium Supporter

    4irm MP Donator

    Joined:
    August 9, 2007
    Messages:
    104
    Likes Received:
    1
    Ratings:
    +1 / 0
    Home Country:
    Germany Germany
    I would like to push that issue. Neither with enabled nor with disabled authentication the skins works.

    Thank you!
     
  7. Entdecker

    Entdecker Portal Pro

    Joined:
    May 28, 2014
    Messages:
    95
    Likes Received:
    8
    Gender:
    Male
    Ratings:
    +25 / 0
    Home Country:
    Germany Germany
    Show System Specs
    I hoppe someone can help me.

    Can someone tell me what I have to do to use this WebMP Skin "Bootstrap" whis the newes WebMediaPortal Version 0.60 beta9.

    I am grateful for all your suggestions.

    Entdecker
     
  8. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,602
    Likes Received:
    449
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +675 / 2
    Home Country:
    England England
    Show System Specs
  9. Entdecker

    Entdecker Portal Pro

    Joined:
    May 28, 2014
    Messages:
    95
    Likes Received:
    8
    Gender:
    Male
    Ratings:
    +25 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Yes I know that "Bootstrap" in the last years was not in the development/Discontinued.

    Please see my answer here to WebMP Skin: Simplicity

    Because I know this I hope it is possible to use the WebMP Skin "Bootstrap" or "Simplicity" whis very small changes.

    I am realy grateful for any suggestion.

    cu,

    Entdecker
     
  10. SpudR
    • Team MediaPortal

    SpudR Documentation Group

    Joined:
    July 27, 2007
    Messages:
    2,602
    Likes Received:
    449
    Occupation:
    CTO, MD
    Location:
    Yorkshire, UK
    Ratings:
    +675 / 2
    Home Country:
    England England
    Show System Specs
    :) Replied there...
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!