vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   User Points System (https://vborg.vbsupport.ru/showthread.php?t=32060)

gwhooooey 05-03-2003 05:43 PM

<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=52437" target="_blank">https://vborg.vbsupport.ru/showt...threadid=52437</a>

...would anyone be able to do something like that?

csidlernet 05-12-2003 09:11 PM

Sickass hack.

yzztik 06-24-2003 12:46 PM

Anyone have any idea if there is a way to use the point system hack but keep the points they have so far from the store hack? Basically I am tired of the store hack and how long it takes to upgrade my board beacause of it and lately I have been having weird problems so I was thinking of replacing it with this, specially since its not based on posts, but I don't want members to lose their current points, is there a way to set it up so that it uses those points as a starting point or to transfer them to this one somehow?

proxyMX 07-06-2003 09:29 PM

does this work with 2.3.0?

proxyMX 07-07-2003 08:43 PM

UPDATE: this hack works with VBULLETIN 2.3.0
id like to see some sort of update in which you can give EVERYONE points by the click of a button, please post this, it shouldnt be too hard to implement

Salazar 07-21-2003 11:54 PM

First things first: This is a GREAT Hack, Palmer!
I have installed it on my test board and it works great. Though I have some questions:

- Is there a way to increase - let's say 2 - points automatically when starting a new thread?
- I also wonder, if increasing and deacreasing could be done more easily by clicking a small + or - button. That should add +1 or -1 to the total amount

Example:
Quote:

Username
[AVATAR]

Location: anywhere
Registered: anytime
Points: 22 (+/-)

Reeve of shinra 07-22-2003 01:09 PM

Salazar, check through this thread - or through the hack forum itself - for an add on that lets you give users points for starting new threads.

Salazar 07-23-2003 08:20 PM

Thank you Reeve, I found the addon. :)

Sacrifice 07-28-2003 11:57 PM

Quote:

STEP 6: Edit TEMPLATE postbit

ADD Underneath "Posts: $post[posts]<br>"

=====================

<a href="moderator.php?s=$session[sessionhash]&action=points&userid=$userinfo[userid]" target=_blank>Points:</a> $post[field5]<br>

=====================
I'm new to Vb, and I'm stuck on this part. Edit Template postbit I can't seem to find it in the templates section. Can someone please tell me where to modify this?

Salazar 07-29-2003 07:54 AM

Quote:

Today at 02:57 AM Sacrifice said this in Post #249
I'm new to Vb, and I'm stuck on this part. Edit Template postbit I can't seem to find it in the templates section. Can someone please tell me where to modify this?
If you don't know where or even what a template is, you really should not try to install a hack. You wouldn't do any good, believe me. Please consider to read the vbulletin manual...

Nevertheless, here is what you ought to do:

Go to your Admin Control Panel -> Templates -> click "Modify" -> click [Expand List] -> Look for the "Postbit Templates" -> and next to "postbit" klick [change original]

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

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

Quote:

Originally Posted by Arsenic33
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

Quote:

Originally Posted by brownafroduck
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.


All times are GMT. The time now is 10:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01572 seconds
  • Memory Usage 1,811KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete