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 1.0 (https://vborg.vbsupport.ru/showthread.php?t=39719)

Velocd 06-12-2002 02:54 AM

Very very impressive, this is such a cool hack. I think we know who wins this months "hack of the month." Now I wont have to post polls for quizzes anymore ^_^

Great job!

Here are some pic's for those who are too lazy to register:

Velocd 06-12-2002 02:54 AM

And another of the taking-quiz interface:

Lionel 06-12-2002 02:55 AM

Quote:

Originally posted by TWTCommish

Lionel: I'm not sure what you mean. The templates are all built to use your header template contents automatically.

in some templates I replaced $header with a different $header, or I simply paste the full html code instead of $header. Like that I am able to make use of different banners in different sections.

Recluse 06-12-2002 05:56 AM

ok i used the first install script, default templates, no other styles, the quiz templates are there, Linux / PHP v4.1.2, MySQL v3.23.45, 2.2.6 vb and the quiz.php is a blank page :(

BigJohnson 06-12-2002 07:57 AM

I am also getting the

Fatal error: Unsupported operand types in /usr/local/psa/home/vhosts/new-dimensionz.com/httpdocs/messageboard/quiz.php on line 350

error when i click the take this quiz button as well. I read through this thread and saw that the issue is trying to be fixed. These are my server settings

Server Type
Linux / PHP v4.1.0

MySQL
v3.23.46

bandersen 06-12-2002 08:06 AM

Quote:


bandersen: I'm not sure if this is exactly compatible with a version of PHP that early or not. You might have to ditch all instances of the $HTTP_POST_VARS[] array. [/B]
Hi - I was using PHP 4.0!
I also had the image error - but included the code below in the quiz description and the image showed.

<img border="0" valign="center" src="images/quizzes/linktous.jpg">

SteelFrog 06-12-2002 09:16 AM

Great hack!!! After 5 minutes it was up and running! Thanks!

Dark_Wizard 06-12-2002 10:43 AM

Quote:

Originally posted by Lionel
TWT, can a moderator add a quiz?
Yes he can if you copy the admin_quiz file into the mod directory and make changes to the index.php also in that directory...I have it working that way. Now if we can only solve the operand error. Maybe FireFly has some ideas?

Boofo 06-12-2002 12:17 PM

Sorry to say, sir, I just got through adding a quiz and all works great until I try to take it..and guess what. :)

Code:

Fatal error: Unsupported operand types in /home/virtual/site3/fst/var/www/html/forum/quiz.php on line 350
I'm using Linux / PHP v4.0.6 Safe Mode and MySQL v3.23.36
if that helps at all. :)

Quote:

Originally posted by TWTCommish
I don't understand that last part...the 350 error is seperate. The Admin CP submission doesn't fix that.

To see what version of PHP you're running, create a file with this inside, and run it:

PHP Code:

<?php
  phpinfo
();
?>

As for the images: you probably forget to create the dir and chmod it properly. Again, it's in the instructions.txt file. If you've chmoded it 777 and it STILL doesn't work, then it's likely a server issue.


TWTCommish 06-12-2002 12:22 PM

Alright, I'll see if I can fix this line 350 stuff.

Lionel: I don't understand what you're asking. The quiz templates, by default, use your header template. I'm not sure what else you're asking for.


All times are GMT. The time now is 08:37 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.01782 seconds
  • Memory Usage 1,740KB
  • 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)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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