vb.org Archive

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

Darkwaltz4 10-28-2008 06:38 AM

Currently the last remaining issue that keeps vbcredits from being 1.4 gold is the broken post/thread negation awards. to allow you to at least complete the action without errors, the code was simply disabled. So, if you want to remove credits yourself i suggest allowing your moderators the use of the post award system, such that they can deduct credits as part of their regular maintenance, from right in the threads themselves.

tom212 10-31-2008 04:45 PM

Is there a way to install this mod into a test style in order to work out any kinks in it before releasing it to the general public? It's way to complex to release it without doing some testing on the board.

Thanks for the advice!

Tom

Darkwaltz4 10-31-2008 06:07 PM

Sure? You do the template edits :p

tom212 10-31-2008 07:03 PM

Great - thank you. When you install some mods they become instantly active. I just didn't want to do that here.

Can't wait to install it - thanks!

Tom

Hornstar 10-31-2008 11:11 PM

Quote:

Originally Posted by Darkwaltz4 (Post 1654323)
Currently the last remaining issue that keeps vbcredits from being 1.4 gold is the broken post/thread negation awards. to allow you to at least complete the action without errors, the code was simply disabled. So, if you want to remove credits yourself i suggest allowing your moderators the use of the post award system, such that they can deduct credits as part of their regular maintenance, from right in the threads themselves.

I was just about to report this bug myself. Glad to know it is not just me then lol.

Have you found any hurdles with this action? Last I heard from a different coder is that a file edit is needed to make this work properly. Is that still the case?
This is the one thing that is stopping me installing it live on my site. I would pay to have it working, or at the least donate.

Cobra-J82 11-01-2008 03:48 AM

A live demo that doesnt need registration will be good.

merk_aus 11-01-2008 04:59 AM

you can see the points system working on that site without registering just click around rather than discredit this mod

rob01 11-01-2008 05:07 AM

you should join with vBExperience

:D

noorz 11-01-2008 02:29 PM

<i>Fatal error: Call to a member function query() on a non-object in /-forumdirectory-/living_avatars/index.php on line 27</i>

I get this error when trying to integrate Living Avatars with VBCredits. It happens when I follow this line:

================================
File: living_avatars/index.php
================================
FIND:
--------------------------------
$points_remaining = $userinfo['points'] - $item[cost];
--------------------------------
ADD BELOW:
--------------------------------
$DB->query("UPDATE " . $GLOBALS['tableprefix'] . "user SET credits = " . $points_remaining . " WHERE userid = " . $userinfo['userid']);

How do I fix it? I put the query underneath this:

// ###################$points_remaining = $userinfo['points'] - $item[cost];############ LOAD LA CORE ################################

Darkwaltz4 11-01-2008 03:41 PM

Quote:

Originally Posted by hornstar1337 (Post 1656877)
I was just about to report this bug myself. Glad to know it is not just me then lol.

Have you found any hurdles with this action? Last I heard from a different coder is that a file edit is needed to make this work properly. Is that still the case?
This is the one thing that is stopping me installing it live on my site. I would pay to have it working, or at the least donate.

Due to several intersecting awards that occur during posting (posting in your thread, someone else's thread, post size, someone posting in your thread, new thread, etc) and the fact that the collection of hooks for moderation activities doesnt sync up well (merging, copying, moving, moderating, invisible, etc) it gets extremely complicated to figure out how to undo potentially massive numbers of posts at once when something "simple" like that happens. So I left it alone for now - it hurts my brain.

Quote:

Originally Posted by Cobra-J82 (Post 1656946)
A live demo that doesnt need registration will be good.

vBCredits doesnt really have anything that guests can see or use... guests cant earn/manage/use credits. all you can do is look at someone else's credit amounts, sorry.

Quote:

Originally Posted by rob01 (Post 1656959)
you should join with vBExperience

:D

I would prefer to remain separate :)

Quote:

Originally Posted by noorz (Post 1657146)
Fatal error: Call to a member function query() on a non-object in /-forumdirectory-/living_avatars/index.php on line 27

I get this error when trying to integrate Living Avatars with VBCredits. It happens when I follow this line:

================================
File: living_avatars/index.php
================================
FIND:
--------------------------------
$points_remaining = $userinfo['points'] - $item[cost];
--------------------------------
ADD BELOW:
--------------------------------
$DB->query("UPDATE " . $GLOBALS['tableprefix'] . "user SET credits = " . $points_remaining . " WHERE userid = " . $userinfo['userid']);

How do I fix it? I put the query underneath this:

// ###################$points_remaining = $userinfo['points'] - $item[cost];############ LOAD LA CORE ################################

you messed up your file edit. I recommend sticking to exactly the code I put instead of adding your own. Try over with a fresh copy of that file.


All times are GMT. The time now is 11:59 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.02172 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)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
  • (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