IP.Board Tutorials

Change font for profile photos 4.2.X

Submitted by erevan, , Thread ID: 85959

Thread Closed
erevan
Newbie
Level:
0
Reputation:
0
Posts:
19
Likes:
1
Credits:
6
25-04-2018, 01:25 AM
#1
Looking around my FTP, I did a test to change the default font of profile photos.

I -Download a font (for my tutorial, i use Lobster 1.4)

Dafont.com

II -Add your font to the FTP:

Go to the "system / 3rd_party / Fonts" folder and add your font. The base name was Lobster 1.4.otf // I rename it to lobster.otf

III - Change font name in php file.

Go to the "system / member /" folder and open "LetterPhoto.php" and, once opened, skip down and replace the name of the old font with the new one.

return \IPS\ROOT_PATH . '/system/3rd_party/Fonts/NotoSans-Regular.ttf';toreturn \IPS\ROOT_PATH . '/system/3rd_party/Fonts/lobster.otf';(FOR ME).


After:https://img11.hostingpics.net/pics/735589Capture.png

Result:https://img11.hostingpics.net/pics/405770Capture.png

RE: Change font for profile photos 4.2.X

Guest
Level:
0
Posts:
N/A
Likes:
0
Credits:
0
27-06-2018, 11:36 PM
#2
Thank you very much, that s look good!!!!!!!!!!!!!!!!!!!!

Users browsing this thread: 1 Guest(s)