(help) vBookie hook edit

inetcrimes

New Member
sups just curious to if anyone has or knows were i can find the hook edit for 3.6.8 pl2 I know they changed the hook for it but I am unable to find the edit for it .. I dont have a license so i cant get it from the only place ive seen it posted which was over at the vbulletin site.. I belive the edit im looking for is here.. if anyone has the abilty to look

vBookie for vBulletin 3.5 - Page 92 - vBulletin.org Forum

thanks in advance
 

inetcrimes

New Member
never mind fixed it myself LoL.. this is what i came up with..

Problem: My vbookie will not post new events when i make a thread using vBulliten 3.6.x.

Issue: The hook is different and has been changed.

Fix: GoTo Admin CPanel : Plugins & Products : Plugin Manager : Under Vbookie
Edit: vBookie: Redirect to vbookie.php when posting new Event

Find: (which is all of the code there)
Code:
if ($newpost['postvbookieevent']) 
{ 
	$forceredirect = false;
	$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent"; 
}

Replace with:
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)); 
}

Now your vBookie will post new events..

Thanks me..

Your Welcome me..

heh heh
 

PrinceIsrael

New Member
I have the same problem. Im using VB 3.8.0

The plugin not saving when I replace my code with this. I tried many times. But when I change some other codes it is saving. This code not compatible with 3.8? Please help me.. im in need of this.. :(
 

g3oniTz

New Member
thanks inetcrimes for the solution, i was worried about if this gonna worked
but whit you modification works ^^
 

DOPE

New Member
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));
}
 

masterofdeath

New Member
Nobody knew about odds? i dont like 8/10 etc.. i want european ratios instead uk ratios.Please help

i want decimal odds

Thanksd
 
Top