vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBookie for vBulletin 3.5 (https://vborg.vbsupport.ru/showthread.php?t=94128)

DobieGillis? 05-20-2009 01:30 PM

Quote:

Originally Posted by CLF (Post 1814041)
Oh, but it is. I asked in here before I installed it, members confirmed and I checked couple of 3.6.7 PL1 boards and it works just fine. And there is something about this error (probably something in vbookie.php) but I don't know what it is or how to fix it.

Parse error: syntax error, unexpected '<' in /home/cappersl/public_html/forum/newthread.php(244) : eval()'d code on line 5"

Thanks a million to whoever has a suggestion or the instruction on how to fix this issue.

mine is working on 3.8.2

CLF 05-20-2009 03:41 PM

A bit different but this is the error I'm getting now every time I try to start new thread:

Parse error: syntax error, unexpected $end in /home/cappersl/public_html/newthread.php(244) : eval()'d code on line 5

I really hope someone could help me here.

THANK YOU IN ADVANCE! :)

CLF 05-20-2009 04:11 PM

Quote:

Originally Posted by CLF (Post 1814171)
A bit different but this is the error I'm getting now every time I try to start new thread:

Parse error: syntax error, unexpected $end in /home/cappersl/public_html/newthread.php(244) : eval()'d code on line 5

I really hope someone could help me here.

THANK YOU IN ADVANCE! :)

I found the error!!! :)

There was "}" missing in "vBookie: Redirect to vbookie.php when posting new Event" plugin at the very end.

sportwiz628 05-21-2009 12:43 AM

So would this work on my 3.8.2 forum?

Please answer..thanks!

Biker_GA 05-21-2009 01:06 AM

Extremely doubtful...

sportwiz628 05-21-2009 01:11 AM

What do you think would happen if I tried it out though.

DS MrSinister 05-21-2009 09:36 AM

here is the fixed for 3.6 +. make sure you do all the edits and rebuilld bitfields...

https://vborg.vbsupport.ru/showthrea...92#post1035092

theybannedme 05-27-2009 09:20 PM

Quote:

Originally Posted by Hiranmanu (Post 1770679)
I have this working for 3.8.1 PL1. This works for any forum version with the right modifications done. I will write up exactly what you guys need to do to get it working.


1: Upload all files in upload folder
2: Import product-bookiehack.xml
3: Goto ACP > Plugins & Products > Plugin Manager
4: Edit Redirect to vbookie.php when posting new Event by replacing the entire 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'truefalse)); 


5: In template Newthread find
PHP Code:

$threadmanagement 

. Above that add the following code
PHP Code:

<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> 

6: Download ICash and install
7: Change ICash Options. Change the Money Row to vbookie_cash


This will definately work for you. I have left off showing the points in the postbit and the link in the navbar. If you need to add these the code is the same as the original.

Sorry but where exactly does Step #4 go? Thanks!

DS MrSinister 05-28-2009 12:14 PM

*theybannedme

step 4 is the code replacement

just login to your admincp and goto Plugin & Products under this goto plugin manager and find vBookie: Redirect to vbookie.php when posting new Event and repalce the code with step 4.

powerful_rogue 05-28-2009 06:52 PM

Quote:

Originally Posted by sportwiz628 (Post 1814408)
So would this work on my 3.8.2 forum?

Please answer..thanks!

Works fine on 3.8.2


All times are GMT. The time now is 07:36 PM.

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.03675 seconds
  • Memory Usage 1,754KB
  • 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_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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