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)

bjornstrom 05-03-2004 09:22 PM

Quote:

Originally Posted by TWTCommish
How much genuine interest is in there in purchasing an updated version for a small fee, assuming it works with the data from the original hack? If there's enough, I might be able to justify giving it a much higher priority.

I would be willing to pay $100 to get it going again :)

(my icq: 78300353 - i use paypal)

insanctus 05-03-2004 09:27 PM

I should sell you mine that is just a port over ~ laughs lol

bjornstrom 05-04-2004 09:39 AM

My problem is that we used vB Quiz for several months and created serveral quizzez that thousands participated in. We even developed our own "top 100" list and more. I'd love to get it going again.

sabret00the 05-04-2004 11:04 AM

Quote:

Originally Posted by insanctus
I should sell you mine that is just a port over ~ laughs lol

you still aint released yours yet :ermm: :p

Areku 05-05-2004 11:32 AM

bjornstorm, which is your site? That is a must see to believe! ;)

$100 is way too much for me to pay, i hope no1 has read u and coders will release it cheaper, but PLEASE release it, any1!

lmongello 05-10-2004 04:21 PM

bumping and looking for an update...

TWTCommish 05-10-2004 05:38 PM

Sorry for the delays. I have a fair amount of "day job" work this week, but have already started a bit of preliminary work at making this a reality. I'll continue this weekend and update you all when I have time.

Thank you for your patience.

Emmy2 05-14-2004 04:14 AM

This is a really nice hack. I've added it but am trying to fine tune it. I've just spent about 3 hours reading through this thread and trying the different suggestions for getting the hack to do what I'd like.

I've figured out one thing that was not successfully answered in the thread and would like to share the information.

This is for how to add an image to a quiz question. The various fixes already suggested didn't work for me (ie. changing the View Images option in the control panel to "yes", using the img vbcodes to insert the image (just got a link when I did that), using html code (didn't work because my board doesn't accept html so I just got the code, no image) and then finally Chris's suggestion for making one forum on the board accept html and then using that forum number in the quiz.php code. That is actually the way I got it to work but the original information was incorrect. Post numbers 548, 549 and 551 outline the problem and suggested fix.

The suggestion was to change this code....

PHP Code:

$quiz[description] = bbcodeparse($quiz[description]); 

to this....

PHP Code:

$quiz[description] = bbcodeparse($quiz[description], X); 

(where X is the number of a forum on your board that accepts html...I set my managment forum (number 13) to accept html since only only admins have access to it)

anyway, the correct change should be to find this code in quiz.php....

PHP Code:

$question[questiontext] = bbcodeparse($question[questiontext]); 

and change it to this....

PHP Code:

$question[questiontext] = bbcodeparse($question[questiontext], X); 

Again, replacing X with the number of a forum on your board which accepts html. The reason this works and the other didn't....your image is in the text of the question, not the description of the quiz!

Anyway, this worked like a charm for me and I can now add images to quiz questions using html so I hope it helps others as well.

IMPORTANT EDIT: read on a few posts to see how to accomplish image insertion using VBCODE instead of html (even if your previous vbcode didn't work)!!!!!

Emmy2 05-14-2004 04:57 AM

One other important note...

If you also want the image to show up on the results page (instead of the html code showing) you need to also do the same fix on the $result[questiontext] line.

Areku 05-14-2004 08:53 AM

Where can we see this in action emmy2?


All times are GMT. The time now is 03:38 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.01984 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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
  • (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