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-04-2007 07:51 AM

That will all be features of the store.

nexialys 04-04-2007 10:00 AM

Quote:

Originally Posted by Luky (Post 1219478)
Your browser font is ugly dude.. to chunky for my liking! :P
I would tell you to goto the shop and buy some new fonts, but we dont have one! *Ba-doom-pshh* >_< I find my self amusing.

hum, i would tell you that it's vb.org's fault... the screenshot is minimized to fit the proportions of image width...

can you just stay on topic a little, so we have less spam... i will have to ask the moderator to drop all your comments if you continue...

milsirhc 04-04-2007 10:17 AM

Hi Nex,

I tested the deduction thingy and it's still not working =(

Removing of individual thread and posts worked perfectly..

but as I mentioned if the threads has post in there.. and admin delete the whole thread, the thread starter points get minus more than usual (she was deducted 0.5 (current) - (0.5 0.2) = You actually have -0.02 $ in hand!!!

Hmm.. what's happening?

nexialys 04-04-2007 10:28 AM

smoookey... damn, negative values...

did you update lately ?!... i thought it was ok with the new version, i will make a last check.

milsirhc 04-04-2007 10:29 AM

and..

I can see a huge problem is that if a user keep spamming the board (and encountered a spam flood error), the points will still be given to the poster even though the thread is not physically on the board!!

I can see this being exploit by people who keep hitting the reply button.. man oh mannn!

milsirhc 04-04-2007 10:30 AM

yup, came home.. uninstall the version I have and redownload and install again. Setup everything from scratch but still having the same problem...

nexialys 04-04-2007 11:03 AM

for the spamming thing, can't do more... the hook is installed after the post is posted, this can't be controled...if you have spam floods, points or not you will have problems, i think it is not related to the system here...

milsirhc 04-04-2007 11:06 AM

hmm.. okay.. i just thought someone could have exploit this and get massive points a day..

any luck with the points deduction thingy?

Luky 04-04-2007 11:25 AM

Fine i wont post in this thread unless i must.

megamoose 04-04-2007 12:01 PM

Here's a little hack/mod to get the points to be displayed in the profile.

First: Goto the plugins section in your ACP and click [Add New Plugin] at the bottom.

Secondly: Fill in the fields with the information below:
Product: Nexia's Points System
Hook Location: member_complete
Title: Shows Points in Members Profile
Execution Order: 1 (or just leave it as it is)
Plugin PHP Code:
Code:

$userinfo['nex_points_hand'] = vb_number_format($vbulletin->userinfo['nex_points_hand'], $vbulletin->options['nex_points_currency_decimal']) . $vbulletin->options['nex_points_currency_name_symbol'];
Plugin is Active: Yes

Then click the Save button

Thirdly: In the ACP goto Styles & Templates and goto Style Manager. Then do this for each theme:
Select a theme and then click the dropdown box beside it which says All Style Options and then click Edit Templates.

Now in the listfield to your right, find the Member Info Templates item and expand it by double clicking on it. Then when the page reloads double click on the MEMBERINFO item.

When the page loads again, you should now see a big chunk of code. In it find:
Code:

                                <tr>
                                        <td>
                                                $vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
                                        </td>
                                </tr>

Or something similar depending on how much hacking your forum has

And then directly below that last </tr> add:
Code:

                                <tr>
                                        <td>
                                                Points: <strong>$userinfo[nex_points_hand]</strong>
                                        </td>
                                </tr>

Now click the Save button.

This worked for me and I hope it will work for you :)

Mark


All times are GMT. The time now is 07:40 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.02016 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
  • (3)bbcode_code_printable
  • (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