Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12188
Latest: thereisaway
New This Month: 10
New This Week: 2
New Today: 2
Stats
Total Posts: 39127
Total Topics: 6890
Most Online Today: 78
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 64
Total: 64

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

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14590
    • 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
5317 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
0 Replies
2327 Views
Last post December 24, 2007, 02:51:54 pm
by dry3210
3 Replies
4287 Views
Last post February 19, 2008, 08:25:28 pm
by SMFHacks
3 Replies
5571 Views
Last post May 15, 2008, 09:54:35 pm
by SMFHacks
5 Replies
4600 Views
Last post April 04, 2012, 12:39:56 pm
by spcx

+- Recent Topics

SMFBlog problem by SMFHacks
September 21, 2018, 08:10:59 pm

GDPR Pro 2.0 Released for SMF by SMFHacks
September 21, 2018, 02:17:11 pm

[Mod]Dynamic Memberlist by SMFHacks
September 17, 2018, 05:00:59 pm

Pretty URL caches Url Permanently by SMFHacks
September 17, 2018, 11:57:44 am

[Mod]Guest Post No Email Field by SMFHacks
September 13, 2018, 10:41:07 pm

Can I redirect Pretty URL topics to another? by SMFHacks
September 13, 2018, 04:39:54 pm

Aeva Conversion - How to? by SMFHacks
September 12, 2018, 12:12:02 pm

Hide categories by language. 2. Multi lingual title by SMFHacks
September 12, 2018, 12:15:13 am

Footer in multiple languages by SMFHacks
September 11, 2018, 12:53:10 pm

Menu editor lite multilingual menues. by SMFHacks
September 11, 2018, 10:14:48 am

Powered by EzPortal