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)

Pete C 07-04-2006 05:41 PM

I've installed this, and although I got no reply on my last query, I'm hoping some support is still available here?

Problem now is that I've added Andreas' vBookie hack: https://vborg.vbsupport.ru/showthrea...hlight=vbookie and I've imported the plugin-vbookievbplaza.xml plugin from vbPlaza to integrate it with vbPlaza/vBux, and I've set the points system to Custom

Eveything appears to be ok, but when I go to the AdminCP to set permissions for usergroups OR if I try to set the permissions for the forums, the permissions revert to NO after I've set them to Yes and saved!

Any clues here would be much appreciated - thanx :)

The Radio Cafe - It Sounds Tasty!

*Updated* You can disregard this one folks (whaddaya mean, you already did! lmao) Rebuilt the bitfields and all's well.

Chinoz 07-04-2006 06:29 PM

Quote:

Originally Posted by Nathan2006
Make sure the usergroups are setup for:

Can play in arcade for free YES/NO ;)


It was already set as no (default) for all my usergroups, it still doesnt take any points away to play.. any ideas?

puregraf 07-05-2006 02:33 AM

hi, i went to import the product-ibproarcade_vbplaza.xml Addon and got this error:

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
Date : Tuesday, July 4th 2006 @ 08:30:31 PM
Script : http://www.puregraffiti.com/graffiti...ncp/plugin.php
Referrer : http://www.puregraffiti.com/graffiti...?do=productadd
IP Address : *****
Username : peegee
Classname : vb_database

Michael_Tree 07-05-2006 02:20 PM

Uhm, how do i take away users ebux

fly 07-05-2006 04:12 PM

Quote:

Originally Posted by Michael_Tree
Uhm, how do i take away users ebux

edit the user. the points field is in there.

dashaka2 07-05-2006 07:12 PM

Quote:

Originally Posted by XtAzY
im having problems with editing posts and delete/merge threads

when editing posts, strange html markups pops out
Any fix for this.. It is driving the members nuts, not to mention it is making the forums look like crap

Gizmo5h1t3 07-05-2006 08:17 PM

Quote:

Originally Posted by puregraf
hi, i went to import the product-ibproarcade_vbplaza.xml Addon and got this error:

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
Date : Tuesday, July 4th 2006 @ 08:30:31 PM
Script : http://www.puregraffiti.com/graffiti...ncp/plugin.php
Referrer : http://www.puregraffiti.com/graffiti...?do=productadd
IP Address : *****
Username : peegee
Classname : vb_database

thats because the xml file is configured for 3.6...

ive upped this one, for people on 3.5.4 downwards......and it works fine now.

give it a try.

webgroup 07-05-2006 08:27 PM

Quote:

Originally Posted by Gizmo5h1t3
thats because the xml file is configured for 3.6...

ive upped this one, for people on 3.5.4 downwards......and it works fine now.

give it a try.


Yep, working here!!

Thanks a lot my friend!!!

webgroup 07-05-2006 08:31 PM

Quote:

Originally Posted by webgroup
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.


Any fix for this?

Seems like the field to input the "Ribbon Descrition" is missing.

Greek Wizard 07-05-2006 09:06 PM

Quote:

Originally Posted by Greek Wizard
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.

Bump, can anyone please have a look at the xml file and let me know what I shouldedit to get this working on 3.5.4

I can even do it manually if I have to, just the xml is kind of cunfusing trying to make sure I get all the steps right.

Thanks.


All times are GMT. The time now is 09:18 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.05095 seconds
  • Memory Usage 1,778KB
  • 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
  • (1)bbcode_code_printable
  • (7)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