Forums

recreating user #1 (1 post)

  1. jbpublisher
    Member
    Posted 4 years ago #

    i have a wp install into which i wish to implement the
    000-multiply plugin.
    this plugin installed and activated perfectly. it requires, in order to work, that "user #1" be the admin who adds the presses.
    on this install there is no #1, that having been deleted by a past employee.
    i am illiterate in php etc, but i do see in the plug in this code:
    --------
    if ($id > 1) {
    $wpdb->prefix .= $id . '_';
    $table_prefix = $wpdb->prefix;
    }

    foreach ($multiply_tables as $table) {

    // change tables
    $wpdb->$table = $table_prefix . $table;

    // "$tableposts" etc.
    ---------
    which suggests to me that it is the code looking for user #1. can this code be altered in such a way---and >>>please<<< be iduiot proof specific on suggestions--to allow any admin to add a press...
    or>>>
    can a new user #1 be created? it would seem either fdix would work.
    i also do not speak mysql, so it occurs to me that the plugin edit is the fix.

    and and alll help aprpeciated.

Topic Closed

This topic has been closed to new replies.

About this Topic