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)

amykhar 02-04-2003 11:15 AM

Quote:

Originally posted by Molok
My problem that i have a german Board. All Templates are only in my default style and not in my german Sie style.

Is there a possibility to move fast the quiz templates in my german style ?

Here is the sneaky way I did it to make it go faster. I went to PhpMyadmin, and then sorted the templates by templateid. This put all of the templates for the quiz in a group. I then simply executed a query to change the templateid on that group to -1. This made the templates part of the "built in" group that applies to ALL styles.

I have not customized them per style, but I believe you can just the same as the other default ones.

Amy

Intex 02-04-2003 12:47 PM

pcoskat

Yes this is possible. You can just use the standard html coding for including an image in a page. The only drawback is that you would have to allow html code in your options for that forum.




Quote:

Originally posted by pcoskat
What a lovely hack!!!

Question: when uploading an image to the quiz, is it possible to add a hyperlink to the image? (ie: I'd like to base my quizes on specific books, and have the image be 'of' the book, with that image linked to amazon.com - possible?)

kat


Intex 02-04-2003 12:52 PM

Molok

Not quite what you're looking for, but check this thread out ---> https://vborg.vbsupport.ru/showthrea...highlight=quiz .


Quote:

Originally posted by Molok
Is it possible that Registred User can send a quiz and the admin can only approve the quiz ?

Molok 02-04-2003 12:54 PM

this ad on i have installed.

I think the possibility that registred member can send a quiz will be a cool feature.

Angelus 02-09-2003 03:54 PM

The Links "View More High Scores" and "View All Results for this Quiz" do not go since the updates on 2.2.9 any longer. Which ran there wrongly. Because with "TWTCommish" it does not go also.

LangTuDaTinh 02-16-2003 02:03 AM

if u want registered member able to add a new quiz then just add a new folder with same files that u placed in mod folder (look for vbquiz addon), then remove all option except for "add", then remove approve option when u add a quiz, and set so that only registered user can add.

i did this to my quiz section....

Oblivion Knight 02-16-2003 10:02 PM

Oh how I wish more people would READ the instructions before they complained of a "bug".. ;)

Working fine at Umbrella Online.
Thankyou for a mighty fine modification.. :)

[high]* Oblivion Knight clicks install.[/high]

LangTuDaTinh 02-17-2003 11:44 PM

ok, i make some modification

everything is looking good except for

1. after i submit a message, it will not display that message rightaway, it only display messages that i posed before. If i hit refresh, it will duplicate and show message that i just post which was not appear.

ok too hard to understand
here is an example

1. open a quiz
2. enter a message "testing" and press "post comment" > after it press 'post comment' it will display quiz page again but did not display the message "testing" that i just post.
3. Hit "refresh"
4. Displayed "testing"
5. Hit "refresh" again, two messages "testing" will be post
6. exit that quiz
7. go back that quiz
8. three message "testing" were posted.

First error : So each time i hit refresh after i post my message, it will duplicate my message.
Second error: Message doesn't display right away after hit "post comment"

Please help me to fix these errors.

Thanks

Zombie-F 02-19-2003 09:09 PM

I have a quick question that maybe you could help me with..

Is there any way to get the Quizzes to be displayed alphabetically instead of by id number when in the category view? This would make finding a particular quiz to take be much easier.

LangTuDaTinh 02-20-2003 01:24 AM

search for

PHP Code:

    $quizzes $DB_site->query("SELECT q.quizid, q.quiztitle, q.description, q.timestamp,
                                       SUM(r.totalcorrect) AS correct, COUNT(r.resultid) AS total
                                FROM quiz q
                                LEFT JOIN quiz_results r
                                  ON (q.quizid = r.quizid)
                                WHERE q.approve  = 1
                                  
$clause
                                GROUP BY q.quizid ORDER BY q.timestamp DESC
                                LIMIT 
$start$per_page"); 

change to

PHP Code:

    $quizzes $DB_site->query("SELECT q.quizid, q.quiztitle, q.description, q.timestamp,
                                       SUM(r.totalcorrect) AS correct, COUNT(r.resultid) AS total
                                FROM quiz q
                                LEFT JOIN quiz_results r
                                  ON (q.quizid = r.quizid)
                                WHERE q.approve  = 1
                                  
$clause
                                GROUP BY q.quizid ORDER BY q.quiztitle ASC
                                LIMIT 
$start$per_page"); 



All times are GMT. The time now is 12:50 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.02126 seconds
  • Memory Usage 1,756KB
  • 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
  • (2)bbcode_php_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