Avatar Module
Posted by Chris Eaton
May 12, 2007 12:00PM |
Registered: 20 years ago Posts: 868 |
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]
------------------------------------------
Sergej
------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
May 12, 2007 01:27PM |
Admin Registered: 18 years ago Posts: 8,532 |
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
Maurice Makaay
Phorum Development Team



Re: Avatar Module June 07, 2007 07:52PM |
Registered: 16 years ago Posts: 1 |
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
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 |
Registered: 18 years ago Posts: 61 |
Re: Avatar Module September 24, 2007 06:58PM |
Registered: 16 years ago Posts: 16 |
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 ?
September 24, 2007 07:11PM |
Admin Registered: 18 years ago Posts: 8,532 |
A guess:
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
$PHORUM['DATA']['mod_avatar_files'] = empty($user["mod_avatar"]["avatars"]) ? array() : $user["mod_avatar"]["avatars"];
Maurice Makaay
Phorum Development Team



Re: Avatar Module September 24, 2007 07:40PM |
Registered: 16 years ago Posts: 16 |
Sorry, only registered users may post in this forum.