vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Inferno Quiz v2.1 (https://vborg.vbsupport.ru/showthread.php?t=80780)

Neal-UK 07-11-2005 06:06 PM

Well i've installed this as shown and set permission via the AdminCP. However, now when I try to take a quiz i've made, I get this message at the top of my forums:
  • Warning: in_array(): Wrong datatype for second argument in /quiz.php on line 353
And this message in the quiz itself:
  • An error has occured, the following message has been left below:

    Your usergroup does not have access to participate in this particular quiz.

Neal-UK 07-11-2005 06:16 PM

Quote:

Originally Posted by nealparry
Well i've installed this as shown and set permission via the AdminCP. However, now when I try to take a quiz i've made, I get this message at the top of my forums:
  • Warning: in_array(): Wrong datatype for second argument in /quiz.php on line 353
And this message in the quiz itself:
  • An error has occured, the following message has been left below:

    Your usergroup does not have access to participate in this particular quiz.

sorry, didn't notice the usergroup further options once quiz created. Now I feel silly, goodbye and great hack!!

themarinersfan 07-21-2005 03:10 PM

Looks good, but I get an error:

Updating style information for each style

Default Style ... (Templates) (StyleVars) (CSS) (Replacement Variables) Done.

And then nothing happens... There isn't a button that says Next or anything... Is it done or what? It says it's done...

amykhar 07-21-2005 03:33 PM

Quote:

Originally Posted by themarinersfan
Looks good, but I get an error:

Updating style information for each style

Default Style ... (Templates) (StyleVars) (CSS) (Replacement Variables) Done.

And then nothing happens... There isn't a button that says Next or anything... Is it done or what? It says it's done...

If I recall correctly, it's done at that point. Did you try the mod to see if it works?

themarinersfan 07-21-2005 03:36 PM

Oh you're right. Stupid me :P

msgotit 07-21-2005 08:11 PM

This may have been asked, but I couldn't find it, does the permissions check for secondary usergroups. I looked quickly and it didn't appear to. In quiz.php there are these line:
PHP Code:

// Assume Your Usergroup Has Access To Participate In A Quiz
    
$Your_ID $bbuserinfo['usergroupid'];
    
    
$Perms   unserialize($Quiz['q_perms']);

            if(!
in_array($Your_ID,$Perms['Participate'])){
            
RunError("Your usergroup does not have access to participate in this particular quiz.");
            } 

That is were it checks for the permissions? Which means if you use secondary usergroups it wouldn't work? Is that right or no.

DS MrSinister 08-09-2005 05:43 PM

can anyone help me out on this. I am working on tweaking my mod that amykhar made for this. I like to add the person name that who submit the quiz and the image as well..

This is what it looks like soo far..

lmongello 08-09-2005 06:11 PM

Man, I GOTTA get this installed, but I'm currently using VbQuiz on my vb3.0.6 forums. I need to be able to import the quizzes, results, etc. into this hack.

Can anyone offer me any help?

tormodg 08-16-2005 07:04 AM

This hack looks brilliant. I use vbQuiz and the only thing that stops me from installing Inferno Quiz is that I want the option to display one question per page.

Is there any hope that this will be implemented in the future?

lmongello 08-16-2005 01:12 PM

OK... I'm getting desperate to get this installed and import my old questions from vBquiz.

And yes, I'm willing to pay (reasonably) for help. Please contact me via PM or email if you can offer assistance. Thanks!


All times are GMT. The time now is 07:43 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01372 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete