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)

USAMustangs.com 08-09-2007 02:36 PM

Quote:

Originally Posted by txsbmw (Post 1313679)
I maybe wrong but I think you also have to remove the following from the donations_all_donor_bits:

Code:

<td class="alt1" align="center" width="33%">$vbphrase[total_donations] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">€<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$total</td>
It's at the bottom

EDIT: There are actually 2 places tp delete it in that template it looks like

That worked! Thanks to the both of you for helping me out.

I just hope that it doesn't affect the way the hack works in terms of processing future donations.

It did require removing both phrases in order to remove the Total Donations column.

donations_all_donors

Code:

<td class="thead">$vbphrase[total_donated]</td>
AND

donations_all_donors_bits
Code:

<td class="alt1" align="center" width="33%">$vbphrase[total_donations] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">€<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$total</td>

sinisterpain 08-09-2007 09:56 PM

Quote:

Originally Posted by USAMustangs.com (Post 1313691)
That worked! Thanks to the both of you for helping me out.

I just hope that it doesn't affect the way the hack works in terms of processing future donations.

It did require removing both phrases in order to remove the Total Donations column.

donations_all_donors

Code:

<td class="thead">$vbphrase[total_donated]</td>
AND

donations_all_donors_bits
Code:

<td class="alt1" align="center" width="33%">$vbphrase[total_donations] <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$total</td>

No it will affect the mod from getting your paypal info posted.

txsbmw 08-10-2007 12:54 PM

Ok now another problem. I have had 2 donations so far. One went through fine (other than it added shipping and handling which I took care of) and then lastnight I had someone donate, but it did not update her already donated amount or apply it to our goal. So I looked and her donation is in the invalid transactions. Why would this be?

USAMustangs.com 08-10-2007 01:18 PM

Quote:

Originally Posted by sinisterpain (Post 1314004)
No it will affect the mod from getting your paypal info posted.

Are you saying that it won't be able to retrieve the paypal info?

How do I fix that? Because I need this mod to work properly, but I do not want the amounts donated displayed.

Thanks.

sinisterpain 08-10-2007 07:59 PM

Quote:

Originally Posted by USAMustangs.com (Post 1314435)
Are you saying that it won't be able to retrieve the paypal info?

How do I fix that? Because I need this mod to work properly, but I do not want the amounts donated displayed.

Thanks.

My wording was incorrect, I meant to say no it will not affect the mod.

sinisterpain 08-10-2007 08:04 PM

Quote:

Originally Posted by txsbmw (Post 1314422)
Ok now another problem. I have had 2 donations so far. One went through fine (other than it added shipping and handling which I took care of) and then lastnight I had someone donate, but it did not update her already donated amount or apply it to our goal. So I looked and her donation is in the invalid transactions. Why would this be?

I know it will update the goal and her previous donation total if there was not a problem as I have members who have donated more than once without an issue.
Did the transaction go through your paypal account OK?
Did the member make two donations within the same day or week, month or how long.

USAMustangs.com 08-10-2007 08:18 PM

Quote:

Originally Posted by sinisterpain (Post 1314710)
My wording was incorrect, I meant to say no it will not affect the mod.

oh ok...thanks again.

puregraf 08-10-2007 10:31 PM

Does anyone know if this will work with the latest vbulletin version? or v.3.6.2

Thanks

sinisterpain 08-11-2007 01:00 AM

Quote:

Originally Posted by puregraf (Post 1314813)
Does anyone know if this will work with the latest vbulletin version? or v.3.6.2


Thanks

Yes
if you have fsock on for postback from paypal

txsbmw 08-11-2007 02:20 AM

Quote:

Originally Posted by sinisterpain (Post 1314716)
I know it will update the goal and her previous donation total if there was not a problem as I have members who have donated more than once without an issue.
Did the transaction go through your paypal account OK?
Did the member make two donations within the same day or week, month or how long.


Here were her comments to me:
BTW ... your link on the site didn't take me right into paypal like it did last time. It only showed your email address and that you were verified. Then when I went to make a 'payment' (option at the top of my page), your email address was not in my pull down bar (even though I had made a payment to you prior). I had to navigate back to the verified page to find it. Maybe you could put up another link that will provide the direct payment option like you had last time as well so others wouldn't give up if they're considering donating?

I am thinking that maybe instead of clicking the donate link, she clicked the verified seal maybe? I don't really know. I checked my paypal account and it shows complete. But in vbulletin it list it as an invalid transaction, even though it shows the amount and the fee paypal takes out along with her comment from above when you select that invalid transaction and view the details.

So is there anyway now to change it from an invalid transaction to a valid one so it will update her donated amount plus add to our goal?

sinisterpain 08-11-2007 11:08 AM

That I see when going to your site is that the paypal button does not immediately show as being a clickable object as the verify seal is. It shows as a golden arrow. It appears that the header above is overlapping into the paypal template or you modified the paypal template and its creating a possible problem.

Marv 08-11-2007 01:53 PM

Quote:

Originally Posted by sinisterpain (Post 1305712)
Are you refering to if when adding a member donation through the admincp and it not updating the goal.

