Custum username prefix per domain

Discussion in 'Feature Requests' started by TheLuggs, Feb 21, 2007.

  1. TheLuggs

    TheLuggs New Member

    I wanted a definable prefix for each domain, so i tried the following

    I resolved it the following way:
    Added a field to varchar(255) "prefix" isp_isp_web

    added following line to username plugin:
    $user_prefix = str_replace("[PREFIX]",$web["prefix"],$user_prefix);

    Of course would it be nice if i could actually configure it on the site admin page. :)
  2. TheLuggs

    TheLuggs New Member

    Oh and i added:
    $user_prefix = str_replace("[TITLE]",$web["title"],$user_prefix);

    which also helps, because the domain is too long as a prefix for most customers

Share This Page