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)

SCRIPT3R 11-26-2005 09:01 PM

Quote:

Originally Posted by DS MrSinister
are you using these templates. adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user

go here make sure u have all the templates added

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

Update: Fixed - thnx.

SCRIPT3R 11-26-2005 09:39 PM

Update: Fixed - thnx.

SCRIPT3R 11-27-2005 06:28 AM

Update: Fixed - thnx.

SCRIPT3R 11-27-2005 07:07 AM

for those receiving the following error email notice...

Quote:

Database error in vBulletin 3.5.1:

Invalid SQL:
INSERT INTO donation_paypalipn (
`txn_id`, `userid`, `test_ipn`, `notify_version`, `verify_sign`,
`first_name`, `last_name`, `payer_business_name`, `address_name`,
`address_street`, `address_city`, `address_state`, `address_zip`,
`address_country`, `address_status`, `payer_email`, `payer_id`,
`payer_status`, `business`, `receiver_email`, `receiver_id`,
`item_name`, `ip_address`, `quantity`, `invoice`,
`memo`, `tax`, `option_name1`, `option_selection1`, `option_name2`,
`option_selection2`, `payment_date`, `parent_txn_id`, `txn_type`,
`payment_type`, `payment_status`, `pending_reason`, `reason_code`,
`mc_gross`, `mc_fee`, `mc_currency`, `mc_handling`, `mc_shipping`,
`settle_amount`, `settle_currency`, `exchange_rate`, `case_id`,
`case_type`, `case_creation_date`, `valid`
) VALUES (
'', '0', '0', '0', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '0', '',
'', '0', '', '', '',
'', '', '', '',
'', '', '', '',
'0', '0', '', '0', '0',
'0', '', '0', '',
'', '', '0'
);;

MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Date : Sunday, November 27th 2005 @ 03:35:20 AM
Script : http://forum.......com/ppverify.php
Referrer :
IP Address : 24.152.196.233
Username : Unregistered
Classname : vb_database
it has something to do with an Invalid Transaction i'm sure you have. supposedly, if you delete said invalid transaction, you won't get that error again, BUT that invalid transaction cannot be deleted from within the CP! any advice on how to delete that transaction elsewhere, like from within the db?

Update:
using phpMyAdmin, i have deleted this particular "Invalid Transaction" transaction from the corresponding table. i have not received the above error since.

Jenta 11-27-2005 08:04 AM

I just checked on something; Cloudrunner has not even posted on his own forum since September! About the same time he stopped posting here. Sometimes real life beckons.

PS This hack works perfect for me.

esology 11-27-2005 07:28 PM

Did anyone upgrade? I was running vb 3.0.7 and went to 3.5.1. When I did this install it wiped the tables clean in my db. I have a back-up db from 3.0.7 so I am wondering if I can just import the data?

SCRIPT3R 11-28-2005 05:46 AM

Update: other then the ppverify error; i finally have this whole thing working! i can advise all those with problems to read the thread again and again. i missed a few things a couple times. feel free to check out my forums if you want to see this working on 3.5.*

Rich 11-28-2005 11:38 AM

Hello,

Open the sql file and find the donation tables. Then copy the sql for those tables and run them via phpmyadmin or through the acp.

Rich 11-28-2005 11:42 AM

Jenta,

If your ppverify file is working, why not share it here? You posted that you made a product out of this. Did that correct the ppverify information or does everything work except the ppverify? (When a member donates are they being added automatically or do you need to add them manually?)

The ppverify is where most people are having their problems. If yours is working 100%, could you share with the group instead of just telling us yours works. I am glad yours is working 100% as you state, but it is not doing any of us any justice knowing that when you aren't sharing HOW it is working. You had to have changed something in the ppverify file because the 3.5.1 upgrade is giving that file problems.

bi11i 11-28-2005 06:09 PM