Yep sinisterpain, thats the point. Sorry, my last post hasnt said that clear enough ;)

sinisterpain 08-11-2007 03:26 PM

Quote:

Originally Posted by Marv (Post 1315198)
Yep sinisterpain, thats the point. Sorry, my last post hasnt said that clear enough ;)

I will fix that along with some added features

txsbmw 08-11-2007 03:35 PM

Quote:

Originally Posted by sinisterpain (Post 1315145)
That I see when going to your site is that the paypal button does not immediately show as being a clickable object as the verify seal is. It shows as a golden arrow. It appears that the header above is overlapping into the paypal template or you modified the paypal template and its creating a possible problem.

The only template I modified was the donations_bits to allow my donors to add a note.

Well I just now modified that template a little more to allow them to input the amount before being transfered to paypal, put the new field and button below the description instead of to the right of it, and I also made the verify seal unclickable and instead added a link to that phrase. I still can't get the actual button to look like it is clickable, even though it is. I am pretty sure now as she has e-mailed me back that she did click on the verify seal at the bottom there.

So maybe now this will make it less confusing. Just glad it was not actually this mod that did it, lol. Whew.

Ok now is there anyway to make her invalid transaction a valid one?

sinisterpain 08-11-2007 03:51 PM

Just add them through the admin cp "add donor" you will have to update the goal it does not do it right now but I will fix it shortly. looks like posible java script to change the pointer

txsbmw 08-11-2007 03:57 PM

Quote:

Originally Posted by sinisterpain (Post 1315242)
Just add them through the admin cp "add donor" you will have to update the goal it does not do it right now but I will fix it shortly.

Okie Dokie. Also one more thing. On my all donors page, it is only showing the first 3 top donors instead of showing all donors (I have 4) it is also the same way on the CMPS block (only showing 3). I have the options to show top 5 donors (obviously it is not) but also on the all donors page shouldn't it be showing all of them?

I just upgraded to 3.6.8 so I don't know if that had anything to do with it?

sinisterpain 08-11-2007 04:07 PM

Quote:

just upgraded to 3.6.8 so I don't know if that had anything to do with it?
It should not.
Make sure your donors select in the usercp->edit options they check to be shown as a donor. If they do not they will not show up on your donor pages.

txsbmw 08-11-2007 04:33 PM

Ok that may be why it is not. I will ask her.

I just realized that I never put that option back after I reverted the template. Just added it back but I am assuming it kept her origional answer? I did not re-add it to postbit or memberifo template because I have an additional usergroup for donors that they can join to show a donor image next to their name in both of those places.

