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
  #22  
Old 05-03-2004, 02:57 AM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Couple things I noticed that maybe you can help on:

1) The first time I go to give points it asks me to login (even if I am logged in already) - when I do it takes me to the gilupdate.php page which is blank - I then have to go back and back to the first page and re-add the points

2)When I add points I get the Gil Paid box but nothing shows until I refresh the page - is there a way for me to make it so the page refreshes when I hit 'Ok' on the Gils Paid box?

3) If I add poings in the PM section they do not save to the database - only when I do it from a post - can this be fixed?

4) Last how can I change the gil paid box to say 'Rusty Soaps Paid' instead of 'Gils Paid'?

Thanks for the support
Reply With Quote
  #23  
Old 05-04-2004, 12:27 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

1. I havent experienced that so I am not sure what it would be. Techincally speaking, I dont think the script alone would cause that but I will think on it.

2. Loading, or reloading, a page takes more server resources. The small pop up box was more effecient.

It may not techinically matter, but we were trying to keep this simple and efficent -- technically, you would know if you gave points to someone in that thread and if you opened the thread later on, you would see that you - or someone else - awarded points to that person for that post.

(I hope that makes sense, I am a bit tired). I guess if you REALLY wanted it, I could dig up the old code that refreshed the page upon giving points.

3. I should have an update for that soon. Not sure how soon yet but its something planned as we would like to use that feature as well.

4.

A) On step 4, find this and replace the words gil paid with your choice.

PHP Code:
onClick="javascript:alert('Gil Paid!'); 
B) Then right below that in step 4 is this:

Gil paid: $post[gilpaid]

Again, change Gil Paid: to whatever you want (leave $post[gilpaid] alone)
Reply With Quote
  #24  
Old 05-06-2004, 04:22 PM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you....On step 3 I thought it was supposed to work - im glad that it is not something I did wrong...thanks for the help
Reply With Quote
  #25  
Old 05-18-2004, 03:17 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack looks interesting... quick question:

Is the gil paid on individual posts stored somewhere, so the amount of gil given a user for a particular post would be reflected on the post itself?

I'm thinking that if so, I could use it to filter posts based on their gil value.

Thanks!
Reply With Quote
  #26  
Old 05-18-2004, 04:07 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

Yes, the points given for a particular post are stored in a new field in the post table.

If I gave you five points for your post, any mod or admin viewing the thread would see that five points were given. This is not your total points however, the total points you have are stored in a vb custom field.

Out of curosity, what kind of post filtering were you lookinig to do?
Reply With Quote
  #27  
Old 05-18-2004, 11:44 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll PM my response so as not to derail your thread any more.
Reply With Quote
  #28  
Old 06-12-2004, 01:24 AM
Arsenic33 Arsenic33 is offline
 
Join Date: May 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking for a point system that has a little more to it, as oppossed to just a few points awarded by mods, I'm looking for a full on point system with point store. Fully editable etc...
Reply With Quote
  #29  
Old 06-12-2004, 02:38 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

Check out the upoints / ustore hack. Its more robust in that it can award points based on posts, replies, etc, ... its just something I have need of.
Reply With Quote
  #30  
Old 06-12-2004, 03:13 PM
Arsenic33 Arsenic33 is offline
 
Join Date: May 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I'll look for/into it.
Reply With Quote
  #31  
Old 07-08-2004, 12:30 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

Quote:
1) The first time I go to give points it asks me to login (even if I am logged in already) - when I do it takes me to the gilupdate.php page which is blank - I then have to go back and back to the first page and re-add the points
I finally ran into that error... and it kind of baffles me. I have it working as is on 3.0.1 and yet on 3.0.3 i was getting just what you described. I moved the gilupdate.php file to the /forums/ directory and simply changed the path to call it in the 'postbit_gilbox' template.
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:53 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.05752 seconds
  • Memory Usage 2,304KB
  • 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_php
  • (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
  • (4)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