vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   oEmbed on vBulletin? (https://vborg.vbsupport.ru/showthread.php?t=324410)

bfdzio 02-09-2017 12:56 PM

oEmbed on vBulletin?
 
Hey guys, I was hoping somebody could help me out on getting oEmbed setup on vBulletin...or any of the other variants like Embed.ly instead. I just am not good with figuring this sort of stuff out apparently and I must be missing something on just how to get it up and going.

cellarius 02-09-2017 01:31 PM

As a consumer or a provider? You really need to be a bit more forthcoming with details to what exactly you want to achieve (and maybe what you've tried already).

bfdzio 02-09-2017 02:01 PM

Quote:

Originally Posted by cellarius (Post 2582108)
As a consumer or a provider? You really need to be a bit more forthcoming with details to what exactly you want to achieve (and maybe what you've tried already).

I haven't tried much because I literally don't know where to start. Everyone just gives documentation on how it works but not exactly what I need to do. I am not up to date on coding anything these days, especially with this kind of stuff.

I run a subscription based forum and just would like it if people quit needing to post the twitter embed code themselves, among other things.

cellarius 02-09-2017 05:35 PM

So, you would have them post a URL to that service, then parse the answer accordingly? That's not trivial.

You could perhaps do it using an addon I once did, making bbcode with php callback available. https://vborg.vbsupport.ru/showthread.php?t=264896. Create a twitter bbcode, pass the URL to the PHP script, call oEmbed, parse the answer and create a html output accordingly.

If I understand what you want correctly.

bfdzio 02-10-2017 12:15 PM

Quote:

Originally Posted by cellarius (Post 2582118)
So, you would have them post a URL to that service, then parse the answer accordingly? That's not trivial.

You could perhaps do it using an addon I once did, making bbcode with php callback available. https://vborg.vbsupport.ru/showthread.php?t=264896. Create a twitter bbcode, pass the URL to the PHP script, call oEmbed, parse the answer and create a html output accordingly.

If I understand what you want correctly.

Basically. But I wouldn't even know where to start with that....I am basically looking for something like AME but without needing to add AME. I am starting to think it isn't possible without some plugin like that. Was hoping there was just some code we could slap into the headerinclude.

cellarius 02-10-2017 02:23 PM

Not likely. You'd have to process the answer you get back from the serving side.


All times are GMT. The time now is 11:27 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01117 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete