WP Marketing » Tag: permissions - Recent Posts http://wpmarketing.org/forum/tags/permissions Wordpress for Internet and Affiliate Marketing en-US Sat, 21 May 2011 15:47:29 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php iJason on "Hide Hana Code Settings from Editor" http://wpmarketing.org/forum/topic/hide-hana-code-settings-from-editor#post-236 Wed, 03 Nov 2010 01:50:32 +0000 iJason 236@http://wpmarketing.org/forum/ <p>Worked like a charm! Thank you! </p> hanadaddy on "Hide Hana Code Settings from Editor" http://wpmarketing.org/forum/topic/hide-hana-code-settings-from-editor#post-235 Sun, 31 Oct 2010 21:21:55 +0000 hanadaddy 235@http://wpmarketing.org/forum/ <p>Hello</p> <p>Change line 109 of 'hana-code-insert.php'<br /> from</p> <pre> add_options_page($this-&gt;admin_setting_title,$this-&gt;admin_setting_menu, 1, __FILE__,array(&amp;$this,'hana_code_options_page')); </pre> <p>to below </p> <pre> add_options_page($this-&gt;admin_setting_title,$this-&gt;admin_setting_menu, 8 __FILE__,array(&amp;$this,'hana_code_options_page')); </pre> <p>Third argument of add_options_page is changed to 8 from 1.</p> <p>After the quick fix, only Admin will be allowed to access the option page. </p> iJason on "Hide Hana Code Settings from Editor" http://wpmarketing.org/forum/topic/hide-hana-code-settings-from-editor#post-234 Sun, 31 Oct 2010 18:21:58 +0000 iJason 234@http://wpmarketing.org/forum/ <p>I love this plug-in it's great for adding extra code easily into posts. What I want to know is how to only show the hana code settings to the Admin. I hand off my wordpress sites to my clients and give them an editor login. The problem is, is that with the editor login the hana code settings still show up. I would like to make the settings only available to the admin. How would I do this?</p> <p>It be nice to see some user implementation to this in the future where the admin could choose what level of users could modify the hana code settings. </p> <p>Thanks. </p>