Пример #1
0
 function updateFromAmember(Am_Record $record, User $user, $groups)
 {
     parent::updateFromAmember($record, $user, $groups);
     $this->updateMetaTags($record, $user);
     $record->updateQuick('display_name', $this->getPlugin()->getDisplayName($user));
     if ($this->getPlugin()->getConfig('simple_press')) {
         $this->updateSimplePress($record);
     }
     if ($this->getPlugin()->getConfig('buddy_press')) {
         $this->updateBuddyPressProfile($record);
         $this->updateBuddyPressGroups($record, $user);
     }
     if ($this->getPlugin()->getConfig('network')) {
         if ($this->getPlugin()->getConfig('network_create_blog')) {
             $this->updateNetworkBlogStatus($record, $user);
         }
         if ($this->getPlugin()->getConfig('network_add_to_blogs')) {
             $this->networkAddToBlogs($record, $user);
         }
     }
 }
Пример #2
0
 function updateFromAmember(Am_Record $record, User $user, $groups)
 {
     parent::updateFromAmember($record, $user, $groups);
     $this->updateMetaTags($record, $user);
 }