Firefox PHP

Module: User Avatar

Posted by Maurice Makaay 
Re: Module: User Avatar
June 16, 2009 03:32PM
This code is broken, because it will produce invalid CSS style tags:

style="width:{MESSAGES->user_avatar_w} 100 px; height:{MESSAGES->user_avatar_h} 100 px"

You probably want that to be:

style="width:100px; height:100px"


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Module: User Avatar
June 16, 2009 04:39PM
Thank you so much! It works now. :-P

[www.carrierawks.com]
Re: Module: User Avatar
June 22, 2009 09:10AM
New here, 1st post... I have a question that I've been working to figure out but cannot seem to solve.

Question: Avatar shows up fine but any post that is a RE: (reply) no matter who it is I'm logged in as will not show avatar. It will only display an avatar for the 1st post in a topic.

Any ideas how to fix or whats causing it?


Using latest phorum and classic template
Re: Module: User Avatar
June 22, 2009 10:30AM
solved on irc. the updated template was not picked up or not completely uploaded.


Thomas Seifert
Anonymous User
Re: Module: User Avatar
July 17, 2009 06:28PM
Hi all,

It may be a candid question, but in what folder are stored the avatar files ?

I just don't find it.



Edited 1 time(s). Last edit at 07/17/2009 06:51PM by ab1.
Re: Module: User Avatar
July 17, 2009 06:37PM
They are stored in the database in the phorum_files table.
That is where all Phorum files are stored (so personal files and attachments too).


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Anonymous User
Re: Module: User Avatar
July 17, 2009 06:50PM
Quote
Maurice Makaay
They are stored in the database in the phorum_files table.
That is where all Phorum files are stored (so personal files and attachments too).

Thanks! Do you mean the "phorum-files.frm" ? I don't see other.

I will take a look when having time, to your module "Store Files on Disk".



Edited 1 time(s). Last edit at 07/17/2009 06:51PM by ab1.
Re: Module: User Avatar
July 18, 2009 01:17AM
Why are you looking at the MySQL storage files? Those are not useful for a human (as in: unreadable). One needs to access those via the MySQL database server.

What are you trying to pull off here? Do you really need the files directly on disk? If not, then we always recommend to keep the system as-is. Storing the files in the database has big advantages over storing them on disk. The choice is up to you of course. Note that there is no reverse route for returning from file storage to db storage, so once you use the module, you will be tied to using it.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Anonymous User
Re: Module: User Avatar
July 18, 2009 08:27AM
I take note :)
unable to see Avatar
August 03, 2009 07:47PM
I apologize in advance if this my question should to pasted else where...
I am running Phorum5 Ver. 5.2.12a and I have installed "User_Avatar" ver. 3.0.4... I made changes to all the pages as outlined in the README (changes were made to the "read.tpl", "read_hybrid.tpl", "read_threads.tpl", and "profile.tpl".) I am using the default "emerald" template

a user can upload an avatar and save the settings. and when click the user name you can see the avatar, however the avatar does not show up on any pages...

I have also loaded an image here and I can't see it...

For the record I am by definition a newbie
Thanx in advance
Gadgetboyeee aka Sheldon
Sorry, only registered users may post in this forum.

Click here to login