Wisdm Instructor Role

niano

New member
Apr 15, 2020
26
2
3
Pretty please, next time when you report an error give all the info about it.
It would have been easier to say: i have LDLMS installed and active but I am still receiving this error.

What version of LDLMS you have and from where did you get it?
Sorry. I had raised the same issue acouple of days ago when I tried using an older version of Instructor Role. I'm using LDKMS version 3.16, nulled by gplready.com.
 

MrSam_1

Well-known member
Staff member
Administrator
Dec 1, 2018
17,930
24,307
120
babiato.tech

niano

New member
Apr 15, 2020
26
2
3

niano

New member
Apr 15, 2020
26
2
3
You mean

You mean the 3.3.3n? That's what I installed. I beggining to think the nulled version of LD3.1.6 I'm using would be the problem.
Or would it be because I renamed the LD plugin directory? It's still active, though.
 

MrSam_1

Well-known member
Staff member
Administrator
Dec 1, 2018
17,930
24,307
120
babiato.tech
Or would it be because I renamed the LD plugin directory? It's still active, though.

You're kidding me right? What you did right now is like calling IT support center and telling them that your printer attached to computer is not printing. And after half hour of phone intervention you ask: is this because I took off the plug from outlet?

Honestly I'm loosing patience. If you don't know what you do then don't do it, don't mess with things unless you really know what you're doing. Ask someone else to do it for you. There are plenty of skilled programmers who would help you, of course for a small fee.

What's the consequence of you renaming the LD plugin:
(!in_array('sfwd-lms/sfwd_lms.php'
this will always be true and trigger the error.
 
  • Love
Reactions: Saint Gabriel

niano

New member
Apr 15, 2020
26
2
3
You're kidding me right? What you did right now is like calling IT support center and telling them that your printer attached to computer is not printing. And after half hour of phone intervention you ask: is this because I took off the plug from outlet?

Honestly I'm loosing patience. If you don't know what you do then don't do it, don't mess with things unless you really know what you're doing. Ask someone else to do it for you. There are plenty of skilled programmers who would help you, of course for a small fee.

What's the consequence of you renaming the LD plugin:
(!in_array('sfwd-lms/sfwd_lms.php'
this will always be true and trigger the error.
I have been renaming all my plugins for the past 10 years and I rarely encounter any error. It's like renaming the /wordpress directory and it still works. That's why I didn't suspect. Don't worry bro, we're a bunch of dummies out here :). Now, let me try retaining the directory name.
 
  • Like
Reactions: TassieNZ

MrSam_1

Well-known member
Staff member
Administrator
Dec 1, 2018
17,930
24,307
120
babiato.tech
I have been renaming all my plugins for the past 10 years and I rarely encounter any error. It's like renaming the /wordpress directory and it still works. That's why I didn't suspect. Don't worry bro, we're a bunch of dummies out here :). Now, let me try retaining the directory name.

As most of developers are using
Code:
if ( is_plugin_active( 'plugin-folder/plugin-file.php' ) ) {  // check if plugin is installed and active
 // do the code
}

or

if ( !is_plugin_active( 'plugin-folder/plugin-file.php' ) ) {  // check if plugin is not active
 // do the code
}

or

(!in_array('plugin-folder/plugin-file.php', apply_filters('active_plugins', get_option('active_plugins')))) { // check if plugin is not active
 // do the code
}

or

(in_array('plugin-folder/plugin-file.php', apply_filters('active_plugins', get_option('active_plugins')))) { // check if plugin is installed and active
 // do the code
}

a better and more professional approach to this would be:

Code:
$all_plugins = apply_filters('active_plugins', get_option('active_plugins'));
if (stripos(implode($all_plugins), 'plugin.php')) { // check if plugin installed and active
    // do the code
}

This way is avoided the error in case of folder rename.
Tho folder renaming have its own downsides as I've seen developers using hardcoded links like this:

WP_PLUGIN_DIR.'my_plugin/myfileneeded.php'

instead of defining plugin folder within index.php or plugin.php with

plugin_dir_path( __FILE__ )
and calling files like:
plugin_dir_path( __FILE__ ) . 'myfileneeded.php'
which would have been a better and more professional approach and would call plugin files no matter what is the name of the plugin folder.

I hope I didn't get you bored with this long explanation but knowing this will help you debug and correct some errors faster.
 
  • Like
Reactions: Joe Hunter

serioushustler01

New member
May 3, 2020
1
0
1
Last edited:

akash12345

Member
Trusted Uploader
Jan 17, 2020
24
59
13
instructor role plugin have a issue that any instructor can see any instructors students assignments. i have fixed version 3.3.4 . message if required.
 
  • Like
Reactions: maumaju

Dioniggio

New member
Dec 3, 2018
8
1
3
I put you on notice. I installed the plugin from here:


And it didn't work for me, so I uninstalled it and then installed this:

The previously patched and posted Instructor Role v3.3.3 didn't work out well for me.

Now got to crack it myself, all based on quoted original.


And it worked, but now I have like 400 Mail Delivery System emails saying that I'm trying to massive send emails to yahoo accounts on China.

I guess is part of some crap inserted intentionally in some of the plugins.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu