WPIntell

Source evidence

Change user type

Online Lesson Booking · support · 2014-09-25T13:58:00+00:00

complaintsentiment
mediumseverity
0.86relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 25 rows with source links

12.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

22 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
sihah unresolved
Hello I am using WPLMS theme with wordpress 3.9.1, I have added OLB plugin. WMLPS create user type “Instructor” and “Student”, I want to use instructor user type as teacher and student user type as user. Please advice where I can update plugin to use these user types instead of author and subscriber. Any help will be highly appreciated. Thanks https://wordpress.org/plugins/online-lesson-booking-system/ Hello. I have not purchased WMLPS. So, I cannot confirm operation of OLB in WMLPS. (Even if it is other themes, I cannot confirm them individually. Sorry.) If you want to use other conditions which are not “author” and “subscriber”, please search the following parts of the source code of OLB, and try rewriting. – if (in_array(‘subscriber’, …) … – if (in_array(‘author’, …) … These parts will be found in search by the keyword of ‘subscriber’ or ‘author’. However, I have not tried it. So, even if you try this method, the OLB may not operate correctly. Is this information helpful to you? Sorry for my typos. It was “WPLMS”. thanks very much for prompt reply 🙂 I’ll try that and will let you know. I encountered an issue with plugin,when i activate this plugin it show select user dropdown on my all pages, even where plug in is not used… like home page and all sub pages. Screenshot is attached here Click for screenshot please help. thanks P.S i have not made any changes in plugin file yet.. User selector is displayed when you log in by administrator account. (Administrator can switch to a member or teacher temporarily.) The display conditions of selector are as follows. Case 1: When the accessed page is a child page of “Members My-Page”. Case 2: When the accessed page is a child page of “Scheduler for teacher”. However, it may be displayed also in an exceptional case by other plug-in and the influence of a theme. If you don’t use the selector, please add a following code to “functions.php” for your theme. function remove_pretending_form() { remove_filter( 'olb_admin_pretending_user', array( 'olbFormAction', 'admin_pretending_user' ) ); } add_action('init', 'remove_pretending_form' ); “User switching” plug-in may be able to use as a substitute. https://wordpress.org/plugins/user-switching/

Comments

5 shown
tnomi 2014-09-26T00:28:00+00:00

Hello. I have not purchased WMLPS. So, I cannot confirm operation of OLB in WMLPS. (Even if it is other themes, I cannot confirm them individually. Sorry.) If you want to use other conditions which are not “author” and “subscriber”, please search the following parts of the source code of OLB, and try rewriting. – if (in_array(‘subscriber’, …) … – if (in_array(‘author’, …) … These parts will be found in search by the keyword of ‘subscriber’ or ‘author’. However, I have not tried it. So, even if you try this method, the OLB may not operate correctly. Is this information helpful to you?

tnomi 2014-09-26T00:42:00+00:00

Sorry for my typos. It was “WPLMS”.

sihah 2014-09-26T01:08:00+00:00

thanks very much for prompt reply 🙂 I’ll try that and will let you know. I encountered an issue with plugin,when i activate this plugin it show select user dropdown on my all pages, even where plug in is not used… like home page and all sub pages. Screenshot is attached here Click for screenshot please help. thanks

sihah 2014-09-26T01:10:00+00:00

P.S i have not made any changes in plugin file yet..

tnomi 2014-09-26T02:36:00+00:00

User selector is displayed when you log in by administrator account. (Administrator can switch to a member or teacher temporarily.) The display conditions of selector are as follows. Case 1: When the accessed page is a child page of “Members My-Page”. Case 2: When the accessed page is a child page of “Scheduler for teacher”. However, it may be displayed also in an exceptional case by other plug-in and the influence of a theme. If you don’t use the selector, please add a following code to “functions.php” for your theme. function remove_pretending_form() { remove_filter( 'olb_admin_pretending_user', array( 'olbFormAction', 'admin_pretending_user' ) ); } add_action('init', 'remove_pretending_form' ); “User switching” plug-in may be able to use as a substitute. https://wordpress.org/plugins/user-switching/