Streaming 3

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

Previous topic - Next topic

mrandall131

Quote from: 1948Pal on September 07, 2005, 03:21:01 PM

mrandall131, can you post lines 290 to 301 in Subs.post.php?


290 is in the middle of a block, so here is the entire block (272 through 296).

Quote// Fix any URLs posted - ie. remove 'javascript:'.
function fixTags(&$message)
{
   global $modSettings;

   $fixArray = array
   (
      // or
      array('tag' => 'img', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // http://...
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // http://...
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // ftp://...
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // [flash]http://...[/flash]
      array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
   );

1948Pal

You say you installed this mod, yet you're missing these lines?

// [stream]http://...[/stream]
array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),
               // [real]http://...[/real]
array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [quick]http://...[/quick]
array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

mrandall131

#122
Ok, couldn't remember.  I must have uninstalled the mod before I copied it over here to stop the errors.  I'll re-instal and put the code out here again.

Here it is, same thing, the whole block:

Quote// Fix any URLs posted - ie. remove 'javascript:'.
function fixTags(&$message)
{
   global $modSettings;

   $fixArray = array
   (
      // or
      array('tag' => 'img', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // http://...
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'url', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // http://...
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'iurl', 'protocol' => 'http', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // ftp://...
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => false),
      // name
      array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true),
      // [flash]http://...[/flash]
      array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
      // [stream]http://...[/stream]
      array('tag' => 'stream', 'protocol' => array('http', 'mms', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)),
               // [real]http://...[/real]
      array('tag' => 'real', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
               // [quick]http://...[/quick]
      array('tag' => 'quick', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
   );

Nitro

1948Pal, any suggestions as to how to fix my problem? thank you.
MPF Rocks!!!

1948Pal

mrandall131 and NitroRich, is it possible to remove the last stream mod and instead install the one before it stream_4.1.
I've installed this on my forum, uninstalled and reinstalled again numerous times, I don't see where it may be faulting. I am not sure what maybe causing your errors as I had no one reported the same thing before, but maybe 4.1 or even 4.0 could make a difference.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

so you want me to install stream 4.1? of course, remove the one i already have.
MPF Rocks!!!

1948Pal

Yes if you can, I think something went wrong in 4.2. In the meantime, I think 4.1 might work while I try to figure out this thing.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

mrandall131

Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.

mrandall131

#128
Is 4.0 "stable" and working?  If not, I think I will wait until the next version (if there is one) comes out.  Version 4.1 works in firefox (automatically starts though), but I have that same cutt off problem that other people experienced in IE.

1948Pal

Quote from: mrandall131 on September 09, 2005, 07:08:22 AM
Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.
Yes, that was a naming error. You actually installed 4.2, although the difference between it and 4.1 were very small.
And in answe to yout last post, as far as I know 4.0 was stable and functional, but you're kind of asking the wrong person :), because all those versions of this mod work perfectly on my forums, the live one 1.0.5 with stream 3.1 and the test forum 1.1B3P with stream 4.2.
But I am looking into the problems and I hope I'll be able to find out if something is wrong. BTW, when uninstall stream, the error about the undefined "embeddedURL is gone? Also, do you have other mods installed, can you give me a list please?
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

- danny

 :) Just installed it! Works pretty damn good! Makes a forum really interactive! Thank you!

mrandall131

Quote from: 1948Pal on September 09, 2005, 07:29:33 PM
Quote from: mrandall131 on September 09, 2005, 07:08:22 AM
Just another stupid question.  I downloaded 4.2, and in package manager, the file says 4.2.  But, if you look at the version next to the file, it says 4.1.  I'm still gonna uninstal, but I am wondering what I really have installed.
Yes, that was a naming error. You actually installed 4.2, although the difference between it and 4.1 were very small.
And in answe to yout last post, as far as I know 4.0 was stable and functional, but you're kind of asking the wrong person :), because all those versions of this mod work perfectly on my forums, the live one 1.0.5 with stream 3.1 and the test forum 1.1B3P with stream 4.2.
But I am looking into the problems and I hope I'll be able to find out if something is wrong. BTW, when uninstall stream, the error about the undefined "embeddedURL is gone? Also, do you have other mods installed, can you give me a list please?

I definitely wasn't trying to offend you and am sorry if I did.  Those two errors did go away after the uninstall.  I do have mods installed and here they are:

1.  Running 1.1B3
2.  Blue Jeans Theme
3.  Global Anounce and Stickies
4.  Googlebots and Spiders
5.  Donations Mod
6.  Location Mod
7.  Location - Additional Maps
8.  Reply to Mod

TANDIONO.COM

Hi! Can i Manually install this bods?

Nitro

MPF Rocks!!!

Nitro

Quote from: 1948Pal on September 08, 2005, 11:55:01 PM
Yes if you can, I think something went wrong in 4.2. In the meantime, I think 4.1 might work while I try to figure out this thing.

1948, i just wanted to say, somehow the MOD is working fine, and somehow the play buttons are there! how did they get there? i don't know! but they are back!

i want to install this MOD for the new SMF release but i am not sure if your MOD will work with the new SMF, so i guess i am just going to wait until you make the upgrade to your MOD.

This MOD is really REALLY AWESOME!!!

thank you man!!!!
MPF Rocks!!!

mrandall131

Great, now I'm really jealous!   ;)

impulsia

#136
Quote from: mrandall131 on September 09, 2005, 07:15:16 AM
Version 4.1 works in firefox (automatically starts though), but I have that same cutt off problem that other people experienced in IE.

I installed 4.2 but experience the same problem as mrandall131. It cuts off in firefox no matter what size I give it. In Internet Explorer it is not working at all. Any suggestions?

I found out that if you have another language set then english and not update. You won't see anything in the adminitratin section. You have to change to english too see it.l

geo

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.


geo

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]

Advertisement: