Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 244
Total: 244

Author Topic: Tip: Image Proxy For SMF 1.1.x  (Read 1806 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Tip: Image Proxy For SMF 1.1.x
« on: December 07, 2017, 10:43:41 am »
If you are on SSL  and still using SMF 1.1.x
It is relatively easy to backport the image proxy from SMF 2.0.x to SMF 1.1.x since it is standalone


For SMF 1.1.x
Copy the proxy.php from SMF 2.0.x to the root directory of your forum
Copy Sources/Class-CurlFetchWeb.php from SMF 2.0 to your SMF 1.1.x folder.

Create a cache folder in the root directory of your SMF and make it writable.

In your Settings.php
Add to it
Code: [Select]
$image_proxy_secret = 'yoursecrethashhere';
$image_proxy_maxsize = 5190;
$image_proxy_enabled = 1;


Lastly you need to make the edits less than 10 that say image_proxy_enabled or image_proxy_secret  from the sources/load.php and sources/subs.php files in SMF 2.0 just refer to similar code in SMF 1.1.x
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
7436 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
0 Replies
3821 Views
Last post December 24, 2007, 02:51:54 pm
by dry3210
3 Replies
6193 Views
Last post February 19, 2008, 08:25:28 pm
by SMFHacks
5 Replies
8127 Views
Last post April 04, 2012, 12:39:56 pm
by spcx
0 Replies
3174 Views
Last post August 01, 2019, 10:42:37 pm
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal