IP.Board Tutorials

Change font for profile photos 4.2.X

Submitted by erevan, , Thread ID: 85959

Thread Closed
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

Users browsing this thread: 1 Guest(s)