News:

Join the Facebook Fan Page.

Main Menu

Streaming 3

Started by 1948Pal, April 11, 2005, 03:40:00 PM

Previous topic - Next topic

ryansdistrict

i installed the stream mod
am i allowed to make posts contaning other radio stations music like adding this steam http://www.webmasterradio.fm/winmedia56.asx and make it play for people inside a post in my boards ?
For Sale: RD.com-PS.com

ArkServer

Quote from: geo on September 24, 2005, 04:15:05 PM
Quote from: ArkServer on September 24, 2005, 06:50:48 AM
It doesnt work?
http://arkserver.audiohosting.org/forum/index.php?topic=784.0

did i put the wrong tag?
yep,wrong tag.
easiest way to do it is to highlight the file,then click on the correct icon for streaming and tag will be inserted.
but it should be
[stream=300,300]http://www.hahahumor.com/funny-movies/Mouse.mpeg[/stream]

I dont have any icons, anyone know why? it could be the template but i dont know howto add it

1948Pal

If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

ArkServer

Quote from: 1948Pal on September 25, 2005, 06:10:40 PM
If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.

cant find it in the features settings, i expect this to be a simple template problem, any idea how to fix this?

mrandall131

Quote from: geo on September 24, 2005, 05:46:25 AM
using smf ver 1.1 rc1 i get this error:
QuoteInstall Actions
Installations actions for "Streaming 4.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

it worked great in beta3.


I saw this in another mods thread.  If you go into the install file and change the 1.1 Beta 3 reference to 1.1 Release Candidate 1 references, it should install.  I't wasn't the install.xml, it was the other, install_info.xml or something?

geo

#145
Quote from: mrandall131 on September 26, 2005, 07:21:58 AM
Quote from: geo on September 24, 2005, 05:46:25 AM
using smf ver 1.1 rc1 i get this error:
QuoteInstall Actions
Installations actions for "Streaming 4.2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF. 

it worked great in beta3.


I saw this in another mods thread.  If you go into the install file and change the 1.1 Beta 3 reference to 1.1 Release Candidate 1 references, it should install.  I't wasn't the install.xml, it was the other, install_info.xml or something?
ok,i changed 1.1 Beta 3 Public  to 1.1 RC1   every where i could find in the package-info.xml
now i get this error:
Quote7. Execute Modification ./Sources/Subs-Post.php Test failed
getting closer.
you have a link to the other forum?

1948Pal

#146
Ok, just uploaded a new release. 4.2.1 is comatible only with SMF 1.1 RC1. Hopefully this will help those of you having problems. Give it a try.
Go to SMF mod site to download
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

1948Pal

Quote from: ArkServer on September 26, 2005, 02:37:43 AM
Quote from: 1948Pal on September 25, 2005, 06:10:40 PM
If the mod works by putting the tags manually, then in the admin panel, go to features and options-mange posts and topics, and on the heading click on "bulletin board code" and make sure the boxes for real, quick and stream are all checked.

cant find it in the features settings, i expect this to be a simple template problem, any idea how to fix this?
Sorry, not features and options, rather posts and topics; go to http://url to your forum/index.php?action=postsettings;sa=bbc. Check for stream, real and quick.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

geo

Quote from: 1948Pal on September 26, 2005, 11:36:58 PM
Ok, just uploaded a new release. 4.2.1 is comatible only with SMF 1.1 RC1. Hopefully this will help those of you having problems. Give it a try.
Go to SMF mod site to download
worked with no problem,thanks.

mrandall131

This was the first mod I installed in my test forum running RC1.  Here's the error I got:

Quote from: Error
8: Undefined index: protocols
File: *********/test_forum/Sources/Subs-Post.php
Line: 375

1948Pal

Hi mrandall, Does the mod work at all though? I got this error once on my test forum when I first installed it, but I am yet to get another one, but the mod still worked fine. I am still exploring different options.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

yellow1912

#151
I messed up somewhere and got this warning:
Warning: Unexpected character in input: ' in /home/vunguye/public_html/community/Sources/Subs.php(2125) : eval()'d code on line 1

Parse error: parse error, unexpected $ in /home/vunguye/public_html/community/Sources/Subs.php(2125) : eval()'d code on line 1

I checked again and gain but couldnt find where the problem is

PS: Code on like 2125:
   if (isset($tag['validate']))
            eval($tag['validate']);
My SMF forum ^^
An Ecommerce site I help to build

yellow1912

