is it possible to give question and answers the same space ?
Layout of quiz
Moderator: CricketMX Forum Moderators
advanced bbcode box mod - who can convert this mod to phpbb ???
Yeah,
In fact, I think the .tpl file came with some of the earlier releases (1.2.0 alphas iirc).
Anyway, here it is, it should work, but let me know if there are any problems. Don't forget to backup your current copy of quiz_play_multiple_choice_body.tpl
OPEN quiz_play_multiple_choice_body.tpl
DELETE THE CONTENTS
REPLACE WITH
In fact, I think the .tpl file came with some of the earlier releases (1.2.0 alphas iirc).
Anyway, here it is, it should work, but let me know if there are any problems. Don't forget to backup your current copy of quiz_play_multiple_choice_body.tpl
OPEN quiz_play_multiple_choice_body.tpl
DELETE THE CONTENTS
REPLACE WITH
Code: Select all
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="4" width="100%" class="thTop" nowrap="nowrap"> {U_QUIZ_NAME} </th>
</tr>
<tr>
<td class="row2" width="100%" align="center" valign="middle" height="30" colspan="4">
<span class="genmed">
{L_MULTIPLE_INFORMATION}
</span>
</td>
</tr>
<form action="{F_FORM}" method="post">
<input type="hidden" name="id" value="{F_ID}">
<input type="hidden" name="type" value="{F_TYPE}">
<!-- BEGIN quiz_row -->
<tr>
<td class="row1" colspan="4" width="100%" align="center" valign="middle" height="100%">
<span class="forumlink">
{quiz_row.U_QUESTION}
</span>
</td>
</tr>
<tr>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_ONE}" /> {quiz_row.Q_ALTERNATE_ONE}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_TWO}" /> {quiz_row.Q_ALTERNATE_TWO}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_THREE}" /> {quiz_row.Q_ALTERNATE_THREE}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_FOUR}" /> {quiz_row.Q_ALTERNATE_FOUR}
</span>
</td>
</tr>
<!-- END quiz_row -->
<tr>
<th colspan="4" class="catBottom" align="center" height="28">
<input class="liteoption" type="submit" value="{L_SUBMIT}" />
</th>
</tr>
</form>
</table>
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
looks much better ! thx
advanced bbcode box mod - who can convert this mod to phpbb ???
but you forgot some things what caused my errors
<input type="hidden" name="f_time" value="{F_TIME}"> and uqm before each {quiz_row.U_QUESTION_ID}
and
the move - modify - delete link under the quiz was also gone
so the right code is:
<input type="hidden" name="f_time" value="{F_TIME}"> and uqm before each {quiz_row.U_QUESTION_ID}
and
the move - modify - delete link under the quiz was also gone
so the right code is:
Code: Select all
<table width="100%" border="0">
<tr>
<td width="50%" align="left" width="50%"><span class="genmed"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td border="0" align="right" width="50%"><span class="genmed"> {U_STATISTICS} </span></td>
</tr>
</table>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="4" width="100%" class="thTop" nowrap="nowrap"> {U_QUIZ_NAME} </th>
</tr>
<tr>
<td class="row2" width="100%" align="center" valign="middle" height="30" colspan="4">
<span class="genmed">
{L_MULTIPLE_INFORMATION}
</span>
</td>
</tr>
<form action="{F_FORM}" method="post">
<input type="hidden" name="id" value="{F_ID}">
<input type="hidden" name="f_time" value="{F_TIME}">
<input type="hidden" name="type" value="{F_TYPE}">
<!-- BEGIN quiz_row -->
<tr>
<td class="row1" colspan="4" width="100%" align="center" valign="middle" height="100%">
<span class="forumlink">
{quiz_row.U_QUESTION}
</span>
</td>
</tr>
<tr>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="uqm{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_ONE}" /> {quiz_row.Q_ALTERNATE_ONE}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="uqm{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_TWO}" /> {quiz_row.Q_ALTERNATE_TWO}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="uqm{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_THREE}" /> {quiz_row.Q_ALTERNATE_THREE}
</span>
</td>
<td class="row2" width="25%" align="left" valign="middle" height="100%">
<span class="gen">
<input type="radio" name="uqm{quiz_row.U_QUESTION_ID}" value="{quiz_row.Q_ALTERNATE_FOUR}" /> {quiz_row.Q_ALTERNATE_FOUR}
</span>
</td>
</tr>
<!-- END quiz_row -->
<tr>
<th colspan="4" class="catBottom" align="center" height="28">
<input class="liteoption" type="submit" value="{L_SUBMIT}" />
</th>
</tr>
</form>
</table>
<table width="100%" border="0">
<tr>
<td border="0"><span class="genmed"> {L_MOD_LANGS} </span></td>
</tr>
</table>
<br />
<table width="100%" align="center" border="0">
<tr>
<td border="0" align="center">
<span class="genmed"> <a href="http://www.cmxmods.net/quiz.php">Ultimate Quiz MOD</a> © <a href="http://www.online-scrabble.com">battye</a> 2004, 2005, 2006.
</span>
</td>
</tr>
</table>
advanced bbcode box mod - who can convert this mod to phpbb ???
Ah, right. Thanks freddie
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
It actually was integrated into some older releases (~1.2 alpha) so it won't be too hard to add back
CricketMX.com in 2022: Still the home of bat's, rat's and other farmyard animals!
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)
"OK, life [as you chose to define it] repeats until there are no more lessons to be learned." - nrnoble (June 12, 2005)
"the new forum looks awesome, it's getting bigger & better" - p2p-sharing-rules (11 Jan, 2008)
"Looks like CMX is not only getting bigger...but, also getting better!!" - moongirl (14 Dec, 2007)