vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   User Points System (https://vborg.vbsupport.ru/showthread.php?t=64316)

ChrisBaktis 05-03-2004 02:57 AM

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

Reeve of shinra 05-04-2004 12:27 AM

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)

ChrisBaktis 05-06-2004 04:22 PM

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

zetetic 05-18-2004 03:17 PM

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!

Reeve of shinra 05-18-2004 04:07 PM

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?

zetetic 05-18-2004 11:44 PM

I'll PM my response so as not to derail your thread any more.

Arsenic33 06-12-2004 01:24 AM

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...

Reeve of shinra 06-12-2004 02:38 PM

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.

Arsenic33 06-12-2004 03:13 PM

thanks I'll look for/into it.

Reeve of shinra 07-08-2004 12:30 AM

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.


All times are GMT. The time now is 07:59 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.01085 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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