Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SacmaliK on May 12, 2007, 03:24:19 PM

Title: Veoh Bbc Tag 1.0
Post by: SacmaliK on May 12, 2007, 03:24:19 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=754)

This mod adds a bbc tag (with a nice button in post window too) to insert veoh video in your posts, it's safe and doesn't need you to enable flash bbc on your board.

- Why it's safe to use this bbc?

- Simple: the user cannot enter his own flash file as content, the bbc needs only the video ID and will complete the url itself, entering any type of url will not work.

Syntax: [veoh=width,height]videoID[/veoh]

Example: [veoh=425,350]v336965BKYPCT2B[/veoh]

Demo: http://www.bisohbet.com/form/index.php/topic,52088.0.html


Languages supported: English
Title: Re: Veoh Bbc Tag 1.0
Post by: - danny on May 17, 2007, 08:24:19 PM
I get an error when trying to apply the MOD.

Quote
1.     Execute Modification     ./Sources/Subs.php     Test failed
2.    Execute Modification    ./Themes/default/Post.template.php    Test successful
3.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
4.    Extract File    ./Themes/default/images/bbc/veoh.gif    

Any clues? I'm using TP v0.9.8 and SMF 1.1.2 on the Dilber MC theme.
Title: Re: Veoh Bbc Tag 1.0
Post by: Sheree on May 19, 2007, 09:31:37 PM
i got the same error i am using the helios theme forum version 1.1.2
Title: Re: Veoh Bbc Tag 1.0
Post by: SacmaliK on May 20, 2007, 04:05:57 AM
only default theme It is working

Other themes manual instal pls
Title: Re: Veoh Bbc Tag 1.0
Post by: Smith Online on June 17, 2007, 06:16:35 AM
Does not work on my site its fully installed i have button etc but when i post a post with the example above i just are shown the same as below (the text) :-

[veoh=425,350]v336965BKYPCT2B[/veoh]

Do you have to enable in admin anywere??

Regards

Smith Online
Title: Re: Veoh Bbc Tag 1.0
Post by: Smith Online on June 17, 2007, 10:04:10 AM
sorted  :D

This code was missing from sub.php for some reason after install:-
Quote
         array(
            'tag' => 'veoh',
            'type' => 'unparsed_commas_content',
            'test' => '\d+,\d+\]',
            'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.veoh.com/videos/$1" ></param><embed src="http://www.veoh.com/videodetails.swf?permalinkId=$1&id=1&player=videodetails&videoAutoPlay=0" width="$2" height="$3" bgcolor="#000000" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>',
            'validate' => create_function('&$tag, &$data, $disabled', '
            if (isset($disabled[\'url\']))
            $tag[\'content\'] = \'$1\';'),
            'disabled_content' => '<a href="$1" target="_blank">$1</a>',
Title: Re: Veoh Bbc Tag 1.0
Post by: devinrajaram1993 on September 20, 2007, 04:19:25 PM
can i get this for 1.1.3 please i really need it
Title: Re: Veoh Bbc Tag 1.0
Post by: 2pac on October 04, 2007, 11:15:56 PM
can this be updated to 1.1.4? :(
Title: Re: Veoh Bbc Tag 1.0
Post by: nick09 on November 11, 2007, 04:27:31 PM
i bet it will still work.

upload HERE (http://modparser.dev.dansoftaustralia.net/index.php) and select version 1.1.2

and follow the instructions.

EDIT: it works on 1.1.4

just follow the instructions.

another demo: http://nick09.free-web-hosting.biz/ForumX/index.php/topic,48.0.html
Title: Re: Veoh Bbc Tag 1.0
Post by: SacmaliK on December 16, 2007, 10:31:15 PM
Latest Version  1.1.4

http://custom.simplemachines.org/mods/index.php?mod=754