Jump to content

Archived

This topic is now archived and is closed to further replies.

glennyboy

Lockdown DMS Editor

Recommended Posts

glennyboy
 

Hi

 

I'm trying to lock down the dmd editor using the following tips:-

 

http://www.pagelinestheme.com/dms-editor-lock-down/

 

I'm not having any luck with the wp-config.php op[tions and am also finding that the most appropriate option:-

 

define(‘PL_EDITOR_LOCK’,'admin,steve’);

 

... seems to have a syntax error that causes php errors.

 

Please advise how to lock down dmd in wp-config.php.

 

Thanks

 

Glennyboy

Share this post


Link to post
Share on other sites
Simon

whats the php error?

Share this post


Link to post
Share on other sites
glennyboy
 

Don't worry I sorted it. My copy paste must have been adding incorrect syntax. I used the following with success:-

/** Lockdown DMS */
define('PL_EDITOR_LOCK','admin,username');

Any way to have multiple usernames though?

Share this post


Link to post
Share on other sites
Simon

yea, you have 2 usernames there.. admin and username

Share this post


Link to post
Share on other sites
glennyboy
 

Oh I see, I thought it was a dual credential admin + username. So I'm guessing you can have as many as you like separated by a comma which is great

Share this post


Link to post
Share on other sites
Danny

Yeah as many as like to my knowledge. I have marked the topic as resolved.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

×