News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Streaming 3

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

Previous topic - Next topic

brine

This works great for me, but I change my theme to use Chatbubbles, I lose the buttons to insert the tags for the videos.  I can still manually add the tags, but just don't have the buttons.  Anyone know what I need to edit in the theme to add the options?

1948Pal

First copy the images (stream.gif, quick.gif, real.gif) to Themes/chatbubbles/images directory. Then

<edit file>
Themes/chatbubbles/Post.template.php
</edit file>

<search for>


$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),


</search for>

<add after>

'stream' => array('code' => 'stream', 'before' => '[stream=256,256]', 'after' => '[/stream]', 'description' => $txt['stream']),
'real' => array('code' => 'real', 'before' => '[real=256,256]', 'after' => '[/real]', 'description' => $txt['real']),
'quick' => array('code' => 'quick', 'before' => '[quick=256,256]', 'after' => '[/quick]', 'description' => $txt['quick']),


</add after>

And I think this should do it.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

spoontosser

This is probabaly a stupid question, but how do I get the file to stream automatically without the reader having to click the play button?

Nitro

is this compatible with SMF 1.1 Beta 3 Public.? i was using this MOD and it was awesome, but when i now try to install this on the new SMF it tells me that it is not working, or it is corrupt.

any ideas for a work around on this? thank you!!!
MPF Rocks!!!

komakoma

even input the media link as mms:// it will replace by http://mms://

seems it can't support streaming link

1948Pal

This mod is not compatible with SMF 1.1 Beta 3 Public, and will most likely not be until 1.1 is released.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

OH MAN!!!!!

you got to be kidding?

when this new 1.1 will be out, next year?

this MOD is just AWESOME!!! please help us here, will ya?
MPF Rocks!!!

1948Pal

Quote from: spoontosser on July 16, 2005, 08:43:01 PM
This is probably a stupid question, but how do I get the file to stream automatically without the reader having to click the play button?
If you're still looking for answer, you'll have to do some manual editing, in the section that modifies Subs.php. Look for every instance of "Autoplay" or "autostart" "value"=no or 0, and change to "Autoplay" or "autostart" "value"=yes or 1 for the player you want to play automatically, just pay attention not to change the status of the "flash" player which is part of SMF and not this mod.
Just keep in mind that if there are more than one post on the same page with links to movie clips, they will all start to play once the page loads, which can be pretty noisy to say the least.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

i tried to do that already and i could not pass the subs files. i got pretty bad errors in it. all the rest of the php are have the codes needed but subs.php

if you want to i can give you the errors, is that ok?
MPF Rocks!!!

1948Pal

NitroRich, which SMF do you have, if 1.0.5, then maybe you can post your subs.php and I'll try to help. If you have SMF 1.1b3p, then as of now I can't help you yet, as I am still trying to figure out the changes in the code, which is not an easy task for me, cos I am not eaxactly a "coder" and it will take me sometime. Sorry.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

 SMF 1.1 Beta 3 Public man! well, i appreciate your help tho! i think we are just gonna have to wait.

thank you man for offering help. for now, i am just playing around with mambo-smf i found lots of other mods for mambo and what is interesting they have also a mod like this one but it sucks!

anyhow ! thanks man! i'm just gonna sit down and watch the show and at the same time learning more PHP
MPF Rocks!!!

1948Pal

Ok. new version "4.0" is now available. It should work under the last 3 releases of SMF.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

#52
while i am installing this manually, i found myself in this code i cannot find on the subs-post.php

array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)

i am looking for to follow this from the stream 4 mod file instructions:

<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
</search for>

