Firefox PHP

User Avatar Module

Posted by CH 
Re: User Avatar Module
March 14, 2007 02:41PM
Hey,

i've some problem:

I can't bring the "Per-User Avatar"-module to list my image files.
I placed a gif, a jpg and a png in "my files", but the script isn't able to read just one.

It's a little bit strange, because for one time (first try) i could select my picture, and i saved the change. But now i'm not able to reconstruct this situation. (EDIT: Now it sometimes appears, but it doesn't work)

=> The image size is correct (smaller than configurated).

PS: Another error:
When i try to move a thread there is this error:


Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/.../board/mods/user_avatar/user_avatar.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/.../board/mods/user_avatar/user_avatar.php:56) in /srv/www/htdocs/.../board/cache/tpl-cpmexico-header-toplevel_stage2-89fa268aadf821e18990ce21a4ab01c1.php on line 3
Re: User Avatar Module
March 15, 2007 07:20AM
whats in line 56 in mods/user_avatar/user_avatar.php?

---
-=[ Panu ]=-
Re: User Avatar Module
March 23, 2007 02:28AM
Hey comm,

I cant download the mod. The board only show "Linking to files in this forum is not allowed from outside the forum." I am a little bit confused.
Re: Where is the text?
April 15, 2007 05:52PM
Can someone give us a hint about this topic?

I have the exact same problem, thanks a lot!

Quote
derektaprell
Quote
reneke
Hello,

I've installed the module into a phorum 5.0.21 and it seems to work.
Only 2 problems:
1) the language file does not seem to work. (i.e. no text in the 'personal profile' link to the avatar settings) Where does the english file need to be put? Is it an old version?
2) No avatars are visible in the beginscreen / overview all threads. Allthough I've modified all the files that are named in the readme.txt

Thanks for your help,
rene

I have both of these problems too! I've renamed my mods folder to 'user_avatar' and that solved the 'no settings error' but i'm still left with no text.

The mods/user_avatar/english.php seems to be a culprit.
1. Should it have an index for 'EditAvatar' as required by cc_menu.tpl.
2. Should english.php be in that directory?

Any help would be great! Cheers
Re: Where is the text?
April 15, 2007 06:16PM
Language files for modules should be inside a subdir "lang" in the module. So mods/module_name/lang/english.php. It the english.php is at the same level as info.txt, then it's not in the right spot.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: User Avatar Module
April 15, 2007 08:39PM
Yes, the "lang" file was in its subdir but i figured out one syntax error and its working fine.

Thx Maurice.
Re: User Avatar Module
April 17, 2007 01:23PM
The mod fopen to be on.

Sergej

------------------------------------------
^AU^ Assassins United
[www.assassinsunited.com]
------------------------------------------
Re: User Avatar Module
June 10, 2007 04:43PM
Hi, thanks for this mod, but I have a problem.

I've made all the changes as detailed in the readme. txt, and users can now upload images within the given constraints (size, type), but the avatar screen does not display any files for selection, with the message:

If you have uploaded a file and you do not see it listed here, the file is probably too large, or of the wrong type. The maximum dimensions are width x height: (100 x 100).
Valid file types are gif, jpg, png, bmp.


No avatar

Interestingly, when I click on the link to the images I've uploaded, I don't see the images, but I see:

in the case of a JPG: ÿØÿà

in the case of a GIF: GIF89aA

Both JPGs and GIFs are allowed filetypes for upload.

Also, when I uncheck this:

Block display of Avatars (you will not see avatars on any post):

and then save changes, it immediately reverts to being checked.

Any suggestions?



Edited 2 time(s). Last edit at 06/10/2007 05:00PM by farang.
Re: User Avatar Module
June 18, 2007 09:46AM
CHANGES:
- Predefined templates added (works with default template)
- settings style changed (one submit button...)
- language file updated
- added Czech language (3 encodings as you can find in Czech language forum)
- some minor improvements (readme, texts...)

Tested with default 5.1.22

Feel free to post any comments.



Edited 2 time(s). Last edit at 06/20/2007 01:00PM by CZVilda.
Attachments:
open | download - user_avatar_2.2.0.zip (12 KB)
Re: User Avatar Module
June 28, 2007 09:30AM
Bonjour,
voici la version française de ce module.

Hi,
here's the french version

Merci pour ce module sympathique !
Thanks for this mod !
Attachments:
open | download - french.php (1.2 KB)
Sorry, only registered users may post in this forum.

Click here to login