Quote:
Originally Posted by Paul M
vBookie & 3.6
The posting of vbookie events in 3.6 is broken because the hook used has moved.
To fix this problem, the following plugin must be edited ;
vBookie: Redirect to vbookie.php when posting new Event
Replace the plugin code with this ;
PHP Code:
if ($newpost['postvbookieevent'])
{
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
eval(print_standard_redirect('redirect_postthanks_moderate', true, false));
}
Note: I'm not actually using vbookie atm so I can't comment on any other problems.
|
So, I replace the code above in the newthread template instead of this code below correct?
<if condition="$show['vbookieevent']">
<fieldset class="fieldset">
<legend>$vbphrase[post_a_vbookieevent]</legend>
<div style="padding:$stylevar[formspacer]px">
<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>
</div>
</fieldset>
</if>