vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Nexia's POINTS system (https://vborg.vbsupport.ru/showthread.php?t=143530)

Luky 04-03-2007 11:29 AM

Haha on your comment "I have an awesome plan... ON PAPER!" :P If you like i can get you some awesome plans on paper, it will take you a few years to do what i want but XD

milsirhc 04-03-2007 11:33 AM

Quote:

Originally Posted by nexialys (Post 1218986)
Sorry, i was unable to release the debug yesterday evening due to family matters... i'll do it when i'm done with the breakfast.. :) (it is 8:27 here!)

no worries buddy!

Family should always come first and I respect that! =)

it's 10:32pm in Sydney!! =)

Luky 04-03-2007 12:21 PM

Geez, he must eat a whole live cow for breakfast, either that or he choked... he seems to be gone a while :P

nexialys 04-03-2007 12:39 PM

i choked.. lol

milsirhc 04-03-2007 12:44 PM

ahh.. you managed to spit out the cow's eyeball!

Luky 04-03-2007 12:44 PM

:O Quickly, someone make a shop so we can buy water to stop Nexi from choking!!!

@Up, you beet me by like a second.

milsirhc 04-03-2007 12:49 PM

wahhaa!! you and your shop thingy again!!!!

nexialys 04-03-2007 01:21 PM

Luky is right about a Shop, we really need someone to build one... :)

ok, updated the core so the deletion of posts and threads is supposed to be ok.. i tested all the situations yesterday and it is supposed to be fixed accordingly. that process add a new query to the addon, but i can tell that it is an invisible query, so it is not overloading your system.

milsirhc 04-03-2007 01:35 PM

brillianttt!! the deduction of per post and per thread works!

buttttt (there's always a but! =P) if the thread consists of posts inside.. it's behaving abit strang.

Here's what happened:

User A (has 10 points already) created a thread (he got 10 + 1x 5 points = 15 points)

User B (has 0 points) created 2 posts in there (he got 2 x 2 points = 4 points)

say when the admin came along and he delete User A thread becos it's a spam..

So User A should have (15 - 5 = 10 points) = 10 points (but it's not happening. It's became 8 instead! (somehow the core is deducting 7 points (instead of 5) from the creator! Seems like it's treating his thread as (thread+post points) together!)

User B have (4 - 4 = 0 points) = 0 (this is brilliant)

nexialys 04-03-2007 01:56 PM

ok, so user B solution is working.. lol fun!

but user A... damn... these calculations are supposed to work, i tested that exact situation this evening... ARGH it's not even calculations, it's a logical statement...

i don't know what was going out on your tests, but i just tested the exact situation you have here, and my results are correct... there is nothing wrong with the results... check:

thread creation: 3.50 points
post reply: 1.90 points

grunt: 4.00
nexia: 8.90

post a new thread:

grunt: 7.50 (4.0 + 3.5)
nexia post 2 replies: 12.70 (8.9 + 1.9 + 1.9)

deleted thread: return to proper counts

grunt : 4.00
nexia: 8.90

.................................................. ............


All times are GMT. The time now is 01:46 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.01287 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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