User access/authentication

Опубликовано VladSavitsky

Описание с сайта

Модуль Multisite Login: общая сессия на всех сайтах в мультисайтингеМодуль позволяет пользователям входить на все сайты, которые созданы по схеме мультисайтинга, даже если сайты находятся на разных доменах.

Например:

  • politicker.com
  • politickernj.com
  • politickerny.com
  • etc.

Обратите внимание:
Если вы используете несколько сайтов на одном домене (напр. politicker.com, nj.politicker.com, ny.politicker.com, etc.), то вам не нужен этот модуль
Базовые возможности мультисайтинга Drupal позволяют реализовать общий вход на подобных сайтах.

Модуль создавался как альтернатива модулю singlesignon, но с использованием техники, которая не блокирует доступ к вашим сайтам поисковых систем.

Читать дальше...
Опубликовано VladSavitsky

Описание с сайта

Модуль Shared Sign-On: общая аутентификация при мультисайтингеРеализует "Общую аутентификацию" ("Shared Sign-Ons") между схожими Drupal-сайтами
на одном сервере с общей базой данных.
Может использоваться отдельно, но наиболее проверен в союзе с модулем Domain Access.

Обратите внимание: по историческим причинам этот проект имеет короткое/внутреннее имя "singlesignon".

Читать дальше...
Опубликовано VladSavitsky

Описание с сайта

Модуль Login Destination: куда пользователь попадет после входа или регистрацииThis module controls where users go after logging in. You can configure login destination on a settings page. It will be either static URL or a PHP snippet evaluating your own site's logic. You can also configure which pages redirection is applied.

To achieve this you can specify either a list of URLs or a PHP snippet to build this list dynamically. So, you can redirect user to various pages depending on which pages they are logging from.

In the last 5.0 release you can also use alias URLs instead of internal paths.

Developed by ARDAS group - Web solutions development, Drupal CMS and Software outsourcing.

PHP snippet for redirection URL should return a string. Here is an example:

  global $user;
  if ($user->uid == 1) {
    // Redirect the Administrator
    return 'admin';
  } elseif ($user->uid == 2) {
    // Redirect the Site Owner to the 'create content' page
    return 'node/add';
  } else {
    return 'node';
  }

PHP snippet for Redirection condition should return boolean value. An example is:

  return ($_GET['q'] == 'user/login');

Don't put PHP tags when creating snippets.

Turn on "Preserve destination" feature to make module sensible to destination parameter. When login from the path with specified destination (ex: 'any-page?destination=node/18') you will be taken to node/18 instead of the URL specified in login_destination settings.

DRUPAL 5:

$_SESSION['login_page'] was added and stores the page you were before clicking login form button. You can use it to determine the page you logged from instead of $_GET['q'] because $_GET['q'] always equals to 'login_redirect'.

DRUPAL 6:

Now you can use $_GET['q'] to find out internal path and $_REQUEST['q'] for alias of the page you have logged in from.

Читать дальше...
Опубликовано VladSavitsky

Разделение на страницы у тем

готовый вид og_ghp_ron, в нём нужно указывать кол-во тем на страницу.

Интересные модули для OG:

Subdomain - dev-версия. У каждой группы свой поддомен.

Использованные материалы

Полезные ссылки

    Описание с сайта: 

    Enable users to create and manage their own 'groups'. Each group can have subscribers, and maintains a group home page where subscribers communicate amongst themselves.

    Update: the OG Panels module is now its own project

    They do so by posting the usual node types: blog, story, page, etc. A block is shown on the group home page which facilitates these posts. The block also provides summary information about the group.

    Groups may be selective or not. Selective groups require approval in order to become a member, or even invitation -only groups. There are lots of preferences to configure groups as you need.

    Groups get their own theme, language, taxonomy, and so on. Integrates well and depends upon Views module

    Developers - this module exercises the node access API thoroughly. You may want to study it for guidance.

    Two videos describing OG. One by Moshe Weitzman and the other by Lullabots. Helpful code snippits and recipes.

    Demo sites: http://groups.drupal.org, http://teamsugar.com/group/620221, http://www.fastcompany.com/groups, http://www.fastcompany.com/group/technology, http://www.novell.com/communities/coolsolutions, http://www.symantec.com/community/usergroups

    Читать дальше...
 
 
 

RSS-лента новостей

Dries Buytaert по-русски
]]>Русский поиск Drupal]]>

Перенос сайта из Joomla в Drupal
Перенос сайта из WordPress в Drupal

]]> Drupal - это бесплатная система управления контентом с открытым исходным кодом ]]>