Own Avatar from SQL

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/17/2012 7:23:50 AM
Gravatar
Total Posts 13

Own Avatar from SQL

Hello, I would like to ask you if a possible to get avatar from database? I have fotos of all employees stored in MS SQL Server database. I created ASP script for it on my old Intranet portal, but now I am testing mojoportal and this function are missing. Pictures have resolution 696x814. But the traffic is on LAN only. Thank you L
5/17/2012 10:16:18 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Own Avatar from SQL

Here's what I would do: In site settings, make sure the avatar system is set to User Upload. Upload a test avatar and go through the code and find where the avatar images are being placed and how they are associated with the user in the database.

Once you have all of that information, depending on your needs you can either do some SQL mass updates to load and associate the images, or create a User Registered Event Handler to do it as each user registers in your system. For the latter method, I'm assuming you're using LDAP/Active Directory authentication.

Hope that helps,

Jamie

You must sign in to post in the forums. This thread is closed to new posts.