The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
User Points System Details »» | |||||||||||||||||||||||||
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
|
Comments |
#12
|
|||
|
|||
installs anyway to change wut it says from gil's to something else like points or anything
|
#13
|
|||
|
|||
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 |
#14
|
||||
|
||||
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. |
#15
|
|||
|
|||
Quote:
|
#16
|
||||
|
||||
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 |
#17
|
|||
|
|||
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. |
#18
|
||||
|
||||
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)
|
#19
|
|||
|
|||
I suck at coding
|
#20
|
||||
|
||||
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. |
#21
|
||||
|
||||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|