vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Inferno Quiz v2.2 (https://vborg.vbsupport.ru/showthread.php?t=83130)

cmtprep 12-18-2010 06:09 PM

Hey Mike - do you know of any way to equip a VB 4 site with quiz functionality?

TheLastSuperman 12-19-2010 12:13 AM

Quote:

Originally Posted by cmtprep (Post 2136011)
Hey Mike - do you know of any way to equip a VB 4 site with quiz functionality?

You can wait for the update... use some flash or other scripts and some savvy to integrate them OR you could simply use the Easy forms mod and set it up so it works like a quiz system ;).

Check it out here: https://vborg.vbsupport.ru/showthread.php?t=234385

cmtprep 12-19-2010 02:00 PM

Thanks Mike - I'll check it out.

49er 12-30-2010 04:07 PM

Quote:

Originally Posted by DragonByte Tech (Post 2093234)
Not being converted, but being re-written from the ground up =)

Iain

Looks like you took more on than you can chew?

vitrag24 02-15-2011 06:40 AM

Quote:

Originally Posted by cmtprep (Post 2136011)
Hey Mike - do you know of any way to equip a VB 4 site with quiz functionality?

did u got any good quiz/mock test script?

i'm ready to spend around 100-150USD for a good quiz/mock test script..

developers plz come out..

1F42 02-22-2011 11:34 AM

Could someone point in the right direction in quiz.php to fix this issue;

If a select a custom user group and add this only to a quiz it wont let you take it. I have added the user group to the main settings ect but I think it is because it is not checking for custom user groups as well as main?

1F42 02-22-2011 02:43 PM

Never mind I fixed it the coder forgot to query the table that holds the additional usergroups
which is "membergroupids"

Update I'm using 3.8.2 So somewhere between this mod release and I think 3.6.0 VB added the additional members table and although this mod sees them and allows you to select the additional members groups per quiz it does not query them for permissions because that table was all one at the time. I have fixed this for people who have any VB version which uses additional user groups well up to 3.8.2 maybe higher but can not test any higher here. I have added a new Var for the membergroupids table and changed the if permission statement.

Why do you want this? Well you can have a subscription only quiz with a prize, the quiz is set to only allow a certain additional member group which is auto added to any member through the subscription options voila :) Now the permissions work lol! And it makes it far more flexible for special events without having to change the users main group.

The new var added is
$Your_MID = $vbulletin->userinfo[''membergroupids'];

And replacing the if statement of
if (!in_array($Your_ID,$Perms['Participate']))

with

if (!(in_array($Your_ID,$Perms['Participate']) || in_array($Your_MID,$Perms['Participate'])))

Both to be done in 3 occurenceses.

Or replace your quiz.php with the one I have already modded.

NB: Rename your old one to quizold.php then upload mine as is if it does not work for you, you can just delete mine and rename your quizold.php back to quiz.php I know standard practice everyone should know but just in case :)

Enjoy


All times are GMT. The time now is 12:50 AM.

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.01643 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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