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)

JimmiOO 08-17-2008 04:40 PM

Quote:

Originally Posted by bobster65 (Post 1600791)
Just one page back..

all you need to do is rebuild your bit fields ... Just append the below path to your forums URL and it will take care of that problem for ya

/admincp/index.php?do=buildbitfields


No i have done that and have also added the code to the plugin, but i still dont see a button to add an event, i have set the user permissions but still no joy, im using version 3.7.2. Anyone got any ideas?

bobster65 08-17-2008 05:25 PM

Quote:

Originally Posted by JimmiOO (Post 1600851)
No i have done that and have also added the code to the plugin, but i still dont see a button to add an event, i have set the user permissions but still no joy, im using version 3.7.2. Anyone got any ideas?

Thats odd.. so when you create a new thread you don't see this under the additional Options below the poll options?

Post a vBookie Event
Yes, post a vBookie Event with this thread

JimmiOO 08-17-2008 05:29 PM

Quote:

Originally Posted by bobster65 (Post 1600876)
Thats odd.. so when you create a new thread you don't see this under the additional Options below the poll options?

Post a vBookie Event
Yes, post a vBookie Event with this thread


Ah now i look like a newbie lol, i was clicking the navbar link and looking for the add button. Ive got it now, Thanks alot. :)

serge2k6 08-17-2008 07:16 PM

Quote:

Originally Posted by JimmiOO (Post 1600786)
I think the problem you are having is the same as mine, check your permissions again i think you will find they have not saved and all gone back to no. Im sure i read how to fix that somewhere, can anyone tel me please i dont want to read all the threads again, was it something to do with building the bitfield or something, where do i find that?

no, I already tried the bitfield fix.


edit: I don't have the option for a vbookie even below the poll option.

bobster65 08-17-2008 08:41 PM

Quote:

Originally Posted by serge2k6 (Post 1600954)
edit: I don't have the option for a vbookie even below the poll option.

Then you have not applied the template changes in the instructions..

this is the one you need to apply for the option to show up on the new thread template..
Code:

In Template newthread
  FIND
  --------------------------------------------------
  $threadmanagement
  --------------------------------------------------

  ABOVE that ADD
  --------------------------------------------------
  <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>

I would suggest reading the install instructions again and following them..

serge2k6 08-17-2008 09:41 PM

no I did that.

I followed the instructions except for

Code:

In Template navbar
  FIND
  --------------------------------------------------
  <td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
  --------------------------------------------------

  BELOW that ADD
  --------------------------------------------------
  <td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
  --------------------------------------------------

I couldn't find the part it says to look for so I added it below
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
instead.

Maybe I misunderstood what I needed to do at some point, I'm new at this.

bobster65 08-17-2008 09:53 PM

Quote:

Originally Posted by serge2k6 (Post 1601026)
no I did that.

I followed the instructions except for

Code:

In Template navbar
  FIND
  --------------------------------------------------
  <td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
  --------------------------------------------------

  BELOW that ADD
  --------------------------------------------------
  <td class="vbmenu_control"><a href="vbookie.php?$session[sessionurl]">$vbphrase[vbookie]</a></td>
  --------------------------------------------------

I couldn't find the part it says to look for so I added it below
Code:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
instead.

Maybe I misunderstood what I needed to do at some point, I'm new at this.

If you made the template change and the permissions are set, then it will show up. one of those two things isn't right..

Do you have more than one style? If so, did you make the template change in all styles?

Are you sure you set the user group permissions (check the user group that you are assigned to.. make sure they are not reverting back to no)..

serge2k6 08-18-2008 12:16 AM

only one style (default style) and I checked the permissions.

WhisperXBA 08-18-2008 09:04 PM

Hello, quick question here.

I know the command to reset ALL users to a certain number
(UPDATE user SET vbookie_cash=500; )

what if I wanted to set just a specific member, or members.. I have searched this thread and tried adding things in that command above, but to no success

Regs 08-18-2008 09:42 PM

Wouldn't it just be a WHERE clause? something like UPDATE user SET vbookie_cash=500 WHERE userid=x

(I'm not a coder but maybe one can chime in and confirm)

Cheers,

Regs.


All times are GMT. The time now is 08:08 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.04090 seconds
  • Memory Usage 1,756KB
  • 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
  • (5)bbcode_code_printable
  • (6)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