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)

MillerLight 01-14-2006 03:17 AM

Wow!

I feel really stupid sometimes! :nervous:

Onimua 01-15-2006 06:43 PM

I searched just about all 50+ pages but couldn't find an answer...

Is there a way to delete goals/buttons/donors/etc. after we add them?

bashy 01-15-2006 06:44 PM

Yes there is, In the same section where you added them in you admincp
Click view all active.
Then choose the one ya want to delete.
Click delete :)
Quote:

Originally Posted by Onimua
I searched just about all 50+ pages but couldn't find an answer...

Is there a way to delete goals/buttons/donors/etc. after we add them?


evenmonkeys 01-16-2006 04:36 AM

It's not working right for me... The user clicks the donate button. They make their donation. I receive the money. However, it's not updating on my forums. I wait a few minutes thinking it might be a scheduled task or something. It's still not updated. All of the information is correct. I have the settings correct in my vBulletin adminCP as well as in my profile on PayPal. I have a premier account. Why does it hate me?

SCRIPT3R 01-16-2006 08:29 PM

Quote:

Originally Posted by xYarub
It's not working right for me... The user clicks the donate button. They make their donation. I receive the money. However, it's not updating on my forums. I wait a few minutes thinking it might be a scheduled task or something. It's still not updated. All of the information is correct. I have the settings correct in my vBulletin adminCP as well as in my profile on PayPal. I have a premier account. Why does it hate me?

have you attached your donate button to your goal?

MillerLight 01-17-2006 05:53 PM

Some members are not displaying the associated icon that reflects a donation. Such as my account? There used to be a setting on the older version where a member could hide their donation, does it exist on the current version?

What would cause several members status not to reflect in the post-bit?

MissKalunji 01-17-2006 05:59 PM

Quote:

Originally Posted by MillerLight
Some members are not displaying the associated icon that reflects a donation. Such as my account? There used to be a setting on the older version where a member could hide their donation, does it exist on the current version?

What would cause several members status not to reflect in the post-bit?


i notice when u upgrade you have to go resave their transaction like edit then save for it to show


and in user cp there is an option to not show their donor status

MillerLight 01-17-2006 06:08 PM

Thanks for the information! :o

I looked in the UserCP, and didnt find it? Maybe a template didnt get modified correctly during the xml import? :ermm:

bashy 01-17-2006 06:36 PM

Hi peeps

I upgraded VB to 3.5.3 and redone the donations stuff....
Problem is, i dont see the goals, buttons or out like that in admincp anymore :(

Please advise, what have i forgot to do please?

Bashy

NOW SORTED, Post 734 sorted me out :)

bashy 01-17-2006 07:01 PM

Perhaps some might be able to address this issue that i stall have though?
See attachment please
Thanks in advance :)

LBSources 01-17-2006 07:08 PM

Quote:

Originally Posted by bashy
Perhaps some might be able to address this issue that i stall have though?
See attachment please
Thanks in advance :)

