[8WR] XenRio (Streams) PRO

[8WR] XenRio (Streams) PRO [Paid] 1.2.6b

No permission to buy ($40.00)
How you do this?
I use cloudflare, so I setup a page rule to disable ssl on /streams/*. However, the problem with this approach is that if the rest of the website is https, then it was forcing user logout when visiting the streams. I haven't figured out a way around that yet, so I've now disabled https for my entire site.
 
Twitch has been working on HTTPS for over TWO YEARS now... However, in that time they have pretty much taken over the streaming industry. And success tends to kill bug fixes. Twitch has become a horrible service in the past 2 years, one where they focus more on adding new features rather than fixing the bugs in the existing features.
 
Code:
<object type="application/x-shockwave-flash" width="100%" height="100%" data="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
    <param name="movie" value="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
    <param name="flashvars" value="channel={serviceVAL1}&auto_play=true">
    <param name="allowfullscreen" value="true">
    <param name="allowscriptaccess" value="always">
    <param name="allownetworking" value="all" />
</object>

Just switched to SSL and had to use this, it still works for anyone having the same issues.
 
Code:
<object type="application/x-shockwave-flash" width="100%" height="100%" data="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
    <param name="movie" value="https://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf">
    <param name="flashvars" value="channel={serviceVAL1}&auto_play=true">
    <param name="allowfullscreen" value="true">
    <param name="allowscriptaccess" value="always">
    <param name="allownetworking" value="all" />
</object>

Just switched to SSL and had to use this, it still works for anyone having the same issues.
Where do you apply that code?
 
If you go to the streams page and service, edit the Twitch one there is a 'Stream Video:' replace the code there with the one above. It was provided a few pages back so you can thank the user @RastaLulz for it.
 
@Jaxel i getting this error log on xenforo
ErrorException: Uninitialized string offset: 2 - library/EWRrio/Services/Twitch.php:155
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/Twitch.php(155): XenForo_Application::handlePhpError(8, 'Uninitialized s...', '/home3/chik231/...', 155, Array)
#1 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/Twitch.php(39): EWRrio_Services_Twitch::dumpChannels(Array, '10', Array, Array)
#2 [internal function]: EWRrio_Services_Twitch::dumpStreams(Array, '10', Array, Array)
#3 /home3/chik231/public_html/slgaming.org/library/EWRrio/Model/Streams.php(133): call_user_func_array(Array, Array)
#4 /home3/chik231/public_html/slgaming.org/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#5 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#6 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /home3/chik231/public_html/slgaming.org/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999690056, '')
#9 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999690056, '', false)
#10 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /home3/chik231/public_html/slgaming.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
Request State
array(3) {
["url"] => string(32) "http://slgaming.org/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(47) "/threads/who-will-get-the-last-post.324/page-15"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
@Jaxel i getting this error log on xenforo
ErrorException: Uninitialized string offset: 2 - library/EWRrio/Services/Twitch.php:155
Generated By: Unknown Account, 5 minutes ago
Stack Trace
#0 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/Twitch.php(155): XenForo_Application::handlePhpError(8, 'Uninitialized s...', '/home3/chik231/...', 155, Array)
#1 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/Twitch.php(39): EWRrio_Services_Twitch::dumpChannels(Array, '10', Array, Array)
#2 [internal function]: EWRrio_Services_Twitch::dumpStreams(Array, '10', Array, Array)
#3 /home3/chik231/public_html/slgaming.org/library/EWRrio/Model/Streams.php(133): call_user_func_array(Array, Array)
#4 /home3/chik231/public_html/slgaming.org/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#5 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#6 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /home3/chik231/public_html/slgaming.org/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999690056, '')
#9 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999690056, '', false)
#10 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /home3/chik231/public_html/slgaming.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
Request State
array(3) {
["url"] => string(32) "http://slgaming.org/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(47) "/threads/who-will-get-the-last-post.324/page-15"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Go to your XenRio settings in the AdminCP. Make sure your restriction settings are correct... then hit SAVE. Error will go away.
 
@Jaxel gettinmg new errors log
Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Incorrect integer value: '' for column 'stream_viewers' at row 1 - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 9 minutes ago
Stack Trace
#0 /home3/chik231/public_html/slgaming.org/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home3/chik231/public_html/slgaming.org/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home3/chik231/public_html/slgaming.org/library/EWRrio/Model/Streams.php(144): Zend_Db_Adapter_Abstract->query('\n\t\t\t\tINSERT INT...')
#3 /home3/chik231/public_html/slgaming.org/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#4 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#5 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#6 /home3/chik231/public_html/slgaming.org/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#7 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999809265, '')
#8 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999809265, '', false)
#9 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /home3/chik231/public_html/slgaming.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
  ["url"] => string(36) "http://www.slgaming.org/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(17) "/admin.php?nodes/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
Aso Getting this
Code:
Error Info
ErrorException: Undefined index: viewers_current - library/EWRrio/Services/BeamPro.php:100
Generated By: Unknown Account, 10 minutes ago
Stack Trace
#0 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/BeamPro.php(100): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home3/chik231/...', 100, Array)
#1 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/BeamPro.php(37): EWRrio_Services_BeamPro::dumpAll(Array, '000', Array, Array)
#2 [internal function]: EWRrio_Services_BeamPro::dumpStreams(Array, '000', Array, Array)
#3 /home3/chik231/public_html/slgaming.org/library/EWRrio/Model/Streams.php(133): call_user_func_array(Array, Array)
#4 /home3/chik231/public_html/slgaming.org/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#5 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#6 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /home3/chik231/public_html/slgaming.org/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999809265, '')
#9 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999809265, '', false)
#10 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /home3/chik231/public_html/slgaming.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
Request State
array(3) {
  ["url"] => string(36) "http://www.slgaming.org/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(17) "/admin.php?nodes/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}

And last this:
Code:
Error Info
ErrorException: Undefined index: type - library/EWRrio/Services/BeamPro.php:99
Generated By: Unknown Account, 10 minutes ago
Stack Trace
#0 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/BeamPro.php(99): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home3/chik231/...', 99, Array)
#1 /home3/chik231/public_html/slgaming.org/library/EWRrio/Services/BeamPro.php(37): EWRrio_Services_BeamPro::dumpAll(Array, '000', Array, Array)
#2 [internal function]: EWRrio_Services_BeamPro::dumpStreams(Array, '000', Array, Array)
#3 /home3/chik231/public_html/slgaming.org/library/EWRrio/Model/Streams.php(133): call_user_func_array(Array, Array)
#4 /home3/chik231/public_html/slgaming.org/library/EWRrio/CronEntry/Scrape.php(7): EWRrio_Model_Streams->updateStreams()
#5 [internal function]: EWRrio_CronEntry_Scrape::runScrape(Array)
#6 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /home3/chik231/public_html/slgaming.org/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.99999809265, '')
#9 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.99999809265, '', false)
#10 /home3/chik231/public_html/slgaming.org/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /home3/chik231/public_html/slgaming.org/deferred.php(23): XenForo_Model_Deferred->run(false)
#12 {main}
Request State
array(3) {
  ["url"] => string(36) "http://www.slgaming.org/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(17) "/admin.php?nodes/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Out of curiosity, what would I need to edit to have it replace the twitch chat with local taigachat?
 
I'm trying to create a widget embedding streams into a block. How can I make this widget to appear only if a stream is live?
 
Hi Jaxel,

Sorry if this has been asked, but where can I remove this yellow border?

Thanks
 

Attachments

  • stream.webp
    stream.webp
    7.6 KB · Views: 9
Where can I change the margin-right assigned to the content when I switch from Small to medium and then go back to small?
By default (CSS) the margin-right is set to 270px but when I go back to small, the margin is 260px. I assume it has something to do with some kind of Javascript or something like that but I can't find where to find that
 
Where can I change the margin-right assigned to the content when I switch from Small to medium and then go back to small?
By default (CSS) the margin-right is set to 270px but when I go back to small, the margin is 260px. I assume it has something to do with some kind of Javascript or something like that but I can't find where to find that
Its in the template "EWRrio_Channel". Its calculated as '@sidebar.width + 10'. Just change it to + 20.

Unfortunately, the XF style properties does not have a variable for the gutter width. So 10 is hardcoded.
 
Top Bottom