[ALPHA] Ultimate Quiz MOD v2.1.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
Locked
9thskys
Registered User
Posts: 135
Joined: Thu Jul 25, 2013 7:55 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by 9thskys » Sun Jul 28, 2013 2:50 pm

these are configurations ive set

write method: compressed file download
compress file type: zipped
file permissions: 0644
directory permissions: 0755
preview changes: YES

can you tell me correct settings?

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sun Jul 28, 2013 3:00 pm

Change Write Method to Direct and see what happens
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

9thskys
Registered User
Posts: 135
Joined: Thu Jul 25, 2013 7:55 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by 9thskys » Sun Jul 28, 2013 3:09 pm

okay :D

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sun Jul 28, 2013 3:35 pm

@battye: are you going to make it so that answers allow BBCode in the future? That would be really nice.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

9thskys
Registered User
Posts: 135
Joined: Thu Jul 25, 2013 7:55 am

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by 9thskys » Sun Jul 28, 2013 3:49 pm

hey ive set it to direct and its installed succesfully thanks a lot

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10940
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by battye » Sun Jul 28, 2013 4:07 pm

Jessica wrote:@battye: are you going to make it so that answers allow BBCode in the future? That would be really nice.
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.

I might have another look at the implementation if there's enough demand for it. I have no features planned for 2.1.3 (I'm waiting to see what sort of ideas get suggested here) so nothing is off the table :)

Of course, I want to be sure the recently released version 2.1.2 is working well! So if anyone discovers any bugs or other issues that will take immediate priority.
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: Ultimate Quiz MOD v2.1.2 Finally Released!

Post by Jessica » Sun Jul 28, 2013 5:03 pm

Okay dokey.

I just noticed, my quiz index screen doesn't look like anything from here: Quiz index screen

for some reason the new quiz button is inside the recently added quizzes category. Already refreshed styles and browser and purged cache..(check: http://chenschool.elementfx.com/phpBB3/quiz.php)

didn't change anything in quiz_body.html (besides move the button to the left). I guess I have to keep refreshing...

EDIT: Refreshing doesn't seem to help a single bit. It's still stuck within the Recently Added section instead of above

quiz_body.html

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> &bull; <span>{U_PAGINATION}</span></li>
</ul>
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->
Last edited by Jessica on Sun Jul 28, 2013 5:55 pm, edited 3 times in total.
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sun Jul 28, 2013 5:06 pm

Bug (maybe): seems like the first letter of the person who submitted the quiz is always lowercase, unless it's originally lowercase. For example, my username on my board is obviously "Jessica" but on the quiz index it says "jessica" (j is lowercased)
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Oyabun1 » Sun Jul 28, 2013 10:26 pm

Jessica wrote:Bug (maybe): seems like the first letter of the person who submitted the quiz is always lowercase,
In /includes/quiz/quiz_question.php

Find

Code: Select all

            'username'            => $user->data['username_clean'],
Replace with

Code: Select all

            'username'            => $user->data['username'],
The name is set when the quiz is created so previous quizzes will not be changed.

(Already changed it on your board ;) )
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Jessica » Sun Jul 28, 2013 10:34 pm

Oyabun1 wrote:
Jessica wrote:Bug (maybe): seems like the first letter of the person who submitted the quiz is always lowercase,
In /includes/quiz/quiz_question.php

Find

Code: Select all

            'username'            => $user->data['username_clean'], 
Replace with

Code: Select all

            'username'            => $user->data['username'], 
The name is set when the quiz is created so previous quizzes will not be changed.

(Already changed it on your board ;) )
Thanks :D


(now if I could just figure out that button-location-problem...)

EDIT: Fixed. I just added in extra lines (</br>)..
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10940
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by battye » Mon Jul 29, 2013 2:09 pm

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
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D

User avatar
Jessica
Former Team Member
Posts: 4342
Joined: Sun Jul 18, 2010 2:53 pm
Location: Pennsylvania, USA
Name: Jessica
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by Jessica » Mon Jul 29, 2013 2:27 pm

battye 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
I'm using prosilver, it must be that I had a lot of mods xP
Pro-choice, Atheist, Pro-LGBT rights
Everybody is a genius. But if you judge a fish by its ability to climb a tree, it will live its whole life believing that it is stupid. - Albert Einstein

vipaka
Registered User
Posts: 491
Joined: Sun Aug 28, 2011 7:25 pm
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by vipaka » Thu Aug 01, 2013 1:00 pm

Code: Select all

AND s.started > (' . ($current_time - (int) $quiz_configuration->value('qc_exclusion_time')) . ')
This line from the quiz_question.php file is causing 'Unable to end the session, as no session for this quiz could be found.' this error when the exclusion time is set to 3 or less. Obviously not a major bug, but still something worth fixing. :)

Loving the new time limit feature though. :D

User avatar
battye
Extension Customisations
Extension Customisations
Posts: 10940
Joined: Wed Feb 11, 2004 11:02 am
Location: Australia
Contact:

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by battye » Fri Aug 02, 2013 2:45 pm

Thanks vipaka, I'm glad you like the new time limits feature. I will investigate the exclusion time bug you mentioned. Please let me know if you notice any other issues :)
Customisations Team Member

https://github.com/battye/php-array-parser - Give it a Star! :D

User avatar
mladiucitelj
Registered User
Posts: 586
Joined: Sun Dec 12, 2010 12:33 am
Location: Slovenia, Europe

Re: [ALPHA] Ultimate Quiz MOD v2.1.2

Post by mladiucitelj » Fri Aug 02, 2013 3:22 pm

Hi!

Nice mod.

Some things:

1. Can it be supported for special characters like 'š, č, ž'? Now it shows just '??' instead of them.

2. It would be better that quiz questions are now so close to each other (maybe to put a white space between them)

3. When adding answers by creating quiz - maybe some notification how many answers are available (example: I've added 8 answers, but in ACP is configured 5 - last 3 answers just wanished when submitting a quiz)
Don't forget to clear cache, refresh template, theme and imageset, double check all files :)

My mod: [MODDB] Menu System

Locked

Return to “[3.0.x] MODs in Development”