Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
User Points System Details »»
User Points System
Version: 1.00, by Reeve of shinra Reeve of shinra is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 04-23-2004 Last Update: Never Installs: 15
Is in Beta Stage  
No support by the author.

What does this script do?

This script is a very simple and easy to use system for giving or deducting arbitrary points from a given user. Its the vb3 edition of the popular vb2 hack found here

It also easy to set this up to give users points through PM's, Journals (if you have one), or just about anything that can pull in custom profile fields.

Why is this in beta?

I really dont think anyone will have an issue with this hack as we've been using this for months already but we had to variabilize a few things so the possibility exists.

There is also one extra query per page for an uncached template. I just dont understand how thats done in vb3 and havent had time to really look into it.


What are the differences between this and the vb2 version?

The vb3 version doesnt have the mass user gil update feature but it has an easier interface to give or take points from the postbit.

Since points can be given very quickly from the postbit, our mods stopped using the mass updater and there just wasnt a need on our part to port it over.

Whats the difference between this and upoints hack?

User preferance mostly... I think this points hack offers a simpler way of manually giving or taking points which some people prefer. Others simply need a points hack without the complexity of having a store.

One thing I will note in advance is that this points hack does not give points automatically for people creating or replying to threads. Its just not something our site needed. However it can work with those options in the ustore.

Can this work with the ustore?

Thankfully Link coded the store to be able to take advantage of the different user points systems that would be released.

If you have this ustore / upoints hack installed, go to the UTT points settings and under the ucash settings use the following:

Points Table: userfield
Points Field: field x
(where x is the custom field you will be creating).

You will need to alter some of the template changes but from what I've seen, you should be able to get the added benifit of getting points for new threads, replies, etc.


Will this work with vbPetz?

I havent installed vbpetz yet so I have no clue how well this would intergrate with thier system.

And thats about all I can think of right now. Screen shots below:

The first shows the box you enter the points in, hit enter or click the coin to submit and you get a pop up box confirmation. If you reload the page, you'll see the second post which shows the users points (gil) updated and the points (gil) paid on that specific post. The logic is that reloading a page sux and its easier to click the okay button on a javascript box. Its not bad at all. ^^

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-26-2004, 06:54 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installs anyway to change wut it says from gil's to something else like points or anything
Reply With Quote
  #13  
Old 04-27-2004, 12:43 AM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just wanted to say thanks to Reeve of shinra for all the help. Reeve really helped out this newbie and I now have a working points system! Thanks again!

ChrisBaktis clicks install
Reply With Quote
  #14  
Old 04-27-2004, 01:26 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NexVision: when you create the new custom field, name it whatever you want.
When you do your template edits, simply put Points: $post[fieldx] where x is the new field # and points is the name you want.

The only thing at this point thats harded coded is the pop up box confirming the points you gave and the little box that shows how many points were paid on that post -- both of which are only viewable to admins or mods and can be changed in the template you need to add.
Reply With Quote
  #15  
Old 04-27-2004, 02:30 AM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Reeve of shinra
NexVision: when you create the new custom field, name it whatever you want.
When you do your template edits, simply put Points: $post[fieldx] where x is the new field # and points is the name you want.

The only thing at this point thats harded coded is the pop up box confirming the points you gave and the little box that shows how many points were paid on that post -- both of which are only viewable to admins or mods and can be changed in the template you need to add.
sweet im gonna poke around tom thanx for the quick response
Reply With Quote
  #16  
Old 04-27-2004, 02:39 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you really wanna be trick, you can add this on to Erwins warning and ban system.

https://vborg.vbsupport.ru/showthrea...875#post505875

You'll need to reverse Erwins code so that a user is banned on negative points rather than positive though
Reply With Quote
  #17  
Old 04-27-2004, 07:59 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Stuff..
But I really want this to make it like a user must pay a certain number of points before they can download attachments?
Like buy the attachment using points.
Reply With Quote
  #18  
Old 04-28-2004, 12:32 AM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Skyline: You want to post this as a request for a ushop intergration... otherwise you'll have to take a look at the existing attachment hacks to see if you can add a code in to deduct points upon download (should be simple enough I image)
Reply With Quote
  #19  
Old 04-30-2004, 01:55 AM
Skyline_GT Skyline_GT is offline
 
Join Date: May 2003
Location: Vancouver, BC
Posts: 482
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suck at coding
Reply With Quote
  #20  
Old 04-30-2004, 09:00 AM
daFish's Avatar
daFish daFish is offline
 
Join Date: Nov 2002
Location: Germany
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you plan to store the points each user has in the database as a new field in the table user?
Would be a good alternative to the textfile.
Reply With Quote
  #21  
Old 04-30-2004, 06:52 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, the text file is just a record of what admin / mod gave points to a user.

The users points are stored in a custom profile field - which offers a lot of diversity and efficiency as to where its displayed.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06633 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete