Sudoku MOD 2.5.2 (phpbb2 engine!)

форум посвящен дальнейшим разработкам базового мода SUDOKU

Moderator: el_teniente

Re: Sudoku MOD 2.5.2

Postby el_teniente on Thu May 08, 2008 11:13 pm

blakedj06 wrote:



Plz help me. In ACP ist Sudoku disabled but in sql table enabled.... hmm.



greetz: BLaKe




something wrong or non-default with your table phpbb_config
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby femu on Mon May 12, 2008 9:29 am

i el_teniente,



I just stumbled over a small thing, concerning the helpers in Samurai and Ninja. When I called the helper, the simple header wasn't show up. One thing I found, that in both main files (sudoku_samurai.php and sudoku_ninja.php) yeu set following if cause:



Code: Select all


//make simple header for helper

if ( $mode == 'call_helper' && $sudoku_user['game_helper'])

  {

      $gen_simple_header = true;

  }





The "call_helper" should be "helper" only. So as in the sudoku.php. But this works only half. So the header is still wisible, but the footer is gone as it shoukd. Do you have any ideas, what I need to do to get rid of the header too?



hanks,

Felix
femu
Мастер-ковбой
Мастер-ковбой
 
Posts: 84
Joined: Sat May 19, 2007 8:15 pm
Gender: Male
Country: Germany

Re: Sudoku MOD 2.5.2

Postby el_teniente on Mon May 12, 2008 9:48 am

femu wrote: But this works only half. So the header is still wisible, but the footer is gone as it shoukd.


this is very strange :very_supr:



and what about plain sudoku helper? is there full header over helper body?
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby femu on Mon May 12, 2008 10:39 am

ep. I got the complete normal header. The rest looks fine ... Strange is, that it looks fine with thre regular Sudoku, but wrong with Ninja and Samurai. Here, how it looks like in the code of all three:



Sudoku



Code: Select all


//grab sudoku user data

$sudoku_user = get_sudoku_user($user_id,'sudoku');

//make simple header for helper

if ( $mode == 'helper' && $sudoku_user['game_helper'])

  {

      $gen_simple_header = true;

  }

// standard page header

include($phpbb_root_path . 'includes/page_header.'.$phpEx);

// assign default template

$template->set_filenames(array(

        'body' => 'sudoku.tpl')

);





Ninja:



Code: Select all


//grab ninja user data

$sudoku_user = get_sudoku_user($user_id, 'ninja');

//make simple header for helper

if ( $mode == 'helper' && $sudoku_user['game_helper'])

  {

      $gen_simple_header = true;

  }

// standard page header

include($phpbb_root_path . 'includes/page_header.'.$phpEx);

if(!$board_config['board_sudoku'])

message_die(GENERAL_MESSAGE, $lang['sudoku_disable'] . '<meta http-equiv="refresh" content="0;url=' . append_sid("index.$phpEx") . '">');





Samurai:



Code: Select all


//grab samurai user data

$sudoku_user = get_sudoku_user($user_id, 'samurai');

//make simple header for helper

if ( $mode == 'helper' && $sudoku_user['game_helper'])

  {

      $gen_simple_header = true;

  }

// standard page header

include($phpbb_root_path . 'includes/page_header.'.$phpEx);

if(!$board_config['board_sudoku'])

message_die(GENERAL_MESSAGE, $lang['sudoku_disable'] . '<meta http-equiv="refresh" content="0;url=' . append_sid("index.$phpEx") . '">');





Maybe this heps ...
femu
Мастер-ковбой
Мастер-ковбой
 
Posts: 84
Joined: Sat May 19, 2007 8:15 pm
Gender: Male
Country: Germany

Re: Sudoku MOD 2.5.2

Postby el_teniente on Mon May 12, 2008 10:49 am

t's wrong code for sudoku_samurai.php and sudoku_ninja.php :shock:



his part:
Code: Select all
if ( $mode == 'helper' && $sudoku_user['game_helper'])
is only for plain sudoku



