![]() |
Hey Dartho perhaps you can help.
I am trying to style the cash in Postbit. I have edited plugin ( postbit_display_complete) but its producing errors and I cannot see why: Original code is: Code:
if (($vbulletin->options['vbookieactive']) && ($vbulletin->options['vbookiecash']=="vCash") && ($vbulletin->options['vbookiecashon'])) Code:
if (($vbulletin->options['vbookieactive']) && ($vbulletin->options['vbookiecash']=="vCash") && ($vbulletin->options['vbookiecashon'])) |
I am a twat. Just changed " to ' in div tag
Code:
if (($vbulletin->options['vbookieactive']) && ($vbulletin->options['vbookiecash']=="vCash") && ($vbulletin->options['vbookiecashon'])) |
Hey dartho
I am writing a currency integration with vBookie, but there is a serious bug preventing the proper use of the "Custom" currency setting - the casing is wrong. In the setting code, you are using HTML Code:
<option value=\"custom\" " . iif($setting['value']=='custom','selected="selected"') . ">Custom</option> HTML Code:
<option value=\"Custom\" " . iif($setting['value']=='Custom','selected="selected"') . ">Custom</option> Thanks for porting this to vb4! *edit - while youre in there, would you consider adding some hooks around these areas? vbookie.php line 1419 (for additional validation of a new event) vbookie.php line 1560 (for additional processing after new event is added/updated) function_vbookie.php line 168 (for additional processing after event is deleted) It would be much appreciated! |
Just sent you a PM (actually, just about to!)
|
I'm VERRRRY happy to see you two working on integration! :D
|
4.0.7 (23 Mar '10) released - fixed redirect bug when editing events, fixed display of cash holdings in events, added plugin to make template mods (no template mods needed now) and updated code to 4.0.2 standards, added hooks for vbcredits integration.
NOTE 0- if upgrading from pre 4.0.7, you will need to eitehr revert your "newthread" temp[late, or manually undo template edits as there is now a plugin which does this for you. Check teh readme.txt in the archive for more info. |
Thanks for the update! Just a note too - you may want to include in the Readme.txt to delete the edit adding user cash to spend that some people added to vbookie_event_table.
Looks like that's now redundant. :) Code:
<div class="blocksubhead" align="center"><b> |
Installed!
It'd be sweet if users could do private wagers :) |
Quote:
Thanks. |
Thanks for the update :)
|
All times are GMT. The time now is 09:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|