Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

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
  #32  
Old 07-08-2004, 01:13 AM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*confused*

Is this a Points System, or some form of addon for an existing Points System?
Reply With Quote
  #33  
Old 07-08-2004, 02:36 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

Kall. Its its own points system but you can use it as an add on for the ustore / upoint system and probably a few other hacks. We give out the points manually so this just made it simpler... its something we were using that we figured a few people might need or want.
Reply With Quote
  #34  
Old 07-08-2004, 08:02 PM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Question for you.

I want to add 2 different kind of points to a members account - one for buying things in our shop and one for contest points. Is it possible install this twice so I can add 2 differnent points to members accounts?
Reply With Quote
  #35  
Old 07-09-2004, 03:22 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

Yeah. The simple way would be to install the hack a second time but change a the file name and template thats called.

Here's the start but I need to look over the php file itself to see what variables need to be changed.

* In step 2 change the name of gillog.txt to gillog2.txt

* In step 3 rename gilupdate.php to gilupdate2.php

* In step 5 add this instead:

PHP Code:
// ##### UserPoints Mod Options #####
    
if ($bbuserinfo[usergroupid]==OR $bbuserinfo[usergroupid]==OR $bbuserinfo[usergroupid]==7)
    {      
      eval(
'$gilBox2 .= "' fetch_template('postbit_gilbox2') . '";');
    }
    else
    {
      
$gilBox2 "";
    } 
// #### End of UserPoints Mod Hack #### 
* step 7 name the new template postbit_gilbox2 and insert this:

PHP Code:
<br />
<
form action="modcp/gilupdate2.php" method="post">
<
input type="hidden" name="action" value="private204">
<
input type="hidden" name="postid" value="$post[postid]">
<
input type="hidden" name="userid" value="$post[userid]">
<
input type="text" name="amount" size="3">&nbsp;
<
input type="image" src="images/coin.gif" border="0" name="submit" alt="Give Points" onClick="javascript:alert('Points Paid!');">
</
form>

<
br />
<
br />
Points Given$post[gilpaid2
step 9: use $gilBox2 instead of $gilBox

step 10:
ALTER TABLE `post` ADD `gilpaid2` TINYINT DEFAULT '0' NOT NULL ;
Reply With Quote
  #36  
Old 07-10-2004, 12:08 PM
ChrisBaktis ChrisBaktis is offline
 
Join Date: Mar 2004
Location: CT
Posts: 409
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you - works great!
Reply With Quote
  #37  
Old 08-26-2004, 01:44 AM
EnriqueHavoc EnriqueHavoc is offline
 
Join Date: May 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wait.. so is this working on 3.03?
Reply With Quote
  #38  
Old 08-26-2004, 02:08 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

works fine on vb3.0.3.
Reply With Quote
  #39  
Old 09-01-2004, 04:13 AM
EnriqueHavoc EnriqueHavoc is offline
 
Join Date: May 2002
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome hack, thanks reeve
Reply With Quote
  #40  
Old 09-12-2004, 06:11 PM
Crookedfoot Crookedfoot is offline
 
Join Date: Oct 2003
Location: Middle Of Nowhere, Iowa
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A modification question.

Is there a way to place the update fields for this on another page such as the Profile page, or a custom drop box in each post?

Here is why I ask.
For our forum we used to have the similar hack by Palmer ofShinra when we ran vb2.3.5, we loved it.
We had adapted it to six different fields for keeping track of tournaments and special titles.
To make it accessable to Staff Members and Admins I didn't install the controls to the postbit, and gave the appropriate URLs to those that needed it so people wouldn't make unauthorized changes.

I like how this version logs and can be set to specific groups, but with six fields, that's six white boxes with coins in every post.

No offence, but that is ugly if your an admin and you see that many boxes.

So far I haven't had much luck getting a working control into the Profile page, and my associate is still trying to get a drop box to work as well.

The only other option that comes to mind is to place this on one skin not used by those that need the controls and then they switch to it when needed.
Reply With Quote
  #41  
Old 09-13-2004, 12:29 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

There is an addon for the upoints hack that lets you do mass updates for users in the same format as the old vb2 points hack which may suit you better. I will check on adding this to the profile page though.
Reply With Quote
Reply


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:46 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.06691 seconds
  • Memory Usage 2,323KB
  • 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
  • (2)bbcode_php
  • (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