imported_$username

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • runuo.com
    Member
    • Feb 2004
    • 81
    • 3.5.0 Pre-Release

    imported_$username

    Is there any way to change the 'imported' piece on the importer?

    I found this code

    Code:
                                    // If there is a dupe username pre_pend "imported_"
                                    $double_name = $Db_object->query("SELECT username FROM " . $tableprefix . "user WHERE username='". a
    ddslashes($this->get_value('mandatory', 'username')) . "'");
    
                                    if($Db_object->num_rows($double_name))
                                    {
                                            $this->set_value('mandatory', 'username', 'imported_' . $this->get_value('mandatory', 'usern
    ame'));
                                    }
    Where I assume I can change it... just wondered if it woudl break anything.


    Thanks!
  • Jerry
    Senior Member
    • Dec 2002
    • 9137
    • 1.1.x

    #2
    You want it to stop adding imported_$username so you can have duplicate usernames in the database ?

    No, basically that will break vBulletin.
    I wrote ImpEx.

    Blog | Me

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...