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)

Boofo 06-18-2002 02:16 AM

And we have a winner!!!

It works and it works well. :) Now, how do we get the border around it like we have in the other tables? Then we are all set for go! Good work! :)

Quote:

Originally posted by TWTCommish
Open the quiz_question template, and replace this:

$questiondata[questiontext]

...with this...

$question[questiontext]


TWTCommish 06-18-2002 02:18 AM

Well, which template you talkin' bout? :)

Boofo 06-18-2002 02:21 AM

It's the one where you first come into the quiz. Check it out. :)

Quiz

Quote:

Originally posted by TWTCommish
Well, which template you talkin' bout? :)

TWTCommish 06-18-2002 02:28 AM

In the quiz template replace this...

Code:

<table cellpadding="4" cellspacing="{ tableinnerborderwidth }" border="0" width="{ contenttablewidth }" { tableinvisibleextra }>
...with this...

Code:

<table cellpadding="{ tableouterborderwidth }" cellspacing="0" border="0" bgcolor="{ tablebordercolor }" { tableouterextra } width="{ contenttablewidth }" align="center"><tr><td>
<table cellpadding="4" cellspacing="{ tableinnerborderwidth }" border="0" width="{ contenttablewidth }" { tableinvisibleextra }>

Then replace this...

Code:

      <table cellpadding="4" cellspacing="0" border="0" width="{ contenttablewidth }" { tableinvisibleextra }>
        $quizbits
      </table>

...with this...
Code:

      <table cellpadding="4" cellspacing="0" border="0" width="{ contenttablewidth }" { tableinvisibleextra }>
        $quizbits
      </table>
</td></tr></table>

REMOVE the spaces...I had to add them to avoid parsing. :)

Boofo 06-18-2002 02:36 AM

Are you sure it is the QUIZ template? I don't find anything like the first code in there at all. And I haven't changed anything in it.

TWTCommish 06-18-2002 02:37 AM

Sorry, I edited my post about 20 times. :D Try it now.

Boofo 06-18-2002 02:40 AM

I don't find it still. There is no width=95% in there at all.

TWTCommish 06-18-2002 02:47 AM

Sorry, THIS forum was parsing those bb Code replacements. Try it now...but remove the spaces.

Boofo 06-18-2002 02:56 AM

This is my quiz template. Something is definately different in mine for some reason. I added the extra spaces.

Code:

<html>
<head>
<title>$bbtitle - Quizzes</title>
$headinclude
</head>

<body>
$header

<!-- breadcrumb -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth }" {tableinvisibleextra } align="center">
  <tr>
    <td width="100%"><normalfont><b><a href="index.php?s=$session[sessionhash]">$bbtitle</a> $joiner Quizzes</b></normalfont></td>
  </tr>
</table>
<!-- /breadcrumb -->

<br/>

<table cellpadding="4" cellspacing="0" border="0" width="{contenttablewidth }" {tableinvisibleextra } align="center">
  <tr>
    <td width="55%" valign="top">
      <table cellpadding="4" cellspacing="0" border="0" width="{contenttablewidth }" {tableinvisibleextra }>
        <tr>
          <td width="100%" valign="middle" bgcolor="{tableheadbgcolor }"><normalfont color="{tableheadtextcolor }"><b>Recently Added Quizzes</b></normalfont></td>
        </tr>
      </table>

      <table cellpadding="4" cellspacing="0" border="0" width="{contenttablewidth }" {tableinvisibleextra }>
        $quizbits
      </table>
    </td>

    <td width="1%">&nbsp;</td>

    <td width="44%" valign="top">
      <table cellpadding="4" cellspacing="0" border="0" width="{contenttablewidth }" {tableinvisibleextra } align="center">
        <tr>
          <td width="100%" valign="middle" bgcolor="{tableheadbgcolor }"><normalfont color="{tableheadtextcolor }"><b>Quiz Categories</b></normalfont></td>
        </tr>

        $categorybits
      </table>

      $easiest_hardest
    </td>
  </tr>
</table>


$footer
</body>
</html>

Quote:

Originally posted by TWTCommish
Sorry, THIS forum was parsing those bb Code replacements. Try it now...but remove the spaces.

TWTCommish 06-18-2002 02:59 AM

It looks the same to me, man. :)


All times are GMT. The time now is 08:59 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.01365 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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