|
|
| Author |
Message |
nedostizni
Not So New User
Joined: 30 Mar 2003
Posts: 88
Location: Serbia
|
Posted: April 26th 2009, 1:44 pm Post subject: Forum Bookmakers Mod 2.0.8 by Majorflam - anyone has it? |
|
|
I am searching for Forum Bookmakers Mod 2.0.8 by Majorflam (i know there is a newer 3.0.0 version at phpBBhack site, but i need a 2.0.8 one)
It seems Majorflame is no longer developing his modes, his site majorflame.com is down, i tried finding this mode by Google but still nothing.
If you have it, can you please send it to me at: issworld2000@yahoo.com
Thank you in advance. _________________ ISS world - Pro Evolution Soccer/Winning Eleven/International Superstar Soccer fan site:
www.iss-world.net |
|
| Back to top |
|
 |
nedostizni
Not So New User
Joined: 30 Mar 2003
Posts: 88
Location: Serbia
|
|
| Back to top |
|
 |
Zlodey12
New User
Joined: 14 Jan 2009
Posts: 7
Location: RU
|
|
| Back to top |
|
 |
nedostizni
Not So New User
Joined: 30 Mar 2003
Posts: 88
Location: Serbia
|
Posted: May 11th 2009, 5:22 pm Post subject: |
|
|
no worries Zlodney, it isn`t an offtopic. Every mod is welcome.
I am having a Bookmakers mod from MajorFlam curently running, but i am interested in that Quiz mod of your. Can i install only the Quiz mod, without the need of installing the whole Totalizator mod?
Also can i take a look at your Quiz mode somewhere? A demo board perhaps? I have found this but it seems to me a bit strange, as a new window opens for a quiz question. Why is that? Also can a given answers (A,B,C,D) be randomized ?
Thanks. _________________ ISS world - Pro Evolution Soccer/Winning Eleven/International Superstar Soccer fan site:
www.iss-world.net |
|
| Back to top |
|
 |
Zlodey12
New User
Joined: 14 Jan 2009
Posts: 7
Location: RU
|
Posted: May 22nd 2009, 1:38 pm Post subject: |
|
|
| nedostizni wrote:
|
|
Can i install only the Quiz mod, without the need of installing the whole Totalizator mod?
|
My Totalizator does not conflict with Bookmakers or other hacks. And you can put both of them for comparison and testing.
Also you can install only QUIZ mod without installation TOTALIZATOR mod.
| nedostizni wrote:
|
|
i am interested in that Quiz mod of your
|
Download my QUIZ mod from phpbbhacks.com:
http://www.phpbbhacks.com/download/8938 _________________ Totalizator, Quiz and Chess for phpBB |
|
| Back to top |
|
 |
nedostizni
Not So New User
Joined: 30 Mar 2003
Posts: 88
Location: Serbia
|
Posted: May 24th 2009, 4:17 pm Post subject: |
|
|
thanks for the reply. I have tried the Quiz mode, and it`s just i a wondering why the question page is opening in the new window. Can it be opened in the same window as the phpBB forum is? _________________ ISS world - Pro Evolution Soccer/Winning Eleven/International Superstar Soccer fan site:
www.iss-world.net |
|
| Back to top |
|
 |
