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)

TWTCommish 06-12-2002 06:18 PM

I don't understand how...that doesn't happen to me. Is anyone else having trouble editing their categories?

Dean C 06-12-2002 06:56 PM

well it isn't a problem as i wouldn't often need to edit a category...

also i have found a problem with the actualy quiz.php when it is run in your forums... but this is a template problem...

the recently added quizzes is on the left and the quiz categories and the rest is on the right... however the quiz categories and the easiest quiz etc etc, scrolls a long way to the right meaning you have a horizontal scrollbar....
ideally i would like the quiz categories above the recently added quizzes bit... i tried editing the "quiz" template and it i have a loose tag somewhere now... so if you could do this new template edit i would be most grateful

Thanks in Advance

TWTCommish 06-12-2002 06:58 PM

I honestly don't understand what it is you're asking. There is no horizontal scrollbar if you use the defaults...I tried it myself. If you're getting a horizontal scrollbar, either you've changed the templates in some way, or your header is causing a conflict...which wouldn't surprise me, because they often do.

Dean C 06-12-2002 07:00 PM

well i have edited my quiz template because of the quiz categories and easiest quiz scrolling to the right...

Ill attach a screenshot in my next post:

Dean C 06-12-2002 07:05 PM

Screenshot:

ceo_tfw 06-12-2002 07:13 PM

on my last post TWTCommish, I was meant to say that I did do the vbulletin options and the sql error went, and now the blank screen due to no templates and now uploaded the two new files quiz.php and install_quiz.php. I executed the install with my template set at 2 and templates did install with no problems. The only problem now is that the questions and tick boxes do not show,

Hard_one 06-12-2002 07:26 PM

can anyone post the quiz_question template please ?

ceo_tfw 06-12-2002 07:30 PM

here it the quiz_question template

PHP Code:


<html>
<
head>
<
title>$bbtitle Quizzes $quiz[quiztitle] - $quiz_header</title>
$headinclude

  
<script language="JavaScript">
    function 
checkanswer(answerform) {
    var 
temp;

      for (var 
0$answer_counti++) {
        
temp answerform.user_answer[i];
          if (
temp.checked == true) {
            return 
true;
          }
        }

      
alert("You must select an answer.");
      return 
false;
    }
  </
script>
</
head>

<
body>
$header

<!-- breadcrumb -->
<
table cellpadding="2" cellspacing="0" border="0" width="95%"  align="center">
  <
tr>
    <
td width="100%"><normalfont color="white"><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> &nbsp;$joiner&nbsp; <a href="quiz.php?s=$session[sessionhash]">Quizzes</a$joiner <a href="quiz.php?s=$session[sessionhash]&quizid=$quiz[quizid]">$quiz[quiztitle]</a$joiner Question $question_number</b></normalfont></td>
  </
tr>
</
table>
<!-- /
breadcrumb -->

<
form action="$bburl/quiz.php?quizid=$quiz[quizid]&taking=1" method="post" onsubmit="return checkanswer(this);">
<
input type="hidden" name="question" value="$num">
<
input type="hidden" name="timecheck" value="$timecheck">

<
table cellpadding="4" cellspacing="0" border="0" width="95%"  align="center">
  <
tr>
    <
td width="100%" bgcolor="#1D6AA0" valign="middle" colspan="4"><normalfont color="#EEEEFF"><b>Quizzes $quiz[quiztitle] - Question $question_number</b></normalfont></td>
  </
tr>
</
table>


<
table cellpadding="8" cellspacing="2" border="0" width="95%"  align="center">
  <
tr>
    <
td width="100%" bgcolor="#1C5780" valign="top"><normalfont>$question[questiontext]</normalfont><hr/>

<
table cellpadding="0 cellspacing="0" border="0" width="95%"  align="center" bgcolor="#13486D"><tr><td width="100%">
  
<table cellpadding="2" cellspacing="1 border="0" width="100%"  align="center">
    
$answerbits
  </table>
</td></tr></table>
</td></tr></table>

<br/>

<table cellpadding="
2" cellspacing="0" border="0" width="95%"  align="center">
  <tr>
    <td width="
100%" valign="middle" align="center"><input type="submit" name="questionsubmit" value="$button_text" class="black"></td>
  </tr>
</table>
</form>

$footer
</body>
</html> 


Hard_one 06-12-2002 07:33 PM

thx dude :)

bandersen 06-12-2002 08:32 PM

Can someone tell me where I modify the email that is sent out - the "from" and "subject" part? The rest I see.


All times are GMT. The time now is 09:14 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.01605 seconds
  • Memory Usage 1,771KB
  • 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_php_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