Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] ABP Giphy 1.2
#1
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 !
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#2
Wow, great idea! Is it compatible with CKeditor from @martec - RinEditor?

It supports adding custom buttons. If not, please could you add a support? _)
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#3
I will have a look, I never used CKeditor nor tried to embed it.
Can't promise anything
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#4
@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]
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#5
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
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#6
(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
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#7
Good work @Crazycat Smile
Hope my suggestions helped in the design of this plugin.
Reply
#8
(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!
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#9
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.


Attached Files
.js   abp_giphy.js (Size: 8.35 KB / Downloads: 16)
Reply
#10
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.
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)