Announcement

Collapse
No announcement yet.

imported_$username

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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...
    X