<replace>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true),
// [stream]http://...[/stream]
array('tag' => 'stream', 'protocol' => 'http', '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)
</replace>




also, this is what i need to look for and replace but...
<edit file>
Sources/ModSettings.php
</edit file>

<search>
array('check', 'who_enabled'),
</search>

<replace>
array('check', 'who_enabled'),
array('rule'),
// Streaming
array('check', 'enableEmbeddedStream'),
array('check', 'enableEmbeddedReal'),
array('check', 'enableEmbeddedQuick'),
</replace>


i cannot see it below, if i do it i will leave something out, really? it doesn't make sense to me, or i thinki am confused.

// This is like debugging sorta.
array('check', 'timeLoadPageEnable'),
array('check', 'disableHostnameLookup'),
array('rule'),
// Who's online.
array('check', 'who_enabled'),
array('heading', &$txt['smf293']),
// Karma - On or off?




am i missing something here 1948Pal ?

thanks in advance and i have been looking for to install this in my forum. i am using SMF 1.1 Beta 3 Public, according to your new download instructions it says it is comptaible with that, right?
MPF Rocks!!!

1948Pal

Hi.
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
This code should be in Subs.Post.php, I don't know why you can't find it, perhaps you deleted it by mistake! See if you can find this array('tag' => 'ftp', 'protocol' => 'ftp', 'embeddedUrl' => true, 'hasEqualSign' => true), the line above should be right after this line.
As for the code in Modsettings.php, you're right, its my mistake.
You can findarray('check', 'who_enabled'),
array('heading', &$txt['smf293']),
and add after it array('rule'),
// Streaming
array('check', 'enableEmbeddedStream'),
array('check', 'enableEmbeddedReal'),
array('check', 'enableEmbeddedQuick'),

I will update the mode file and re-upload it again. Thanks for that.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

well, i figured this out. i finally corrected these details i am talking about BUT...


still is not working for SMF 1.1 Beta 3 Public. well, at least not in my forum.

did you run a test on 1.1b3? i have doubled check the code and everything seems to be in place, except i might be mistaked on the questions above.

any ideas, please?
MPF Rocks!!!

Nitro

#55
Quoteand add after it Copy to clipboardCode:
array('rule'),
         // Streaming
         array('check', 'enableEmbeddedStream'),
         array('check', 'enableEmbeddedReal'),
         array('check', 'enableEmbeddedQuick'),
I will update the mode file and re-upload it again. Thanks for that.

yeah, that is what i did but it didn't work either. what else would you like me to do?

oh there is one thing i should tell you
<edit file>
Sources/Subs-Post.php
</edit file>

<search for>
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true)
</search for>


this is set to TRue and you have false:
array('tag' => 'flash', 'protocol' => 'http', 'embeddedUrl' => false, 'hasEqualSign' => false, 'hasExtra' => true) that's why i could not find it.
MPF Rocks!!!

1948Pal

Hey, This mod is tested on a fresh install of 1.1B3P and a live 1.0.5.
That true/false thing in flash, it realy should be false as this is the default setting the a fresh SMF comes with. IF you enabled flash on your forum, then it changes to true.

Can you be more specific about what exactly is not working? Do you get an error? What is it, I would not want to assume the "Copy to clipboardCode" you have in your quote that may be giving you an error!
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

#57
sure, well, i get no errors. all i see is the html link written into the post like this:

[real=296,210]http://www.-------------.com/extras/cleaners_video.ram[/real]

and that should be working like it used to. i have checked on the admin section to make sure it is enabled and they all are enabled.

i have doubled checked all the code and everything is in place according to the instructions. i just don't know what is going on.

ps. sorry i cannot post here the link because it is a private board.  :) and we have things should stay with us.
MPF Rocks!!!

1948Pal

Hmm, wierd. Not that I think it matters, but in the admin panel, besides the "features and options", check under the forum section in "posts and topics" and make sure the 3 bbc codes are checked there also.
Hope that helps.
"No matter how long the river, the river will reach the sea".
Eugene Fitch Ware

Nitro

i am using 1.1Beta 3 and i don't see those 3bbc codes there. all i see is this:


Manage Posts and Topics 
Post Settings | Bulletin Board Code | Censored Words | Topic Settings 
Here you can set everything related to posts and posting.

Post Settings
Remove nested quotes when posting (?):   
Embed flash into posts (?):
may be a security risk!   
Enable spell checking (?):
this does not work on all servers!   

--------------------------------------------------------------------------------

Maximum allowed post size: 2000
0 for no max.  characters 
Break up words with more letters than (?):
0 to disable  characters 
Posts to show on topic summary (?):   posts  20

--------------------------------------------------------------------------------

Time required between posts from the same IP (?):   seconds 
Courtesy edit wait time (?):   seconds 
Maximum time after posting to allow edit (?):
0 to disable


what is bbc anyway? i could not find what you mean.
unless you talk about this:
Embed stream into posts 
Embed real into posts 
Embed QuickTime into posts

they are all checked
MPF Rocks!!!

Advertisement: