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)

Devil Woman 01-09-2006 12:14 AM

I have installed this file and I havent got any ability in the admin cp to add donators

Please help

Thanks

DS MrSinister 01-09-2006 01:01 AM

Quote:

Originally Posted by Trana
DS,

I am running CMPS 2.0.0 with 3.5.1. I am testing the donations module after upgrading from 3.0.7 (CMPS 1). After the upgrade everything works except when I enable the donations module. Also, the main donation page (donate.php) works fine. The only other custom module that I have added is the random photopost (VBA Gallery) image on the homepage. I do not currently have that module running, but I was able to get it running on a test upgrade I did recently, so I am pretty sure my CMPS build is "ok".

Got any ideas what I can do to troubleshoot this? It is a bit of a pain since the big white page gives no indication of an error. One other thing worth mentioning is that when I refresh the empty white page, my browser crashes.

Thanks!


try deleteing the donate.php file that lies in modules folder and reuploaded. if that dont work try this admincp -> vba cmps -> edit pages what ever your default page is edit that one and see if that donate module is check. also make sure its a PHP File type when you add the module..


@DarKNull and Devil Woman

look at the bottom of this post

https://vborg.vbsupport.ru/showpost....&postcount=707

Devil Woman 01-09-2006 11:44 PM

Can anyone help as to why I havent got the ability to add donators on the admin panel please :)

Nikki xx

DS MrSinister 01-10-2006 02:56 AM

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">

Trana 01-10-2006 03:28 AM

DS,

I followed your instructions and it still wasn't working. I tried turning on Clean File Output and mysteriously it started showing up! I have no idea why this affects it since the output is already cmps-php enabled. Thanks for your help!

Now I need to reimport my tables as per the instructions because this lovely "upgrade" script has deleted all my data!

Thanks again.

MissKalunji 01-10-2006 03:38 AM

Quote:

Originally Posted by Trana
DS,

I followed your instructions and it still wasn't working. I tried turning on Clean File Output and mysteriously it started showing up! I have no idea why this affects it since the output is already cmps-php enabled. Thanks for your help!

Now I need to reimport my tables as per the instructions because this lovely "upgrade" script has deleted all my data!

Thanks again.


just erase the install code from the xml so it wont reinstall the tables

Trana 01-10-2006 03:51 AM

Miss,

Is there a post which shows how to do this?

Trana 01-10-2006 03:53 AM

What template is the CMPS module using? I got it to appear, but all I see is the title and the expand button. I imported my old tables and enabled a few users records for donor/showdonor, but nothing is showing up in my CMPS module. I have added a test string to all the adv_donate modules and nothing is showing up, I can't seem to find which one it is using.

Thanks!

MissKalunji 01-10-2006 03:57 AM

Quote:

Originally Posted by Trana
Miss,

Is there a post which shows how to do this?

no just open the product

remove

Code:

<code>
                <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>
                        <uninstallcode><![CDATA[$db->hide_errors();
$db->query_write("DROP TABLE " . TABLE_PREFIX . "donation_buttons");
$db->query_write("DROP TABLE " . TABLE_PREFIX . "donation_currency_exchange");
$db->query_write("DROP TABLE " . TABLE_PREFIX . "donation_donors");
$db->query_write("DROP TABLE " . TABLE_PREFIX . "donation_goals");
$db->query_write("DROP TABLE " . TABLE_PREFIX . "donation_paypalipn");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP donor, DROP showdonor");
$db->query_write("DELETE FROM " . TABLE_PREFIX . "cron WHERE title = 'Donations Currency Exchange Quotes'");
$db->show_errors();]]></uninstallcode>
                </code>
        </codes>

next time it will only reinstall templates perhaps permissions

but wont touch your tables

DS MrSinister 01-10-2006 04:15 AM

all the table info for module

https://vborg.vbsupport.ru/showpost....&postcount=370


All times are GMT. The time now is 10:52 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.02237 seconds
  • Memory Usage 1,769KB
  • 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
  • (3)bbcode_code_printable
  • (3)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