Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBookie for vBulletin 3.5 Details »»
vBookie for vBulletin 3.5
Version: 1.0.7, by Andreas Andreas is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 08-11-2005 Last Update: 02-17-2006 Installs: 633
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

vBookie

Introduction

This is a Port of the original vBookie Hack created by tdjrico; full credits to him for the idea and the kind permission to port his work

A t t e n t i o n
This Hack is unsopported and incompatible with vBulletin 3.6+
You are hereby advised to not use it.
Please do not ask me about support and/or updates - there will be none.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1662  
Old 11-12-2007, 05:56 PM
EA Junkie EA Junkie is offline
 
Join Date: Jul 2002
Location: Southlake, TX
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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'truefalse));

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>
Reply With Quote
  #1663  
Old 11-12-2007, 06:01 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EA Junkie View Post
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>
no..... not a template, the plugin
Reply With Quote
  #1664  
Old 11-12-2007, 07:03 PM
EA Junkie EA Junkie is offline
 
Join Date: Jul 2002
Location: Southlake, TX
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bobster65 View Post
no..... not a template, the plugin
Thanks for quick response. So, I open the product-bookiehack plug in and replace the code below with Paul M's code correct?

if ($newpost['postvbookieevent'])
{
$forceredirect = false;
$vbulletin->url = 'vbookie.php?' . $vbulletin->session->vars['sessionurl'] . "t=$newpost[threadid]&vbookieeventoptions=$newpost[vbookieeventoptions]&do=newevent";
}
Reply With Quote
  #1665  
Old 11-12-2007, 07:31 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EA Junkie View Post
Thanks for quick response. So, I open the product-bookiehack plug in and replace the code below with Paul M's code correct?
close, but no...

Log into your Admin Control Panel.

Scroll down the left hand nav menu until you get to the Plugins & Products Area.... expand it.. click on Plugin Manager.

This will then bring up all the plugins that you have installed within vbulletin...

Scroll down the list and Look for the Product : vBookie area... this area will contain all the plugins associated with vbookie....

Find the specific plugin that needs to be modified (vBookie: Redirect to vbookie.php when posting new Event) and then click on [edit]

This will open the plugin so that you can replace the block of code with the block that Paul had in his post...

Hit save and you are good to go
Reply With Quote
  #1666  
Old 11-12-2007, 11:00 PM
EA Junkie EA Junkie is offline
 
Join Date: Jul 2002
Location: Southlake, TX
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bobster you rock!!! I've got it installed. The last issue I'm having is it is not showing up on my navbar on the forums home page - http://forums.onlinesportsgames.com/
Reply With Quote
  #1667  
Old 11-13-2007, 01:23 PM
EA Junkie EA Junkie is offline
 
Join Date: Jul 2002
Location: Southlake, TX
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Along with not being able to display on the navbar, users also aren't able to place bets once I post. Get the following message - You may not bet on this event. You have placed 0 bet(s) on this Event.

http://forums.onlinesportsgames.com/...ead.php?t=7824
Reply With Quote
  #1668  
Old 11-13-2007, 02:23 PM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EA Junkie View Post
Along with not being able to display on the navbar, users also aren't able to place bets once I post. Get the following message - You may not bet on this event. You have placed 0 bet(s) on this Event.

http://forums.onlinesportsgames.com/...ead.php?t=7824
To link to the vbookie.php page... you need to edit your NAVBAR template and add the code like the install file suggests...

You need to edit each usergroup and set vbookie permissions for each group. There are 3 permission settings for vBookie.
Reply With Quote
  #1669  
Old 11-14-2007, 01:13 AM
rishimodi rishimodi is offline
 
Join Date: Mar 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed vbookie at my forum, but i cannot see any option of adding event. Can anyone help me with this. I know its a silly question but I'm stuck .

I've give permission to user group.
Reply With Quote
  #1670  
Old 11-14-2007, 01:20 AM
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Location: Montana
Posts: 1,169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rishimodi View Post
I just installed vbookie at my forum, but i cannot see any option of adding event. Can anyone help me with this. I know its a silly question but I'm stuck .

I've give permission to user group.
adding an event is similar to adding a poll. You first need to start a new thread in the forum that you want the event to show up in.. give the thread a title (just like you do a poll) and then down at the bottom is a check box thats you check to make the thread a vBookie event... hit submit and it will then take you to the vbookie event screen to fill out the particulars for the event... fill it out and hit submit. You will then have a thread with a vbookie event
Reply With Quote
  #1671  
Old 11-14-2007, 01:36 AM
rishimodi rishimodi is offline
 
Join Date: Mar 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for quick response. But after creating event and checking the check box, it doesn't redirects me to vbookie page, infact when I go there manually - i dont' see anything.

Regards
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:24 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07042 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete