Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • This can still occur if “W3 total cache” is installed, apparently. I’m not sure what specific configuration leads to this problem, but W3TC was literally the only other plugin installed, default theme, and it just would not save the email address and continue with the installation.

    This is the second or third time I’ve been bit with this issue and it’s always something I forget about and have to re-google and then figure out on my own anyway.

    I’ve had this issue on IIS when the wp-config.php wasn’t able to be written.

    Normally you get a message in step #1 telling you this is the case, and you go back and open up file permissions and try again, but somehow I got on to step 2 of the installation where it creates the initial database tables without it having been created.

    Going back and creating the wp-config.php with the DB credentials solved the problem.

    Maybe the error message could be more specific for cases when it detects that no database connection information has been supplied to the installation process

    • This reply was modified 5 years, 4 months ago by pd9soft.
    • This reply was modified 5 years, 4 months ago by pd9soft.

    This plugin is broken as %#@@ in front-end usage

    – Enable the visual editor in theme’s functions.php (Or create your own plugin file)

    function bbp_enable_visual_editor( $args = array() ) {
    $args[‘tinymce’] = true;
    $args[‘teeny’] = true;
    return $args;
    }
    add_filter( ‘bbp_after_get_the_content_parse_args’, ‘bbp_enable_visual_editor’ );

    This is a bbPress issue since they got rid of the ckEditor.

    Next, fix this plugin so that it works properly in backend and frontend

    native-emoji.php

    Don’t use nep_plugin_js_vars, it’s rubbish. Change this line to use nep_register_and_enqueue_files.

    foreach ( array(‘post.php’,’post-new.php’, ‘index.php’) as $hook ) {
    add_action( “admin_head-$hook”, array( $this, ‘nep_register_and_enqueue_files’ ) );
    }

    The “Admin styles” are actually required and don’t seem to involve anything admin-related, so change this line:

    add_action( ‘admin_enqueue_scripts’, array( $this, ‘nep_register_and_enqueue_admin_files’ ) );

    To

    add_action( ‘wp_enqueue_scripts’, array( $this, ‘nep_register_and_enqueue_admin_files’ ) );

    This will get the scripts loaded in frontend use.

    Delete the function nep_plugin_js_vars, it’s terrible and just ECHOs crap into the HTML stream directly, before the <!doctype even.

    Next, remove this piece of code in native-emoji.php

    // Enqueue required files
    if ( comments_open() || get_comments_number() ) {
    wp_enqueue_style( ‘nep_native_emoji’ );
    if(!get_option(‘nep_plugin_site_use_jquery’)){
    wp_enqueue_script( ‘jquery’ );
    }
    wp_enqueue_script( ‘nep_native_emoji’ );
    }

    and replace it with
    // wp_enqueue_script( ‘jquery’ );
    wp_enqueue_style( ‘nep_native_emoji’ );
    wp_enqueue_script( ‘nep_native_emoji’ );

    If you still need jQuery loaded, uncomment the one line.

    Just replace this entire function

    function nep_register_and_enqueue_admin_files(){
    wp_register_style( ‘nep_native_emoji_admin’, plugins_url(‘/css/native_emoji_admin.css’,__FILE__), false, ‘3.0’, ‘all’ );
    wp_enqueue_style( ‘nep_native_emoji_admin’ );
    }

    Fix this broken piece of code in native_emoji_tinymce-plugin.js

    ‘nep_frequently_used’ : {
    ‘name’ : nep_plugin_vars.nep_frequently_used,
    ‘codes’ : nep_frequently_used,
    },

    Finally, search and replace “$(” with “jQuery(” in the .js files because a lot of themes don’t use $ notation for jQuery

    If anyone needs this update for their site, I can do it for $75.

    • This reply was modified 6 years, 11 months ago by pd9soft.
    Thread Starter pd9soft

    (@pd9soft)

    Sure thing, will test it tomorrow. Glad we could get this support in the plugin!

    Thread Starter pd9soft

    (@pd9soft)

    Updated code to fix:

    function pg_set_user_group ($user_id) {
    	global $rpg_roles ;
    	$string='*' ;
    	$user_info = get_userdata($user_id);
    	if (empty ($user_info)) return ;
        $user_roles = $user_info->roles ;
    		foreach ((array)$user_roles as $list=>$role) {
    			if (!empty ($rpg_roles[$role] ) ) {
    				$group = $rpg_roles[$role] ;
    					if ($group != 'no-group' && (!empty($group)) ) {
    					$string=$string.$group.'*' ;
    					}
    			}
    		}
    	if ($string=='*') $string = '' ;
    	update_user_meta( $user_id, 'private_group', $string);
    }
    • This reply was modified 7 years ago by pd9soft.
    Thread Starter pd9soft

    (@pd9soft)

    I’m not the author, but his update from 3 months ago fixed it for us. I can log in as an editor just fine.

    Either you haven’t updated your plugin, or this is an unrelated error, or you need to provide more details on how to reproduce the problem.

    Thread Starter pd9soft

    (@pd9soft)

    Yep, it didn’t seem to adversely affect anything. Thanks for the update and for the plugin. It is working very well!

Viewing 7 replies - 1 through 7 (of 7 total)