Jump to content

Featured Replies

Posted

Someone on my site went to Other Media --> Insert a stock photo and started typing racoon.  After they typed just two letters ra a nude woman pic came up.  Happened here too.

I see in Giphy we can limit pics by rating.  How do we limit Stock Photos?  I do not allow any nudity on my sites.

Thanks

According to the Pixabay API documentation, there's a "safesearch" parameter:

Quote

 

safesearch bool A flag indicating that only images suitable for all ages should be returned.
Accepted values: "true", "false"
Default: "false"

 

It defaults to "false." This would be a nice option the configuration of the integration.

Edited by Paul E.

.... Everyone searching "ra" now 🙂

20200916_170604.thumb.jpg.e64a683b9fd15f9b1b32cf724a276387.jpg

Its a new feature in 4.5 😉

Edited by Duken

While we're adding options to the "Community enhancement," lang should be considered to add for the benefit of those non-English speaking communities.

lang str Language code of the language to be searched in.
Accepted values: cs, da, de, en, es, fr, id, it, hu, nl, no, pl, pt, ro, sk, fi, sv, tr, vi, th, bg, ru, el, ja, ko, zh
Default: "en"

Just to clarify, is this an add-on? I don't see an option for stock photography in default 4.5.

15 minutes ago, John T Davis said:

Just to clarify, is this an add-on? I don't see an option for stock photography in default 4.5.

ACP > System > Community Enhancements > Pixabay

I threw this plugin together. Use at your own risk. It inserts the safesearch = true parameter into the API call (assuming Pixabay integration is turned on). This could be extended by whomever to add language as well. Thanks to @bfarber for the "hard way" clue.

Temporary Fix to Enable Safesearch for Pixabay.xml

Edited by Paul E.

Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them.

  • Author
55 minutes ago, xtech said:

Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them.

Not sure, mine was instant.

4 hours ago, xtech said:

Btw: how hard is to get approval from Pixabay? I've applied for it yesterday, still no answer from them.

It's a bit confusing. There is an application process, but you don't need to do that for this integration. When you go to the page linked in the ACP and create an account, it has what appears to be a sample API key embedded in that page, but that's your actual key. It took like three cups of coffee for me to figure out what was going on there.

  • Management

Pixabay does make it a little odd, but all you need is the key, which is only shown in the documentation page. We'll sort out the safe search option for 4.5.3.

@xtech: here's a screenshot of where you can find the key on the documentation page (linked from ACP > Settings > Community Enhancements > Pixabay > Configure). After you create an account/login, which has no approval process, you'll see a value in the green box in the Parameters listing under API. That's the actual API key for you. I've pixelated it in the screenshot below.

There's no obvious HERE'S YOUR API KEY call out.

image.png.3d76998ad163b8400767237a60413442.png

21 minutes ago, Matt said:

We'll sort out the safe search option for 4.5.3.

If you could add another option that returns only the naughty stuff, that would be appreciated. Please enable said option here. I understand that's not an option with the Pixabay API, but I'm confident you'll find a way. Thanks. 🤓

pervert GIF

1 hour ago, Paul E. said:

@xtech: here's a screenshot of where you can find the key on the documentation page (linked from ACP > Settings > Community Enhancements > Pixabay > Configure). After you create an account/login, which has no approval process, you'll see a value in the green box in the Parameters listing under API. That's the actual API key for you. I've pixelated it in the screenshot below.

 

Thank you a lot!! My eyes had automatically igrnored that green API key box...

I thought i needed to click:

image.thumb.png.5bebc13a5c941212d1ca46e7d085da65.png

1 minute ago, xtech said:

Thank you a lot!! My eyes had automatically igrnored that green API key box...

Did the same thing. It's only visible after the third cup of coffee.

Since when is all nudity classed as porn?  😆

Even with a safe search filter, there will be nudity. 

On 9/17/2020 at 5:46 PM, Paul E. said:

I threw this plugin together. Use at your own risk. It inserts the safesearch = true parameter into the API call (assuming Pixabay integration is turned on). This could be extended by whomever to add language as well. Thanks to @bfarber for the "hard way" clue.

Temporary Fix to Enable Safesearch for Pixabay.xml 1.52 kB · 5 downloads

FYI, this is no longer needed as of 4.5.3+. It won't break anything, yet is now a configurable option in the ACP > Community Enhancements > Pixabay

  • Management
On 9/19/2020 at 1:33 AM, ahc said:

Since when is all nudity classed as porn?  😆

Even with a safe search filter, there will be nudity. 

Absolutely, art has always used nudes to depict the human form.

Still a bit of a surprise when you're looking for photos of coffee. 😂😂😂

As Paul mentioned, 4.5.3 adds a safe search option (on by default). It won't catch everything, but it'll reduce the chances your kids will spot you surfing for naked pictures on your forum.

nudes GIF

Recently Browsing 0

  • No registered users viewing this page.