![]() |
Paid subscriptions with special price for selected usergroups
Please, excuse my poor English.
This hack allows to assign to paid subscriptions a special price for selected primary usergroups. This hack has been requested several times, included me, and I was tired to wait that somebody writes it. Thanks very much to amykhar for her help with the pay system files. This hack is totally compatible with another hack of mine: Paid subscriptions only available for some usergroups, at https://vborg.vbsupport.ru/showthread.php?t=81854 ATENTION: It?s only tested with paypal but I think all this files are similar and they must work. The hack works OK for me but I don?t accept any liability; use at your own risk. 2 queries to run 2 new phrases 3 files to edit (or 6 if you use all paysystems) /admincp/subscriptions.php /forum/subscriptions.php /subscriptions/paypal.php (wordpay.php - nochex.php - authorize.php) As always, first, backup of files and database :) |
this is a great idea... but i think it's not logical... would be better to have a text field for each usergroup and set the amount for each specific, so we can very focus on each usergroup...
and logically, this becomes are real mess when you have users with multiple usergroups... is the primary group used for identification, or all usergroups... because if i'm member of the group X, Y and Z, and one of your subscription have rebates for group X and have a higher fee for Y, you will have strange behaviors.... |
Quote:
Thanks for your interest. |
Amy is a 'she' ;)
|
Thanks, MarcoH64, edited.
Amykhar, my excuses. |
All times are GMT. The time now is 10:43 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|