for samurai and ninja it must be:
Code: Select all
if ( $mode == 'call_helper' && $sudoku_user['game_helper'])
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby femu on Mon May 12, 2008 6:17 pm

k. That helps. Strange is, before I changed that (as previously noted), it showed the header AND the footer. Now both is gone ... Must be the warm weather (we have around 25 °C ..) :yep:

femu
Мастер-ковбой
Мастер-ковбой
 
Posts: 84
Joined: Sat May 19, 2007 8:15 pm
Gender: Male
Country: Germany

Re: Sudoku MOD 2.5.2

Postby el_teniente on Mon May 12, 2008 6:38 pm

femu wrote:... Must be the warm weather (we have around 25 °C ..)...


absolutely sure smile:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby Cama on Fri Jun 13, 2008 5:14 pm

Чего то потерялась в геймпаках =) Сейчас у меня Гейм-пак:10 ~ Игра №50. Юзер говорит все, а жаль =)) Есть продолжение?

User avatar
Cama
Бакалавр-винчестер
Бакалавр-винчестер
 
Posts: 397
Joined: Sun Mar 04, 2007 5:50 pm
Gender: Female
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby el_teniente on Fri Jun 13, 2008 6:14 pm

сть---тута, еще мнооога :smt044

кстати мозги балды доработал winkk:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby Cama on Sat Jun 14, 2008 6:19 am

А тама подходят паки под нашу версию ?

У меня балда и так в лидерах =))
User avatar
Cama
Бакалавр-винчестер
Бакалавр-винчестер
 
Posts: 397
Joined: Sun Mar 04, 2007 5:50 pm
Gender: Female
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby el_teniente on Sat Jun 14, 2008 10:14 am

Cama wrote:А тама подходят паки под нашу версию ?


шо за вопрос? типа, а не пытаюсь ли я тебе впарить негодные геймпаки? :lol:



ты все-же не забудь балду потестировать с новыми мозгами(мне трэба аплодисменты) winkk:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby dimajak on Fri Jun 20, 2008 10:22 pm

орри, за нескромный вопрос после долгого отсутствия.

версия 2.5 для phpbb3 ?

и второй вопрос - в новой версии при выборе цифры в поле все так же используется insert?
dimajak
Младший ковбой
Младший ковбой
 
Posts: 20
Joined: Wed Mar 07, 2007 11:25 am
Location: Россия
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby el_teniente on Fri Jun 20, 2008 10:42 pm

ет, версия для phpbb3 пока в стадии разработки smile:::

учту при разработке не применять insert --- это пошло с родоначальника мода Majorflam'а
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby el_teniente on Tue Jul 01, 2008 8:42 pm

he developement of Sudoku MOD for phpbb2 IS FINISHED



support is active smile:::
die hard---live easy
User avatar
el_teniente
Статс-админ
Статс-админ
 
Posts: 4283
Joined: Mon Nov 07, 2005 7:51 pm
Location: Белокаменная
Gender: Male
Country: Russian Federation

Re: Sudoku MOD 2.5.2

Postby Yuri on Sun Nov 16, 2008 1:34 pm

"support is active" - это хорошо, потому что у меня такой вопрос.

Почему-то не работает прямой ввод в клетки: постоянно перегружается страница. В Админке прямой ввод разрешён, в базе click_enable=1

У меня phpBB2 Plus. Видимо, задействован AJAX? Другие AJAX-функции на форуме работают.

Что может быть? Проверял в IE, Opera, FF.

На этом форуме прямой ввод работает.



спасибо!
Yuri
Новобранец
 
Posts: 2
Joined: Sun Nov 16, 2008 11:05 am
Gender: Male
Country: Russian Federation

PreviousNext

Return to Sudoku MOD

Who is online

Users browsing this forum: No registered users and 1 guest


Page generation time 0.08 sec (PHP: 62% - SQL: 38%) - DB queries 27 - Peak memory usage 3.6 MB
cron