vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - vbBux / vbPlaza v1.5.8 (Points + Store System) (https://vborg.vbsupport.ru/showthread.php?t=106953)

Olli460 06-30-2006 03:21 PM

I got the same error. What happened?

ChrisTech 06-30-2006 05:44 PM

Quote:

Originally Posted by fuzionpoker
Just got another one :S i think ive messed this up big time!! lol

Fatal error: Call to undefined function: vbplaza_printf() in /usr/home/s4a/domains/fuzionpoker.com/public_html/Forum/admincp/plugin.php(1232) : eval()'d code on line 66


backup the plugin.php (rename it to plugin.php.OLD) then upload a fresh copy and see if that does the trick.

SMO 07-01-2006 05:08 PM

I get his edit when i add the xml for the ipb arcade addon...anyone else?

Code:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO plugin
        (`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
        ('1', '5', 'vbBux / vbPlaza - ibProArcade Authorize Start', 'ibproarcade_authorize_start', '// include the vbplaza_ibproarcade_authorize_start.php\r\ninclude(DIR . \'/plugins/vbplaza_ibproarcade_authorize_start.php\');', 'ibproarcade_vbplaza');

MySQL Error  : Unknown column 'executionorder' in 'field list'
Error Number : 1054


webgroup 07-01-2006 07:32 PM

I get this importing the v3arcade add-on:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbnewplugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'vbBux / vbPlaza - v3 Arcade Game Bit', 'arcade_game_bit', '// include the vbplaza_arcade_gamebit.php\r\ninclude(DIR . \'/plugins/vbplaza_arcade_gamebit.php\');', 'v3arcade_vbplaza');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, July 1st 2006 @ 04:30:27 PM
Script : http://mysite.com/forum/admincp/plugin.php
Referrer : http://mysite.comforum/admincp/plugin.php?do=productadd

DjJoschimo 07-01-2006 08:45 PM

Quote:

Originally Posted by webgroup
I get this importing the v3arcade add-on:

Database error in vBulletin 3.5.4:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vbnewplugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)
VALUES
('1', '5', 'vbBux / vbPlaza - v3 Arcade Game Bit', 'arcade_game_bit', '// include the vbplaza_arcade_gamebit.php\r\ninclude(DIR . \'/plugins/vbplaza_arcade_gamebit.php\');', 'v3arcade_vbplaza');

MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, July 1st 2006 @ 04:30:27 PM
Script : http://208.101.40.13/~sheriff/el_ori...ncp/plugin.php
Referrer : http://mysite.comforum/admincp/plugin.php?do=productadd

yes i get this too :tired:

Shazz 07-01-2006 09:12 PM

If smods could edit the options in the Store, Couldn't they make it so they get admin powers...

SCORPION1 07-01-2006 10:24 PM

i cant download the real bux add on its coming up with you dont have permission to access this page and by the way cool hack m8:confused:

webgroup 07-01-2006 10:33 PM

Also, when I try to add a new ribbon, I get this:

You did not enter anything for the Ribbon Description.

Bu there's no field to enter any "Ribbon Description", just the filename, ribbon name, diaplay order and the cause.

Greek Wizard 07-02-2006 12:57 AM

Hi guys,

I am trying to install the vBookie Add-on found in the vBux download, however I get the error message:

XML Error: not well-formed (invalid token) at Line 41

The product-bookiehack_vbplaza.xml file is this:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?>

<product productid="bookiehack_vbplaza" active="1">
        <title>vbBux / vbPlaza - vBookie Addon</title>
        <description>vBookie Addon is a system that will integrate your vBookie with vbBux / vbPlaza.</description>
        <version>1.0.0</version>
        <url>http://www.vbplaza.com/forums/</url>
        <versioncheckurl />
        <dependencies>
                <dependency dependencytype="product" parentproductid="bookiehack" minversion="1.0.5" maxversion="" />
                <dependency dependencytype="product" parentproductid="vbbuxplaza" minversion="1.5.0" maxversion="" />
        </dependencies>
        <codes>
        </codes>
        <templates>
        </templates>
        <plugins>
                <plugin active="1" executionorder="5">
                        <title>vbBux / vbPlaza - vBookie Get User Cash</title>
                        <hookname>vbookie_get_user_cash</hookname>
                        <phpcode><![CDATA[// get the user's cash
$cash = (int)$vbulletin->userinfo[$vbulletin->options['vbbux_pointsfield']];]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>vbBux / vbPlaza - vBookie Take User Cash</title>
                        <hookname>vbookie_take_user_cash</hookname>
                        <phpcode><![CDATA[// check if the user's cash would be negative
$cash = (int)$vbulletin->userinfo[$vbulletin->options['vbbux_pointsfield']];
if (($cash - $amount) < 0)
{
        // display error, not enough points
        eval(standard_error(fetch_error('vbplaza_not_enough_points')));
}

// take the user's cash
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET " . $vbulletin->options['vbbux_pointsfield'] . "=" . $vbulletin->options['vbbux_pointsfield'] . "-" . $amount . " WHERE userid=" . $vbulletin->userinfo['userid']);]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>vbBux / vbPlaza - vBookie Give User Cash</title>
                        <hookname>vbookie_give_user_cash</hookname>
                        <phpcode><![CDATA// check if the user's cash would be negative
$cash = (int)$vbulletin->userinfo[$vbulletin->options['vbbux_pointsfield']];
if (($cash + $amount) < 0)
{
        // display error, not enough points
        eval(standard_error(fetch_error('vbplaza_not_enough_points')));
}

// give the user cash
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET " . $vbulletin->options['vbbux_pointsfield'] . "=" . $vbulletin->options['vbbux_pointsfield'] . "+" . $amount . " WHERE userid=$userid");]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>vbBux / vbPlaza - vBookie Get Richest Users</title>
                        <hookname>vbookie_get_richest</hookname>
                        <phpcode><![CDATA[// build the proper SELECT query
$q = "SELECT username, " . $vbulletin->options['vbbux_pointsfield'] . " AS cash FROM " . TABLE_PREFIX . "user ORDER BY cash DESC LIMIT 5";]]></phpcode>
                </plugin>
                <plugin active="1" executionorder="5">
                        <title>vbBux / vbPlaza - vBookie Do Charity</title>
                        <hookname>vbookie_do_charity</hookname>
                        <phpcode><![CDATA[// give out the points
$vbulletin->db->query_write("UPDATE " . TABLE_PREFIX . "user SET " . $vbulletin->options['vbbux_pointsfield'] . "=" . $vbulletin->options['vbookiegivetopoor'] . " WHERE " . $vbulletin->options['vbbux_pointsfield'] . " < " . $vbulletin->options['vbookiegivetopoor']);]]></phpcode>
                </plugin>
        </plugins>
        <phrases>
        </phrases>
        <options>
        </options>
        <helptopics>
        </helptopics>
        <cronentries>
        </cronentries>
        <faqentries>
        </faqentries>
</product>

I tried to install it without the executionorder="5" since I believe this is only for 3.6, but I still get the error.

Anyone have an idea why it wont work?

Thanks.

phOny 07-02-2006 06:47 AM

I had this installed with Aria + from vbstyles and it screwed the layout up, was it me? has anyone else got this working with that skin? if did you have to tweak it? thanks.


All times are GMT. The time now is 05:24 AM.

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.03851 seconds
  • Memory Usage 1,761KB
  • 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
  • (2)bbcode_code_printable
  • (2)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