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)

nexialys 04-05-2007 11:24 PM

Quote:

Originally Posted by novelidea (Post 1220660)
When I tried to import from vbbux, it's not importing the bank points at all.

actually the points in bank are stored in the nex_points_bank field, so they are present... you can go in the adminCP and edit a member, you'll see the detail in the Nexia's Points System part... the problem you have is that you can't use them yet because you did not install another bank system, and the one planned here is not built yet...

nexialys 04-05-2007 11:27 PM

Quote:

Originally Posted by zardos (Post 1220680)
what about the option to get a point very time one of ones referrals posts?

you ask to create a addon that will give the referrer some points when his/her referred friend post in the forum ?!

this is possible... easy to add... but i think you'd be the only one on this community to need this addon... the point here is to build tools that will profit to everybody... you can contact me in private if really necessary to your board though.

actually it is trivial, because you would ask 2 queries for each post made on the forum, added to the existing 1 addition from the actual system.. one query to check the referrer, and one to the referee... if your forum is big enough, you would have an overheating sql server just for that... :erm:

cashpath 04-05-2007 11:40 PM

I would be interested in something like that too (points for referrals posts).

But not at the expense of overloading a server.. no other way of doing it without the queries? (No I don't have this installed yet but have been watching closely)

nexialys 04-05-2007 11:54 PM

Quote:

Originally Posted by cashpath (Post 1220719)
I would be interested in something like that too (points for referrals posts).

But not at the expense of overloading a server.. no other way of doing it without the queries? (No I don't have this installed yet but have been watching closely)

logically, it is impossible to use this system without queries on the database... it writes stuff into it...

i've checked closely, this would add one query per post made... so it is possible... i may add this in the shelf of the "referral and registration" part... will do that part in a day or two when the AdminCP is built.

cashpath 04-06-2007 12:02 AM

What about something like a weekly cron that checks how many new posts your referrals have made and gives points based off of that. Would that be better than a query every post?

nexialys 04-06-2007 12:09 AM

cron jobs are good when everything is quiet and steady... you can store as many informations as you want when nothing move...

but if you have posts that are deleted or moved or moderated, etc... that makes a lot of things to check...

btw, a single query takes something like 0.003sec. to execute... the query itself is not a problem... the serverload for such feature is taken into consideration when you have a popular board, but it is not the only feature you have to take care of... like the "mark forum as read" is more server intense...

milsirhc 04-06-2007 12:49 AM

hmm.. sorry to be a pain..

I tested the deduction again for thread now.. and it's still wrong.. it's minus-ing the thread as (thread+post) points.

@Nex: it was working OK in the previous version.. but now, it's not.. *sigh*

cashpath 04-06-2007 01:09 AM

Just a few questions..

What can vbbux do that this can't right now?

If vbbux is replaced by this will VBplaza work with this until a suitable store is made?

nexialys 04-06-2007 01:20 AM

vBbux was dropped due to some exploits and due to the non-followup of the developpers... he disapeared from the planet.

vBplaza is part of vBbux... same thing then...

NPS is not and will never be a replacement for vBbux... vbplaza was for me a pain and a complete loss of resources for a real forum... and i'm not interested to make a mimic of this tool with my system.

nexialys 04-06-2007 01:21 AM

Quote:

Originally Posted by milsirhc (Post 1220739)
hmm.. sorry to be a pain..
I tested the deduction again for thread now.. and it's still wrong.. it's minus-ing the thread as (thread+post) points.
@Nex: it was working OK in the previous version.. but now, it's not.. *sigh*

ok, i don't know now... why did i test the same situations and did not have the same results...

i will not work on it anymore until someone play with the calculations and find the bug... i lost too much time on this part - that not everybody will use anyway, and i did not finish the adminCP due to that...

i'll finish the release and come back to this bug once i'm rested... sorry.


All times are GMT. The time now is 06:05 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.01600 seconds
  • Memory Usage 1,744KB
  • 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
  • (4)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