Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child portal admin logged offChild portal admin logged off
Previous
 
Next
New Post
11/27/2008 5:41 PM
 

Hi,

I'm using TinyMCE inside DNN 4.9.0 (thanks to Ventrians Provider). I am using the MCImageManager also. But there is an issue which prevents the usage of this tool. When logged in as a child portal admin you are always logged off after loading the editor. When logged in as host all is working well. This problem is also known for CuteEditor.

Can anyone tell me about this problem? Any suggestions are helpful ;-)

Best regards
Niklas

 
New Post
11/28/2008 3:36 AM
 

the child portal logout is most of the time caused by a link or propup, not including portalID or tabid, which switches portal context to parent portal. This can only be fixed in code.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/28/2008 6:12 AM
 

In this case it seems to be a little bit different.

I've recorded with the help of Live Http Headers for both users host and portal admin. For the latter the cookie will be reinitialized.

For user "portal admin":

----------------------------------------------------------
http://www.domain.de/Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_

 

GET /Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_ HTTP/1.1
Host: www.domain.de
Referer: http://www.domain.de/testportal/Home/ctl/Edit/mid/460.aspx
Cookie: .ASPXANONYMOUS=LdVN8X6GyQEkAAAAYjY2MTJkZWMtYjY1Ny00MWRkLWI4M2ItOTM1NGYxOGVhMTc30; MCManager_im_lastPath={0}; hist=/domain.de/httpdocs/Portals/1/images/image.gif,/domain.de/httpdocs/Portals/1/images/domain_headline.jpg; language=de-DE; authentication=DNN; ASP.NET_SessionId=bgdfvde14tcq1j45yobfrr45; .DOTNETNUKE=EC5356...; portalaliasid=197A16B7C...; portalroles=7A571BF6...
Authorization: Basic bnNjaG5laWRlcjp6aFI0NUFxMlZrbjd0aQ==

HTTP/1.x 302 Found
Cache-Control: private
Location: http://www.domain.de/Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_
Server: Microsoft-IIS/7.0
Set-Cookie: portalaliasid=; expires=Tue, 28-Nov-1978 10:44:14 GMT; path=/; HttpOnly
Set-Cookie: portalroles=; expires=Tue, 28-Nov-1978 10:44:14 GMT; path=/; HttpOnly
Set-Cookie: .DOTNETNUKE=; expires=Mon, 11-Oct-1999 22:00:00 GMT; path=/; HttpOnly
Set-Cookie: language=; path=/; HttpOnly
Set-Cookie: authentication=; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Fri, 28 Nov 2008 10:44:14 GMT
Content-Length: 308
----------------------------------------------------------

For user "host":

----------------------------------------------------------
http://www.domain.de/Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_

GET /Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_ HTTP/1.1
Host: www.domain.de
Referer: http://www.domain.de/testportal/Home/ctl/Edit/mid/460.aspx
Cookie: .ASPXANONYMOUS=LdVN8X6GyQEkAAAAYjY2MTJkZWMtYjY1Ny00MWRkLWI4M2ItOTM1NGYxOGVhMTc30; MCManager_im_lastPath={0}; hist=/domain.de/httpdocs/Portals/1/images/image.gif,/domain.de/httpdocs/Portals/1/images/domain_headline.jpg; language=de-DE; authentication=DNN; ASP.NET_SessionId=bgdfvde14tcq1j45yobfrr45; .DOTNETNUKE=31822EDA...; portalaliasid=49A8197...; portalroles=
Authorization: Basic bnNjaG5laWRlcjp6aFI0NUFxMlZrbjd0aQ==

HTTP/1.x 200 OK
Cache-Control: private
Content-Type: text/javascript; charset=utf-8
Server: Microsoft-IIS/7.0
Set-Cookie: portalaliasid=; expires=Tue, 28-Nov-1978 10:46:13 GMT; path=/; HttpOnly
Set-Cookie: portalroles=; expires=Tue, 28-Nov-1978 10:46:13 GMT; path=/; HttpOnly
Set-Cookie: language=de-DE; path=/; HttpOnly
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Date: Fri, 28 Nov 2008 10:46:12 GMT
Content-Length: 186
----------------------------------------------------------

User "portal admin" will be redirected (302)? In both cases it's the same Url.

Best regards
Niklas

 

 
New Post
2/12/2009 4:21 AM
 

It is just that case. Log off happens because your URL does not contain portalid parameter.

adding portalid=[your subportal] to your url shoold help.

something like this:

http://www.domain.de/Providers/HtmlEditorProviders/TinyMCE/Includes/plugins/imagemanager/language/default.aspx?portalid=N&type=im&format=tinymce_3_x&group=tinymce&prefix=imagemanager_

where N shold be replaced by your sub portal id

Best regards, StasD

 

 
New Post
9/29/2010 5:08 AM
 
Hi Niklas

I'm also trying to implement the MCImageManager but really struggling.

You can see my post(s) here to get an insight into what I've been trying to do.

Do you have it successfully running?  Is there a big change needed, or can it be done easily for a non-.Net programmer?

Thanks

David

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Child portal admin logged offChild portal admin logged off


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out