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)

Itworx4me 07-08-2002 12:42 AM

TWTCommish, How hard would it be to add a image to the quiz? I want to use an image of a person and have them guess who the picture is.

morrow 07-08-2002 07:56 PM

I've installed this hack but when I try to run the admin, I get a blank page. Any suggestions?

Thanks in advance!

bitbender 07-09-2002 12:03 AM

TWC - OUTSTANDING hack - I've been following along for a month. Installed yesterday - Functional today - VB 2.2.3 !!

Thank you very Much !!

There are oodles of free quizzes to be had, by just doing a "google" search on quizzes.. You will have to 'make' up incorrect answers for the questions, and that can take some research, but I know my members will love it !!

Demascus 07-09-2002 08:10 PM

WOW TWT,

Good hack!!! I read the instructiobns properly, followed them to the letter, and it worked 1st time for me.

Only thing I had to do is link to the quiz from my header template, which is of coutrse basic.

I bet you don't write an update though, not after 29 pages of people asking the same questions, some that were explained in the instructions.

Infact, I'd be suprised if you ever post a hack again man!

Damn fine work!

bitbender 07-09-2002 08:17 PM

Thats a Fact, I agree, Demascus !!

I do have one question, thou.. from analysis of the adm_index code, it seems fairly simple to open it up for mods...
Or am I exposing something bad by changing that first require statement ? I tried it on my test server, and it worked well from the forum/mod/ folder, and allowed my dummy mod username to perform all functions...

thanks, Bits

Smoothie 07-09-2002 09:02 PM

I would interested in what code you have to change (if any) to allow mods, or even a certain user group to add quizzes.

Anyone?

bitbender 07-10-2002 12:02 AM

well, if TWTcomish says what I did was ok, Is fine with me, but imo, I did it clumsy, and redundant. I read thru the admin_quiz.php code and saw how it was doing it's outside directory references. In my "limited" knowledge, that seemed to be the only problem it was going to have in it's execution, if it were copied to the /mod folder for access via MOD Cp .

My board uses PHPortal as a front end, so I was able to alter the copy of admin_quiz.php I put in the /mod folder, nd it seemed to work. I tested it using a username who is SUPERMODERATOR usergroup on my test server.

WHAT I changed was the require statement for the globals..

from:
Quote:

require("./global.php");
To:
Quote:

require("$nukeurl/BBF/admin/global.php");


Be kind...Career Programmer, but relative n00b to PHP..Just 9 months young...

RobAC 07-10-2002 04:26 PM

Chris,

Any progress on adding a comment field in addition to the answers as I described previously?

-Rob

CFde 07-12-2002 12:53 AM

The hack ist great and workes fine for me. But as said before I think the hardest and easiest quiz funktion says nothing without a percentage scoring. Is this addition to hard to do for version1 of the hack ? But again - its one of the best addition for vBB !

Quote:

Originally posted by Martin64
Here's the attached instructions, please backup your files before starting :classic:
workes great - can you also make an addion witch display the latest new quiz below the easieast and hardest quiz on forumhome ?

bitbender 07-12-2002 03:34 PM

For those wanting to use the quiz entry outside the admin range, wait for VBquiz 2.0. The method I used was unreliable, and unrepeatable on my live server.

The differences between my two environments are the PHP level, and Red Hat levels, but moreso the fact that the rack I lease uses Ensim as a domain manager, and it file system mapping is very different than my test server. The global includes are not processing the same as they do on my local server, so the script just flushes thru; none of it's IF statements are true.

I am still trying to find out why it works ok locally (test server), but I didnt want to mislead anyone by my earlier post (#428).

Rather than hack apart a manificent piece of work as this, I'll defer until the authors publish an upgrade.

I apologize if I have wasted anyones time, other than my own..


All times are GMT. The time now is 04:20 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.01492 seconds
  • Memory Usage 1,741KB
  • 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
  • (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