right click on that broken image and check the source to where the image should be and make sure that it is there.. that could be a try ?? :( sorry i cant help anymore..

bashy 01-17-2006 07:20 PM

Hi m8 yeah the file is there, thing is it aint a standard image, it works off a php file then displays the bar.... I aint got a clue why it dont work anymore, it aint done for a long time :(

I dont really want to turn off the goal as i really like the feature :)

Quote:

Originally Posted by LBSources
right click on that broken image and check the source to where the image should be and make sure that it is there.. that could be a try ?? :( sorry i cant help anymore..


caliman 01-18-2006 03:34 PM

I uninstalled so that I could use the plugin version:
https://vborg.vbsupport.ru/showpost....&postcount=119

However I did notice that it left the paypal donations options in the admincp. SHould I remove this prior to the plugin? Anyone know how?

MissKalunji 01-18-2006 08:42 PM

Quote:

Originally Posted by MillerLight
Thanks for the information! :o

I looked in the UserCP, and didnt find it? Maybe a template didnt get modified correctly during the xml import? :ermm:

perhaps...?

PatrickAdrichem 01-20-2006 10:34 AM

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`, `day`, `hour`, `minute`, `filename`, `loglevel`, `title`) VALUES ('', '', '-1', '-1', '0', '15', './includes/cron/donation_currency_exchange.php', '1', 'Donations Currency Exchange Quotes')"); require_once('./includes/cron/donation_currency_exchange.php'); print_description_row('Added CRON Job...'); print_submit_row('Continue Installation', false); } elseif ($_REQUEST['install'] == 'phrases'){ require_once('donation_install/donation_install_phrases.php'); } elseif ($_REQUEST['install'] == 'templates'){ require_once('donation_install/donation_install_templates.php'); } elseif ($_REQUEST['install'] == 'plugins'){ require_once('donation_install/donation_install_plugins.php'); } elseif ($_REQUEST['install'] == 'edits'){ require_once('donation_install/donation_install_edits.php'); } elseif ($_REQUEST['install'] == 'finalize'){ require_once('donation_install/donation_install_finalize.php'); } } elseif ($_REQUEST['do'] == 'upgrade'){ if ($version == $vbulletin->options['ppdonations_version']){ print_form_header('donations_install'); print_table_header('PayPal Donations Is Current!'); print_description_row('Your copy of PayPal Donations Is Already Current!'); print_submit_row('Go back to main installer...', false); } else { require_once('donation_install/donation_upgrade.php'); } } elseif ($_REQUEST['do'] == 'editsonly'){ require_once('donation_install/donation_install_editsonly.php'); } elseif ($_REQUEST['do'] == 'temponly'){ require_once('donation_install/donation_install_temponly.php'); } elseif ($_REQUEST['do'] == 'plugsonly'){ require_once('donation_install/donation_install_plugsonly.php'); } elseif ($_REQUEST['do'] == 'uninstall'){ require_once('donation_install/donation_uninstall.php'); } print_cp_footer(); /*================================================= =====================*\ || ################################################## ################## || || # donations_install -- Fileversion 2.02 # || || # Date Version Finalized -- 03 July 2005 # || || ################################################## ################## || \*================================================ ======================*/ ?>

thats my error :(

fonzie11 01-22-2006 12:01 AM

uhh i installed it and everything, it shows up in the admin control and all that stuff
but i dont see it any where on my forums? or were its clickable or watever? wat do i do?

fonzie11 01-22-2006 02:41 PM

sum 1 plz?

bashy 01-22-2006 03:07 PM

I think you need to make a link to yourforumaddy.com/forum/donate.php

Quote:

Originally Posted by fonzie11
uhh i installed it and everything, it shows up in the admin control and all that stuff
but i dont see it any where on my forums? or were its clickable or watever? wat do i do?


SCRIPT3R 01-22-2006 05:02 PM

Quote:

Originally Posted by fonzie11
uhh i installed it and everything, it shows up in the admin control and all that stuff
but i dont see it any where on my forums? or were its clickable or watever? wat do i do?

read this thread again for starters.

obsidian 01-22-2006 11:04 PM

Quote:

Originally Posted by xYarub
It's not working right for me... The user clicks the donate button. They make their donation. I receive the money. However, it's not updating on my forums. I wait a few minutes thinking it might be a scheduled task or something. It's still not updated. All of the information is correct. I have the settings correct in my vBulletin adminCP as well as in my profile on PayPal. I have a premier account. Why does it hate me?


Same problem here...I have been messing with it for a week trying to figure it out but no luck as of yet.

SCRIPT3R 01-22-2006 11:49 PM

Quote:

Originally Posted by obsidian
Same problem here...I have been messing with it for a week trying to figure it out but no luck as of yet.

did you turn your Instant Payment Notification (IPN) On and set your Instant Payment Notification (IPN) URL?

obsidian 01-23-2006 03:41 AM

yup...thats on. I thought it might be something curl related but that appears to be working as well.

SCRIPT3R 01-23-2006 04:37 AM

obsidian-

i just checked out your forums. your donations seem to be working fine... or are you manually putting in everyone's donation? i also noticed that you're missing some template edits in your MEMBERINFO, so maybe you're missing template edits elsewhere too?

obsidian 01-23-2006 10:16 PM

I am manually inputting them. I can not get anything back from paypal. Even messing around in the sandbox netted me no responses in any of the categories. I was able to get an invalid payment once by calling the ppverify file directly.

I opted to not put the memberinfo display in....I doublechecked everything else. Thanks for the help though :)

MissKalunji 01-24-2006 02:21 AM

i dont and mine does it manually

bspiller82 01-26-2006 03:27 PM

This hack doesn't work. I setup a donation button and attached it to a goal. I've recieved 2 donations so far and it's not updating the "We have collected a total of $xx.xx in donations towards our goal of $xx.xx". It also does not show the transactions in the transaction history at all.

Ryan McBain 01-26-2006 09:17 PM

I'm a little lost. Where do I go to set my donation goals?

Ryan McBain 01-27-2006 04:32 PM

Figured it out. My other question is, how would I connect this hack to the donations link I have on my main home page?

Mikecp421 01-27-2006 08:01 PM

this is the second time I installed this the first time on 3.0.8 and after figuring it out it worked flawlessly but again I seem to have missed something, there is no link to the donation admin in my ACP, I looked everywhere and cant find it, last time I hacked the index.php and added it but cant recognize where to put it here. And when I manually go to the donation_admin.php it does not let me add a donation to get it going. It says no buttons are active. What am I doing wrong?

Ncturnal 01-27-2006 08:11 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=869495&postcount=734" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=734</a>

Mikecp421 01-27-2006 08:17 PM

forget it I refreshed the ACP numerous times and nothing so I closed it and restarted it and voila, it was there.

Ryan McBain 01-28-2006 03:49 PM

I have a paypal donations link on my home page. I can I connect that to this hack so people get credit for their donations if they use the link on my main page. And when I say main page, I mean my page that is not vbulletin. anyone?

shadowdancer36 01-28-2006 06:48 PM

I'm getting the following error:

Database error in vBulletin 3.5.1:

Invalid SQL:
INSERT INTO pmc_donation_paypalipn (

What would cause this?

Also I don't seem to have any link or images that people can click on to donate money. Did I miss something during the install?

shadowdancer36 01-28-2006 06:50 PM

Quote:

Originally Posted by Ryan McBain
I'm a little lost. Where do I go to set my donation goals?


Where did you find this?

Trana 01-29-2006 05:52 AM

Miss,

I'm finally getting around to installing this on my production site, and remembered that you had a way of editing the install script so it doesn't delete the existing data. In your solution you said to edit the product xml file. I looked all over and cannot find an xml file for installing this system. Is it in the hack zip?

Thanks!

MissKalunji 01-29-2006 11:27 AM

Quote:

Originally Posted by Trana
Miss,

I'm finally getting around to installing this on my production site, and remembered that you had a way of editing the install script so it doesn't delete the existing data. In your solution you said to edit the product xml file. I looked all over and cannot find an xml file for installing this system. Is it in the hack zip?

Thanks!

yes its named : product-ppdonations.xml

delete
Code:

        <codes>
                <code version="2.0.2">
                        <installcode><![CDATA[$db->hide_errors();
$db->query_write("CREATE TABLE ".TABLE_PREFIX."donation_buttons (
        id int(255) NOT NULL auto_increment,
        goalid int(255) NOT NULL default '0',
        amount decimal(10,2) default NULL,
        item_name varchar(127) NOT NULL default '',
        cn varchar(40) NOT NULL default 'Additional Instructions',
        cpp_header_image varchar(255) default NULL,
        cpp_headerback_color varchar(255) default NULL,
        cpp_headerborder_color varchar(255) default NULL,
        cbt varchar(255) NOT NULL default 'Continue Transaction',
        active int(1) NOT NULL default '1',
        description text NOT NULL,
        PRIMARY KEY  (id)
        ) TYPE=MyISAM;
");
$db->query_write("CREATE TABLE ".TABLE_PREFIX."donation_currency_exchange (
        server varchar(255) NOT NULL default 'xe',
        base varchar(255) NOT NULL default 'USD',
        USD varchar(255) NOT NULL default '',
        AUD varchar(255) NOT NULL default '',
        CAD varchar(255) NOT NULL default '',
        EUR varchar(255) NOT NULL default '',
        GBP varchar(255) NOT NULL default '',
        JPY varchar(255) NOT NULL default ''
        ) TYPE=MyISAM
");
$db->query_write("INSERT INTO ".TABLE_PREFIX."donation_currency_exchange (`USD`, `AUD`, `CAD`, `EUR`, `GBP`, `JPY`) VALUES ('1', '1', '1', '1', '1', '1')");
$db->query_write("CREATE TABLE ".TABLE_PREFIX."donation_donors (
        id int(100) NOT NULL auto_increment,
        userid int(255) NOT NULL default '0',
        ip varchar(255) NOT NULL default '',
        total decimal(10,2) NOT NULL default '0.00',
        PRIMARY KEY (id)
        ) TYPE=MyISAM;
");
$db->query_write("CREATE TABLE ".TABLE_PREFIX."donation_goals (
        id int(255) NOT NULL auto_increment,
        title varchar(255) NOT NULL default '',
        description text NOT NULL,
        amount decimal(10,2) NOT NULL default '0.00',
        total_donated decimal(10,2) NOT NULL default '0.00',
        active tinyint(1) NOT NULL default '1',
        PRIMARY KEY (id)
        ) TYPE=MyISAM;
");
$db->query_write("CREATE TABLE ".TABLE_PREFIX."donation_paypalipn (
        txn_id varchar(255) NOT NULL default '',
        userid int(255) default NULL,
        test_ipn tinyint(1) default NULL,
        notify_version decimal(10,1) default NULL,
        verify_sign varchar(255) default NULL,
        first_name varchar(255) default NULL,
        last_name varchar(255) default NULL,
        payer_business_name varchar(255) default NULL,
        address_name varchar(255) default NULL,
        address_street varchar(255) default NULL,
        address_city varchar(255) default NULL,
        address_state varchar(255) default NULL,
        address_zip varchar(255) default NULL,
        address_country varchar(255) default NULL,
        address_status varchar(255) default NULL,
        payer_email varchar(255) default NULL,
        payer_id varchar(255) default NULL,
        payer_status varchar(255) default NULL,
        business varchar(255) default NULL,
        receiver_email varchar(255) default NULL,
        receiver_id varchar(255) default NULL,
        item_name varchar(255) default NULL,
        ip_address varchar(255) default NULL,
        quantity int(255) default NULL,
        invoice varchar(255) default NULL,
        memo varchar(255) default NULL,
        tax decimal(10,2) default NULL,
        option_name1 varchar(255) default NULL,
        option_selection1 varchar(255) default NULL,
        option_name2 varchar(255) default NULL,
        option_selection2 varchar(255) default NULL,
        payment_date varchar(255) default NULL,
        parent_txn_id varchar(255) default NULL,
        txn_type varchar(255) default NULL,
        payment_type varchar(255) default NULL,
        payment_status varchar(255) default NULL,
        pending_reason varchar(255) default NULL,
        reason_code varchar(255) default NULL,
        mc_gross decimal(10,2) default NULL,
        mc_fee decimal(10,2) default NULL,
        mc_currency char(3) default NULL,
        mc_handling decimal(10,2) default NULL,
        mc_shipping decimal(10,2) default NULL,
        settle_amount decimal(10,2) default NULL,
        settle_currency char(3) default NULL,
        exchange_rate decimal(10,4) default NULL,
        case_id varchar(255) default NULL,
        case_type varchar(255) default NULL,
        case_creation_date varchar(255) default NULL,
        valid tinyint(1) NOT NULL default '0',
        PRIMARY KEY  (txn_id)
        ) TYPE=MyISAM;
");
$db->query_write("ALTER TABLE ".TABLE_PREFIX."user ADD donor TINYINT(1) DEFAULT '0' NOT NULL");
$db->query_write("ALTER TABLE ".TABLE_PREFIX."user ADD showdonor TINYINT(1) DEFAULT '1' NOT NULL");
$db->query_write("INSERT INTO " . TABLE_PREFIX . "cron (`cronid`, `nextrun`, `weekday`, `day`, `hour`, `minute`, `filename`, `loglevel`, `title`) VALUES ('', '', '-1', '-1', '0', '15', './includes/cron/donation_currency_exchange.php', '1', 'Donations Currency Exchange Quotes')");
$db->show_errors();]]></installcode>

                </code>
        </codes>

erasing all that wont remove database and re create them....will only reinstall the templates or uninstall when you remove the xml

Trana 01-29-2006 07:32 PM

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!

linksysinfo 01-29-2006 11:35 PM

I have added this script to my site, i have a premier account however when i click on donate, there is no donate button to allow me to make any payments.

also there is no paypal column in admincp. i cannot see what is wrong i have followed the instructions to the full.

running vb 3.5.3 and vbadvanced v2.1.0 can anyone help?

linksysinfo 01-29-2006 11:53 PM

Fixed. edited cpnav_paypal_donations.xml to show:

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

then installed script.

MissKalunji 01-29-2006 11:54 PM

yep and add a goal and button for ppl to donate


All times are GMT. The time now is 04:28 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
  • Page Generation 0.02450 seconds
  • Memory Usage 1,870KB
  • 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_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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