I installed this hack and then decided that it was just too cluttered and really too much for what I needed. After running through the uninstall process, most of my templates that had custom edits before the install are now completely hosed - some conditionals are in duplicate, some have huge areas of white space. I had to do a lot of reverting to get back to normal.

I think this hack is a great idea and definitely well worth it, but be advised to backup your templates before installing...

Billspaintball 11-28-2005 10:51 PM

Well I've finally got around to upgrading from 3.5.0 to 3.5.1
I reapplied this hack, tested and all is working as its ment to.

And yes, members are being added automaticly to the database when they donate, and leaving the amount blank lets donors enter their own amount without any issues.

Only change I had to make was to the case of the vB in the XML file, no changes to ppverify.php or anything else.

Billspaintball 11-28-2005 10:55 PM

Just wondering, are the people having problems running vbAdvanced as well or any other hacks?

Might be useful to post any changes from a stock vB 3.5.1 here so we can see if any pattern emerges.
PHP and MySQL version info may help well.

divided_by_fear 11-28-2005 11:49 PM

i think it has to do with not allowing them to see the site unless there a member cause mine dont show up i see paypal trying to goto ppverify but there getting the no permission error.... i also run vbadvanced


http://img506.imageshack.us/img506/6841/paypal0uo.jpg

Rukas 11-29-2005 01:55 AM

What exactly are the problems? So it worked fine on 3.5.0 but is buggy on 3.5.1? If so Im glad I havent upgraded yet because the donations generate a lot of money for me. $400 in under 2 months. So I cant really afford to have it not working.

For the record, im running vBadvanced, vb 3.5.0 and it works fine.

http://www.streethop.com/forum/donate.php

Billspaintball 11-29-2005 01:59 AM

Quote:

Originally Posted by divided_by_fear
i think it has to do with not allowing them to see the site unless there a member

I have only received donations from members so I dont know if there may be any problems with guests or not.

When I get home I will try to do a donate while not logged in and see what happens then.

Jenta 11-29-2005 02:05 AM

Quote:

Originally Posted by iguanairs
Jenta,

If your ppverify file is working, why not share it here? You posted that you made a product out of this. Did that correct the ppverify information or does everything work except the ppverify? (When a member donates are they being added automatically or do you need to add them manually?)

The ppverify is where most people are having their problems. If yours is working 100%, could you share with the group instead of just telling us yours works. I am glad yours is working 100% as you state, but it is not doing any of us any justice knowing that when you aren't sharing HOW it is working. You had to have changed something in the ppverify file because the 3.5.1 upgrade is giving that file problems.

The first donation that came in did not register. All the subsequent ones have. I have made no modifications to the files. So the ppverfiy I am using is the same one you are using.

The only thing I did was make a product out of this. What this eliminates is vbulletin wiping out the settings when you upgrade. That's the only thing my changes fix. Nothing else is broken on mine.

Diaego 11-29-2005 03:38 AM

Have installed this module, and works great like the old ver...

However, does anyone know if a VBAdvanced "block"/module has been created for this? The old version had a block you could add to the front page of vbadvanced to show the donors for that month.

Would anyone be willing to create one?

I shouldn't think it would be too hard as the code must be similar to this page: http://www.eve-radio.com/forums/alldonors.php, just without the normal headers etc!!!

This vbadvanced intergration was included in the 3.0.7 version of the module @ https://vborg.vbsupport.ru/showthrea...threadid=82978 - So just some kind of porting required! Anyone here have the skills!? :)

DS MrSinister 11-29-2005 04:44 AM

try this see if it works..

divided_by_fear 11-29-2005 04:49 AM

no i dont think its that i think its that that what ever paypal is using is tried to get on the page but they cant cause they cant view it unless they sign up... yeah i know it may sound stupid but if you notice all the people who dont seem to be having a problem none of the do you need to sign up to view there pages... mine does and a few others do too... cause i was watching the paypal bot basiclly geting hung up on the no permission page and didnt even try to send the info to ppverify.... i know it should be just going to that folder by way of the bot but thats my only guess...

