vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Nexia's POINTS system - ADDON vBookie (https://vborg.vbsupport.ru/showthread.php?t=143809)

03-31-2007 10:00 PM

Nexia's POINTS system - ADDON vBookie
 
SORRY - HACK DROPPED

Here is is, the Addon to integrate Nexia's Points System to vBookie.

this is a simple addon, as there is not that much to do...

You have to set the configuration inside vBookie Settings >> "Cash/Points System" to use the "Custom" cash system...

i can't support this addon as i'm not used to vBookie... sorry! .. but it is working, hey!

update: DS MrSinister corrected a SQL error... (i corrected over it..)

Luky 04-02-2007 06:58 AM

If you cant support it, why did you tick the Supported option?

nexialys 04-02-2007 09:50 AM

Quote:

Originally Posted by Luky (Post 1218164)
If you cant support it, why did you tick the Supported option?

oups... bad habitude.. lol

Luky 04-02-2007 10:16 AM

Hehe, i still dont know what vBookie is. Doesnt seem like something to appeal to me =/

subnet_rx 04-02-2007 06:10 PM

Thanks! This points system is looking better and better.

DS MrSinister 04-05-2007 12:13 PM

Not sure if anyone else is getting a error when making a vbookie event. If any gets a error this is how i fixed it..

OK log into admincp goto Plugins & Products --> Plugin Manager --> Product : Nexia's Points System - vBookie Integration --> Do Charity - Apply "Give to Poor" setting -- click on the edit and replace with the code below.. only problem i have so far..



Code:

# if members have less than the "Give to Poor" setting, they receive that amount as gift.
$vbulletin->db->query_write("
    UPDATE " . TABLE_PREFIX . "user
    SET nex_points_hand =" .  $vbulletin->options['vbookiegivetopoor']
    . " WHERE nex_points_hand < " . $vbulletin->options['vbookiegivetopoor']
);


nexialys 04-05-2007 12:28 PM

i'll try to see what's going on with the query, but as i don't have the bookie on site, i can't test it...

edit: updated the first post... i edited your edit, it is now supposed to be ok!

ktutorials 04-05-2007 02:35 PM

wats this vBookie means'

nexialys 04-05-2007 02:47 PM

Quote:

Originally Posted by ktutorials (Post 1220407)
wats this vBookie means'

when you don't know what a specific term is used for, go on top-right of this site, you will find a SEARCH ENGINE...

i may not be polite enough, but please, be intelligent and search a little...

DS MrSinister 04-05-2007 09:03 PM

I am still getting a error on adding a event. Not sure if its do to version different of php and mysql or not.. host as mysql 4.0.16 -- test place mysql has 5.0.33

Code:


UPDATE user SET =25 WHERE  < 25;

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 '=25 WHERE  < 25' at line 1


nexialys 04-05-2007 09:13 PM

adding an event ?!

what is that query... did you deactivate the vBbux products yet? looks like not.. you imported the vbbux point but the addon to vBookie is not deactivated...

DS MrSinister 04-05-2007 09:33 PM

One thing I over looked on my site thanks... Great Job on this :)


All times are GMT. The time now is 04:59 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.01016 seconds
  • Memory Usage 1,733KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete