Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
stark77  
#1 Posted : Wednesday, February 21, 2007 9:18:30 AM(UTC)
stark77

Rank: Member

Groups: Member
Joined: 10/29/2006(UTC)
Posts: 21

I want to be able to provide some reassuring text to my users (warning them in advance about the security warnings etc.) prior to installing Image Uploader for the first time. Rather than show them the text every time they come to use the uploader, I'd like to be able to determine if it is already installed, and then only display the text if it isn't.

If this possible, and if so, can you please explain how?

Thanks

Alex Makhov  
#2 Posted : Wednesday, February 21, 2007 12:32:33 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

For ActiveX version you can use getActiveXInstalled method of ImageUploaderWriter class defined in helper iuembed.js script.

Edited by user Monday, October 27, 2008 11:22:40 PM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

stark77  
#3 Posted : Friday, February 23, 2007 8:12:34 AM(UTC)
stark77

Rank: Member

Groups: Member
Joined: 10/29/2006(UTC)
Posts: 21

Thanks.... given that, I took a slightly different approach that I'll list here in case it's helpful to anyone else in the future....

Use of the uploader on my site is by registered users only, so I used the InitComplete event handler...

Code:
iu.addEventListener("InitComplete", "ImageUploaderID_InitComplete");

.. to make an ajax call back to the server, where I flagged against the user profile in the database that the user had successfully installed the uploader.

Then, when coming to use the installer, if that flag hasn't been set, I give my introductory message about the need to ok the security dialog, if not, then I just proceed to use the uploader component reasonably safe in the knowledge that they have already installed it.

Edited by user Tuesday, December 18, 2007 4:54:53 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Sunday, February 25, 2007 6:05:15 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups: Member
Joined: 8/3/2003(UTC)
Posts: 998

Hello,

Well, that’s the one of the good solutions.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.