Diaego 11-29-2005 04:56 AM

Quote:

Originally Posted by DS MrSinister
try this see if it works..

Hey MrSinister :)

Thanks for giving this a go! Will benefit a lot of people I think!

I have just tried installing it, but at the top of the page, it seems to display the 'raw code'. E.G, this displays right at the top of my web-page when active:

Code:

a:3:{s:6:"module";s:384:"a:12:{s:5:"title";s:9:"Donations";s:10:"identifier";s:9:"Donations";s:8:"filename";s:10:"donate.php";s:7:"inctype";s:8:"php_file";s:6:"parent";s:0:"";s:12:"templatelist";s:72:"adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user";s:7:"colspan";s:1:"0";s:8:"formcode";s:0:"";s:11:"cleanoutput";s:1:"0";s:7:"options";s:0:"";s:8:"useshell";s:1:"1";s:4:"link";s:0:"";}";s:9:"templates";s:3134:"a:3:{s:17:"adv_portal_donate";s:1280:" $donate_goals_bits Our Top $vboptions[donate_CMPS_users] Donors
View All Donors

--------------------------------------------------------------------------------
$donate_goals_userbits  Our Last $vboptions[donate_CMPS_users] Donors
View All Donors

--------------------------------------------------------------------------------
 ";s:23:"adv_portal_donate_goals";s:1279:" $title
 
$percentage% of goal has been donated

We have collected a total of $???$goal_total_formatted
in donations towards our goal of $???$amount_formatted. ";s:28:"adv_portal_donate_goals_user";s:448:" $donor_username $???$user_total ";}";s:4:"file";s:2658:"


DS MrSinister 11-29-2005 05:22 AM

it works great for me. i just reinstalled it works just fine for me

make sure u place it where u want left or right and the display order

Xstreamist 11-29-2005 07:23 AM

Quote:

Originally Posted by Billspaintball
Well I've finally got around to upgrading from 3.5.0 to 3.5.1
I reapplied this hack, tested and all is working as its ment to.

And yes, members are being added automaticly to the database when they donate, and leaving the amount blank lets donors enter their own amount without any issues.

Only change I had to make was to the case of the vB in the XML file, no changes to ppverify.php or anything else.

Hey Bill, can you explain what you mean by "Only change I had to make was to the case of the vB in the XML file"

What changes to what vB are oyu speakin of? I'm very new to vBulletin.. Just migrated over a couple days ago after using phpBB for years... I need the donation thing set up but wanna make sure it's gonna install and run proper on 3.5.1.... can't afford the down time.
Thanks in advance.

divided_by_fear 11-29-2005 07:26 AM

go to /forum/includes/xml and edit cpnav_paypal_donations.xml

Find:

Code:
Code:

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

Replace with:

Code:
Code:

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


Xstreamist 11-29-2005 06:35 PM

Awesome!! Thanks Fear... So installing and doing this modification will allow this to run with no problems on a 3.5.1 version?
Just wanna triple check because I had my site hacked a few months ago and had to reinstall phpBB and when I did it was a new version and it got all screwy and the site was down for two days because of it.. don't wanna have my members start getting error messages AGAIN so soon heheehe

EDIT: Also, I just noticed it says navgroup products... Do I install this according to the directions given in the zip file or do I need to make this a product, and if so how do I do that....?? thanks in advance.

mackers8923 11-30-2005 08:15 PM

Just upgraded from 3.5.0 to 3.5.1 and I seem to have lost the donate function, should I simply reinstall the hack?

DS MrSinister 11-30-2005 10:08 PM

just upload the donations_install.php and donation_install folder to the admincp. and run the donations_install.php and choose Templates Only Install should do the trick .then delete the files onces your done installing the templates

Raptor 12-01-2005 01:50 AM

if someone donates can it change there usergroup (to give them a few more extras to the forum - ala the subscribe feature currently in the system) ?

Xstreamist 12-01-2005 06:16 AM

Just started installing this on vB 3.5.1.
Got to the Installing Plugins part and got this error:

Quote:

Fatal error: Call to undefined function: build_datastore() in /home/fsfta/public_html/amarukadmincp/donation_install/donation_install_plugins.php on line 34
It seems to have continued to install the plugins but there's no "Continue Installation" button at the bottom of the page.

Any help for this?
Thanks in advance.

Xstreamist 12-01-2005 06:50 AM

OK, the above problem was solved.. had to set my plugins and hooks to ON.

But now... I got it fully installed but there's no donate button anywhere on the site..???? There isn't even a button to donate on the donate.php page.... Have I forgotten to do something? Did something go wrong?

Xstreamist 12-01-2005 07:32 AM

OK figured out how to get the donate button on the donate page but now I'm stuck trying to get a donate link onto my Nav bar.
I found the area in navbar to add it but I remember someone teling me once there were two places I needed to place the code for it to show up and can't remember now where the second place is.

EasyTarget 12-01-2005 08:18 AM

Quote:

Originally Posted by Xstreamist
now I'm stuck trying to get a donate link onto my Nav bar.
I found the area in navbar to add it but I remember someone teling me once there were two places I needed to place the code for it to show up and can't remember now where the second place is.

you only need to add it in 2 places if you're using the dropdown menus. If its just a standard link on the navbar then you're fine without adding anything else in another part I think.

SCRIPT3R 12-01-2005 05:58 PM

i have a member who donated using a different email addy then which is registered on his account. the transaction was accepted and valid, but is showing up as invalid. is there any ways to move this particular transaction into the vailid category?

Update: using phpMyAdmin, i was able to modify the transaction to show as VALID. this automatically moved the transaction into the correct Validated list... i was also able to modify his databse entry to show on the All Donors page, and he now has the Donor icon in his MEMBERINFO.

Xstreamist 12-01-2005 08:12 PM

Got it set up and working on vB 3.5.1.

bspiller82 12-02-2005 01:13 AM

Mine stopped working today. It tossing out this error

Warning: Division by zero in /includes/functions.php(4300) : eval()'d code on line 64

http://www.247xtreme.com/forums/donate.php

Snake 12-02-2005 05:31 PM

That's weird.

SCRIPT3R 12-03-2005 12:28 AM

nevermind... i figured it out.

Edrick 12-03-2005 09:26 PM

Installed, and running, just oen issue, see the menu suppposed to appear in the admin CP navbar?

Well, It's missing, but everythign else is running just fine.

Diaego 12-04-2005 08:04 AM

Quote:

Originally Posted by DS MrSinister
try this see if it works..

Still not able to get this working?? It doesn't seem to be parsing the file - it just displays the raw code on the page?? Any ideas?

Billspaintball 12-04-2005 08:17 AM

Quote:

Originally Posted by Edrick
Installed, and running, just oen issue, see the menu suppposed to appear in the admin CP navbar?

Well, It's missing, but everythign else is running just fine.

Known issue caused by the case of one letter being wrong in the xml file.

Look here for the fix
https://vborg.vbsupport.ru/showpost....&postcount=503

Billspaintball 12-04-2005 08:28 AM

Quote:

Originally Posted by Xstreamist
Hey Bill, can you explain what you mean by "Only change I had to make was to the case of the vB in the XML file"

What changes to what vB are oyu speakin of? I'm very new to vBulletin.. Just migrated over a couple days ago after using phpBB for years... I need the donation thing set up but wanna make sure it's gonna install and run proper on 3.5.1.... can't afford the down time.
Thanks in advance.

The case on one of the letters in the XML file is causing the contol panel not to display in the vB admin area.

Fix is very simple see here:

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


All times are GMT. The time now is 05: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.02489 seconds
  • Memory Usage 1,848KB
  • 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
  • (11)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