View Full Version : Show Thread Enhancements - [DRC] - Auto Embed
Dr.CustUmz
05-13-2016, 09:00 PM
[DRC] - Auto Embed
Homepage:
http://dirtrif.com
Demo: (as of last edit)
https://dev.dirtrif.com/vb3/showthread.php?p=7
Information:
Auto Embed, does simply just that. Instead of having to manage bbcodes, now when a user posts a link it will automatically become that sites embedded widget. With many options to tweak to your liking.
This is one of my bigger releases, although this product specifically I've only been working on for 2 days. Just with everything coming up so quick (wedding 6/26, baby shower 7/10, Honey moon some time in between, And the baby due 8/30) I haven't been able to get things released as I'd hope. I just want to give you guys something so you know I am still working on products for you!
Have a request?
If making a request, please include a link example to said media (what you would post on your forum), if this provider has some sort of embed option already please include an example of that as well.
Currently Supports:
- Vine
- Twitter
- Instagram
- Facebook
Next Update:
- Youtube
Planned:
- Pinterest
- Google+
- Spotify
- vevo
- flickr
- 500px
- Genius
- google maps
- soundcloud
- and more
Have a suggestion? share it here!
Example usage:
Just past links like the following, in a post.
https://vine.co/v/e1D3nOLQmUL
https://www.instagram.com/p/BEWkAowt0EL
https://twitter.com/funnyone_liner/status/731533545911554048
With the release of v1.1 users will be able to use broader variations of links
*note these still must be click-able links once the post is submitted though*
Example variations of the same Instagram link:
instagr.am/p/BEWkAowt0EL
instagram.com/p/BEWkAowt0EL
www.instagram.com/p/BEWkAowt0EL
http://www.instagram.com/p/BEWkAowt0EL
Better Screenshots: (huge so I didnt bbcode them)
http://i.imgur.com/iPMhIMS.png
http://i.imgur.com/lZJJXEK.png
http://i.imgur.com/XaVTaiA.png
Changelog:
---------------------------------------------
v1.5
- Added Facebook posts/comments/videos
v1.3
- Fixed template error
v1.2
- SEO compatibility
- Link format even less strict
v1.1
- less strict on link variations
v1.0
- initial release
Dr.CustUmz
05-14-2016, 07:05 PM
To Do
- Default settings need to be adjusted
- Organize Phrases
- Start Youtube
greigeh
05-14-2016, 09:31 PM
Downloaded + installed. I actually love this because there's sooo many settings and it's so well laid out in both ACP and the actual plugin itself in the forum.
Only issue I know of is that when you use quick edit, it doesn't automatically run the script. It takes a refresh for the embed to actually show but i'm not sure if there's a way around that?
Other than that I LOVE IT! thanks a lot
MarkFL
05-14-2016, 09:47 PM
Hey Ryan,
Regarding the "Quick Edit" issue reported by Greig, it may be possible to get that to work by changing the hook location of the 3 plugins hooked at "postbit_display_complete" to the hook location "showthread_postbit_create"...I know I have had success getting postbit related things to work after a quick reply/edit using that hook location. :)
Dr.CustUmz
05-14-2016, 10:27 PM
I gave the fix an attempt, and it broke the forums, showthread wouldn't even load. I dont have time to debug that atm, but wouldn't allowing it on the edit post portion require some ajax calls?
note* this is not a bug, this is how it was produced. It will only run on showthread; in new thread preview, new reply preview, pms, vms, ect... users will only see a link.
Alan_SP
05-15-2016, 02:23 PM
Only issue I know of is that when you use quick edit, it doesn't automatically run the script. It takes a refresh for the embed to actually show but i'm not sure if there's a way around that?
I very recently created BBcode for facebook videos and posts and noticed problem when AJAX is used to post new content, as described here (https://vborg.vbsupport.ru/showpost.php?p=2569837&postcount=9).
I didn't at the moment test this mod, but I'm thinking that this has something to do with this. I'm on vB4, so not sure how it works with vB3.8, is there AJAX with quick edit, but I think it is.
Anyway, if it is really AJAX problem, I think that it needs to be done on system level (i.e. vB core files), if it can be done at all.
But, everything works, facebook content is placed just fine, you only don't see it when AJAX place it there. I know some other things that doesn't work with AJAX (some DBTech's mods).
In my opinion it is not that big of a problem for me, as content is there, all other users will see it as soon as it is served without AJAX.
Alan_SP
05-15-2016, 02:27 PM
but wouldn't allowing it on the edit post portion require some ajax calls?
As I wrote, AJAX probably causes problems.
And I wait to be able to automatically add facebook videos and posts, at the moment I need to use BBcode (it works without problems), but for the rest of links I use AME3 and it works just fine. For some reason it doesn't work with facebook, even if I use same code for creating BBcode.
Anyway, I hope you'll manage to get facebook content working. :up:
Dr.CustUmz
05-15-2016, 04:55 PM
Updated to v1.1 which allows broader variations of links.
Example variations of the same Instagram link:
instagr.am/p/BEWkAowt0EL
instagram.com/p/BEWkAowt0EL
www.instagram.com/p/BEWkAowt0EL
http://www.instagram.com/p/BEWkAowt0EL
Dr.CustUmz
05-15-2016, 08:35 PM
v1.2 adds seo compatibility to urls
before auto embed looked for links structured as the following (twitter example) red stands for things that didnt matter
<a href="http(s)://twitter.com/(username)/status/(postid)(ANYTHING)" target="blank">(Anything)</a>
this wouldnt work with seo because seo adds rel="" to links so to make it compliant and less strict I have made it work like the following
<a (anything)twitter.com/(username)/status/(postid)(ANYTHING)</a>
why does this help me?
well now your links can be structured more loosely so you could have a link that looks like this:
<a target="_blank" href="https://www.twitter.com/DrCustUmz/status/731586904760717316" alt="tweet" >Release tweet</a>
and it's still going to convert it into an embed =)
DR-WoWo
05-16-2016, 06:52 PM
You deserve all the respect and appreciation
My friend
waiting to add youtube
Dr.CustUmz
05-16-2016, 08:40 PM
You deserve all the respect and appreciation
My friend
waiting to add youtube
thanks, and this one I would appreciate if you didn't repost ;)
finishing up settings for facebook right now :)
DR-WoWo
05-16-2016, 10:29 PM
thanks, and this one I would appreciate if you didn't repost ;)
finishing up settings for facebook right now :)
this one I would appreciate if you didn't repost
why bro
DR-WoWo
05-16-2016, 10:46 PM
the product has been translated into Arabic for your support
Dr.CustUmz
05-16-2016, 11:22 PM
because where you post things, non-licensed users can download things, this is known as pirating, and yes this will be leached, that's why I tend to share my own products myself on these sites if I approve of them being there.
DR-WoWo
05-17-2016, 04:40 PM
because where you post things, non-licensed users can download things, this is known as pirating, and yes this will be leached, that's why I tend to share my own products myself on these sites if I approve of them being there.
As you like, my friend and I am at your service if you want
Dr.CustUmz
05-17-2016, 08:09 PM
v1.3 fixed an error error caught by greigeh, where the twitter embed added an additional closing div and caused errors with style depending on your template.
crazymook
06-07-2016, 04:51 PM
This works great. Thanks!
Cant wait for YT to start working.
adeel80
07-22-2016, 02:53 AM
because where you post things, non-licensed users can download things, this is known as pirating, and yes this will be leached, that's why I tend to share my own products myself on these sites if I approve of them being there.
Does this only work with VB3?
MarkFL
07-22-2016, 02:57 AM
Does this only work with VB3?
I am thinking so, since there are auto-template edits being made. :)
Kane@airrifle
07-22-2016, 01:26 PM
Does this only work with VB3?
Works on my 4.2.4 test board once all instances of templatecache was changed from footer to ad_footer_end
lacidious
07-11-2019, 01:36 AM
Not working for me on 4.2.5 after making that change ...anything else I can do?
esskmk
02-27-2020, 11:05 PM
How to make vBSeo settings?
lange
05-28-2020, 12:07 PM
Thanks
I have tested the links Vine, Instagram, Twitter given in the description. The product works fine under 3.8.11 / PHP7.2.31.
I am interested in an update with Youtube and Vimeo.
Dr.CustUmz
05-28-2020, 09:17 PM
Thanks
I have tested the links Vine, Instagram, Twitter given in the description. The product works fine under 3.8.11 / PHP7.2.31.
I am interested in an update with Youtube and Vimeo.
they all still work? sweet! I have maybe a week or 2 left in what Im working on, and I'll be going through all my products =)
lange
05-28-2020, 09:48 PM
Nice! I'm glad to know that you are a vB3 coder. I am wiling to pay for your products.
So I will need help in a few weeks to update a vB3.x product to PHP 7.2+, a product that I used in the past as vBulletin-WordPress bridge.
I'll talk about it in the next weeks.
Greek76
10-16-2020, 08:04 PM
Does this work for Vb4?
mr.firas
04-19-2021, 10:15 PM
thanks bro
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.