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)

Martin64 09-01-2002 12:15 PM

jediguy, only registered members can view your quizzes, so post a screenshot instead. :)

jediguy 09-01-2002 12:22 PM

OK:

http://www.shoresofvalinor.com/images/screeny.gif

I also tried uploading it to the vBulletin images folder and then putting:

Code:

<img src={ imagesfolder}/images/[imagelink]>
But that didn't work either.

Martin64 09-01-2002 12:26 PM

Try vB code

jediguy 09-01-2002 12:29 PM

That did the trick. Thanks!

:)

Martin64 09-01-2002 12:32 PM

You're welcome. :D

AZPROSPORTS 09-02-2002 04:39 AM

Nice job. Was able to fix all problems by reading through the thread. THANKS for the hard work!

FleaBag 09-02-2002 01:40 PM

Working on 2.2.7. Thanks again! :)

indiamike 09-02-2002 02:31 PM

I was wondering if someone could help me with a fix or suggestion for this.

In one of my quizzes I added html into the question to display an image, sort of like "what is the image above".

In my Admin screen, the images show up fine and the html is displaying correctly, however if I go to take the quiz the images won't show up, just the html code shows up.

Example: If I typed in this
Quote:

<p align="center"><img border="0" src="http://www.indiamike.com/quizimages/meal.jpg" align="center" hspace="10" vspace="10" width="225" height="215"></p>
<p align="center"><b>In
the image shown, what type of meal would this be?</b></p>

Into the Question field the image and everything shows in the ADMIN screen but when taking the quiz I just the html coding.

Is there any way I can change this.

Cheers
Mike

TWTCommish 09-02-2002 02:33 PM

It's not parsing the HTML because your board is apparently set not to accept HTML. If you want it to accept HTML, find this line:

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

Replace it with this:

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

Replace the "X" in that line with the forumid number of one of your forums which is set to parse HTML in posts. That should do it.

indiamike 09-02-2002 02:58 PM

Thanks for the quick response gave it a try on got this

Quote:

Warning: Wrong parameter count for stripslashes() in /home/indiamik/public_html/india/quiz.php on line 177

Line 177 looks like this
Quote:

$quiz[description] = bbcodeparse(stripslashes($quiz[description], 80));
Mike


All times are GMT. The time now is 08:16 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.02463 seconds
  • Memory Usage 1,735KB
  • 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
  • (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