Textpattern - на русском языке

форум общения русскоязычных пользователей CMS Текстпаттерн

Вы не зашли.

#1 29-08-2007 22:53:21

Colin Foster
глаголь
Откуда: Лимерик
Зарегистрирован: 22-08-2007
Сообщений: 32
Вебсайт

txp_admin.php

Как (где) сделать подобную штуку? Качал TXP 4.0.4 сборка для блога. Найти
global $new_author_level; так и не удалось... Что делать, прописывать самому? Если да, то куда?

note: the default of this mod is to register new users with privelege status “0”—which means new users will be unable to log in until you manually adjust their privilege status in the admin panel. If you’d like new users to be able to start typing from the getgo, start them at a different number. This is the list from txp_admin.php to show the privilege assignments:

$levels = array(
1 => gTxt(‘publisher’),
2 => gTxt(‘managing_editor’),
3 => gTxt(‘copy_editor’),
4 => gTxt(‘staff_writer’),
5 => gTxt(‘freelancer’),
6 => gTxt(‘designer’),
0 => gTxt(‘none’)

and to make the change, go to \textpattern\include\txp_register.php (the new file you will have created and uploaded through the instructions of this mod), and find

global $new_author_level;
if (!$new_author_level) $new_author_level = 0;

change that to

global $new_author_level;
if (!$new_author_level) $new_author_level = 5;
or the number of your preference.

Неактивен

 

#2 31-08-2007 15:47:56

Evgeny
ять
Зарегистрирован: 15-03-2005
Сообщений: 1869

Re: txp_admin.php

Совсем непонятно - о чем вопрос...

Неактивен

 

Board footer

RSS   Rambler's Top100
Powered by PunBB
Textpattern.ru