vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)

christicehurst 03-09-2008 03:32 PM

What use would this be for a writing forum?

Vinyljunky 03-09-2008 04:10 PM

I currently use iCash but I think I'll convert this week.

Darkwaltz4 03-09-2008 04:12 PM

people having trouble with the $validfields thing, try this:

in the plugin manager, replace the entire code contents of the
vBCredits - Define User DM Fields

with the following
PHP Code:

$this->validfields['credits'] = array(TYPE_NUMREQ_NO);
$this->validfields['credits_canearn'] = array(TYPE_BOOLREQ_NO);
$this->validfields['credits_canspend'] = array(TYPE_BOOLREQ_NO);
$this->validfields['credits_numrefs'] = array(TYPE_UINTREQ_NO);
$this->validfields['credits_saved'] = array(TYPE_NUMREQ_NO);
$this->validfields['credits_score'] = array(TYPE_INTREQ_NO);
$this->validfields['credits_interest'] = array(TYPE_UNIXTIMEREQ_NO); 

as for using this in a writing forum, you can make heavy use of the postsize award, so that users earn more for writing more, not necessarily often :-p but depends what you want to award them with

also, anyone interested in the changelog between 1.4rc1 and 1.4rc2, its been posted here
http://www.vbcredits.com/forum/showthread.php?t=1177

Droptop 03-09-2008 04:23 PM

Thanks for the fast reply Darkwaltz4. :) That new code seems to have fixed the problem for me. :up:

Doctor Death 03-09-2008 08:10 PM

Installed the update and now forums are inaccessible.

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE vywhbabh_user SET
posts = 6268,
credits = 965639.4,
usergroupid = 6,
credits_saved = 535612.5,
credits_score = 0,
credits_canspend = 1,
credits_interest = 1205096994,
usertitle = '-=SOG=- Admin/Owner',
customtitle = 1
WHERE userid = 4;

MySQL Error : Unknown column 'credits_interest' in 'field list'
Error Number : 1054
Date : Sunday, March 9th 2008 @ 05:09:54 PM
Script : http://www.ddsog.com/forums/
Referrer : http://www.ddsog.com/header.swf
IP Address : 70.161.71.189
Username : Doctor Death
Classname : vb_database
Any assistance in getting my forums functional again would be appreciated. Have run flawlessly for years until this.

Darkwaltz4 03-09-2008 10:16 PM

people having trouble with that database error:
you should NOT be running any forum files in your browser between uploading the new files and importing the product file.

if you did hit that, you should disable the old vbcredits prior to upgrade

if you cant access your acp because of the error, insert define('DISABLE_HOOKS', true); into your config.php file. remove it after upgrading

but again - i stress DONT LOAD ANY FORUM FILES BETWEEN UPLOADING NEW FILES AND IMPORTING THE PRODUCT. avoids that problem altogether :D

njoker555 03-10-2008 11:12 AM

Quote:

Originally Posted by Darkwaltz4 (Post 1461056)
people having trouble with that database error:
you should NOT be running any forum files in your browser between uploading the new files and importing the product file.

if you did hit that, you should disable the old vbcredits prior to upgrade

if you cant access your acp because of the error, insert define('DISABLE_HOOKS', true); into your config.php file. remove it after upgrading

but again - i stress DONT LOAD ANY FORUM FILES BETWEEN UPLOADING NEW FILES AND IMPORTING THE PRODUCT. avoids that problem altogether :D

what do you mean by "forum files"? - isn't that running the forum ? lol, would shutting down the forum help? i plan to upgrade in a few days after my midterms are done

Darkwaltz4 03-10-2008 04:46 PM

forum files as in, non-admin control panel.
how did i know someone would ask that?? >.<

shutting down helps a lot, because then nobody else will trigger the error in their normal browsing. this is generally standard procedure when installing something really...

njoker555 03-10-2008 06:14 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1461625)
forum files as in, non-admin control panel.
how did i know someone would ask that?? >.<

shutting down helps a lot, because then nobody else will trigger the error in their normal browsing. this is generally standard procedure when installing something really...

yea, thats usually what i do with huge updates like this - my forum is due to move datacenters this week so it'll be good timing, it'll be locked down for the move and by the time DNS updates fully i'll have it installed :D

thanks

Darkwaltz4 03-11-2008 07:04 AM

vBCredits 1.4rc2 has been updated to rev1.

This minor release only addresses the 2 common upgrade problems people have been having.
Unless you are getting a database error during upgrade or have errors regarding $validfields, you do not need to apply this update.

If you wish to apply the rev1 over 1.4rc2, only the files credits_plugins.php and functions_credits.php need to overwritten to complete the update. If you have not upgraded to 1.4rc2 yet, then follow the full regular upgrade/install instructions.


All times are GMT. The time now is 03:03 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.02754 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (3)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