SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I make a smarty-template for user-avatars?
Easy! Open file xoopsroot/header.php in an editor and look for this code (2 occurences):
le="color: #000000"><?php 'xoops_isadmin' => $xoopsUserIsAdmin
Paste directly after this code (for both occurences):
le="color: #000000"><?php , 'xoops_avatar' => $xoopsUser->getVar('user_avatar')
The user-avatar would be called like this in a template or in one of the theme-files:
le="color: #000000"><?php <img src="<{$xoops_upload_url}>/<{$xoops_avatar}>" />


The comments are owned by the author. We aren't responsible for their content.
user

 Doesn' work with 2.2.3!!


Please! i need this hack corrected, so I can use it in XOOPS 2.2.3!!!

 
user

 Adding Smarty Template for Avatars -- Doesn't work in 2.3


Can this please be updated for 2.3? For someone like me who is unfamiliar with Smarty and PHP, this would be very much appreciated!

 


Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!