vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PayPal Donations For vBulletin 3.5.0 (https://vborg.vbsupport.ru/showthread.php?t=91567)

MissKalunji 01-30-2006 12:07 AM

Quote:

Originally Posted by Trana
MissKalunji,

I checked the file that is listed here and it does not contain an xml installer. I am downloading straight from this site. Has the install package changed? The version is Paypal Donations 2.02.

Thanks!

uhm i dont know :-/ i only use the xml.....i probably have the old version

try removing this
Code:

$vbulletin->db->query_write("DROP TABLE IF EXISTS ".TABLE_PREFIX."donation_buttons");

then

        $vbulletin->db->query_write("DROP TABLE IF EXISTS ".TABLE_PREFIX."donation_currency_exchange");

then

        $vbulletin->db->query_write("DROP TABLE IF EXISTS ".TABLE_PREFIX."donation_goals");

then

        $vbulletin->db->query_write("DROP TABLE IF EXISTS ".TABLE_PREFIX."donation_paypalipn");

from donation_install_tables since thats the only thing giving permissions to the mod to delete and reinstall

Trana 01-30-2006 12:59 AM

If I do that, then I get:

Database error in vBulletin 3.5.1:

Invalid SQL:
CREATE TABLE donation_buttons (
id int(255) NOT NULL auto_increment,
goalid int(255) NOT NULL default '0',
amount decimal(10,2) default NULL,

Does the current script delete the following:
User table donor and showdonor fields
Donation_donors history (old donations)

If it only deletes the goals and buttons, I will run the normal install and recreate those. I'm just concerned about whether it touches the data in the User table or the donations table.

Let me know if you agree with this approach.

Thanks again!

crxrocks 01-30-2006 05:46 AM

Bravo to making this a plugin!!!!!

PatrickAdrichem 01-30-2006 12:13 PM

Quote:

Originally Posted by PatrickAdrichem
options['base_currency'] = 'USD'; require_once('./includes/functions_cron.php'); require_once('donation_install/donation_install_settings.php'); $vbulletin->db->query_write("INSERT INTO ".TABLE_PREFIX."cron (`cronid`, `nextrun`, `weekday`, `


Found the solution myself error is because its not compatible with PHP 5

in most documents it states
Code:

<?
whilst in PHP 5 it must be

Code:

<?php
Since its only in every file at the first line open every file and change it. there are 2 or 3 files that already have it.


Also since i see it come back often:

Quote:

Originally Posted by DS MrSinister
The admincp not showing up:
Head to /forum/includes/xml and edit cpnav_paypal_donations.xml

Find:

Code:


<?xml version="1.0" encoding="ISO-8859-1"?><navgroups product="vBulletin">


Replace with:

Code:

<?xml version="1.0" encoding="ISO-8859-1"?><navgroups product="vbulletin">

As for the buttons (to which i've been looking blondely aswell)

when you've got the donate admin CP menu part, there is also a option for making donation buttons. Don't forget to make these or there are none!

LBSources 01-30-2006 04:36 PM

Anyone run into the error where a user donates, it tells the user they donated $0, and they dont show up on the donors page?

any suggestions?

Trana 01-31-2006 02:48 AM

Sorry, I read this entire thread a month ago and forgot that someone had release the XML installer. I used that, made MissKalunji's edits to clear the IF EXISTS DROP nonsense, and everything is working properly.

Does anyone see any reason why I can't add a date-time timestamp column to the donation_donors table? I want to record when the last donation for a member was taken. What will happen when someone who has already donated comes and donates again? Will it just increment the time? I have it set to a timestamp value, so I know it will set it properly, I am just wondering what will happen when I get a second donation from someone and it has to edit the record.

Let me know your thoughts.

Thanks!

X-Files 01-31-2006 03:01 PM

For some reason my refunds show up as invalid transactions. I know this is not supported anymore. Any help would be appreciated.

LBSources 01-31-2006 04:00 PM

Quote:

Originally Posted by LBSources
Anyone run into the error where a user donates, it tells the user they donated $0, and they dont show up on the donors page?

any suggestions?

bump

Trana 01-31-2006 04:16 PM

Quote:

Originally Posted by LBSources
bump

Do you know if the user was logged in to the site when they made the donation?

Killahbyte 01-31-2006 05:11 PM

I'm also having the same problem. I have my goal and my donate button and still nothing is happening. The users donate and i get my e-mails but nothing ever makes it back to my site. I have IPN turned on and i have a premiere account. I can't understand what the problem is.

KB


All times are GMT. The time now is 09:15 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.02283 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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