vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBQuiz Add-on v1.2 (https://vborg.vbsupport.ru/showthread.php?t=42000)

Martin64 08-05-2002 10:00 PM

vBQuiz Add-on v1.2
 
vBQuiz Add-on v1.3 (for vBQuiz 1.0)
(https://vborg.vbsupport.ru/showthrea...threadid=42000)
(by Martin64, martin64@vbhackers.com. Additional functions by FASherman)

ABOUT: Since vBQuiz is such a great hack, I decided to make this add-on to pay my respect to TWTCommish ;) Don't forget to visit his great board at http://www.movieforums.com. :P

NOTE: Of course, you must have installed vBQuiz 1.0 before you start.

DESCRIPTION: Let's describe this add-on as having 3 functions, all optional and independant of eachother:

Step 1: This part of the add-on displays a "Forum Quiz Center", which has a link to the main quizzes page and also, it shows how many of X available quizzes you have taken. This part of the add-on was made by FASherman so a big thank you to him :). Check out this version online at http://www.fasherman.com/forums

Below the Forum Quiz Center, it will display the easiest and hardest quizzes.

Step 2: As you know if you have vBQuiz 1.0 installed, only Admins are able to add, edit and remove quizzes. This add-on enables the ability for Moderators to manage quizzes as well.

Step 3. Finally, these instructions will create a Quizzes CP. This could come handy if you plan to assign certain members to manage quizzes only. Please note that still need to be assigned as moderator of a board in order to be able to reach the Quizzes Control Panel.

Enjoy! :knockedout:

Martin64 08-06-2002 10:04 PM

Here's the screenshot as promised:

Tim Wheatley 08-06-2002 10:21 PM

Great stuff - thanks.

Modified the templates for my board though. :)

Tim

[D]Vincent 08-06-2002 10:23 PM

Looks great but I don't really want my mods to be able to edit it and the stuff on the main page doesn't really make me jump for joy either, nice hack though.

Tim Wheatley 08-06-2002 10:24 PM

1thing.

You say to find:
//today online hack end
etc etc....

Well not all people have that installed. ;)

Martin64 08-06-2002 11:30 PM

Thanks Tim, I'll update that. :)
Didn't mean to include that line: :p

TWTCommish 08-07-2002 01:10 AM

Excellent hack, Martin. Very cool. :) You can afford to ditch this part of the code, though, I think:

Code:

    $easiest[description] = (strlen($easiest[description]) == $quiz_characters) ? bbcodeparse(substr($easiest[description], 0, $quizcharacters).'...') : bbcodeparse(substr($easiest[description], 0, $quizcharacters));
    $hardest[description] = (strlen($hardest[description]) == $quiz_characters) ? bbcodeparse(substr($hardest[description], 0, $quizcharacters).'...') : bbcodeparse(substr($hardest[description], 0, $quizcharacters));


Regit 08-07-2002 01:49 AM

i really want if the register user can post their own quiz ,
( need the admin approve to display ) , it's great for the member who want to submit their own quiz ..

anyone can do this addon ??

Link14716 08-07-2002 03:33 AM

it'd probably be easy to make a store addon or sopmething, I'll try ;)

Tim Wheatley 08-07-2002 04:23 AM

Is it not possible to put the admin_quiz.php file into the main forum dir and modify the permissions then just sort the template?

(Sorry - clueless). :D:D


All times are GMT. The time now is 01:44 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.03260 seconds
  • Memory Usage 1,729KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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