WordPress.org

Ready to get started?Download WordPress

Forums

Live Stream Badger
[resolved] Widget not Working. And, videos can't be centered? (12 posts)

  1. DrLame
    Member
    Posted 1 year ago #

    The LSB Widget is empty when I drag it over to my active widgets and only contains a link to the menu creator.

    Also, I was hoping to be able to center the video on a page, but even centering the tag text seem to leave the video oriented to the left.

    http://wordpress.org/extend/plugins/live-stream-badger/

  2. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    Have you read the installation guide?

  3. DrLame
    Member
    Posted 1 year ago #

    No =X

    If it's that simple, I apologize in advance, gonna look into it.

  4. DrLame
    Member
    Posted 1 year ago #

    Okay, there's a few things... the menu isn't looking right on my site, now that I've read the instructions and done it right. It's in the far bottom left of the site.

    http://www.qqmercs.com/

    Also, resizing the video with the width="X" height="X" tags doesn't work.
    And, finally, is it possible to get rid of the glaring red message when you shrink the chat below minimum specs? ( http://www.qqmercs.com/?page_id=1849 )

  5. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    About the centering, I will take a look why it happens.
    But regarding the status widget, it seems that you simply do not have a menu with stream links (so it gives you a hint that you need to create one).

    Regards,
    Tadas

  6. DrLame
    Member
    Posted 1 year ago #

    Ya, took care of that and made the menu (in my very first post I hadn't done that). The stream links show up now, but they look wonky. If you look really carefully, between the two links, it says Offline very faintly in gray, rather than saying it after my name in white like I've seen on other sites.

  7. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    It is merely dependent on your theme how it renders the list (produced by the plugin). HTML elements have classes, so you can style it with CSS selectors in your stylesheet. It is truly out of scope of the plugin; plugin's job is to output correct, clean and short HTML.

    But I'll make you a favor, here is what I came up with for your theme:

    .lsb-status-widget-holder ul li {
    color: white;
    float: none;
    }
    .lsb-status-widget-indicator {
    margin-right: 10px;
    position: relative;
    top: -28px;
    }

    Maybe not perfect, but..

  8. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    And regarding chat error, there is no way to hide it because it comes from Twitch (you cannot apply CSS to a page inside of an iframe from a different domain because of same origin policy).

    Twitch thread

    The only way would be to increase the height as per required minimum from Twitch.

    Edit: you can give feedback to Twitch regarding embed, but who knows if it changes and when. So better not to rely on that.

  9. DrLame
    Member
    Posted 1 year ago #

    Thank you so much for all the detailed help! I've got the color working, and the placement of the word Offline, thanks to you! The only other thing is, when I first enable the menu (before it displays offline) it stack up nice and neat like all the other stacked links over there. But as soon as it detects and displays Offline, it does that gap between the links. Any ideas? This is what I'm using in my CSS now, under #sidebar (thanks to you):

    .lsb-status-widget-holder ul li { float: none; }
    .lsb-status-widget-indicator { color: #FFFFFF; margin-right: 10px; position: relative; top: -28px; }

    I had to move the color from the top one to the bottom one. I can't figure out if the top one is working at all, changing it doesn't seem to do anything... but I could have put it in the wrong place if they weren't meant to be placed together...

    Again, thank you for all the help!

  10. DrLame
    Member
    Posted 1 year ago #

    And one last thing... (I promise its the last thing!) Is there any way for the widget to be linked to the embedded wordpress twitch stream? I have it linked there now, but it never says online when it's online, even after 5 mins. I assume it's because I linked it to the internal pages instead of to the twitch.tv site...

  11. Tadas Krivickas
    Member
    Plugin Author

    Posted 1 year ago #

    it does that gap between the links. Any ideas?

    I can see that the CSS I gave you is not being applied. You can check with Firebug by inspecting Stream menu items, it's just not there.

    Not sure where you put them, but I think you should append to your theme's main stylesheet (in the bottom). That must work. If for some reason it does not, you can add !important to the style like this (but do so as a last resort):

    .lsb-status-widget-indicator {
      color: #FFFFFF !important;
      margin-right: 10px !important;
      position: relative !important;
      top: -28px !important;
    }

    Basically it tells to use this style as primary if there are any style clashes..but basically the better way is to remove those conflicts, so such situation does not occur in the first place.

    About

    But as soon as it detects and displays Offline
    - I am not really sure, maybe some caching plugin is messing something (if you are using any)?

    And one last thing... (I promise its the last thing!) Is there any way for the widget to be linked to the embedded wordpress twitch stream? I have it linked there now, but it never says online when it's online, even after 5 mins. I assume it's because I linked it to the internal pages instead of to the twitch.tv site...

    - you are right. Basically it's I use WordPress menu infrastructure for storing links (semantically it's correct I think). So when you input a link to your local page, it tries to validate it against Twitch, fails and does nothing (no update). Solution would be to add have a dedicated page in admin area to manage livestream links (not like menu items). Maybe it will be implemented in the future versions, but I am not sure as of this moment - need to weigh all pros and cons of not using WP Menu infrastructure.

    So you should just put twitch links instead of local for now.

    Regards,
    Tadas

  12. DrLame
    Member
    Posted 1 year ago #

    Okay, I ended up using a php script (from here: http://community.justin.tv/forums/showthread.php?t=9464 ) and manually making images to handle showing if streams are online (I want to keep the users on my site instead of sending them to twitch). It works perfect alone with the ability to embed the streams with your plugin, so I'm ecstatic =D

    Thanks again for all the help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.