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)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

Cloudrunner 06-14-2005 12:18 AM

Quote:

Originally Posted by guvner
Mmm - I've had to give up on manually adding them - it's just too difficult.

But I notice that apart from the top 3 - nothing else (amount collected & % of target etc.) is appearing on donate.php even after I've added them - could it be that manually added donations aren't being picked up?

The donors and the transactions are kept seperate on purpose so that the transaction data will not get corrupted by random editing and/or adding of transactions to avoid the chance of "spoofing" a transaction by someone other than yourself. The side effect of doing this is that the donors that you add get credit for what they have donated, but the goal amount will not rise accordingly. To make it rise accordingly you must add the amount the donor gave to that goal by simply editing the goal itself and doing a little math on your part.

Again I have done this on purpose to avoid have a problem with unscrupulous people injecting (or attempting to) transactions in the system without notification of such activity. I know it's a pain, but in my view a little work is worth the effort.

1) Add / edit user giving the user their total amount-->Save User
2) Take that amount and add it to the goal with simple math
3) Take the total that you come up with and then edit the goal using that new total as the goal's total-->Save goal

All done, user gets credit and system sees the additional fundage.

Cloudrunner 06-14-2005 12:23 AM

Quote:

Originally Posted by Aerith_Freak
...Oh and any plans for this to go onto 3.5.0 once it's released?...

Yes, once 3.5 is out of Beta I will port this over and both will be updated as I add features.

Cloudrunner 06-14-2005 01:16 AM

This is for those of you who are using the multiple currencies option:

The system defaults to use the USD currency. If you change this currency in the Donations settings, then to get the correct exchange pricing, you need to run the CRON file to update your Exchange Rates table.

To do this simply log into your AdminCP and then do the following:

1) Scroll down your navigation bar on the left and find the Scheduled tasks navigation group, open that up and click on "Scheduled Task Manager".
2) Find the CRON named "Donations Currency Exchange Quotes"
3) To the right of that you will find a button named "Run Now"
4) Click that button and wait until the system says Done.

Once the system has reloaded the exchange rates using your new currency you are ready to go and start collecting donations.

I forgot to add this to the instructions in the first post, that is why I'm sending the update. I will add this to the first post, and the install document as well.

Love and light!

)O( Cloudrunner )O(

P.s. I'm adding the functionality for the system to automagickally change the currency notifier ('$', '€') based on your currency selected on the useer viewable side of the house, this will be in the next update should the fixes to the installer be kosher.

caimakale 06-14-2005 01:58 AM

cloudrunner,

Is this something I need to reinstall or can I just replace the cron file? I have already started receiving donations, and if it's unnecessary, I would rather leave the database alone now. If there are other changes that need to be done, I will re-install the system.

Cloudrunner 06-14-2005 02:00 AM

Quote:

Originally Posted by caimakale
cloudrunner,

Is this something I need to reinstall or can I just replace the cron file? I have already started receiving donations, and if it's unnecessary, I would rather leave the database alone now. If there are other changes that need to be done, I will re-install the system.

Uninstall / Reinstall so that the system will finish installing what it couldn't cus the file broke midway through it's install course with the settings page where the initial cron is located. I have moved the CRON call to the bottom of the settings page so that the installation *shouldn't* break completely if the CRON fails.

Lemme know if this fixes the problem for you?

Cloudrunner 06-14-2005 02:49 AM

Well folks, it's midnight here and I wake at 0500, so I'm out...post here if there are anymore problems and I will attend to them when I get home from work tomorrow evening.

xfaethorx 06-14-2005 06:49 AM

just installed 1.03 with no problems what so ever on my system! Thanks for the quick turn around cloudrunner most impressed! Look forward to using this hack in anger now ;). cheers (clicks install!).

artonex 06-14-2005 07:34 AM

Quote:

Originally Posted by Cloudrunner
Yes, once 3.5 is out of Beta I will port this over and both will be updated as I add features.

Thanks for still continuing with this hack for 3.0.7 im sure many are really greatful :D

guvner 06-14-2005 07:38 AM

Thanks Cloudrunner - the alphabetised listing is great!

The avatar URL is still a little off though, mine still has the red X because there's a / missing between the forum dir and image.php as follows:

Code:

http://www.mysite.com/forumimage.php?u=52&dateline=1108213260
I had a look at donation_admin.php but really couldn't figure our how to fix it :(

Cloudrunner 06-14-2005 09:36 AM

Quote:

Originally Posted by guvner
Thanks Cloudrunner - the alphabetised listing is great!

The avatar URL is still a little off though, mine still has the red X because there's a / missing between the forum dir and image.php as follows:

Code:

http://www.mysite.com/forumimage.php?u=52&dateline=1108213260
I had a look at donation_admin.php but really couldn't figure our how to fix it :(

Open donation_admin.php and look for the line that reads:

PHP Code:

                                    $avatarurl $vboptions['bburl']."image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline']; 

change it to:

PHP Code:

                                    $avatarurl $vboptions['bburl']."/image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$user_row['avatardateline']; 

(Note the added '/')

Specific line for the edit is line 281

sorry bout that, it'll be in the next update.

Thanx fer keepin me on me toes folks!


All times are GMT. The time now is 03:24 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.01749 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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