Èíòåãðàöèÿ ñ PubBB 1.2.14 c Coppermine 1.4.10 Èíòåãðàöèÿ ñ PubBB 1.2.14 c Coppermine 1.4.10
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Èíòåãðàöèÿ ñ PubBB 1.2.14 c Coppermine 1.4.10

Started by photocritic, February 26, 2007, 10:35:02 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

photocritic

×òî çà ïîñëåäíÿÿ íàñòðîéêà â ìåíåäæàðå èíòåãðàöèé, òèïà "Äîëæíû ëè èñïîëüçîâàòüñÿ ãðóïïû ñ ôîðóìà, êîòîðûå îïðåäåëÿþòñÿ êîëè÷åñòâîì ïîñòîâ, íàáðàííûõ ïîëüçîâàòåëÿìè (ïîçâîëÿåò ÷àñòè÷íîå óïðàâëåíèå ãðóïïàìè) èëè òîëüêî ãðóïïû ïî óìîë÷àíèþ (äåëàåò àäìèíèñòðèðîâàíèå ëåã÷å, ðåêîìåíäóåòñÿ). Òàêæå, Âû ìîæåòå èçìåíèòü äàííóþ íàñòðîéêó ïîçæå." ? Åñëè ÿ âêëþ÷àþ "Äà" , òî ïðîïàäàþò êîìåíòàðèè ê ôîòîãðàôèÿì, à åñëè ñòàâëþ íåò, òî êîìåíòàðèè ê ôîòêàì âîçìîæíû. Ýòî ïî÷åìó òàê? Åñ÷î âîïðîñ ïî ïåðåàäðåñàöèè, ïîñëå ëîãèíà íå ïåðåáðàñûâàåò îáðàòíî â ãàëåðåþ, à îñòàåòñÿ íà ôîðóìå. ×òî íàäî äîáàâèòü â login.php ôîðóìà, ïîäñêàæèòå ïëèç? Ññûëêà ëîãèíó ïåðåäàåòñÿ âðîäå êîððåêòíî: ../login.php?action=login&redir=http://localhost/mysite.ru/
À êóäà âñòàâèòü ñàì ðàçáåðóñü.

photocritic

 :D Извиняюсь копермайн все за нас уже сделал. Внимательно смотрим на PunBB12.inc.php  :o

/*

For login/logout redirection:

Edit punbb's login.php


Find: $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Login'];

Add before it: $redirect_url = (isset($_GET['redir'])) ? $_GET['redir'] : $redirect_url;


Find: redirect('index.php', $lang_login['Logout redirect']);

Change to: redirect(isset($_GET['redir']) ? $_GET['redir'] : 'index.php', $lang_login['Logout redirect']);

*/