vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - BB code for gfycat.com (https://vborg.vbsupport.ru/showthread.php?t=327536)

scottkoz20 09-12-2019 09:00 PM

BB code for gfycat.com
 
1 Attachment(s)
from a Request made here - https://vbulletin.org/forum/showthread.php?t=327534; this is a Simple BB code enhancement to embed items from gfycat.com to your forum.

You can either import the XML attached

Go to AdminCP -> Custom BB Codes -> Import/Export BBCodes

Select the XML for the import
Import BB Code

OR

Manually add

Go to AdminCP -> Custom BB Codes -> Add New BB Codes

Title: gfycat

BB Code Tag Name: gfy

Replacement:
Code:

<iframe src='https://gfycat.com/ifr/{param}' frameborder='0' scrolling='no' allowfullscreen width='320' height='262'></iframe>
Example: [gfy]reasonablelamefunnelweaverspider[/gfy]

Desc: Only use the information after https://gfycat.com/ (Ex: reasonablelamefunnelweaverspider)

Leave the other options as default. If you use a Button Image, use the physical location of where the image is uploaded.


Mod is marked not supported - please feel free to modify as needed.

Thanks
Scott

scottkoz20 09-12-2019 10:18 PM

reserved for updates, if needed

Please note that you can change the Width and Height to suit your needs in the embed code... I went 320x262 as it was 1/2 of the sample that I used during testing

jeremiekp 09-13-2019 01:00 AM

It works perfect. thanks


All times are GMT. The time now is 04:56 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.01029 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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