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)

cashpath 04-06-2007 02:00 AM

Quote:

NPS is not and will never be a replacement for vBbux...
Why not? (what can vbbux do that NPS can't?)

Quote:

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.
Thats acceptable, but if I have vbbux installed and I wanted to convert it to NPS would I be able to keep VBPlaza working with it?

I'm not asking anyone to make anything or do anything I'm just asking whether or not Vbplaza will work with NPS and what features I lose if I convert from vbbux to NPS

milsirhc 04-06-2007 02:26 AM

Quote:

Originally Posted by nexialys (Post 1220746)
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.

It's alright buddy.. I'm just implemented this mod onto my forum and with that bug, I made it as a feature instead where if a thread were to be deleted (as likely to be spam), the thread start will be deducted the thread points + a fine of the reply points.

Hahaha!

nevertheless, thanks for this great mod! Have a Happy Easter!

ktutorials 04-06-2007 05:33 AM

Quote:

Originally Posted by nexialys (Post 1220420)
As stated in the first post, not yet... but as i'm finishing the adminCP side for dealing with points deals, i will try to make that donation process after...

please make it fast mate... since without donation.. the point system will be like just a post count with some ratio...

ATB mate... finish it soon... eager to see this addon.... :)


Also make a feature like only point work for few forums(Ex: it shoud not increase points in some forum like OFF TOPIC and shud be enabled in other forum sections...)


Also make a option like you can edit the points for all users by the admin... :) Hope its a easy one .. just a update query.. hope so...

Also it will be nice to see Points for Referrals..

paulvev 04-06-2007 10:25 AM

Solved it today with further investigation. Her points accumulated were ALL used when she spent a day viewing attachments on the forum, and i had set points to be deducted upon each view....so she had no points left. Everything is ok and apologies if i created a mystery from nothing!

Suggestion for Admin CP update : Is there any way we can see the TOTAL points in hand accumulated and TOTAL points in Bank summarised as Two figures at the bottom of the forum for example in "whats going on?" section.
e.g

Total Cash in Hand for all members : ?56.34p
Total Cash in Bank for all members : ?0.00p


For me this is important as points = cash and i need to be able to see the sum total of them at any one time. Many people must have the same need.

Thanks for the great mod, fast replies, relax for while and have a brilliant Easter!

nexialys 04-06-2007 10:56 AM

@ktutorials : every good comes when every need fit... ;)
@paulvev...: good to know it is correct... and for your suggestion, i'm on it as soon as i finish the adminCP...

colicab-d 04-06-2007 12:52 PM

Anyway to edit users points mnaually. Im using this systems as a way to share loot out in World Of Warcraft and with the ability to make deductions to someones points it s a little pesky

nexialys 04-06-2007 01:06 PM

Quote:

Originally Posted by colicab-d (Post 1221024)
Anyway to edit users points mnaually. Im using this systems as a way to share loot out in World Of Warcraft and with the ability to make deductions to someones points it s a little pesky

actually it is possible in the admincp where you edit your users... later you'll be able to do it via ajax... anywhere!

cashpath 04-06-2007 02:38 PM

If my questions are annoying or insulting I appologize but I am really interested in switching to your points system.. I just want to know if it will work with vbPlaza and what functions I will lose from vbbux when I switch.

(Yes I know about the bugs and exploits in vb...that's why I want to switch)

nexialys 04-06-2007 02:43 PM

Quote:

Originally Posted by cashpath (Post 1221104)
If my questions are annoying or insulting I appologize but I am really interested in switching to your points system.. I just want to know if it will work with vbPlaza and what functions I will lose from vbbux when I switch.

(Yes I know about the bugs and exploits in vb...that's why I want to switch)

actually, you are not annoying me at all... or why would i answer you.. ;)

i don't know if vBPlaza would work with my NPS, because i think it requires some functions that are inside vBBux... (they are bond.) ... actually if Plaza is independent, it only require to have the name of the field used to store the cash, (nex_points_hand) ... that would be possible to make it work that way.

someone used to play with Plaza can help here, i don't know...

MThornback 04-06-2007 05:05 PM

Its probably better you don't mix it with VbPlaza....at the moment its got a security flaw (see its thread) and is unsupported. Personally I don't see the benefit in risking my forum for a product the author doesn't see fit to fix.

Sooner95 04-06-2007 06:17 PM

Quote:

Originally Posted by nexialys (Post 1218322)
i don't know if it runs on 3.5, i don't support 3.5 because the lack of hooks in specific files.

ok...well, looks like i'll be upgrading my vb. Thx for your time on this addon.

nexialys 04-06-2007 06:18 PM

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, even if i stated it was not to be revisited again because i was bored of this strange bug, i did it... damn me!

it is because i add the tracker/history log system soon, and i needed the query to be modified to be faster...

now the bug is supposed to be irradicated because it works completely different from the base... and even better... one less query for the startup, no query if settings are off...

acitrano 04-06-2007 06:22 PM

hey man

sorry to hassle - but any chance to think about my suggestion (points awarded to thread-starter based on thread views?)

also, I sent you a PM asking for the place to send contributions...

:)

keep up the good work

nexialys 04-06-2007 06:44 PM

Quote:

Originally Posted by acitrano (Post 1221266)
hey man
sorry to hassle - but any chance to think about my suggestion (points awarded to thread-starter based on thread views?)
also, I sent you a PM asking for the place to send contributions...
:)
keep up the good work

It is no hassle... i need updates on requests when that is needed. i'll take a look... the only thing we can do is a X points per X views... so when each thread receive X views, they gain X points...

for the contribution, see first post's right part: "Support Developer" ....

SkippySkippy 04-06-2007 06:49 PM

Interesting mod... I'll keep my eye on it. However, what's the point of having a points system if you can't use the points on anything (ala vBux/vbPlaza). Shouldn't there be some sort of 'store' where members can buy forum options using the points? Or am I ignorant and I just didn't see it?

Thanks,

-Skip

nexialys 04-06-2007 06:56 PM

you are not ignorant, you did not see it either.. lol

as you can see in the bottom of the first post, there is a list of "Addons", and actually, only the iShop is really a addon to this system...

a lot of other addons are listed to be written in the next weeks...

giovannicosta 04-06-2007 07:44 PM

Sounds good, I was one of the first to install this and I am still loving it, one question, the no. of points don't appear in my template on the posts, how can I add that?

I would love a lottery system so much!!!

nexialys 04-06-2007 07:56 PM

Display points in postbit is already integrated in the release... did you update your version lately?! a setting have to be activated in the Main features.

a lottery system can easily redesigned to comply with the points system, so if someone have a lottery system in hands, .. :)

giovannicosta 04-06-2007 08:20 PM

Yeah, it is enableed in the main features but does not work on my template, how can I edit it manually.

Someone please makea lottery system :D

nexialys 04-06-2007 08:39 PM

Quote:

Originally Posted by giovannicosta (Post 1221366)
Yeah, it is enableed in the main features but does not work on my template, how can I edit it manually.

in "Nexia's Points System - Display Points Features"
Quote:

if deactivated, you can edit the postbit/legacy template and add this where you want:

$those_points: $post[nex_points_hand]

aceofspades 04-06-2007 10:44 PM

Point systems are great but the point of them is to be an incentive for people. Therefore if you, nexialys, or anyone else is wanting to make some addons for this can i suggest a few:

Give thread starter a point on thread rate: 1 point for 1 rating, 2 points for 2 star rating etc.

Give thread starter a point for each reply he gets in his thread

Give a point for the replier for replying (or is that already intergrated?)

Is it actually possible to get the vbulletin ranks system to run off points instead of posts? That would really make this a useful product.

milsirhc 04-06-2007 11:15 PM

Hhaha, a perfectionist!! Good man! I'm waiting for your updates and all the exciting stuff that you going to implement too. =)

Quote:

Originally Posted by nexialys (Post 1221261)
Ok, even if i stated it was not to be revisited again because i was bored of this strange bug, i did it... damn me!

it is because i add the tracker/history log system soon, and i needed the query to be modified to be faster...

now the bug is supposed to be irradicated because it works completely different from the base... and even better... one less query for the startup, no query if settings are off...


nexialys 04-06-2007 11:30 PM

Quote:

Originally Posted by aceofspades (Post 1221475)
Point systems are great but the point of them is to be an incentive for people. Therefore if you, nexialys, or anyone else is wanting to make some addons for this can i suggest a few:
Give thread starter a point on thread rate: 1 point for 1 rating, 2 points for 2 star rating etc.
Give thread starter a point for each reply he gets in his thread
Give a point for the replier for replying (or is that already intergrated?)
Is it actually possible to get the vbulletin ranks system to run off points instead of posts? That would really make this a useful product.

Hum, looks like you did not read the description of the tool and you did not install it...

the settings are already included and more complexe thant what you think they can be... the actual bogus is the lack of external features, like a Shop, Bank, link to addons like the arcade...

that's coming ...

nexialys 04-07-2007 12:11 AM

Quote:

Originally Posted by milsirhc (Post 1221500)
Hhaha, a perfectionist!! Good man! I'm waiting for your updates and all the exciting stuff that you going to implement too. =)

not perfectionist... nexialist...

what do everybody think i am a perfectionist ?!

nexialys 04-07-2007 01:49 AM

FIRSTPOST UPDATE:

AdminCP added to the release.
For people who did not import from vBbux (or even if!)... if you want your members to start over with the points they deserve (reset will calculate the points relatively to their postcount, threadcount too)...

the "Info about Deals" page in the admin is telling you what's going in...

i tested each feature, but if you find bugs, tell me!!!

next thing in the addons to release: Points in Registration, Referrals, Invite... already built, need testing!

nexialys 04-07-2007 01:57 AM

with the AdminCP structure, it will be easy for any developper to add Deals to the system... with a plugin, they can add functions related to the arcades, vbookie, etc...

Deals are automated process that are related to Admin actions!

the AdminCP will be relooked in some versions, the time to fix the bugs... at that time, the included phrases will be deleted from the file and be added to the import (no need to panic here!)

Bala 04-07-2007 02:36 AM

Is there any option to reset the points? Im still searching for a Icash mod with option to reset the points count every month end.

EDIT: Im sorry.. I read around 6 pages in your thread.. when got tired.. I came to a quick reply and posted this mesg.. Just when I read up from the last.. saw there is an option in your mod for to reset the post counts.. Its realy great..

Let me try.. Thanks alot.

SkippySkippy 04-07-2007 03:00 AM

Thanks for the response Nexia. Another quick question: Is your points system integratable with iBank? I'm looking to possibly combine your points system, iShop, and iBank to replace vbPlaza on my boards.

-Skip

giovannicosta 04-07-2007 09:05 AM

I was rather hoping nexia would be able to make his one shop/bank and lottery systems as that would be fantastic!

nexialys 04-07-2007 09:43 AM

@Bala.. i did not read your post, i did not read your post... ;)

@Skippy2: iBank is actually buggy, Blaine0002 is trying to update it... btw, now that the adminCP is written, i'll be focussing on the Bank, Donation and some other gadgets.

@giovannicosta: give me time.. lol or money! :eek: :eek: :eek:

nexialys 04-07-2007 10:41 AM

At popular demand, i'm adding right now a new addon:

nex_points_registration.zip contains 3 settings:
  • Points Given to each User at Registration
  • Points Given to each User when they were invited (referred)
  • Points Given to the Referrers
hookable like the others, so we will be able to track these when the tracker/log will be up!
...i'll update this package when i create a deal in the afternoon!

xchewbaka 04-07-2007 11:35 AM