ADomoWorld 08-17-2007 06:50 AM

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO phrase (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES ('', '-1', 'settinggroup_donations', 'PayPal Donations', '5000');

MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054
Date : Friday, August 17th 2007 @ 03:45:37 AM
Script :
Referrer :
IP Address :
Username :
Classname :

sinisterpain 08-17-2007 07:51 PM

Please read a few threads back to resolve your DB error

BreezeDK 09-03-2007 01:38 PM

Quote:

Originally Posted by sinisterpain (Post 1315242)
Just add them through the admin cp "add donor" you will have to update the goal it does not do it right now but I will fix it shortly. looks like posible java script to change the pointer

Just to be clear, because right now it neither add donors when they donate, or update the goal - is it working at all?

txsbmw 09-03-2007 02:47 PM

Works fine on 3.6.8.
Here's mine: http://www.usmchangout.com/msg/donate.php
I also have the vbadvanced block installed and working on the front page
http://www.usmchangout.com/msg

Make sure that you have added a goal to each button and that the buttons and goals are active.

BreezeDK 09-03-2007 03:17 PM

Yes everything was setup up. now i swear i didnt touch it, but after 2 more donations it suddenly started working ^^

I'd really like such a donation block on the front of vbulletin FORUMHOME, add it like a global announcement in the top, but doesnt seem to be any mods out there that do that?

Eagle Eyes 09-04-2007 02:44 AM

Same question here. Anyway to add a block which shows the percentage of donations on the forumhome?

sinisterpain 09-04-2007 03:52 AM

Quote:

Originally Posted by Eagle Eyes (Post 1331870)
Same question here. Anyway to add a block which shows the percentage of donations on the forumhome?

If you search the 3.6 mods I have created a generic forum home donations bar , percentage, etc . find it here

apokphp 09-11-2007 06:34 PM

How can I uninstall this properly? Using the uninstall method via AdminCP Product management, does not work.

It leaves "showdonor" in many places in the db. I've uninstalled, upgraded to vb 3.6.8, and as a result, trying to modify options in the usercp results in the error:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE user SET
### Bitfield: user.options ###
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 4, options, options + 4),
options = IF(options & 16, options, options + 16),
options = IF(options & 32, options - 32, options),
options = IF(options & 256, options, options + 256),
options = IF(options & 512, options - 512, options),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options - 4096, options),
options = IF(options & 131072, options - 131072, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
styleid = 42,
languageid = 0,
autosubscribe = -1,
threadedmode = 0,
timezoneoffset = '-8',
showvbcode = 1,
pmpopup = 1,
maxposts = 30,
daysprune = 365,
startofweek = 1,
showdonor = 0
WHERE userid = 1;

MySQL Error : Unknown column 'showdonor' in 'field list'
Error Number : 1054
Date : Tuesday, September 11th 2007 @ 12:26:12 PM
Script : http://www.onlinedebate.net/forums/p...=updateoptions
Referrer : http://www.onlinedebate.net/forums/p...do=editoptions
IP Address : xx.xx.xx.xx
Username : Apokalupsis
Classname : vb_database
And if I try to uninstall via the .php file, this is the error I get...

Quote:

Fatal error: Call to undefined function: print_form_header() in /home/onlin19/public_html/forums/admincp/donation_install/donation_uninstall.php on line 14
Can someone please help me remove this hack from my board? It's really screwing things up.

sinisterpain 09-11-2007 08:41 PM

The product xml for Paypal donations has an uninstall for the field showdonor in the user table. You can not use the authors php set up files for uninstalling or installing this Mod.
If you uninstalled the paypal mod through the admincp->manage products it should have removed the field.

In the xml code that you installed the mod with has the following for uninstalling the showdonor
Code:

$db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP donor, DROP showdonor");
So are you sure you did it properly.

apokphp 09-12-2007 09:19 PM

Well, all I did was click "Uninstall" on this hack from the admincp - manage products screen. It is no longer there, but it still has a couple tables there.

If I run the query manually, that should do the trick?

If so, what is the exact query I should enter to run?

FYI, I did go into the vb db via MyPHPAdmin, looked up the user table, but did not see "donor" and "showdonor" there at all.

sinisterpain 09-13-2007 12:45 AM

Did you remove the field in usercp for showdonor?

apokphp 09-13-2007 01:09 AM

I don't understand...there is no usercp table in vb. If you are referring to the user control panel, I'm not sure I follow...how can I remove "anything"? Are you referring to a template? If so, there is no showdonor text anywhere in any template.

Wayne Luke from vb.com, says that this error means that there is code trying to reference the fields and they do not exist in the database. And that I need to remove that code or add the fields. But I have no clue where this code exists.

sinisterpain 09-13-2007 01:11 AM

Go to your usercp in your forums there should be a field that is filled out in edit options to be shown as a donor if checked you are shown on the donor page if uncheck you are not shown

apokphp 09-13-2007 01:20 AM

It's not there. There is no "donor" field in the usercp profile or options.

You can check for yourself...here's a test account:

name: llama
pw: llama

apokphp 09-13-2007 04:18 AM

I figured it out with help from a tip from vb.com. I had to manually go through possible plugins and find the culprit and delete. There were still plugins from this hack installed, I removed them, and everything is ok. Thanks for the help though. ;)

johnrizz 09-13-2007 10:25 PM

would this work for 3.5.8?

jellybeanz 09-19-2007 02:06 AM

I'm getting the following error when importing the product. I've tried uninstalling and reinstalling a few times with no luck.

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
UPDATE language SET title = title, phrasegroup_cpglobal = 'a:211:{s:12:\"access_masks\";s:12:\"Access Masks\";s:3:\"add\";s:3:\"Add\";s:18:\"add_import_ product\";s:20:\"Add / Import Product\";s:16:\"add_new_rss_feed\";s:16:\"Add New RSS Feed\"; .... too long to post

MySQL Error : Unknown column 'phrasegroup_ppdonations' in 'field list'
Error Number : 1054
Date : Tuesday, September 18th 2007 @ 11:04:23 PM
Script : http://www.website.com/forum/admincp...=productimport
Referrer : http://www.website.com/forum/admincp...?do=productadd
IP Address : [X]
Username : [X]
Classname : vB_Database_MySQLi

sinisterpain 09-19-2007 02:19 AM

plugin/products->manage products->add/import product->product-ppdonations.xml
I have installed this on 3.6.4 through 3.6.8

jellybeanz 09-19-2007 12:22 PM

If you actually looked instead of using your canned response you would see that something is wrong for me. Well, I guess I'll have to search for my answer elsewhere. Thanks for trying.

johnrizz 09-19-2007 08:37 PM

I couldn't get it to work for me ether, I just installed a different paypal donation hack from vb.org There has to be at less 5 or better of them going around, I'am using Cyb, worked for me..

jellybeanz 09-19-2007 10:06 PM

I have the Cyb posted on my site now but my users are looking for a way to show who's donated. So it's really no biggy if I can't get this working but doesn't hurt to ask right? :)

DieselMinded 09-19-2007 10:12 PM

This Mod Works Great Installed/Running on 3.6.8

Im even Using it to Sell Decals Through

http://www.dieselbombers.com/donate.php

http://www.dieselbombers.com/alldonors.php

And members Like to Have the Donor Button By There name

This is One of the Best Mods Ive installed and i have over 40

Props to the People Behind the Mod

Dont be Hating on a Mod because you cant get it to work

DM


All times are GMT. The time now is 05:40 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.03093 seconds
  • Memory Usage 1,853KB
  • 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
  • (6)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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