Strona 1 z 1

Post Count Requirements - problem w edycji

: 20 stycznia 2010, 21:58
autor: hinix
Dodaje do swojego forum takiego moda znalezionego na phpbb.com i mam problem z edycja jednego pliku:
Open: includes/functions_user.php
Find

Kod: Zaznacz cały

'group_receive_pm'		=> 'int',
Add after

Kod: Zaznacz cały

	'group_bypass_post_req'	=> 'int',
Find

Kod: Zaznacz cały

$group_only_ary = array('group_receive_pm', 'group_legend', 'group_message_limit', 
'group_founder_manage');
In-line Find

Kod: Zaznacz cały

'group_receive_pm',
In-line Add after

Kod: Zaznacz cały

 'group_bypass_post_req',
nie ma tego w tym pliku. co z tym moge zrobic?

Mialem tez problem z plikiem Open: includes/acp/acp_groups.php bo zamiast

Kod: Zaznacz cały

$test_variables = array('rank', 'colour', 'avatar', 'avatar_type', 'avatar_width', 'avatar_height', 'receive_pm', 'legend', 'message_limit', 'founder_manage');[code]
bylo:
[code]$test_variables = array(
							'rank'			=> 'int',
							'colour'		=> 'string',
							'avatar'		=> 'string',
							'avatar_type'	=> 'int',
							'avatar_width'	=> 'int',
							'avatar_height'	=> 'int',
							'receive_pm'	=> 'int',
							'legend'		=> 'int',
							'message_limit'	=> 'int',
							'max_recipients'=> 'int',
							'founder_manage'=> 'int',
							'skip_auth'		=> 'int',
ale z tym sobie poradzilem.

Re: Post Count Requirements - problem w edycji

: 21 stycznia 2010, 09:08
autor: @Marcin
Podaj link do tej modyfikacji.

Re: Post Count Requirements - problem w edycji

: 21 stycznia 2010, 13:59
autor: hinix
http://www.phpbb.com/mods/db/index.php? ... ib_id=5095

w ACP nie widze miejsca na 'Groups can bypass requirements by a setting in the ACP.' ale to i tak jest mi niepotrzebne - ale ma to pewnie zwiazek z niedodaniem tego co podalem w pierwszym poscie. Brak tego mi specjalnie nie przeszkadza bo modyfikacja robi to co jest mi potrzebne, ale miloby bylo wgrac ja do konca ;)