vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [uShop] Mass-Give Points (https://vborg.vbsupport.ru/showthread.php?t=65420)

rob_daemon 05-22-2004 10:00 PM

[uShop] Mass-Give Points
 
What this will do is it will enable you to mass-give points to your users if you use the uShop system. I have tested this with uShop 0.93.

To install, upload gimme.php into either your modcp or admincp directory.

If you want a different usergroup to access it other than usergroup ID 6 (administrators), then look for this in gimme.php and then change the red number to the desired usergroup ID:

Code:

// ###################################################################
// ## CHANGE THIS SETTING
// ##        Make this the usergroup ID that will have access to this
// ##    script. All other usergroups will be denied.
// ###################################################################

define('CAN_ACCESS_UGROUP', 6);


sabret00the 05-30-2004 09:50 AM

this is great :)

Reeve of shinra 05-31-2004 02:39 AM

It doesnt seem to work right if your using a profile field to store the points in.

Logik 06-18-2004 03:52 AM

does this hack work?

Zachery 06-18-2004 04:00 AM

Quote:

Originally Posted by Reeve of shinra
It doesnt seem to work right if your using a profile field to store the points in.

I would assume it uses the default configureation ;)

b4ne 06-28-2004 06:55 PM

Im gettin this error when I click okay and on the screen where I have to confirm the transaction I get this error

Fatal error: Call to undefined function: floatval() in /home/virtual/extremeinc/home/httpd/html/vb/admincp/gimme.php on line 123

any idea ?

the Sandman 06-28-2004 08:25 PM

How can we incorporate this into the uShop AdminCP options - that would finish it off nicely!

rob_daemon 06-30-2004 06:01 AM

Quote:

Im gettin this error when I click okay and on the screen where I have to confirm the transaction I get this error

Fatal error: Call to undefined function: floatval() in /home/virtual/extremeinc/home/httpd/html/vb/admincp/gimme.php on line 123

any idea ?
Did you edit the file above like it said in the instructions? If so, what program did you use? And what version of PHP are you running?

Quote:

How can we incorporate this into the uShop AdminCP options - that would finish it off nicely!
I'll post the update with all of the uShop settings enabled in the file.

ChuanSE 07-04-2004 07:12 AM

Quote:

Originally Posted by ERROR
Fatal error: Call to undefined function: floatval() in /home/www/digitainment.org/www/community/admincp/gimme.php on line 123

edit what? i am group 6

rob_daemon 07-08-2004 06:16 PM

I have updated the file to work off of the uTT store settings.

ChuanSE, try re-uploading the file and see if that works. I'm not sure why that error is occurring.


All times are GMT. The time now is 01:42 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.01195 seconds
  • Memory Usage 1,733KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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