![]() |
vBa CMPS - Random Quiz
Hack name: vBa CMPS: VBulletin Random Quiz addon
Version: 1.0 Author: brianstevz - I take NO credit for the orginal hack. That was scripted by Zero Tolerance. All I've done is port his hack to vBa CMPS. I also "borrowed" a lot from tcs hack of Random Arcade addon. Steps: 1. Install Quiz Hack from Zero Tolerance https://vborg.vbsupport.ru/showthrea...highlight=quiz 2. Add 1 new template In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_quiz" Insert this code into the template: Quote:
Make sure to repeat this step for each style(skin) that you use. 3. Upload random_quiz.php to your modules folder. Usually HOME/forum/modules 4. Add 1 new vBa CMPS Module Still in your Admincp - vBa CMPS - Add Module - Module Title - Random Quiz - Module Identifier - Leave blank - File to include - random_quiz.php - Activate and select the column you want it in. - Save and you are done. Your done! Hope you like it. Brian Demo here: http://www.pro-american.com MAKE A BACKUP I will not be held responsible for any damage this hack causes to your forum. Please keep any bug reports in this thread. |
Have you got any screen shots of it?
|
Give him a random screenshot.
|
thx nice idea.. I changed
<br> to <br /> Take&id to Take&id border=0> to border="0" /> To make it XHTML valid. Templates Used: adv_portal_quiz To prevent a unnecessary querie. |
Nice hack!
I changed some things so it didn't clash with amykhar's vba newest quiz module I changed the template name from adv_portal_quiz to adv_portal_randquiz and in random_quiz.php Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_quiz') . '";'); Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_randquiz') . '";'); |
Sweet installed ThankYou :)
|
All times are GMT. The time now is 06:07 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|