Thread Rating:
  • 3 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] DVZ Secure Content 1.1.5
#61
(04-06-2017, 07:14 PM)Eldenroot Wrote: I use your latest version, how to proxied avatars? I use free image proxy, it works fine for all images in posts, anyone on plugin page in ACP the button for avatars is greyed out.

Try changing line 545 of inc/plugins/dvz_secure_content.php:
$query = $db->simple_select('users', 'uid,avatar', "avatar != '' AND avatar_original = ''");
to:
$query = $db->simple_select('users', 'uid,avatar', "avatar != '' AND avatar NOT LIKE '" . $db->escape_string_like(self::settings('proxy_url')) . "%'");
and running Proxy avatar URLs again.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#62
I will try ASAP, not at home right now. I will let you know
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#63
(04-06-2017, 07:28 PM)Devilshakerz Wrote:
(04-06-2017, 07:14 PM)Eldenroot Wrote: I use your latest version, how to proxied avatars? I use free image proxy, it works fine for all images in posts, anyone on plugin page in ACP the button for avatars is greyed out.

Try changing line 545 of inc/plugins/dvz_secure_content.php:
$query = $db->simple_select('users', 'uid,avatar', "avatar != '' AND avatar_original = ''");
to:
$query = $db->simple_select('users', 'uid,avatar', "avatar != '' AND avatar NOT LIKE '" . $db->escape_string_like(self::settings('proxy_url')) . "%'");
and running Proxy avatar URLs again.

I tried but still same Sad
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#64
Version 1.1.5:
  • Fixed check for All remote avatars proxied
  • Minor fixes
Upgrading: overwrite inc/plugins/dvz_secure_content.php.

-----BEGIN PGP SIGNATURE-----

iQEcBAABCAAGBQJY8nC6AAoJEOL9rFzOOKd9WiEH/jvh85r3tvAgAO8G4D59m/H8
hz7c7XucmGTMNQL73VPjkJA+S08Pp3LSQDfi3pJ54EceU1xT2++BDyAEh8k2xEr8
NCFfE9DuY4Ynmqc9rEmvL+N1si8LkWxQ3b4ud80dTDGf2k4a+xXz1QnqW2+EemBd
o2HMZuaD7SZxQ3qZ7m3Yw5hRTvGRyWeL8sM4R9sGX/FBEvKlsl9Z5pn303H7qXKF
yK9ANCpljKRJOJfDHONV1SF6JYkbcMFjyFTqgjoM7BEhCdTM1YSTICedM7o3U7ca
nZ6xqIMkbS6SiHgrVD7q/rJmVTlLWTYgERoHRnUlx0vs7ZqiwG0A89kDDAT688I=
=ejZN
-----END PGP SIGNATURE-----

https://community.mybb.com/mods.php?acti...0&bid=2526
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#65
Nice plugin Smile Very useful Big Grin
Reply
#66
Can't you for images check if https version exists and replace it with https?

MyBB Trash Bin
MyBB Form Creator
Reply
#67
I have a problem i guess

i added image proxy with https://images.weserv.nl/

Now if i upload a pics .gif and i put img http://link.gif [/img], the image doesn't have animation, but if you click and open the image in new tab is working....

How can i solve the animation on posts?
Reply
#68
(04-27-2017, 07:43 PM)AlexanderPep Wrote: I have a problem i guess

i added image proxy with https://images.weserv.nl/

Now if i upload a pics .gif and i put img http://link.gif [/img], the image doesn't have animation, but if you click and open the image in new tab is working....

How can i solve the animation on posts?

Go to their website, from there it'd tell you weserv.nl don't support animated gifs yet..  


On another note,  This plugin works fine with the default theme, but for some reason can't get this to work with w3-responsive #70. How do I troubleshoot this?
Reply
#69
(06-07-2017, 01:01 AM)snakeoilos Wrote: On another note,  This plugin works fine with the default theme, but for some reason can't get this to work with w3-responsive #70. How do I troubleshoot this?

Can you provide some examples? What exactly doesn't work?
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#70
(06-07-2017, 01:11 AM)Devilshakerz Wrote: Can you provide some examples? What exactly doesn't work?
My bad Blush. Should have been more specific.

Image proxy URL to https://images.weserv.nl/ don't seem to work for my w3-responsive theme.

Using the default theme, the two pictures in this page successfully proxied by weserv (site is secure). Change it to w3-responsive (from the footer), and they're no longer proxied (site is insecure).

Thanks in advance.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)