Zlodey12
New User
Joined: 14 Jan 2009
Posts: 7
Location: RU
|
Posted: May 28th 2009, 8:54 am Post subject: |
|
|
The switch of pop-up windows is accessible in a quiz, since version 1.56.
In quiz v1.06 you can try this code change:
question.php
find
| Code:
|
$start_time = $row['start_time'];
|
after add
| Code:
|
// added for no_popup
$conf_2nd_answ = $row['u1'];
|
find
| Code:
|
if ($no_vo != $no_vo_re)
|
replace with
| Code:
|
// replaced for no_popup
if ($no_vo != $no_vo_re OR $conf_2nd_answ)
|
find
| Code:
|
if ( ($time_now - $start_time) > $conf_otv_time*2)
|
replace with
| Code:
|
if ( ($time_now - $start_time) > $conf_otv_time+2)
|
find
| Code:
|
$time_old = date("U")-$start_time+$conf_otv_time*2;
|
replace with
| Code:
|
$time_old = date("U")-$start_time-$conf_otv_time-2;
|
find
| Code:
|
$sql = "UPDATE " . QUESTIONS_ACTIVE_TABLE . "
SET real_otvet = 0,
right_otv = right_otv+1
WHERE user_id = $user_id";
|
replace with
| Code:
|
// replaced for no_popup
$sql = "UPDATE " . QUESTIONS_ACTIVE_TABLE . "
SET real_otvet = 0, u1 = 1,
right_otv = right_otv+1
WHERE user_id = $user_id";
|
find
| Code:
|
$m9 = ($conf_min_time) ? $lang['qz_dontcry'] . $conf_min_time . $lang['qz_once_again'] : $lang['qz_your_can'];
|
before add
| Code:
|
// added for no_popup
$sql = "UPDATE " . QUESTIONS_ACTIVE_TABLE . " SET u1 = 1 WHERE user_id = $user_id";
if ( !$db->sql_query($sql) ){message_die(GENERAL_ERROR, $lang['qz_obloms']."307", "", __LINE__, __FILE__, $sql);}
|
find
| Code:
|
$sql= "UPDATE " . QUESTIONS_ACTIVE_TABLE . "
SET vop_id = $numb_q,
real_otvet = $real,
start_time = $d,
zad_vop = zad_vop+1
WHERE user_id = $user_id LIMIT 1";
|
replace with
| Code:
|
// replaced for no_popup
$sql= "UPDATE " . QUESTIONS_ACTIVE_TABLE . "
SET vop_id = $numb_q, u1 = 0,
real_otvet = $real,
start_time = $d,
zad_vop = zad_vop+1
WHERE user_id = $user_id LIMIT 1";
|
find
| Code:
|
'OTV1' => $otv1,
'OTV2' => $otv2,
'OTV3' => $otv3,
'OTV4' => $otv4,
|
replace with
| Code:
|
// replaced for no_popup
'OTV1' => '<a href="question.php?id=' . $numb_q . '&otvet=1">' . $otv1 . '</a>',
'OTV2' => '<a href="question.php?id=' . $numb_q . '&otvet=2">' . $otv2 . '</a>',
'OTV3' => '<a href="question.php?id=' . $numb_q . '&otvet=3">' . $otv3 . '</a>',
'OTV4' => '<a href="question.php?id=' . $numb_q . '&otvet=4">' . $otv4 . '</a>',
|
quizzz.php
find
| Code:
|
if( isset($HTTP_POST_VARS['adms']) AND $userdata['user_level']==ADMIN)
|
before add
| Code:
|
// added for no_popup
if( isset($HTTP_POST_VARS['game']))
{
redirect(append_sid("question.$phpEx", true));
}
|
find
| Code:
|
$go_dis = 'onClick="window.open(\'question.php\',\'add_user\',\'width=600, height=300, resizable=no, scrollbars=no, status=no, toolbar=no, menubar=no\'); void(0); return false;"';
|
replace with
| Code:
|
// replaced for no_popup
$go_dis = '';
|
quiz_act_body.tpl
find
| Code:
|
<td align=right class="row1"> <a href="#" onclick="window.opener.location.href ='question.php?id={NUMB}&otvet=1'; window.close(); ">{OTV1}</a> </td> <td class="row1"> <a href="#" onclick="window.opener.location.href ='question.php?id={NUMB}&otvet=2'; window.close(); ">{OTV2}</a></td></tr>
<tr>
<td align=right class="row1"> <a href="#" onclick="window.opener.location.href ='question.php?id={NUMB}&otvet=3'; window.close(); ">{OTV3}</a> </td> <td class="row1"> <a href="#" onclick="window.opener.location.href ='question.php?id={NUMB}&otvet=4'; window.close(); ">{OTV4}</a></td></tr>
|
replace with
| Code:
|
<!-- replaced for no_popup -->
<td align=right class="row1"> {OTV1} </td> <td class="row1"> {OTV2}</td></tr>
<tr>
<td align=right class="row1"> {OTV3} </td> <td class="row1"> {OTV4}</td></tr>
|
quiz_body.tpl
find
| Code:
|
<input type=button name="game" value="{L_GAME_NOW}" class="liteoption" {GO_DIS} {TITLE_TIME} ><br><br>
|
replace with
| Code:
|
<!-- replaced for no_popup -->
<input type="submit" name="game" value="{L_GAME_NOW}" class="liteoption" {GO_DIS} {TITLE_TIME} ><br><br>
|
quiz_act_body.tpl
find
replace with
index.php
find
| Code:
|
$vvvvv="<script language=\"Javascript\" type=\"text/javascript\">
<!--
window.open('question.php?pop=2', 'add_user', 'width=600, height=300, resizable=no, scrollbars=no, status=no, toolbar=no, menubar=no');
//-->
</script>";
|
replace with
| Code:
|
// replaced for no_popup
$vvvvv='';
redirect(append_sid("question.php?pop=2", true));
|
find
| Code:
|
$vvvvv="<script language=\"Javascript\" type=\"text/javascript\">
<!--
window.open('question.php', 'add_user', 'width=600, height=300, resizable=no, scrollbars=no, status=no, toolbar=no, menubar=no');
//-->
</script>";
|
replace with
| Code:
|
// replaced for no_popup
$vvvvv='';
redirect(append_sid("question.php", true));
|
_________________ Totalizator, Quiz and Chess for phpBB |
|
| Back to top |
|
 |
nedostizni
Not So New User
Joined: 30 Mar 2003
Posts: 88
Location: Serbia
|
Posted: June 16th 2009, 3:38 am Post subject: |
|
|
spasiba Zlodey  _________________ ISS world - Pro Evolution Soccer/Winning Eleven/International Superstar Soccer fan site:
www.iss-world.net |
|
| Back to top |
|
 |
|