Forum image uploads for authenticated users?

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
12/27/2011 2:27:58 AM
Gravatar
Total Posts 66

Forum image uploads for authenticated users?

Hi,
I had no problem setting up mojo portal and administration it, it was quick easy and easy to use).

I am working on a website for the creative community and need to allow members (authenticated users) to upload images in form posts. The problem is that if I allow browsing of folders it doesn't point to the users data folder under the site and they can create folders. If I only set to allow them to upload then I get errors because folders aren't being created for the user (GUID) to upload.

I understand the security to a point but can't seem to get the portal to create individual user folders (none of the editors work with image upload). I tried to see if pasting of <img></img> urls in forum posts but this doesn't seem to work either..

Windows 2003 Server
SQL Server 2005
IIS 6.x

This is the error I get when I only allow authenticated users to upload images

2011-12-26 17:02:29,339 ERROR x.x.x.x - en-US - /Services/jqueryFileTreeMediaBrowser.ashx?type=image - mojoPortal.Web.Global -  Referrer(http://xxxxxxxxxxxxxx.com/Dialog/FileDialog.aspx?ed=ck&type=image&CKEditor=ctl00_mainContent_edMessageinnerEditor&CKEditorFuncNum=2&langCode=en) useragent Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0) System.NullReferenceException: Object reference not set to an instance of an object.    at mojoPortal.Web.Services.jqueryFileTreeMediaBrowser.RenderFileTree(HttpContext context)    at mojoPortal.Web.Services.jqueryFileTreeMediaBrowser.ProcessRequest(HttpContext context)    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 

12/27/2011 9:24:51 AM
Gravatar
Total Posts 18439

Re: Forum image uploads for authenticated users?

Hi,

You didn't mention what version of mojoPortal you are using, we use UserID not UserGuid to distinguish the user folders in recent versions, not sure if we once used UserGuid.

In any case I looked into this problem today and found it still exists so I've fixed it for the new release of mojoPortal that should ship tomorrow.

Best,

Joe

12/27/2011 9:55:08 AM
Gravatar
Total Posts 66

Re: Forum image uploads for authenticated users?

 

oh sorry. mojoportal-2-3-7-5-mssql-net40

 

 

Excellent news on this. This will be most beneficial for us! Thanks for the quick response too!

12/28/2011 8:16:11 AM
Gravatar
Total Posts 18439

Re: Forum image uploads for authenticated users?

This should be fixed in mojoPortal 2.3.7.6 which has just been released.

Best,

Joe

12/28/2011 8:25:56 AM
Gravatar
Total Posts 66

Re: Forum image uploads for authenticated users?

Awesome! I will upgrade the code today and let y'all know how it goes. Many thanks for such a quiick fix!

12/28/2011 8:33:52 AM
Gravatar
Total Posts 66

Re: Forum image uploads for authenticated users?

Quick question.

 

Is there a list of changed files so I can upgrade from 2.3.7.5 to .6

12/28/2011 8:38:53 AM
Gravatar
Total Posts 18439

Re: Forum image uploads for authenticated users?

No, you should assume all of the files changed and upload everything. It won't affect your content or files uploaded by users. 

See also Upgrading From Previous Versions.

Best,

Joe

12/28/2011 9:01:11 AM
Gravatar
Total Posts 66

Re: Forum image uploads for authenticated users?

Thanks. After reading the upgrade form previous versions I went ahead and did as outlined. New version is up and running. Soon as I set the skin back I am going to test the image posting in the forum module. Very painless upgrade!


Allen

12/28/2011 9:23:27 AM
Gravatar
Total Posts 66

Re: Forum image uploads for authenticated users?

The .6 release fixed the forum authenticated user image upload issue. Now I can roll forward with a launch this week! Thanks again!

12/28/2011 9:24:41 AM
Gravatar
Total Posts 18439

Re: Forum image uploads for authenticated users?

Glad to hear it!

Best,

Joe

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