Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[DRC] - Auto Embed Details »»
[DRC] - Auto Embed
Version: 1.5, by Dr.CustUmz Dr.CustUmz is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.10 Rating:
Released: 05-13-2016 Last Update: 05-17-2016 Installs: 16
Supported Uses Plugins Auto-Templates
 

[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.
Code:
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:

Code:
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

Download Now

File Type: xml [DRC] - Auto Embed.xml (56.0 KB, 171 views)

Screenshots

File Type: jpg 2016-05-14_14-53-36.jpg (22.7 KB, 0 views)
File Type: jpg 2016-05-14_14-56-11.jpg (85.1 KB, 0 views)
File Type: jpg XaVTaiA.jpg (57.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
lange, Martell

Comments
  #2  
Old 05-14-2016, 07:05 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To Do
- Default settings need to be adjusted
- Organize Phrases
- Start Youtube
Reply With Quote
Благодарность от:
jamesta1221
  #3  
Old 05-14-2016, 09:31 PM
greigeh greigeh is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
Dr.CustUmz
  #4  
Old 05-14-2016, 09:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
Dr.CustUmz
  #5  
Old 05-14-2016, 10:27 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
Alan_SP
  #6  
Old 05-15-2016, 02:23 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by greigeh View Post
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.

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.
Reply With Quote
  #7  
Old 05-15-2016, 02:27 PM
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Posts: 1,122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dr.CustUmz View Post
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:
Reply With Quote
Благодарность от:
Dr.CustUmz
  #8  
Old 05-15-2016, 04:55 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated to v1.1 which allows broader variations of links.
Example variations of the same Instagram link:

Code:
instagr.am/p/BEWkAowt0EL
instagram.com/p/BEWkAowt0EL
www.instagram.com/p/BEWkAowt0EL
http://www.instagram.com/p/BEWkAowt0EL
Reply With Quote
  #9  
Old 05-15-2016, 08:35 PM
Dr.CustUmz's Avatar
Dr.CustUmz Dr.CustUmz is offline
 
Join Date: Aug 2013
Location: USA
Posts: 647
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Code:
<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
Code:
<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:

HTML Code:
<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 =)
Reply With Quote
  #10  
Old 05-16-2016, 06:52 PM
DR-WoWo DR-WoWo is offline
 
Join Date: Dec 2013
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You deserve all the respect and appreciation

My friend

waiting to add youtube
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:52 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04744 seconds
  • Memory Usage 2,347KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (7)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete