Module: User Avatar
Posted by Maurice Makaay
Re: Module: User Avatar December 04, 2009 11:38AM |
Admin Registered: 21 years ago Posts: 9,240 |
Re: Module: User Avatar December 04, 2009 02:37PM |
Registered: 14 years ago Posts: 9 |
Re: Module: User Avatar December 04, 2009 03:55PM |
Admin Registered: 21 years ago Posts: 9,240 |
December 04, 2009 03:58PM |
Admin Registered: 19 years ago Posts: 8,532 |
And what version of Phorum? In older versions of Phorum, the template for the control center did not contain the hook that is used for displaying extra options in the control center. If you based your Phorum template on a recent template, then this should not be an issue though.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Module: User Avatar December 05, 2009 02:14PM |
Registered: 14 years ago Posts: 9 |
Re: Module: User Avatar December 08, 2009 02:56PM |
Registered: 14 years ago Posts: 12 |
Re: Module: User Avatar January 04, 2010 03:53PM |
Registered: 13 years ago Posts: 2 |
I have installed the mod\ule and everything is working, except when I go to choose my default avatar it sends this error
Fatal error: Cannot use string offset as an array in /path/to/forum/include/controlcenter/mod_avatar.php on line 74
Edited 3 time(s). Last edit at 01/04/2010 04:06PM by ATC_BigGuy.
Fatal error: Cannot use string offset as an array in /path/to/forum/include/controlcenter/mod_avatar.php on line 74
Edited 3 time(s). Last edit at 01/04/2010 04:06PM by ATC_BigGuy.
January 04, 2010 04:36PM |
Admin Registered: 19 years ago Posts: 8,532 |
That is not a file that is part of this module. I guess that you are reporting the issue in the wrong module thread here. This might be a part of the user avatar module that was once written for Phorum 5.1. Try the module from this thread, which was designed for 5.2 and which makes installation easier and more robust.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Module: User Avatar January 04, 2010 11:30PM |
Registered: 13 years ago Posts: 2 |
Re: Module: User Avatar April 14, 2010 05:17AM |
Registered: 16 years ago Posts: 11 |
Hi Maurice,
I've tried to install that mod and it works partially well :-)
It seems that the avatars are only added to $PHORUM['DATA']['USER'] but not to ['MESSAGES'] or ['PROFILE']. So I'm the only one who is able to see my wonderful avatar:
[USER] => array
{
...
[user_avatar] => [www.blafasel.com]
[user_avatar_w] => 100
[user_avatar_h] => 100
...
}
So adding <img src="{MESSAGES->user_avatar}" alt="{MESSAGES->author}"/> to read.tpl show nothing, adding <img src="{USER->user_avatar}" alt="{MESSAGES->author}"/> shows the avatar.
Did I miss something?
Lorenz
forgot: Im using phorum 5.2.7 and the mods current version.
Edited 1 time(s). Last edit at 04/14/2010 05:18AM by Lammi.
I've tried to install that mod and it works partially well :-)
It seems that the avatars are only added to $PHORUM['DATA']['USER'] but not to ['MESSAGES'] or ['PROFILE']. So I'm the only one who is able to see my wonderful avatar:
[USER] => array
{
...
[user_avatar] => [www.blafasel.com]
[user_avatar_w] => 100
[user_avatar_h] => 100
...
}
So adding <img src="{MESSAGES->user_avatar}" alt="{MESSAGES->author}"/> to read.tpl show nothing, adding <img src="{USER->user_avatar}" alt="{MESSAGES->author}"/> shows the avatar.
Did I miss something?
Lorenz
forgot: Im using phorum 5.2.7 and the mods current version.
Edited 1 time(s). Last edit at 04/14/2010 05:18AM by Lammi.
Sorry, only registered users may post in this forum.