neaxialys , can you offer at next the ibproarcade addon ? I think many admins waiting for it.

if the arcade addon is out I will test it on a big board with more then 100 000 Pagehits a day and i can uninstall the unsupported vbbux/plaza

Thank you for your good work

KHALIK 04-07-2007 11:38 AM

This is going to be one of the best mods for 3.6.x - of the year 2007

Looking forward to addons such as donate and gifts :)


Fantastic work, nexialys

ktutorials 04-07-2007 12:30 PM

wow mate... whih is the download link for specifing the points based on forum sections....

Nice one mate...

Expecting Donate and Edit members points by admin...

fly 04-07-2007 12:40 PM

is there a shop yet that will allow my users to buy title changes and stuff?

nexialys 04-07-2007 12:54 PM

Quote:

Originally Posted by flypaper (Post 1221854)
is there a shop yet that will allow my users to buy title changes and stuff?

as stated earlier, i'm not the one to code these...

nexialys 04-07-2007 12:56 PM

Quote:

Originally Posted by ktutorials (Post 1221850)
wow mate... whih is the download link for specifing the points based on forum sections....
Nice one mate...
Expecting Donate and Edit members points by admin...

Edit members points by admin is already there (edit a user, go in the bottom of the page!)

Points Per-Forum based is on my list for this week projects!

Donation and Gifts are coming too.. functions are written but not implemented yet! i try to fix the new addons first!

nexialys 04-07-2007 12:57 PM

Quote:

Originally Posted by KHALIK (Post 1221812)
This is going to be one of the best mods for 3.6.x - of the year 2007

This will be possible only when people click Install and "Nominate for MOTM" btw i don't care... i'm happy it works, and i'll be happy with other coders will build some addons to it!

nexialys 04-07-2007 12:58 PM

Quote:

Originally Posted by xchewbaka (Post 1221810)
neaxialys , can you offer at next the ibproarcade addon ? I think many admins waiting for it.
if the arcade addon is out I will test it on a big board with more then 100 000 Pagehits a day and i can uninstall the unsupported vbbux/plaza
Thank you for your good work

This was already discussed a lot... ibProArcade is in the list of possible addons, but actually i work on the core system, not the external addons... other coders will have to code these if you want a hurry!

zardos 04-07-2007 01:25 PM

Nexia.. am no coder but would this edit in the code make the person the referred the user that posted the reply to gain a point also?

Code:

<plugin active="1" executionorder="5">
                        <title>Thread Reply Points</title>
                        <hookname>postdata_postsave</hookname>
                        <phpcode><![CDATA[if (!$this->condition AND $this->fetch_field('userid'))
{
        # default value
        $amount = ($this->info['thread']['postuserid'] == $this->fetch_field('userid')) ? $this->registry->options['nex_points_hook_postdata_postsave_own'] : $this->registry->options['nex_points_hook_postdata_postsave'];
       
        # add features like permissions based on usergroup or per-forum (modify $amount)
        ($hook = vBulletinHook::fetch_hook('nex_points_hook_postdata_postsave')) ? eval($hook) : false;

        # if the $amount is not disabled due to permissions or value per-forum, continue!
        if($amount)
        {
                $this->dbobject->query_write("
                        UPDATE " . TABLE_PREFIX . "user
                        SET nex_points_hand = nex_points_hand + " . $amount . "
                        WHERE userid = " . $this->fetch_field('userid') . "
                       
                        SELECT `username`
            FROM `" . TABLE_PREFIX . "user`
            WHERE `userid` = " . $userinfo['referrerid'] . "
            LIMIT 1
                       
                        UPDATE " . TABLE_PREFIX . "user
                        SET nex_points_hand = nex_points_hand + " . $amount . "
                        WHERE userid = " . $userinfo['referrerid'] . "
                       
                ");
        }
       
       
}]]></phpcode>



All times are GMT. The time now is 11: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.01784 seconds
  • Memory Usage 1,852KB
  • 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_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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