PDA

View Full Version : User Points System


Pages : 1 [2]

Sacrifice
07-29-2003, 09:15 AM
Yeah, I figured it out already, thanks anyway...:)

Sacrifice
07-31-2003, 06:02 AM
Ok, I managed to install it and everything, but I was wondering how to put:

Staff= N/A ( i tried the 1,000,000 pesos thing, it put the staff member to 1)
Default=5 (i tried editing the phpmyadmin thing, but it stays on 0)

And, in the admincp, is the screen meant to stay grey when I click 'points'

Also, Is it possible to make a page for the points, about the stats? Do i have to make a new template?

---thanks

blakkboy
03-31-2004, 12:02 PM
has this been done for vb3????

Soholaunch
04-13-2004, 08:21 PM
Could someone help me translate this for VB3 I would be very appreciative.

brownafroduck
04-19-2004, 01:20 AM
If I wanted to add 100 points to every user in usergroup 5, what query would I run in phpmyAdmin?

ChrisBaktis
04-21-2004, 03:22 PM
Another request for version 3.0 translation

Reeve of shinra
04-22-2004, 06:44 PM
The VB3 version should be today or tommorrow. One of the admins at our site reworked it and gave the okay for it to be released it here. I just need to try it out on a test board and document the install steps. I am also going to play around with the ushop capability.

This version has a much simplified interface that we've been using for updating points for quite some time already making it a breeze to do. One of the things missing in the vb3 version is the mass user points update feature since the mods stopped using it with this newer interface.

Reeve of shinra
04-23-2004, 05:33 AM
Okay, I did a test install and everything ran smoothly. It runs like a charm on vb3. I would release it tonight, but I want to simplify the instructions a bit more and see if I can variablize one or two things to make it simpler on newbs.

ChrisBaktis
04-23-2004, 02:33 PM
THANK YOU - Looking forward to this!

ChrisBaktis
04-23-2004, 08:28 PM
Should I download the file from the first post to work with 3.0 or are you going to attach a newer version?

Reeve of shinra
04-24-2004, 05:09 AM
You can find the vb3 version here (https://vborg.vbsupport.ru/showthread.php?p=504857#post504857)

Some of the changes can be fairly easilly back-ported for those that are interested in doing so.

Arsenic33
06-12-2004, 12:47 AM
What do you mean, edit TEMPLATE postbit

I'm stuck there.... what/wehre is this file? is it a file?

Zachery
06-12-2004, 01:07 AM
What do you mean, edit TEMPLATE postbit

I'm stuck there.... what/wehre is this file? is it a file?You edit the TEMPLATE called POSTBIT in the TEMPLATE manager which is located in the AdminCP :)

brownafroduck
06-26-2004, 07:37 AM
If I wanted to add 100 points to every user in usergroup 5, what query would I run in phpmyAdmin?

Sorry to bring this up again, but it hasn't been answered. I have no idea how I would go about doing this myself.

Mystictrunks03
10-17-2004, 02:35 PM
ehh i get this error when i click on points

Fatal error: Call to undefined function: cpheader() in /home/shankwh/public_html/main/forum/points.php on line 19

Reeve of shinra
10-17-2004, 03:43 PM
I dont believe this hack would cause that but double check how you installed it to make sure you didn't miss something.

Alchemist
12-12-2004, 10:22 AM
Hey,

A few months ago I requested something, I stopped working with vBulletin, but now I'm working at another forum and need the hack again.

I want to be able to display how many points a usergroup has, as well as how many points a user has without having to check in their profile. Maybe somewhere in the admincp? Do you think you guys have the time to figure out how to do this? If you can, thanks. If you can't, thanks anyways.

Reeve of shinra
12-12-2004, 03:19 PM
Add $post[field5] where the field # is the one you created for points and add that to your postbit or just about anywhere else. It will show you how many points they have.

On a usergroup level, you will need to write a query for that.

Alchemist
12-12-2004, 03:39 PM
Another thing. If I were to want to show who had the most points, in my case, "Richest People", what would I need to do that? I was going to look at Lesane's store hack for any kind of hints cause you can see who the top 10 richest people in that, yet, now I have no idea. Would I need to run a query or something?

By the way, what does the mass points function do?

To enable it, simply uncomment the code block.
The comment delimiters are on lines 27 and 77.

And can you point out where this is?

Reeve of shinra
12-12-2004, 04:38 PM
Lets say you ran a contest nad you need to give a hundred people points, you would put thier username and the amount of points with the mass points feature to make your life a little easier.

yes you will need to run a query to find the top 10 richest people, buts its a simple one.

Alchemist
12-12-2004, 06:53 PM
Oh, okay! Thanks for clearing me up on that. Successfully did so.

Can you help me someow with the query thing whenever you have time? It's okay if you don't, it's nearly Christmas and I'm sure you have things to do.

Alchemist
12-12-2004, 10:46 PM
Hey, I followed the instructions to make the default 0, and it worked. I was thinking, if I just pug in 15000 it'll work the same. Can you tell me how to make everyone's 15,000 by default?

Reeve of shinra
12-12-2004, 11:50 PM
Just like you said,... make the default in mysql.

PS. Take a look at the vb3 beta which (with a little figuring out) shoudl give you the ability to give users points right from the postbit. -- very handy ;)

