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)

DJ XtAzY 07-03-2006 06:21 PM

im having problems with editing posts and delete/merge threads

when editing posts, strange html markups pops out

Nathan2006 07-03-2006 08:09 PM

Quote:

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

when editing posts, strange html markups pops out

Same here I have had to disable it because I have to keep deleting posts that I have already made and as soon as I edit them they become such a mess :(

I might just use the older version before the update cos I don't wanna mess my board up totally :(

NetworkTown.Net 07-03-2006 08:22 PM

Whos got a working demo?

Nathan2006 07-03-2006 08:47 PM

Quote:

Originally Posted by Chinoz
(above) I have set the price to play and jack pots for the games and they show up, however it doesnt take points from the user to play the game... any help from anyone?...


sorry used old username to post. (Saint@t-og.net is me)

so can anyone help?

Make sure the usergroups are setup for:

Can play in arcade for free YES/NO ;)

Nathan2006 07-03-2006 08:50 PM

Quote:

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

when editing posts, strange html markups pops out

I have checked a few things out and found that its the WYSIWYG editor

If you are using the WYSIWYG editor you will have to change it to a different one and then it will work until there is a fix for it :(

But all html code will show once you click on "Go Advanced"

Hope its sorted soon :(

Connector 07-04-2006 05:04 PM

why after installing this .. the new thread/post is no longer bold and just normal ?

webgroup 07-04-2006 05:19 PM

Another error, when trying to peform a vbux mass giveway:

Database error in vBulletin 3.5.4:

Invalid SQL:

UPDATE vbnewuser
SET;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2
Error Number : 1064
Date : Tuesday, July 4th 2006 @ 02:17:02 PM
Script : http://site.com/forum/admincp/vbplaza.php
Referrer : http://site.com/forum/admincp/vbplaz...o=massgiveaway

webgroup 07-04-2006 05:20 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 help yet?? :tired:

webgroup 07-04-2006 05:21 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://mysite.com/forum/admincp/plugin.php
Referrer : http://mysite.comforum/admincp/plugin.php?do=productadd


:tired: any help yet?

Connector 07-04-2006 05:26 PM

Quote:

Originally Posted by Connector
why after installing this .. the new thread/post is no longer bold and just normal ?

..........

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.

Chinoz 07-05-2006 09:37 PM

i have the setting 'User can play for free' set as no but still it doesnt cost to play games, and I HAVE put a cost for each game of 10... any help fixing this? cheers.

Nathan2006 07-05-2006 10:26 PM

Quote:

Originally Posted by Chinoz
i have the setting 'User can play for free' set as no but still it doesnt cost to play games, and I HAVE put a cost for each game of 10... any help fixing this? cheers.

Quote:

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

Yeah me too,

The price to play is not there and all the settings are correct :(

Chinoz 07-05-2006 10:33 PM

on mine it says the price to play... but it just doesnt deduct the points... look here... http://www.gamesjail.com/forums/arcade.php?

Quote:

Originally Posted by Nathan2006
Yeah me too,

The price to play is not there and all the settings are correct :(

Nathan have you set the points for each individual game? AdminCP>Arcade>Games List....

Nathan2006 07-05-2006 10:39 PM

Quote:

Originally Posted by Chinoz
on mine it says the price to play... but it just doesnt deduct the points... look here... http://www.gamesjail.com/forums/arcade.php?



Nathan have you set the points for each individual game? AdminCP>Arcade>Games List....

Yeah they have all been setup as I have only been getting all these problems after upgrading. I have had this installed for about 3 months now and never had a problem until now :(

Carlos2 07-06-2006 10:46 AM

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.

I?ve found a solution for this...

1. Open admincp/vbplaza_ribbons.php

2. Search for:

PHP Code:

else if (empty($_POST['ribbon']['description']))
    {
        
// display message that you did not enter an ribbon name
        
print_form_header('vbplaza_ribbons''addribbon');
        
print_table_header("<font size=3>" $vbphrase['vbplaza_name'] . " - " construct_phrase($vbphrase['vbplaza_add_new_x'], $vbphrase['vbplaza_ribbon']) . "</font>"2);
        
print_description_row(construct_phrase($vbphrase['vbplaza_add_no_x_description'], $vbphrase['vbplaza_ribbon']));
        
print_table_footer(2"");
    } 

3. Delete it. ;)

wolfyman 07-06-2006 02:39 PM

Wow, it's easy to get lost in this thread!!!

I'm trying to allow users to upgrade usergroups with vbplaza, but I get this when I try to upgrade: The vbPlaza option you are trying to purchase has an invalid Set Name.

Also, is there a way to show how many points have been earned by the threadstarter in the thread? I think that would really encourage people to post successful threads.

webgroup 07-06-2006 04:30 PM

Quote:

Originally Posted by Carlos2
I?ve found a solution for this...

1. Open admincp/vbplaza_ribbons.php

2. Search for:

PHP Code:

else if (empty($_POST['ribbon']['description']))
    {
        
// display message that you did not enter an ribbon name
        
print_form_header('vbplaza_ribbons''addribbon');
        
print_table_header("<font size=3>" $vbphrase['vbplaza_name'] . " - " construct_phrase($vbphrase['vbplaza_add_new_x'], $vbphrase['vbplaza_ribbon']) . "</font>"2);
        
print_description_row(construct_phrase($vbphrase['vbplaza_add_no_x_description'], $vbphrase['vbplaza_ribbon']));
        
print_table_footer(2"");
    } 

3. Delete it. ;)

Working like a charm!!! :banana:

Thanks!!!!

Draygonia 07-06-2006 05:15 PM

I dont know if this is a bug with the install isntructions, but for some reason this does not work with the template "Dark Scheme". It does not have a USERREFERRAL in the MEMBERINFO template.

Is there a reason for this or is it the template thats messed up?

fly 07-06-2006 05:24 PM

Quote:

Originally Posted by Draygonia
I dont know if this is a bug with the install isntructions, but for some reason this does not work with the template "Dark Scheme". It does not have a USERREFERRAL in the MEMBERINFO template.

Is there a reason for this or is it the template thats messed up?

That isn't a standard vB theme, is it?

NetworkTown.Net 07-06-2006 08:10 PM

How do i change the text from vbPlaza menu on the navbar to something else?

Holidazed 07-06-2006 08:24 PM

I tried to search this thread, but with 3,549 replies, it is nearly impossible.

Question: How do I change the name of my vBux money?

Nathan2006 07-06-2006 08:39 PM

Quote:

Originally Posted by NetworkTown.Net
How do i change the text from vbPlaza menu on the navbar to something else?

Search for vbPlaza
admincp> Languages & Phrases > Search in Phrases ;)

NetworkTown.Net 07-06-2006 08:55 PM

Quote:

Originally Posted by Nathan2006
Search for vbPlaza
admincp> Languages & Phrases > Search in Phrases ;)

It cant find it.

Nathan2006 07-06-2006 09:36 PM

Quote:

Originally Posted by NetworkTown.Net
It cant find it.

If you follow the instructions that I gave you above you would
have to look for:

Quote:

vbplaza_title
in phrases

you can change the title there ;)

