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)

NexVision 04-26-2004 06:54 PM

installs anyway to change wut it says from gil's to something else like points or anything

ChrisBaktis 04-27-2004 12:43 AM

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

Reeve of shinra 04-27-2004 01:26 AM

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.

NexVision 04-27-2004 02:30 AM

Quote:

Originally Posted by Reeve of shinra
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.

sweet im gonna poke around tom thanx for the quick response

Reeve of shinra 04-27-2004 02:39 AM

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 ;)

Skyline_GT 04-27-2004 07:59 AM

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.

Reeve of shinra 04-28-2004 12:32 AM

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)

Skyline_GT 04-30-2004 01:55 AM

I suck at coding:(

daFish 04-30-2004 09:00 AM

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

Reeve of shinra 04-30-2004 06:52 PM

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.


All times are GMT. The time now is 08:00 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.01371 seconds
  • Memory Usage 1,730KB
  • 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_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
  • (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