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)

Legendary Kid 04-27-2003 11:49 AM

I get the same error as WheelzChair....


Database error in vBulletin 2.2.9:

Invalid SQL: SELECT quizid, quiztitle, description, timestamp, userid, catid, imagename
FROM quiz
WHERE approve = 1
ORDER BY timestamp DESC
LIMIT
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Date: Sunday 27th of April 2003 04:53:57 AM
Script: http://attack.elementznet.com/quiz.php
Referer:

dede1 04-27-2003 12:40 PM

Hi

I have a problem with me cannot one the question not see, what
that lies?

Does someone have a solution for it?

http://www.dede1.de/Board/quiz.php?quizid=1&taking=1

lange 05-01-2003 11:31 AM

Does this work with 2.3.0 ?

Lethal 05-01-2003 04:55 PM

yes, perfectly

Areku 05-07-2003 02:34 PM

Does it?!?!

Awesome!

/me licks install!!

Areku 05-09-2003 11:17 AM

Any chances to add a ALL TIME BEST PLAYERS at quiz's home?

Areku 05-09-2003 11:23 AM

Hey!

I need help too!

I added 2 quizzes with no images, then a third with an image, now the three quizzes have the same image?!?!?!

How come?

Areku 05-09-2003 11:41 AM

Btw @ movieforums.com... Movie quizzes show 10 but only 9 displayed... another bug?

dezoris 05-15-2003 01:21 AM

I had problems with the blank page loads, I had to add the ID and then I have seen no major bugs. Thank you again.

Cloudrunner 05-20-2003 08:54 PM

Not wanting to go through all 52 pages of this post, I went and fixed the admin CP slightly. If this is a double fix / post I apologize.

Anyways, What I did is make it so that the templates are listed under not your custom templates, but under the default templates under it's own collaspable category there. It also makes it so that ALL of your styles see the templates, and not just your default style so you don't have to worry about doing the manual additions.

Anyways, Ready?

Here we go:

1) Find the following bit of code in your admin/template.php:

Code:

  $only['showgroup'] = 'Show Groups';
Directly below that add the following code:

Code:

//Quiz
  $only['quiz'] = 'Quiz';
//End Quiz

2) Save and upload file.

3) using phpmyadmin or another similar manager for your mysql database run the following query (this simply changes the template id to '-1' so that it becomes part of the default templates.)

Code:

UPDATE `template` SET `templatesetid` = '-1' WHERE `title` LIKE '%quiz%';
(this should update ~46 templates.)

That's it, just reload your Admin CP and then view the templates. (The email and error templates for vBQuiz are under the 'email' and 'error' template categories ;))

This was done on 2.3.0, but should work for any 2.X version.


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.01534 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
  • (3)bbcode_code_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