Previous Thread
Next Thread
Print Thread
Rate Thread
Gfycat Animated Images - Custom Tag
#323109 10/12/2018 4:29 PM
Joined: Jan 2000
Posts: 5,805
Likes: 10
Gizmo Offline OP
UBB.Dev / UBB.Wiki Owner
Time Lord
OP Offline
UBB.Dev / UBB.Wiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,805
Likes: 10
About
This Custom Tag will allow you to syndicate Gfycat Animated Images. Users will need to copy the "Video URL" into the video tags (or the editor if enabled).

Tags
Code
[gfy][/gfy]

Install
Save "CustomTag.txt" (with the code provided) and import into the "Custom Tags" feature of the control panel:
Control Panel -> Tools & Info -> Content Rebuilder -> Custom Tags -> Import new tags (bottom tab)

CustomTag.txt
Code
<?php
$export_tags = array (
0 =>
array (
'tag' => 'gfy',
'descrip' => 'Gfycat Animated Image',
'prompt' => 'Gfycat URL; eg: https://gfycat.com/gifs/detail/xxxxxxxxxx',
'regex' => '(.*gfycat.com)/gifs/detail/(.+?)',
'markup' => '<div class="video-container"><iframe frameborder="0" width="640" height="360" src="https://gfycat.com/ifr/\\\\2" allowfullscreen></iframe></div>',
),
);
?>


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.Sitemaps
1 member likes this: isaac
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,805
Joined: January 2000
Forum Statistics
Forums63
Topics37,543
Posts293,774
Members13,837
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 236
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 3
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,805
Greg Hard 4,625
Top Posters(30 Days)
isaac 1
Top Likes Received
isaac 39
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200618.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.033s Queries: 17 (0.010s) Memory: 3.2356 MB (Peak: 3.6275 MB) Data Comp: Zlib Server Time: 2020-07-03 19:29:08 UTC
Valid HTML 5 and Valid CSS