Alchemist
12-13-2004, 04:43 AM
I did so, but, it doesn't seem to work. Here are my settings for the userfield.

Field - Field 14
Type - INT
Legnth/Values - 250
Attributes -
Null - not null
Default - 15000

Yet, everyone's points still remain 0. Any idea on why?

Reeve of shinra
12-13-2004, 04:54 AM
Off hand,

1. change the length / values to 1500.

2. check into storing it as large int, not sure what its called but you shoudl see it in phpmyadmin.

Alchemist
12-13-2004, 06:49 AM
When I try to change the length value to 1500, it's says that the length value is not to be bigger than 255.

I changed the "type" to BIGINT, yet there were no side effects.

Reeve of shinra
12-13-2004, 02:29 PM
so everthign is working okay now?

Alchemist
12-13-2004, 02:52 PM
Well, everything with the hack is working great. :)

But, I can't seem to make it by default 15,000, even after following your instructions.

brownafroduck
12-13-2004, 07:25 PM
Not sure about this, but I think I know the answer to your question. The reason that people don't have 15k yet is because they already have accounts. Any new members registered will receive 15k as their defaults.

Alchemist
12-13-2004, 07:51 PM
I just created a new account (the boards are closed), so I don' t think that's the problem.

Reeve of shinra
12-14-2004, 01:23 AM
Okay, try this.

Type: bigint
length/values: 20
null: Not Null
default: 15000

That should work. I just tried it out.

Alchemist
12-14-2004, 03:31 AM
Hm, I'm not sure it's not working on mine. I even re-installed the points hack without adding points to anyone, and then changed the userfield in Phpmyadmin. Thanks so much for the help so far though, if you can keep on helping I'd be very greatful.

There's no attributes or extra in yours, is there? I'm using 2.3.0 but that wouldn't make a difference, would it?

Reeve of shinra
12-14-2004, 03:58 AM
I did it via phpmyadmin. I hit browse to see if it worked, not the forum since I am using vb303.

Try this ... add a new field to the userfield table - the one that has the post5 and all that garbage and add one called points with the paramaters I set above:

Type: bigint
length/values: 20
null: Not Null
default: 15000

Save... hit browse ... that field should have the default value for everyone.

If that works, its not hard to change the script to look there instead and I can give you a script to switch everyones points over from fieldx to that one if it works.

Alchemist
05-10-2005, 11:16 PM
Hey, is it possible to give indvidual users access to add/take away points?

Thanks! :)

Reeve of shinra
05-10-2005, 11:41 PM
Create a new usergroup for those users and add thier usergroup to the file. Thats about the only way.

Alchemist
05-10-2005, 11:51 PM
Okay, I'll try that, thanks!

guyfox
07-12-2005, 03:46 PM
ok i must be a retard and yes im new to vbulletin

In your Admin CP... under "User Profile Fields" click Add

i go to user profile fields and i see no option for add...i tried putting the .php file in modcp and admincp. Im Lost :/

Please help me

wolfyman
12-06-2005, 04:53 AM
will this work for 3.5?

Marco van Herwaarden
12-06-2005, 06:46 AM
There is no way a vB2 script will work on vB3.

airborneguy
12-06-2005, 11:52 AM
Okay, I've found a version of this mod for VB3 here: https://vborg.vbsupport.ru/showthread.php?t=64316

Is there an updated version to work with 3.5?

Quade
12-19-2005, 09:14 AM
I have v.3,5 what must i do? I need this plugin.

CFF RA's
05-26-2006, 05:08 PM
Alright I have version 2.3.9 and I the link redirects you to a "moderator.php" which is blank every time. How can I over come this problem?

acidrain23
01-15-2007, 12:55 AM
Guys, sorry im a newb. Will this work w/ the newest released vb version (3.6.4)? Thanks

Reeve of shinra
01-15-2007, 10:08 PM
Hi Acidrain, There is a version available for 3.6 here:

https://vborg.vbsupport.ru/showthread.php?t=108740

just be sure to follow the notes I made here:
https://vborg.vbsupport.ru/showpost.php?p=1154276&postcount=22

Its a stand alone points system and is the successor to this hack. If you get stuck hit me up on aim and i'll walk you through it.

acidrain23
01-17-2007, 11:17 PM
Hi Shinra,

Thanks for the help! I will be installing this week.