MyBB Community Forums

Full Version: ABP Giphy 1.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
ABP Giphy: Adds a giphy search button in sceditor

New version : compatible with Rin Editor. You must activate ABP Giphy after Rin Editor

Note
You need a Giphy API key to have the plugin working.
If you don't have one, go to https://developers.giphy.com/dashboard and generate it, it's free.

Upgrade from 1.0 or 1.1
  • Deactivate the previous version
  • Unzip the content of the archive
  • Upload everything under Upload/ directory to your forum root
  • In ACP, reactivate the plugin

Installation
  • Unzip the content of the archive
  • Upload everything under Upload/ directory to your forum root
  • In ACP, install & activate
  • Fill API Key with your key
Settings
  • API key (mandatory)
  • Limit : number of pictures returned (default: 25)
  • Rating : rating filter

Download : https://community.mybb.com/mods.php?acti...w&pid=1411

Thanks to vbgamer45 and martec !
Wow, great idea! Is it compatible with CKeditor from @martec - RinEditor?

It supports adding custom buttons. If not, please could you add a support? _)
I will have a look, I never used CKeditor nor tried to embed it.
Can't promise anything
@Crazycat

The ABP Giphy plugin seems to work OK for my website.

However, the required GIPHY logo is missing. View the screenshot.

[Image: 35a8f9387935102a00eaab606dec3d7a.png]
Yes, I know, It will come soon.
As said in your thread in support, I've a small trouble with templating, so I didn't achieve everything

Update : new version updated, just adding attribution mark
(2020-12-14, 09:54 PM)Crazycat Wrote: [ -> ]I will have a look, I never used CKeditor nor tried to embed it.
Can't promise anything

Maybe @martec could step in? 
RinEditor supports custom buttons (ACP settings), maybe it could help a little bit Smile
Good work @Crazycat Smile
Hope my suggestions helped in the design of this plugin.
(2020-12-15, 02:20 PM)Crazycat Wrote: [ -> ]Yes, I know, It will come soon.
As said in your thread in support, I've a small trouble with templating, so I didn't achieve everything

Update : new version updated, just adding attribution mark

I am using ABP Giphy 1.1 version and it is running well! The attribution mark is there, too!
Use version 1.2 of this plugin...

Hi,

Thanks for plugin.

I don't use this, but it seems that there is a demand, modifications made to make it work for Rin Editor as well. It is not the correct way to do this, I should create a plugin for Ckeditor, but it would take time for almost nothing different.

1 - Download the plugin and extract to your host or server.

2 - Donwload Attachment:
Put to root/jscripts folder. Check if file name is "abp_giphy.js" if not rename it.

3 - Open and edit Global Templates » rinbutquick Templates

After all add:

<script type="text/javascript">
    abp_giphy_key = "your api";
    abp_giphy_limit = 25;
    abp_giphy_rating = "g";
</script>
<script type="text/javascript" src='./jscripts/abp_giphy.js?ver=1.0'></script>

Ps. This not work in quick_edit.
Ps 2. Don't need install plugin, because the Rin Editor remove the {$codebuttons} used by this plugin, so "find_replace_templatesets" don't work correctly.
Ps 3. Crazycat feel free to incorporate this. If you don't want to heat your head, leave it at that.

it's all.
Nice job martec. I think I can move the js variable in the headerinclude template, or another one, they won't slow the system Smile

I'll probably commit a new version compatible with RIN editor after xmas.
Pages: 1 2 3 4