WP Marketing » Tag: admin - Recent Posts http://wpmarketing.org/forum/tags/admin Wordpress for Internet and Affiliate Marketing en-US Sat, 21 May 2011 16:37:09 +0000 http://bbpress.org/?v=1.0.2 <![CDATA[Search]]> q http://wpmarketing.org/forum/search.php hanadaddy on "Setting menu and contributors" http://wpmarketing.org/forum/topic/setting-menu-and-contributors#post-90 Thu, 17 Dec 2009 11:59:05 +0000 hanadaddy 90@http://wpmarketing.org/forum/ <p>Hello tpouzaud</p> <p>You are right. I believe that allowing only ADMIN to access the option page is proper.</p> <p>I will update the plugin soon, but meanwhile, you can update the plugin file yourself to allow only admin the access of option page.</p> <p>Edit the plugin file ( <code>$WPHOME/wp-content/plugins/hana-flv-player/hana-flv-player.php</code>) at line 99 (version 2.4.2). Change the <code>add_options_page</code> function 's third argument to <code>8</code> from <code>1</code>.</p> <p>Before</p> <pre> add_options_page($this-&gt;admin_setting_title,$this-&gt;admin_setting_menu, 1, __FILE__,array(&amp;$this,'hana_flv_options_page')); </pre> <p>After</p> <pre> add_options_page($this-&gt;admin_setting_title,$this-&gt;admin_setting_menu, 8, __FILE__,array(&amp;$this,'hana_flv_options_page')); </pre> <p>After the quick fix, only Admin will be allowed to access the option page. </p> <p>Thank you ! </p> tpouzaud on "Setting menu and contributors" http://wpmarketing.org/forum/topic/setting-menu-and-contributors#post-89 Thu, 17 Dec 2009 04:31:45 +0000 tpouzaud 89@http://wpmarketing.org/forum/ <p>Hello,<br /> I'am using the 2.2 version of Hana FLV Player for a school project, and my students are contributors on the blog site.<br /> I would like to not allow them to get the Hana setting link in the left dasboard sidebar ?<br /> I would like to only allow Admin to get acces to the setting menu..<br /> How can I do that ? Thanks in advance for your reply..<br /> Thierry<br /> PS : please excuse my English </p>