Allowing Forums Users to post images
Last Post 02/16/2009 3:35 PM by sootfoot. 8 Replies.
Author Messages
sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/14/2009 6:19 PM  
I reviewed the FCK editor customization tutorial on customizing the tool bar for my sites various permission levels.  However, I have not been able to figure out how to give my forums users the ability to link a picture WITHOUT the ability to browse files on the server.  Basically I wan't users to be able to reference pictures they have uploaded elsewhere like the image below without requiring them to be HTML savvy.  Is there a button or something simple I can add for my sites users?



Joseph Craig
DNN MVP
Posts:11667


--
02/15/2009 10:29 AM  
Using the image gallery tool, all that they need to do is type in the URL of the external image.

Joe Craig, Patapsco Research Group
Complete DNN Support
sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/15/2009 12:26 PM  

Joe,

Thanks for the reply.  So far I've found when I add the image gallery button even to the 'Basic' user in the FCKeditor custom options; the image gallery button provides access to the server files.  All a registered user has to do is click on Browse Server after clicking the image button and they have access to the server files.  Is there a way to restric access to the server files for registered users?

Kind Regards,
Aaron

Joseph Craig
DNN MVP
Posts:11667


--
02/15/2009 12:54 PM  
You can set permissions to the server files using the File Manager.

Joe Craig, Patapsco Research Group
Complete DNN Support
sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/15/2009 7:15 PM  
*bong*

Thanks for the friendly reminder!

Simple enough now to provide instructions for our registered users.


sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/15/2009 7:29 PM  
Is there a way to restrict access to the link tab in the image property window?  In that window regisered users can link to the various server pages and files. 



Technically it looks like registered users can only browse around and not actually link to any files or pages but I'd rather not easily provide that information.

Joseph Craig
DNN MVP
Posts:11667


--
02/15/2009 11:05 PM  
I don't know if you can restrict access to the link but you can certainly restrict access to the directories.

Joe Craig, Patapsco Research Group
Complete DNN Support
sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/16/2009 12:35 PM  
According to this link it looks like it's possible to disable the buttons all together but this change would apply to all users which I don't want it to do.  Perhaps it might be easier to create my own custom button that will simply pop up a dialog box for users to paste their URL into.  I'll keep searching and post my findings for others benefit.  DNN Creative has been a wonderful resource for me.

All this effort for a simple

sootfoot
Nuke Newbie
Nuke Newbie
Posts:6


--
02/16/2009 3:35 PM  

Joe,

Turns out with your recommendation of restricting the folder access on the image Info property and the above link's recommendation of editing the below line for the link tab to false:

FCKConfig.LinkBrowser = false ;

in the fckconfig.js file is the trick.  We'll have to live with this comprimise until DNN comes up with something better.  Unfortunately it means admins loose some functionality in linking to other site pages but I believe the gains to the forums users is worth it.

I've lost the link but browsing around on the DNN forums it looked like this role specific permission for the FCK editor was supposed to be built in with DNN 5.0 but apparently it didn't make it in.



---