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)
-   -   Store addon: Staff discount (https://vborg.vbsupport.ru/showthread.php?t=47834)

Dark Jim 01-17-2003 10:00 PM

Store addon: Staff discount
 
With this hack you can change the costs of the store items depending on usergroups. For example you can set the cost to 25% for administrators, 50% for moderators and 100% for regular members.

Update 1/19/03: Fixed an error. Step 7 was wrong.
Update 1/18/03: Fixed an error. The final step was wrong.

Dark Jim 01-18-2003 04:14 PM

I may add more options if I can think of some. Also here's a screenshot when you edit a usergroup.

Graphics 01-18-2003 04:18 PM

Wow sweet man! Nice hack! :p I'll use this.

* Graphics clicks install

Mr. Brian 01-18-2003 04:44 PM

Yo! Nice one indeed. :p

Neo 01-18-2003 05:26 PM

HAHAH cool, but you think being a staff member you would get those items for free.

lordofgun 01-18-2003 06:10 PM

Quote:

Originally posted by Neo
HAHAH cool, but you think being a staff member you would get those items for free.
Well you could just set the % to 0 and they WOULD get it for free. :D

Mr. Brian 01-18-2003 06:17 PM

Hi darkjim,

Is it possible to removed the 'Points' and replaced by something else?

E.g: Money, Golds, ect..

Thanks in advance.

Dark Jim 01-18-2003 06:44 PM

This has to do with the store hack in general, not just this addon. But you can change the name in the store config options. Just edit the field "Points Name".

Dean C 01-18-2003 07:39 PM

Wow this has to be the best idea for a store-addon

I think i'll install this one :)

Thanks

- miSt

NTLDR 01-18-2003 07:55 PM

I don't use the store hack, but this is a good idea :)


All times are GMT. The time now is 02:05 PM.

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.01102 seconds
  • Memory Usage 1,727KB
  • 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
  • (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