Other titles can be changed in there too:)

Here is a screeshot of the one you need to change for your navbar

SnitchSeeker 07-07-2006 07:33 AM

What the hell?

Why remove the features list from the first post while keeping the templates mod codes? Wouldn't most people want to know WHAT the mod is before installing or downloading it? The first post assumes people automatically know what it is.

Stupid.

GrCh_Jeff 07-07-2006 11:16 AM

Quote:

Originally Posted by SnitchSeeker
What the hell?

Why remove the features list from the first post while keeping the templates mod codes? Wouldn't most people want to know WHAT the mod is before installing or downloading it? The first post assumes people automatically know what it is.

Stupid.

Lol.Due to the hundreds of features..LMAO!!!! Makes since not to list as it IS a self describing hack.Also since it has it's OWN premium support forum I'm sure people can figure it out.;)

cyberphr 07-07-2006 02:18 PM

Nice work buddy :)

dcg 07-07-2006 03:15 PM

This is a great hack, I just have a question.

Can people buy points with paypal yet and have it added to their account via return path automattically.

-=DCG=-

Draygonia 07-07-2006 10:51 PM

Quote:

Originally Posted by flypaper
That isn't a standard vB theme, is it?

nope... is there a way to install it still?

Gizmo5h1t3 07-08-2006 07:53 AM

Quote:

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

check post #3537


All times are GMT. The time now is 10:29 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.05480 seconds
  • Memory Usage 1,886KB
  • 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
  • (2)bbcode_php_printable
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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