SMF Development > Bug Reports

avatar https

(1/1)

Inter:
 :P

Subs.php

Find:

--- Code: --- // Full URL?
elseif (substr($user_info['avatar']['url'], 0, 7) == 'http://')
--- End code ---

Replace:

--- Code: --- // Full URL?
elseif (substr($user_info['avatar']['url'], 0, 7) == 'http://' or substr($user_info['avatar']['url'], 0, 8) == 'https://')
--- End code ---

Load.php:
there needs to be changed in two places in a similar way ...

MrPhil:
What are you trying to accomplish here? Are you running SMF entirely under SSL (https)? Whatever for? If you need to put various pages under SSL, you'll probably have a lot more http: to clean up. SMF needs a major restructuring to allow SSL usage, including putting login, registration, and profile changes into separate pages.

This is hardly a bug -- more of a feature request.

emanuele:
AFAICS SMF should support https without much problems.


--- Quote from: MrPhil on September 05, 2012, 09:24:13 AM ---including putting login, registration, and profile changes into separate pages.
--- End quote ---
Why? ???

Inter:
For Example:

try this link to add to your profile

https://secure.gravatar.com/avatar/20193e630433d464b7c176717cfec595?s=100&d=wavatar&r=g

Navigation

[0] Message Index

Go to full version