Quote:
Originally Posted by Father Juan
After I post the battle thread and it refreshes to enter the poll options I get a blank screen.
The thread is created but the poll is not. Also the battle does not show in the cpanel.
|
From what I gathered it's missing a template that was supposed to be added but didn't.
bs_newbattle is registered but there is no code within the install file that creates the actual template.
Code:
<plugin active="1" executionorder="5">
<title>Replace Poll Template</title>
<hookname>poll_newform_complete</hookname>
<phpcode><![CDATA[if ($foruminfo['isbattleforum'] AND $vbulletin->options['bs_enable']){
$templater = vB_Template::create('bs_newbattle');
$templater->register_page_templates();
$templater->register('checked', $checked);
$templater->register('forumrules', $forumrules);
$templater->register('navbar', $navbar);
$templater->register('polldate', $polldate);
$templater->register('pollnewbits', $pollnewbits);
$templater->register('polloptions', $polloptions);
$templater->register('pollpreview', $pollpreview);
$templater->register('question', $question);
$templater->register('threadid', $threadid);
$templater->register('threadinfo', $threadinfo);
$templater->register('timeout', $timeout);
$templater->register('usernamecode', $usernamecode);
print_output($templater->render());}]]></phpcode>
</plugin>
Disable that plugin and it should work for the most part.