Firefox PHP

Avatar Module

Posted by Chris Eaton 
Re: Avatar Module
May 12, 2007 12:00PM
Yea what I meant, thats how I use it. So whats the advantage of the direct dbase function then?

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: Avatar Module
May 12, 2007 01:27PM
Well, there's no additional call on the webserver and as stated, PHP installations that do not allow URL's for the fopen() call (but only local files) can use the module too now.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Avatar Module
June 07, 2007 07:52PM
Hi all, I'm new to the phorum community. I just wanted to post a little mod I made to this mod.

My method puts the avatar to the left of the post in its own column, as well as formats the post with <BLOCKQUOTE> tags.

Demo Here

You can download the files here
Re: Avatar Module
August 09, 2007 02:59PM
hello i got a strange bug width this mod, now i only can see the list of avatar from the control in the 0 phorum, controlcenter view on other phorum didn't display avatar list.

Any idear ?
Re: Avatar Module
September 24, 2007 06:58PM
Quote
Sergej
Ok heads up, I got it to work. Yes I did. Attached are the files that work for me on the latest stable version of Phorum (version 5.1.16a). Dont know what I did exactly but it works :-0
Follow instructions and have fun.

Hi,
I have the version of this posted by sergej on December 18, 2006 and am getting an error showing repeatedly in our error logs.

PHP Notice: Undefined index: mod_avatar in /usr/local/phorum5/mods/avatar/avatar.php on line 58, referer: [myphorum.mysite.com]

Line 58 is:
56 // Put the available avatars in the template data.
57 $PHORUM['DATA']['mod_avatar'] = $PHORUM["mod_avatar"];
58 $PHORUM['DATA']['mod_avatar_files'] = $user["mod_avatar"]["avatars"];

Does there need to be an "isset" type of statement in there somewhere ?
Re: Avatar Module
September 24, 2007 07:11PM
A guess:
$PHORUM['DATA']['mod_avatar_files'] = empty($user["mod_avatar"]["avatars"])
                                    ? array() : $user["mod_avatar"]["avatars"];


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Avatar Module
September 24, 2007 07:40PM
Maurice !
Again you are the best. That does seem to have stopped the errors.

:)
Sorry, only registered users may post in this forum.

Click here to login