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)

Shaede 01-21-2002 02:03 AM

Edit: Nevermind...I figured it out on my own...thanks. :\

Shenlong 01-21-2002 05:30 AM

is there way to add multiple fields to this?

for example, instead of typing a point score i type in a word

so far I have a weapon field, I want to add Armor and Gil, is there a way to do that?

Shenlong 01-21-2002 05:45 AM

NM! I got it

MaineI30 01-22-2002 04:16 AM

hey guys,

novice here, wondering how you can make it so that "points" is only hyperlinked (under user name in posts) if the thread reader is an admin or moderator... and to everyone else, it's just not clickable...

Palmer ofShinra 01-26-2002 07:47 PM

Simple...

You find the getpostbit function in functions.php

Add a line that checks permissions to see if the person is authorized to give points.

Example - Only admins can

if ($bbuserinfo[usergroupid]==6) {
$points="blahblah"; <-- make that the code with the link
} else {
$points="Points: $post[field5]";
}

I have an even cooler solution working... but I'm keeping that to myself.

Sparkz 01-26-2002 08:39 PM

If anyone would like it, I could release a hack that gives administrators and mods the ability to give users points, but in stead of displaying the points in the user profile, the amount of points would actually decide the usertitle of the user...

I have this implemented on my own site and it works very well... If anyone wants this, let me know, and I'll make a release.

MaineI30 01-27-2002 02:14 AM

Quote:

Originally posted by Sparkz
If anyone would like it, I could release a hack that gives administrators and mods the ability to give users points, but in stead of displaying the points in the user profile, the amount of points would actually decide the usertitle of the user...

I have this implemented on my own site and it works very well... If anyone wants this, let me know, and I'll make a release.

i'd certainly be interested!

Sparkz 01-27-2002 02:39 PM

Quote:

Originally posted by MaineI30


i'd certainly be interested!

Give me a day or two - have a few things I need to sort before I start digging for this code.

Sparkz 01-31-2002 12:48 PM

Sorry for not having released this yet. I have been incredibly busy at work the past week. Will try to get this out during the weekend (which might be difficult, since I have to build my new computer and do some serious gaming ;) )

monitox 01-31-2002 04:52 PM

Just install it.. Works GREAT ! Thanks ! ;)


All times are GMT. The time now is 10:39 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.01210 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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