Firefox PHP

Module: User Avatar

Posted by Maurice Makaay 
Re: Module: User Avatar
December 04, 2009 05:38PM
which "form for the avatars"? you mean how to upload them? Thats done in the controlcenter and nothing needs to be added for that manually.


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: User Avatar
December 04, 2009 08:37PM
It's weird... I have nothing special in the control centre...
Re: Module: User Avatar
December 04, 2009 09:55PM
which template are you using? did you enable this module at all?


Thomas Seifert
Phorum Development Team / Mysnip-Solutions.de
Custom Phorum and general software development
worry-free Phorum Hosting
Re: Module: User Avatar
December 04, 2009 09:58PM
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
Re: Module: User Avatar
December 05, 2009 08:14PM
Oh sorry... I thought I'd enabled the module...

Well it's working now !

Thanks for you help !
Re: Module: User Avatar
December 08, 2009 08:56PM
awesome. I'm a newbie and figured it out.
Re: Module: User Avatar
January 04, 2010 09:53PM
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 10:06PM by ATC_BigGuy.
Re: Module: User Avatar
January 04, 2010 10:36PM
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
Re: Module: User Avatar
January 05, 2010 05:30AM
I got that module up and running, thank you!
Re: Module: User Avatar
April 14, 2010 11:17AM
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 11:18AM by Lammi.
Sorry, only registered users may post in this forum.

Click here to login