I did start adding bbCode into answers at the same time I added it to the questions, but there were certain issues that came up which made it impractical. Like for example on the survey section of the statistics page, if there was an image in the answer it would look very odd.Jessica wrote:@battye: are you going to make it so that answers allow BBCode in the future? That would be really nice.
Code: Select all
<!-- INCLUDE overall_header.html -->
<!-- IF U_UQM_SUBMIT and not S_IS_BOT -->
<div class="buttons" style="float: left; padding: 3px 0 3px 0;">
<div class="quiz-icon" title="{L_UQM_BUTTON_QUIZ_NEW}"><a href="{U_UQM_SUBMIT}"><span></span>{L_UQM_BUTTON_QUIZ_NEW}</a></div>
</div>
<!-- ENDIF -->
<!-- BEGIN category_row -->
<div class="forumbg forumbg-table">
<div class="inner"><span class="corners-top"><span></span></span>
<table class="table1" cellspacing="1">
<thead>
<tr>
<th width="100%" align="left" colspan="4"><!-- IF category_row.U_VIRTUAL_CATEGORY -->{category_row.U_CATEGORY_NAME}<!-- ELSE --><a href="{category_row.U_CATEGORY_LINK}">{category_row.U_CATEGORY_NAME}</a><!-- ENDIF --></th>
</tr>
</thead>
<tbody>
<!-- IF category_row.U_CATEGORY_DESCRIPTION -->
<tr class="bg3">
<td width="100%" colspan="4" align="left">{category_row.U_CATEGORY_DESCRIPTION}</td>
</tr>
<!-- ENDIF -->
<!-- IF category_row.U_CATEGORY_NO_QUIZZES -->
<tr class="bg1">
<td width="100%" colspan="4" align="center">{L_UQM_CATEGORY_NO_QUIZZES}</td>
</tr>
<!-- ELSE -->
<!-- BEGIN quiz_row -->
<tr class="bg1">
<td width="35%"><a href="{category_row.quiz_row.U_QUIZ_LINK}">{category_row.quiz_row.U_QUIZ_NAME}</a></td>
<td width="25%">{category_row.quiz_row.U_QUIZ_AUTHOR}</td>
<td width="20%">{category_row.quiz_row.U_QUIZ_DATE}</td>
<td width="20%">{category_row.quiz_row.U_QUIZ_INFO}</td>
</tr>
<!-- END quiz_row -->
<!-- ENDIF -->
<!-- IF U_INDEX_VIEW and not category_row.U_VIRTUAL_CATEGORY and not category_row.U_CATEGORY_NO_QUIZZES -->
<tr class="bg3">
<td width="100%" colspan="4" align="left">{category_row.U_CATEGORY_VIEW_ALL}</td>
</tr>
<!-- ENDIF -->
</tbody>
</table>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- END category_row -->
<!-- IF U_PAGINATION -->
<ul class="linklist">
<li class="rightside pagination"><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{U_PAGE_NUMBER}</a> • <span>{U_PAGINATION}</span></li>
</ul>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->
InJessica wrote:Bug (maybe): seems like the first letter of the person who submitted the quiz is always lowercase,
/includes/quiz/quiz_question.php
Code: Select all
'username' => $user->data['username_clean'],
Code: Select all
'username' => $user->data['username'],
ThanksOyabun1 wrote:InJessica wrote:Bug (maybe): seems like the first letter of the person who submitted the quiz is always lowercase,/includes/quiz/quiz_question.php
FindReplace withCode: Select all
'username' => $user->data['username_clean'],
The name is set when the quiz is created so previous quizzes will not be changed.Code: Select all
'username' => $user->data['username'],
(Already changed it on your board )
I'm using prosilver, it must be that I had a lot of mods xPbattye wrote:All I can think of is that the css wasn't playing nicely with your style, which looks a little bit customised from prosilver.
Good find on the lowercase letter Jessica/Oyabun1, all of the names I were testing with were fully lowercase so I missed that one. I will make that change
Thanks
Code: Select all
AND s.started > (' . ($current_time - (int) $quiz_configuration->value('qc_exclusion_time')) . ')