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):
'xoops_isadmin' => $xoopsUserIsAdmin
Paste directly after this code (for both occurences):
'xoops_avatar' => $xoopsUser->getVar('user_avatar')
The user-avatar would be called like this in a template or in one of the theme-files:
<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

Who's Online

349 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 349


more...

Donat-O-Meter

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

Did you know ?

You can only position a block beneath a module by hacking the theme.html file

Random question

How do I install a module?