1 more thing, when I try to use the stream like this:
[stream=300,300]http://www.abc.com/blah.wmv[/stream]
and click on preview, it will become:
[stream=300,300]://http://www.abc.com/blah.wmv[/stream]
My SMF forum ^^
An Ecommerce site I help to build

mrandall131

I still get that error, but the mod seems to work other than that in IE.  In FireFox, the clips start automatically, even when replying to that thread.

yellow1912

#154
For this error:
[stream=300,300]http://www.abc.com/blah.wmv[/stream]
and click on preview, it will become:
[stream=300,300]://http://www.abc.com/blah.wmv[/stream]

Update:
If I change the code
array(
         'tag' => 'stream',
         'protocols' => array('http', 'mms'),
         'embeddedUrl' => false,
         'hasEqualSign' => false,
         'hasExtra' => true,
      ),

to --->
array(
         'tag' => 'stream',
         'protocol' => 'http',
         'embeddedUrl' => false,
         'hasEqualSign' => false,
         'hasExtra' => true
      ),


The error is fixed, however user can only use http this way :(

And the warning is still there :

Warning: Unexpected character in input: ' in /home/vunguye/public_html/community/Sources/Subs.php(2147) : eval()'d code on line 1

Parse error: parse error, unexpected $ in /home/vunguye/public_html/community/Sources/Subs.php(2147) : eval()'d code on line 1

Edit again: The warning is obviously because of this:
'validate' => create_function('&$tag, &$data, $disabled', '
               if (isset($disabled[\'url\']))
                  $tag[\'content\'] = \'$1\';'),
Can you explain what does it do? What is the side effect if If I change to
'validate' => '               if (isset($disabled[\'url\']))
               {
                  $data[0] = \'$1\';
               }',
My SMF forum ^^
An Ecommerce site I help to build

1948Pal

Yellow1912, how did you install this mod, manual or using the package manager? It seems you did it manually, and you may have missed something, I can't pinpoint what went wrong. Can you remove this mod? And if so, is your warning fixed?
The array with the mms and http should work as it is, you may get an undefined index when you install the mod, which you can ignore for now.
The validate question, well it checks for the BBC to see if it is disabled, if so it sets the value of $1(the clip) to nothing and instead just displays the URL to the link.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

1948Pal

Quote from: mrandall131 on September 27, 2005, 10:26:44 PM
I still get that error, but the mod seems to work other than that in IE.  In FireFox, the clips start automatically, even when replying to that thread.
I am working on an update to stop the auto start in FF, but if you want to do it manually before the update, I'll  gladly tell you what to do. BTW, do you still have this mod installed? If so, do you still get the undefined index 'protocols'?
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

yellow1912

Quote from: 1948Pal on September 29, 2005, 11:05:05 PM
Yellow1912, how did you install this mod, manual or using the package manager? It seems you did it manually, and you may have missed something, I can't pinpoint what went wrong. Can you remove this mod? And if so, is your warning fixed?
The array with the mms and http should work as it is, you may get an undefined index when you install the mod, which you can ignore for now.
The validate question, well it checks for the BBC to see if it is disabled, if so it sets the value of $1(the clip) to nothing and instead just displays the URL to the link.
I manually installed it coz i dont use the default theme (I use chatbubble theme). I'll check and try to reinstall again. I'll post here what happen^^
My SMF forum ^^
An Ecommerce site I help to build

mrandall131

Here is the error:

Quote from: Error
8: Undefined index: protocols
File: **************/test_forum/Sources/Subs-Post.php
Line: 375

and here is the code:

Quote from: Code
   // Fix each type of tag.
   foreach ($fixArray as $param)
      fixTag($message, $param['tag'], $param['protocols'], $param['embeddedUrl'], $param['hasEqualSign'], !empty($param['hasExtra']));

   // Now fix possible security problems with images loading links automatically...
   $message = preg_replace('~(\[img.*?\]http://)(.+?)\[/img\]~eis', '\'$1\' . preg_replace(\'~action(=|%3d)(?!dlattach)~i\', \'action-\', \'$2\') . \'[/img]\'', $message);

(375 is the FixTag line)

1948Pal

#159
AAAAARGH, this is really killing me, you see this line isn't even touched by my mod, and 'protocols" is obviously defined somewhere because it is already being used in all the tags before stream. I think it has something to do with 'mms' protocol not known to the code or something, but I don't know where. I admit, I am hitting a wall right now, I even posted in the scripting help forum, Hopefully some nice person :) will try to help.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Advertisement: