vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Donation Manager (https://vborg.vbsupport.ru/showthread.php?t=233669)

FReeSTER 02-16-2010 10:04 PM

Quote:

Originally Posted by Deadly Stream (Post 1983880)
The donation manager isn't active.

Go to Admin CP > Donation Manager > General Settings > Is the Donation Manager Active? and select yes.

That will add the new NavTab.

=============================

WoW the question is How In the word did i missed that? lol
Thanks bro for your time and for this great mod :D:)

ibeteck 02-16-2010 11:49 PM

When members try to donate paypal generates a error page

Deadly Stream 02-17-2010 11:30 AM

Quote:

Originally Posted by ibeteck (Post 1984180)
When members try to donate paypal generates a error page

What is the error message and also could you either post or pm the url of your forums so I can take a look.

Cadellin 02-17-2010 06:02 PM

Quote:

Originally Posted by Deadly Stream (Post 1983880)
It will be added but I can't say when yet. I work 12 hours a day Monday - Friday and 8 hours on Saturday so time is rather limited.

Completely understandable - would it be possible for you to release an update with the stats hooks sooner? Even if they're not actually displayed anywhere, it would allow others like myself to develop stats addons like a donation bar to go with this mod quicker.

Thanks

Deadly Stream 02-17-2010 07:51 PM

Quote:

Originally Posted by Cadellin (Post 1984855)
Completely understandable - would it be possible for you to release an update with the stats hooks sooner? Even if they're not actually displayed anywhere, it would allow others like myself to develop stats addons like a donation bar to go with this mod quicker.

Thanks

I'm actually working on that at the moment.

In a way I'm doing it a bit backwards. I have a page in the admin control panel that displays all the donations, a total of how many donations have been made and what they all come to and an average donation per member.

I'm now working on actually getting the donations into the database.

As soon as it's done I'll release it. I'll also post screen shots of the control panel page tomorrow. I can't now as the mod is stored on another computer.

Cadellin 02-18-2010 07:04 AM

Thanks Deadly Steam that would be fantastic :)

SemperFideles 02-19-2010 11:32 PM

Very, very well done. I love the addition of Subscriptions to this.

I've modified the template donation_paypal to allow pulldown choices for my donations and subscriptions (see http://www.puritanboard.com/donate.php)

Find:
PHP Code:

<input type="text" name="amount" size="8"/> 

Replace with
PHP Code:

<select name="amount"
<
option value="10">10</option
<
option value="20">20</option
<
option value="50">50</option
<
option value="100">100</option
<
option value="500">500</option
</
select

You'll need to set the values and the amounts between the option tags to correspond to your donation selecitons.

Find:
PHP Code:

<input type="text" name="a3" size="8"/> 

Replace with:
PHP Code:

<select name="a3"
<
option value="5">5</option
<
option value="10">10</option
<
option value="20">20</option
<
option value="25">25</option
<
option value="50">50</option
</
select

Once again, changing the values to correspond to what you want the user to select.

Pro-eSports.com 02-20-2010 02:12 AM

Nice addition there Semper.

1. Can I delete the dot below the subscribe button in the donation_paypal template or is it another file?
2. How exactly do the subscriptions work? Which day of a month will it transfer the money from the subscriber to the owner? How to cancel subscriptions?

Bouncer222 02-20-2010 02:34 AM

Deadly Stream, so the donation meter is coming out as well today/tomorrow?
:D

Deadly Stream 02-20-2010 06:00 AM

Quote:

Originally Posted by Pro-eSports.com (Post 1987002)
Nice addition there Semper.

1. Can I delete the dot below the subscribe button in the donation_paypal template or is it another file?
2. How exactly do the subscriptions work? Which day of a month will it transfer the money from the subscriber to the owner? How to cancel subscriptions?

The money will be transferred on a pro-rata basis, for example if user 1 donated $1 on a weekly basis today, you would get another $1 on 27/02/2010, 06/03/2010 and so on until cancelled.

If member 2 donated $10 on a monthly basis, you'd get another ?10 on 20/03/2010, 20/04/2010 and so on.

If member 3 was to donate $1000 on a yearly basis, you'd get another $1000 on 20/02/2011, 20/02/2012 etc.

The subscriptions will remain active until the member cancels them in PayPal.

Quote:

Originally Posted by Bouncer222 (Post 1987014)
Deadly Stream, so the donation meter is coming out as well today/tomorrow?

No


All times are GMT. The time now is 06:25 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.01116 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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