Module: User Avatar
Posted by Maurice Makaay
June 16, 2009 03:32PM |
Admin Registered: 19 years ago Posts: 8,532 |
This code is broken, because it will produce invalid CSS style tags:
You probably want that to be:
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
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



June 16, 2009 04:39PM |
Registered: 14 years ago Posts: 2 |
Re: Module: User Avatar June 22, 2009 09:10AM |
Registered: 14 years ago Posts: 1 |
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
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 |
Admin Registered: 20 years ago Posts: 9,240 |
Anonymous User
Re: Module: User Avatar July 17, 2009 06:28PM |
July 17, 2009 06:37PM |
Admin Registered: 19 years ago Posts: 8,532 |
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
That is where all Phorum files are stored (so personal files and attachments too).
Maurice Makaay
Phorum Development Team



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.
July 18, 2009 01:17AM |
Admin Registered: 19 years ago Posts: 8,532 |
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
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



Anonymous User
Re: Module: User Avatar July 18, 2009 08:27AM |
August 03, 2009 07:47PM |
Registered: 14 years ago Posts: 13 |
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
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.