Embed Vimeo BBCode

Started by dougiefresh, August 22, 2017, 08:09:27 PM

Previous topic - Next topic

dougiefresh

Link to Mod



EMBED VIMEO VIDEO BBCODE v1.5
By Dougiefresh -> Link to Mod



Introduction
This modification adds a BBCode to view Vimeo videos.

The BBCode takes this form:

[vimeo width=x]{Vimeo URL}[/vimeo]


Admin Settings
There are a new setting on the Modifications Settings page:
o Vimeo default width

Related Discussion
o Request made in Yet Another YouTube BBCode Tag mod

Compatibility Notes
This mod was tested on SMF 2.0.14, but should work on SMF 2.1 Beta 3, as well as SMF 2.0 and up.  SMF 2.1 Beta 1 & 2, as well as SMF 1.x, is not and will not be supported.

This mod should be installed after Tapatalk mod, if you want to use it with Tapatalk.

Changelog
The changelog can be viewed at XPtsp.com.

License
Copyright (c) 2017 - 2018, Douglas Orend
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

dougiefresh

Uploaded v1.1 - December 8th, 2017
o Added URL embedding code for the Tapatalk mod.

-Rock Lee-

I have noticed that it varies a bit according to the bbcode that is being used although to not leave so much of the idea I change what is inside the file language_english.xml if there is any problem let me know!


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

dougiefresh

Uploaded v1.2 - December 15th, 2017
o Added Spanish Latin translation, courtsey of Rock Lee!




@Rock Lee:  Thank you for the translation!  It's been included in this version!

dougiefresh

Uploaded v1.3 - March 4th, 2018
o Fixed an issue that prevents BBC manager from showing bbcodes.

oldguest

Dear Forum
I have installed this module in the newest version, but i can see a error in my log files.
8: Undefined index: vimeo_no_post_id

Can anyone explain what to do with this error.
Thanks in advance.
Best regards
Noeyes

oldguest

Dear Forum
I have installed the embed Vimeo plugin on this post, but i get this error in my forum.
I have pasted it.
/Sources/Subs-BBCode-Vimeo.php
Linie: 74

If i check my log files for this  error i can see this message.
return ($tag['content'] = $txt['vimeo_no_post_id']); 

Thanks in advance.
Best regards
Noeyes.

dougiefresh

Uploaded v1.4 - August 15th, 2018
o Fixed several undefined array element errors in Subs-BBCode-Vimeo.php.




@noeyes:  I'm sorry about the delay in responding!  Thank you for reporting the bug!  The issue has been fixed in this version!

dougiefresh

Uploaded v1.5 - October 15th, 2018
o No functionality change.
o Updated documentation to point to new website.

Advertisement: