PDA

View Full Version : Paypal Donations for vBulletin 3.0.7


Pages : 1 [2] 3

guvner
06-20-2005, 12:04 AM
Yer alot nicer than I was....LOL, if I'd have received that email, my reply would have sounded a LOT different to my post ;)

Cloudrunner
06-20-2005, 12:08 AM
LOL, if I'd have received that email, my reply would have sounded a LOT different to my post ;)
oh, it was, but I congratulated him on the size of his genitalia for contacting me directly ;)

TTG
06-20-2005, 12:10 AM
Was not expecting an empty set there, sorry...

Anyway, attached is the correct donation_upgrade.php file.

I also updated the archive in the first post to reflect this change in the upgrader code.


Worked .. Back in business .. thanks Cloudrunner. Ain't gonna upgrade again untill I see a dozen other's do it and have no problems.

One quick question .. I could not edit the profile.php as shown in the file edits, got too many additions in there to simply overwrite. The only addition I could see that was different from the original was "INT, 'donor' =>" .. is that all there was to add ?

Cloudrunner
06-20-2005, 12:11 AM
Worked .. Back in business .. thanks Cloudrunner. Ain't gonna upgrade again untill I see a dozen other's do it and have no problems.

One quick question .. I could not edit the profile.php as shown in the file edits, got too many additions in there to simply overwrite. The only addition I could see that was different from the original was "INT, 'donor' =>" .. is that all there was to add ?
yep, just the 'donor' => INT, is added...

The upgrader is standardized now to the system, this is the last time I am expecting any problems, it's all set to run off of arrays for the installed items, so I do not forsee any issues with future versions....but now that I have said that, the thing will explode in my face ;)

Seriously though, I'm not planning another upgrade for a few weeks...gonna work on the subscription integration and porting to 3.5 as well....

KevinL
06-20-2005, 01:32 AM
This really is a great hack!

Thanks :)

ManofManyStangs
06-20-2005, 01:35 AM
Is there anyway to add a image to the postbit for the person that donates?

Also could we have like 3 different images bronze silver and gold?

caimakale
06-20-2005, 01:56 AM
There is a template change that is optional and located in the install file, that does add the image to the postbit of users.

caimakale
06-20-2005, 02:15 AM
I noticed a huge loss in image (buttons) quality with this release. The images had rough edges and didn't look very sharp. I uploaded the buttons from 1.4 and this fixed my problems. (they were different in size).

If I could make a request, and if its not something you want to integrate into the hack, if you can tell me for my site. How do I make the donors on the CMPS module list by the last donors, instead of highest donors? I want all other areas of the hack to show the highest donor first. So if I know what code to change in the cmps modules I can do it for my site.

The other thing I noticed, and I wanted to know if this was done on purpose, I had a donator on a past goal (a week ago), and she isn't showing up anywhere as donating anything. Not on the main page, not on donate.php, or on alldonors.php. She shows up in the database, but nowhere else. The "Donor" button isn't showing up under her name in posbit, but it is in others. I have the Donation Settings set to show Top Donators instead of latest donators, she is also my top donator and the reason I need to show others her donations, I don't want her to get mad for not getting recognition.

Any idea what's going on?

***EDIT***

I went in and set the top donor to show in the database. In the user table, I set "donor" to 1. Everyone else was set as 1, but not her. I don't know if the script checks the current goal and set them to 1 and not past donors. But I did fix this and everything is working fine now.

Vman
06-20-2005, 04:28 AM
yep, just the 'donor' => INT, is added...

The upgrader is standardized now to the system, this is the last time I am expecting any problems, it's all set to run off of arrays for the installed items, so I do not forsee any issues with future versions....but now that I have said that, the thing will explode in my face ;)

Seriously though, I'm not planning another upgrade for a few weeks...gonna work on the subscription integration and porting to 3.5 as well....


Ahhhhhh, Don't forget to port for vPortal!!!!!!......you will be gettting alot of people asking for that as well...can't be that hard or different.....

lol..

Lizard306
06-20-2005, 07:34 AM
If i look in the install file, i think you have been instructed to make changes to both the './includes/adminfunctions_template.php' and the './admincp/index.php'

thanks

Lizard306
06-20-2005, 12:54 PM
Once you have run the donations_install.php file and installed the required templates, database tables, etc...., the very last step will show you the two file modifications.

did that and all went well until I clicked Donation Administration and got this
----------------------------------------
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM donation_donors WHERE userid != '0'
mysql error: Table 'chitchat_chitchat.donation_donors' doesn't exist

mysql error number: 1146

Date: Monday 20th of June 2005 09:38:26 AM
Script: http://www.chitchatters.net/chitadmin/donation_admin.php
Referer: http://www.chitchatters.net/chitadmin/index.php?do=nav
---------------------------------------

the install process went of very smoothly and I got to the settings screen and completed that successfully. the save button on that page returned me to the settings screen itself (dont know if thats supposed to happen). When I logged into to my admincp and clicked Donation Administration, I got the above.

any idea guys ?

Cixxtynine
06-20-2005, 03:08 PM
Is there a way that the donater can write a note on donation and it can be viewed by the admins on the admincp donation thing ?

Thanks, and btw great job it work perfectly.

mamboking
06-20-2005, 05:29 PM
Hi All,

I just want to give some feedback because my questions and answer may help others who are trying this hack with vBulletin Version 3.0.3. I decided not to try to upgrade the previous install so I uninstalled v1.04 and installed v1.05 freash without any problems. Just two things....

1. (WISH) I think I would be nicer if the admin had the option to turn off displaying the donation amounts globally and if you really had some time on your hands maybe add that option at the point where you can add a donor.
2. (FEEDBACK) When I click on list all donors it goes the the correct screen but it changes the theme back to the default and the user is no longer logged in.

That's my 2 cents for now.

caimakale
06-20-2005, 06:41 PM
did that and all went well until I clicked Donation Administration and got this
----------------------------------------
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM donation_donors WHERE userid != '0'
mysql error: Table 'chitchat_chitchat.donation_donors' doesn't exist

mysql error number: 1146

Date: Monday 20th of June 2005 09:38:26 AM
Script: http://www.chitchatters.net/chitadmin/donation_admin.php
Referer: http://www.chitchatters.net/chitadmin/index.php?do=nav
---------------------------------------

the install process went of very smoothly and I got to the settings screen and completed that successfully. the save button on that page returned me to the settings screen itself (dont know if thats supposed to happen). When I logged into to my admincp and clicked Donation Administration, I got the above.

any idea guys ?

As always back your site up before you do any modifications, this includes your database! That said:

It sounds like your database wasn't properly installed. Did you have a previous version installed? If so, try uninstalling using the donations_install.php file. after you have successfully uninstalled everything with that script, run it again and try installing everything again.

Make sure you are using the latest version, and make sure that when you upload the files, you are actually overwriting the current files. I had that problem where my ftp client wouldn't overwrite for some odd reason, it would just skip them. I shut it down, rebooted, and tried again and it replaced all of the old files fine.

caimakale
06-20-2005, 06:45 PM
Is there a way that the donater can write a note on donation and it can be viewed by the admins on the admincp donation thing ?

Thanks, and btw great job it work perfectly.
The donater can enter a note on paypal's website. You can view it by going into the "View all valid/completed transactions" area and then select the transaction you want to see and click "view transactoin". In there are all of the transaction details including any comments the donater had.

ManofManyStangs
06-20-2005, 08:12 PM
There is a template change that is optional and located in the install file, that does add the image to the postbit of users.


I must have missed that step can someone please tell me what to add?


Larry

dsboyce8624
06-20-2005, 08:31 PM
I must have missed that step can someone please tell me what to add?


Larry

Run the installer, it's in there.

ManofManyStangs
06-20-2005, 08:56 PM
Will it hurt to run the installer after having it installed and working on my boards?

PixelFx
06-20-2005, 09:22 PM
This looks cool, does it make sure of the paypal subscription system in vbulletin or do I have to point a url to my IPN on paypal? If its not .. how hard would it be to setup this script to use the vbulletin subscription system rather than directly linking IPN? reason I ask is paypal only gives you access to using IPN url once :(

Cixxtynine
06-20-2005, 09:37 PM
The donater can enter a note on paypal's website. You can view it by going into the "View all valid/completed transactions" area and then select the transaction you want to see and click "view transactoin". In there are all of the transaction details including any comments the donater had.

Yes, I know it, I wanted to know if there's a way to sort their note in vbb admincp. Thanks

Cloudrunner
06-20-2005, 10:22 PM
This looks cool, does it make sure of the paypal subscription system in vbulletin or do I have to point a url to my IPN on paypal? If its not .. how hard would it be to setup this script to use the vbulletin subscription system rather than directly linking IPN? reason I ask is paypal only gives you access to using IPN url once :(
Actually, the script tells Paypal where to send the IPN for the transactions made through this system, so you can use it on multiple installs using only one paypal account...Thus the reason for the need to place the full URL to ppverify.php file in the settings, this is so that we can use multiple occurences of the same system on one paypal account...

Cloudrunner
06-20-2005, 10:23 PM
Will it hurt to run the installer after having it installed and working on my boards?No it will not hurt to run the installer again to view the file edits, just don't do an uninstall ;)

Cloudrunner
06-20-2005, 10:24 PM
Yes, I know it, I wanted to know if there's a way to sort their note in vbb admincp. Thanksyou've piqued my interest...explain...

Cloudrunner
06-20-2005, 10:25 PM
...2. (FEEDBACK) When I click on list all donors it goes the the correct screen but it changes the theme back to the default and the user is no longer logged in...Thank you for the kind words, I appreciate them. I will look into this problem, and see what I can come up with, gimme a day or so...

Cloudrunner
06-20-2005, 10:28 PM
did that and all went well until I clicked Donation Administration and got this
----------------------------------------
Database error in vBulletin 3.0.7:

Invalid SQL: SELECT * FROM donation_donors WHERE userid != '0'
mysql error: Table 'chitchat_chitchat.donation_donors' doesn't exist

mysql error number: 1146

Date: Monday 20th of June 2005 09:38:26 AM
Script: http://www.chitchatters.net/chitadmin/donation_admin.php
Referer: http://www.chitchatters.net/chitadmin/index.php?do=nav
---------------------------------------

the install process went of very smoothly and I got to the settings screen and completed that successfully. the save button on that page returned me to the settings screen itself (dont know if thats supposed to happen). When I logged into to my admincp and clicked Donation Administration, I got the above.

any idea guys ?Somewhere along the lines the installer did not install the tables at all...do me a favor and check your database to see if the following tables are installed:

donation_buttons
donation_currency_exchange
donation_donors
donation_goals
donation_paypalipn

Lizard306
06-21-2005, 05:23 AM
Somewhere along the lines the installer did not install the tables at all...do me a favor and check your database to see if the following tables are installed:

donation_buttons
donation_currency_exchange
donation_donors
donation_goals
donation_paypalipn


ok all were present except that the table donation_donors was named donation_donators. renamed and the error disappeared. will complete the rest of the settings and post back my level of success with this. for someone with close to 0 php or any coding knowledge whatsoever or DB for that matter... this really is a pretty simple install. thanks for this hack...

Lizard306
06-21-2005, 09:07 AM
Hi guys

fixed the issues and even made the button and link on the navbar and all works well except a couple things.

1) I have the goal indicator on my donations. Goal is set to $500. $5 was recieved as a donation it it shows that we received it and that 1% of the goal has been achieved. But the name of the donor doesnt show in the top donors list.

2) I want to change the goal indicator progress bar colors. Right now at even just 1% complete it shows a full black bar. Is something wrong there or are my colors mixed up? I did not change any colors from what was available as default during setup.

thanks

excellent hack CR, thanks a a ton for all your hardwork on this.

mkdevo
06-21-2005, 10:05 AM
love the new version! one question:

how/where can i change the $$ amounts that define which 'trophy' is shown for 'all donors'?

dsboyce8624
06-21-2005, 01:51 PM
love the new version! one question:

how/where can i change the $$ amounts that define which 'trophy' is shown for 'all donors'?

You cant. They are done by highest, second highest, third highest, and all others. You could always change the images.

mamboking
06-21-2005, 03:11 PM
Quick Note:

I recently noticed the the optional template edits running on vB 3.03 is kinda quarky. The donor button only works if I edit postbit but not postbit_legacy. But when they do show it shows for all users and not just the donors. The same for meminfo. I do have one question about meminfo button. is it suppose to be a button/badge for users who have donated or an easy access button for users to use to donate while viewing a profile? Again, because it shows for all users. The condition is set 0 but everyone is 1 in my database, even the ones I manually setup as donors

I'm not sure but I think the optional template edits displayed fine for 1.04

mkdevo
06-21-2005, 03:44 PM
You cant. They are done by highest, second highest, third highest, and all others. You could always change the images.

ahh.. i see. i was thinking the various images were attatched to 'levels' of donations..

...which would make for a nice addition to the hack! *hint*hint* ;)

Cloudrunner
06-22-2005, 12:34 AM
Quick Note:

I recently noticed the the optional template edits running on vB 3.03 is kinda quarky. The donor button only works if I edit postbit but not postbit_legacy. But when they do show it shows for all users and not just the donors. The same for meminfo. I do have one question about meminfo button. is it suppose to be a button/badge for users who have donated or an easy access button for users to use to donate while viewing a profile? Again, because it shows for all users. The condition is set 0 but everyone is 1 in my database, even the ones I manually setup as donors

I'm not sure but I think the optional template edits displayed fine for 1.04
Bug found...was introduced with the release of 1.05 in that I am using the donor = 1 to make it a viewable..blah blah...will fix it...sorry about that one guys...It will be in the next update, for now, kill out the optional template edits...again, sorry...

Cloudrunner
06-22-2005, 12:35 AM
ahh.. i see. i was thinking the various images were attatched to 'levels' of donations..

...which would make for a nice addition to the hack! *hint*hint* ;)
I am working on a category style awards system for the donations, but the all donors page is determined by the database, ie. it is a simple ORDER BY total DESC command.

dsboyce8624
06-23-2005, 03:37 AM
Bug found...was introduced with the release of 1.05 in that I am using the donor = 1 to make it a viewable..blah blah...will fix it...sorry about that one guys...It will be in the next update, for now, kill out the optional template edits...again, sorry...

If you don't add bugs in now and then, you won't be able to keep working on it!

Trana
06-23-2005, 06:04 AM
Cloudrunner,

I have been away on business for a while, but now that I am back I am glad to see there has been so much progress with this script.

I think I was running 1.1 a while back? Anyhow, I uploaded the new version files and did an uninstall, but received the following message:

Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

Is this a bug or did I do something wrong?

Thanks.

Marco van Herwaarden
06-23-2005, 08:15 AM
And also bugs keep people posting in your thread, so more people will read it and hopefully install it. ;)

Snetty
06-23-2005, 05:14 PM
ok, so i'm clearly a nub.

I'm not sure what I've done wrong. But my side bar doesn't display any options for making a payment.

linky (http://www.british-mercenaries.co.uk/cmps_index.php)

Anyone got any clues as to what i've done wrong?

//edit, ok, it turned out that because i'd got a separate image directory, i'd not put the buttons in that different folder. Maybe it'd be a good idea to look into overcoming that.

//2nd edit, Seems that wasn't my only problem. When i click on the donate button on the cmps page, it takes me to the donate.php page, but I can't see wehre to go from there.

dsboyce8624
06-23-2005, 05:51 PM
You must create a goal and then create a button (if you want your buttons tied to goals) in the admincp.

KevinL
06-23-2005, 05:53 PM
In the admincp you have to create a 'button' ...a goal, for people to donate too.

**Edit..what he said ^^ :laugh:

dsboyce8624
06-23-2005, 05:55 PM
Also, for those of you using the Compress Templates Hack you need to add the "all donations" templates (there are two of them) to the bad list, it can mess them up.

Snetty
06-23-2005, 06:09 PM
all sorted.. thanks guys

caimakale
06-23-2005, 10:45 PM
Also, for those of you using the Compress Templates Hack you need to add the "all donations" templates (there are two of them) to the bad list, it can mess them up.

I use that hack and don't have any problems with my pages. What are you seeing as a problem just in case I don't notice. I also only have 4 donors so far, do you have more and is that the problem???

dsboyce8624
06-23-2005, 11:47 PM
I use that hack and don't have any problems with my pages. What are you seeing as a problem just in case I don't notice. I also only have 4 donors so far, do you have more and is that the problem???

On the show all donors page it messed up the users who did not have avatars, the no avatar image did not display because the URL was hosed.

caimakale
06-24-2005, 12:45 AM
ahhh, yep all my donors have avatars. I will have to make those changes.

dsboyce8624
06-24-2005, 01:20 AM
You can imagine how frustrating it was the first time I had a template hosed by it and didn't know what it was. But it does make things go faster.

Neutral Singh
06-24-2005, 05:30 AM
woohooooo !! i just got my first donation using this hack !! thanks you !!

The only missing feature in this beautiful hack is the option for enabling members to make automated recurring donations. i am sure its not a big deal. :)

Thanks again

Lizard306
06-24-2005, 05:40 AM
Hi,

I had posted this a couple days back... no replies on that so thought I'll try it once more...

1) I have the goal indicator on my donations. Goal is set to $500. $5 was recieved as a donation and it shows that we received it and that 1% of the goal has been achieved. But the name of the donor doesnt show in the top donors list.

2) I want to change the goal indicator progress bar colors. Right now at even just 1% complete it shows a full black bar. Is something wrong there or are my colors mixed up? I did not change any colors from what was available as default during setup.

thanks guys and sorry for this dual post.

dsboyce8624
06-24-2005, 01:22 PM
Hi,

I had posted this a couple days back... no replies on that so thought I'll try it once more...

1) I have the goal indicator on my donations. Goal is set to $500. $5 was recieved as a donation and it shows that we received it and that 1% of the goal has been achieved. But the name of the donor doesnt show in the top donors list.

2) I want to change the goal indicator progress bar colors. Right now at even just 1% complete it shows a full black bar. Is something wrong there or are my colors mixed up? I did not change any colors from what was available as default during setup.


thanks guys and sorry for this dual post.

CR will have to help you with why the donors name doesn't show up. But you might wanna have a look in the admin screen and see if the transaction shows up in the completed section.

As for colors they are set in the settings section in acp, I changed mine to red and green. As a test edit your goal and make it 50% reached so you can see the colors. If you do that and it stays black post back.

caimakale
06-24-2005, 02:12 PM
Doesn't this latest version have an option where donators can choose whether or not they want their names displayed???

If so, it sounds like they chose not to be seen. If you wish to override that decision, you can make the change in your database, in the "user" table, look for the donor field. If that field is at 0, you can change it to 1 to make the user show up. But remember, if your user didn't want to be recognized, you might make them mad. If they did however, show up in past versions and not the most recent upgrade, just make the change to the user database. I had that same problem where it didn't update all my donors to show up as having donated.

vonedaddy
06-24-2005, 04:32 PM
Love this hack! Works great, except one small problem. Some of the images (looks like they are generated by pp_image.php) do not show up. Other than that it seems to be working fine.

Please help.

DemonJester
06-24-2005, 04:36 PM
When using a module designed for the vBa CMPS v1 in v2, the default type doesn't carry over. So All I did was:

Go to your admincp--vBa CMPS--Edit Modules--Donations

In the dropdown list for 'Change Module Type' select PHP

File to include:
donate.php

Module parent:
none

Templates Used:
adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user

Clean File Output
No

Those are my settings, works no problem-o :D


Anyone get this to work for vBa CMPS V2?? I tried it twice and I dont get any sideblock displayed.

BTW Excellent Hack!!! Just need to get it working with cmps v2 ;)


EDIT: Nevermind I got it figured out.. It was an ID10T error on my part..

dsboyce8624
06-24-2005, 08:43 PM
Anyone get this to work for vBa CMPS V2?? I tried it twice and I dont get any sideblock displayed.

BTW Excellent Hack!!! Just need to get it working with cmps v2 ;)


EDIT: Nevermind I got it figured out.. It was an ID10T error on my part..

It happens. I missed something in the instructions for a hack yesterday, and even told the author he should add it.

But it was right there.

Go figure.

DemonJester
06-25-2005, 12:58 AM
Quick question. I performed all of the template edits including the optional ones, and now everyone of my members has a DONOR button under the icons in their post. After looking at the template edits this makes sense as one of the edits puts it there.

Can I make a request for a possible future addition. Is there any way to add some kind of check at the postbit/postbit legacy and MemberInfo section and see if the user in fact has donated, and if so display the DONOR image. If they didnt donate, display a DONATE button. I am sure this probably wouldnt be too difficult since the DONORS are already stored in a table that can be queried to see if it matches the users id, problem is I am not a coder so I have no idea how to do it.

Of course if you add the new usergroup function you stated in a previous post that could also be used as a check.

Just a suggestion.

Thanks again for the great hack.

caimakale
06-25-2005, 05:18 AM
Quick question. I performed all of the template edits including the optional ones, and now everyone of my members has a DONOR button under the icons in their post. After looking at the template edits this makes sense as one of the edits puts it there.

Can I make a request for a possible future addition. Is there any way to add some kind of check at the postbit/postbit legacy and MemberInfo section and see if the user in fact has donated, and if so display the DONOR image. If they didnt donate, display a DONATE button. I am sure this probably wouldnt be too difficult since the DONORS are already stored in a table that can be queried to see if it matches the users id, problem is I am not a coder so I have no idea how to do it.

Of course if you add the new usergroup function you stated in a previous post that could also be used as a check.

Just a suggestion.

Thanks again for the great hack.

Actually, the donor button shouldn't show up in postbit unless the user has donated. It sounds like you missed part of the opening <if> statement.

Here is the code to show the "Donor" buttton for those that donated, and the "Donate" button for those who haven't donated.

In postbit or posbit legacy (edit the file you use for your forums, or both) find:
<if condition="$post['donor'] != '0'"><div><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0"></a></div></if>

And replace it with:
<if condition="$post['donor'] != '0'"><div><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0"></a></div><else /><div><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_button.gif" border="0"></a></div></if>
It's a very simple hack to cloudrunners existing code.

dsboyce8624
06-25-2005, 05:39 AM
Is it me, or are they both the same?

caimakale
06-25-2005, 05:51 AM
no...there is an <else /> statement in the second one.

dsboyce8624
06-25-2005, 02:12 PM
no...there is an <else /> statement in the second one.

LOL, musta been really tired.

Cloudrunner
06-25-2005, 04:20 PM
The all users showing as a donor is a verified bug folks, I am fixing that as I write this.

Sorry for the length of time in replies, had to play daddy for a week to satiate my wife (I cut my son's long two year old hair for the first time, let's just say she was less than pleased with me...).

Anyway, expect an interrim update shortly...

vonedaddy
06-25-2005, 04:24 PM
Someone please help:

I love this hack and need help with two small things.

1) I cant get the pp_image.php to work. All the images dont show up.

2) Is there a way to clear the total every month?

I appreciate anyones help on this.

Cloudrunner
06-25-2005, 04:27 PM
Someone please help:

I love this hack and need help with two small things.

1) I cant get the pp_image.php to work. All the images dont show up.pp_image ONLY draws the graphics bars for the goal totals folks, that's all it does...if you are having problems with broken images check to make sure that you have uploaded the supplied images to the misc and buttons directories within the ./images directory, and have your style settings pointing to the correct directory for the buttons and the misc directory...2) Is there a way to clear the total every month?

I appreciate anyones help on this.Yes, you can go into your adminCP and edit the goal itself and set the total donated to '0'

Cloudrunner
06-25-2005, 05:31 PM
Iterrim Update folks--

It seems that I added a small bug where all of your users were being identified as donors regardless of their donaiton status. This have been fixed, simply upload ALL of the new files and run the upgrader. After you have done this YOU MUST REDO ALL THE FILE AND TEMPLATE MODIFICATIONS!!!

Specifically the modifications to the files ./profile.php, and the templates modifyoptions, postbit/postbit legacy, and MEMBERINFO.

This will make the system correctly recognize the donors to your site, this is also inline with whether the users have chosen to be shown as a donor as well. You may want to tell your users to redo their show donor option to refresh their setting if they don't want their status publicly shown as the system will by default mark everyone as a donor after this upgrade until they choose otherwise...also, you will need to identify your donors again by setting their donor column in the user table back to '1'...side effect of the fix, sorry...

As always, Love and light to you all...

)O( Cloudrunner )O(

dsboyce8624
06-25-2005, 07:23 PM
The all users showing as a donor is a verified bug folks, I am fixing that as I write this.

Sorry for the length of time in replies, had to play daddy for a week to satiate my wife (I cut my son's long two year old hair for the first time, let's just say she was less than pleased with me...).

Anyway, expect an interrim update shortly...

Look, CR transformed his daughter into a son!!!!

:banana:

guvner
06-25-2005, 08:32 PM
Hi Cloudrunner :)

A few questions:

1. I'm sitting nicely on 1.04 and all is well. I have for some time manually added a sponsor gif to the legacy postbit (by adding an html image call in custom user titles) whenever someone donated and have continued to do that with your hack. Now that there is a postbit addon to automate this, could I please get a look (screenie) from anybody to see how it looks, just to make sure it won't spoil my legacy postbit's appearance?

2. Assuming that I upgrade to 1.06, and given that I have made a number of template changes (including the VBA templates), will the upgrade wipe all those? - and if so, is there an easy way to upgrade without having to redo the edits for the 3rd time :ermm:

3. Same as 2 but with phrases, does the upgrade reset all phrases to original?

I'm reluctant to upgrade ATM because I found that several of the changes to templates I needed to make turned out to be a combination of template and phrase in a single statement, also, I made AUD as the default currency in donatebits (I had a couple of locals donate in USD) :squareeyed:

So I guess my final question is, if I am going to have to redo all previous edits, would you have a an approximate ETA on the final, because I might simply wait for that to avoid having to do it all again?

BTW, congrats from me again on great work - and my members have made a lot of very complimentary remarks as well!

Thanks,

Mike :)

Cloudrunner
06-25-2005, 09:36 PM
...Assuming that I upgrade to 1.06, and given that I have made a number of template changes (including the VBA templates), will the upgrade wipe all those? - and if so, is there an easy way to upgrade without having to redo the edits for the 3rd time...Unfortunately there were some extensive template changes with the upgrade to 1.05, not so many with 1.06, so you'd need to revert some of the templates, of course, you don't have too, but you'd lose functionality...3. Same as 2 but with phrases, does the upgrade reset all phrases to original?The phrases if you have translated them will not goof anywhere, as long as you did a translation and not an edit.I'm reluctant to upgrade ATM because I found that several of the changes to templates I needed to make turned out to be a combination of template and phrase in a single statement, also, I made AUD as the default currency in donatebits (I had a couple of locals donate in USD) :squareeyed:Now see, had you simply set your base currency to AUD in the settings when you upgraded to 1.04 and then followed the first post's instructions on how to get the system to react to a currency change, you wouldn't have to worry about this as the system does default to your chosen base currency (and sets the pricing accordingly) once you set it, it has acted this way as of 1.04, so you didn't need to do those template changes for the most part as it already does this for you ;). If you re-read the first post it explains in detail how to get the system to react properly to a base currency change.So I guess my final question is, if I am going to have to redo all previous edits, would you have a an approximate ETA on the final, because I might simply wait for that to avoid having to do it all again?There will never be an ETA on a "final" as this will always be a work in progress depending on Paypal and VB, but for the most part 1.06 is the most stable version to date.BTW, congrats from me again on great work - and my members have made a lot of very complimentary remarks as well!

Thanks,

Mike :)Thank you for the praise, I appreciate it.

)O( CR )O(

DemonJester
06-26-2005, 12:51 AM
Thanks for the quick fix. Sorry if it was already posted as a known bug, this is a very large thread and I couldnt find any info on it..

vonedaddy
06-26-2005, 01:24 AM
pp_image ONLY draws the graphics bars for the goal totals folks, that's all it does...if you are having problems with broken images check to make sure that you have uploaded the supplied images to the misc and buttons directories within the ./images directory, and have your style settings pointing to the correct directory for the buttons and the misc directory...

All the images are uploads and the graphic bars still do not show up. All the other images are fine except that bar graph. Any ideas? I appreciate your help.

Cloudrunner
06-26-2005, 01:28 AM
got an addy I can look at?

vonedaddy
06-26-2005, 02:55 AM
got an addy I can look at?

Sorry, www.hereyah.com

Snake
06-26-2005, 10:56 AM
The all users showing as a donor is a verified bug folks, I am fixing that as I write this.

Sorry for the length of time in replies, had to play daddy for a week to satiate my wife (I cut my son's long two year old hair for the first time, let's just say she was less than pleased with me...).

Anyway, expect an interrim update shortly...

Spikey! I like spikey hairs. :nervous:

Cloudrunner
06-26-2005, 12:57 PM
Sorry, www.hereyah.com
Does your server have GD image libraries installed? Especially the GD libraries specifically to create PNG file images? If not you'll get blanks like I'm seeing there...you should be able to see this in your phpinfo();

vonedaddy
06-26-2005, 01:35 PM
It does have GD2 installed, I beleive. Is there somewhere I have to give a path or something to GD?

Cloudrunner
06-26-2005, 06:22 PM
It does have GD2 installed, I beleive. Is there somewhere I have to give a path or something to GD?
nope, no paths needed, but you'll need to check and make sure that PNG compatibility in enabled...without it yer gonna get blanks...I'm strongly suspecting that this may be your problem as I haven't heard of anyone else running into issues with that part of the system yet...

caimakale
06-27-2005, 04:58 AM
Cloudrunner, I checked my logs today (I haven't checked them in a long time) and found that this error still exists:

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/########/public_html/includes/pp_image.php:46) in /home/########/public_html/includes/pp_image.php on line 47

This is the exact same problem I had before, and although it doesn't produce any errors on my site or cause any problems that I can see, it is showing up in my server error logs.

Any ideas???

DemonJester
06-27-2005, 12:50 PM
I have a question regarding the "Show my donation status" in the users options. If they select to not show their status will this hide their donations in the "vbadvanced block" and on the top donators page, or does it simply hide it from their profile and post bit??

There are some users that would rather keep their name off of the donation list and block and others that dont care, according to a poll we ran in regards to using this.

Snake
06-27-2005, 02:51 PM
Question. Do I've to be a verified paypal user inorder to use this hack?

Oap JTRipper
06-27-2005, 02:51 PM
thx for this hack CR

just one problem

the donations bar doesnt update & it still says 0% has been donated when I have paid a paypal donation

If i go into the admin & edit it then it does show up

ps it was from funds in my paypal account so its not a cc issue

rinkrat
06-27-2005, 03:27 PM
Ahh I thought I did the upgrade ok and when I changed my invisible preference I got an error:

Database error in vBulletin 3.0.5:

Invalid SQL:
UPDATE user SET
styleid = 0,
showvbcode = 0,
pmpopup = 1,
maxposts = -1,
daysprune = 0,
timezoneoffset = '-8',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
donor = ,
showdonor = 1,
options = 15831
WHERE userid = 1

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
showdonor = 1,
options = 15831
WHERE userid = 1' at li

mysql error number: 1064

Date: Monday 27th of June 2005 09:21:01 AM
Script: http://www.letsgokings.com/bbs/profile.php
Referer: http://www.letsgokings.com/bbs/profile.php?do=editoptions

The Realist
06-27-2005, 04:29 PM
Installed 1st time, no errors and working 100%

Nice one M8.

Thanks.

rinkrat
06-27-2005, 04:40 PM
The line "donor = ," looks like it should either say 1 or 0.

mamboking
06-27-2005, 06:41 PM
I ran the upgrade and it still shows all users as donors

|Jordan|
06-27-2005, 08:46 PM
I'm using version 1.06 and the donation image in postbit_legacy doesn't display for me. When i remove both IF statements it displays, but with them i get nothing.

Anyone else having the same problem?

Trana
06-27-2005, 10:17 PM
Cloud,

I'm not sure if you saw my last message, but I am having trouble upgrading. I uploaded the 1.06 files and tried to uninstall and received the following message:

Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

This is on the same screen as "Removing Tables..."

Do you have any idea what I should check?

Thanks.

Cloudrunner
06-27-2005, 11:53 PM
I have a question regarding the "Show my donation status" in the users options. If they select to not show their status will this hide their donations in the "vbadvanced block" and on the top donators page, or does it simply hide it from their profile and post bit??

There are some users that would rather keep their name off of the donation list and block and others that dont care, according to a poll we ran in regards to using this.
Yes, it hides all the donor recognitions...

Cloudrunner
06-27-2005, 11:54 PM
Verified no, premiere or Business member, yes...Question. Do I've to be a verified paypal user inorder to use this hack?

Cloudrunner
06-27-2005, 11:55 PM
Ahh I thought I did the upgrade ok and when I changed my invisible preference I got an error:

Database error in vBulletin 3.0.5:

Invalid SQL:
UPDATE user SET
styleid = 0,
showvbcode = 0,
pmpopup = 1,
maxposts = -1,
daysprune = 0,
timezoneoffset = '-8',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
donor = ,
showdonor = 1,
options = 15831
WHERE userid = 1

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
showdonor = 1,
options = 15831
WHERE userid = 1' at li

mysql error number: 1064

Date: Monday 27th of June 2005 09:21:01 AM
Script: http://www.letsgokings.com/bbs/profile.php
Referer: http://www.letsgokings.com/bbs/prof...?do=editoptions (http://www.letsgokings.com/bbs/profile.php?do=editoptions)
Verified bug...will fix in next update...Thank you!

Cloudrunner
06-27-2005, 11:57 PM
I ran the upgrade and it still shows all users as donorsYeah, I missed a step in the upgrade, will work the deets out and get the next update to you all....sorry...this is a verified bug and I am working on it.

Cloudrunner
06-27-2005, 11:58 PM
I'm using version 1.06 and the donation image in postbit_legacy doesn't display for me. When i remove both IF statements it displays, but with them i get nothing.

Anyone else having the same problem?
This is designed (with a bug unfortunately that I am working on at the moment) so that the donor thing only shows IF the user is a donor, AND the user has chosen to allow their status to be viewed publicly...

anyway, I goofed on the file edits, and will be updating that portion shortly...please bear with me, all these latest problems are caused by the same single bug...

Cloudrunner
06-27-2005, 11:59 PM
Cloud,

I'm not sure if you saw my last message, but I am having trouble upgrading. I uploaded the 1.06 files and tried to uninstall and received the following message:

Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

This is on the same screen as "Removing Tables..."

Do you have any idea what I should check?

Thanks.
If you are getting an explode error then you are running an older version of the uninstall file. Verify that you are truly overwriting the files on your server, I will double check this, but I thought I removed all references to the explode function that was getting so many people headaches...

Trana
06-28-2005, 12:26 AM
I checked and the donations_install script says 1.06 when I first log in.

This is the error message:
Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

Let me know what I should do to start over.

Cloudrunner
06-28-2005, 12:49 AM
I checked and the donations_install script says 1.06 when I first log in.

This is the error message:
Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

Let me know what I should do to start over.

In ./admincp/donation_install/donation_uninstall.php line 19 find:foreach($row AS $key => $value){
$table = explode(TABLE_PREFIX, $value);
$DB_site->query("DROP TABLE IF EXISTS ".TABLE_PREFIX.$table[1]);
}and replace with:foreach($row AS $key => $value){
if (!empty(TABLE_PREFIX)){
$table = explode(TABLE_PREFIX, $value);
$DB_site->query("DROP TABLE IF EXISTS ".TABLE_PREFIX.$table[1]);
} else {
$DB_site->query("DROP TABLE IF EXISTS ".$value);
}
}That should do ya for a fix, lemme know if it doesn't.

Cloudrunner
06-28-2005, 01:06 AM
Ahh I thought I did the upgrade ok and when I changed my invisible preference I got an error:

Database error in vBulletin 3.0.5:

Invalid SQL:
UPDATE user SET
styleid = 0,
showvbcode = 0,
pmpopup = 1,
maxposts = -1,
daysprune = 0,
timezoneoffset = '-8',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = -1,
donor = ,
showdonor = 1,
options = 15831
WHERE userid = 1

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
showdonor = 1,
options = 15831
WHERE userid = 1' at li

mysql error number: 1064

Date: Monday 27th of June 2005 09:21:01 AM
Script: http://www.letsgokings.com/bbs/profile.php
Referer: http://www.letsgokings.com/bbs/profile.php?do=editoptionsGo into your profile.php and remove the line that says donor = $donor,You are only supposed to add the showdonor = $showdonor,. that will fix your problem.

Cloudrunner
06-28-2005, 01:30 AM
For those of you who upgraded to 1.06 and are now getting all users showing as donors, etc.please verify that the file edits for profile.php have been done properly. You should only have the word showdonor in that file for the required file edits, if you have the word donor in the file edits on your profile.php then remove that line and make sure that your profile.php file is edited according to how the instructions in the installer state.

The confusion happend in the change from 1.05 to 1.06, in 1.05 I had you put the word donor, in 1.06 I changed that word to showdonor due to a mistake I had done in the coding...sorry about that.

To summarize, please change the three file edits to show ONLY what is in the installation instructions and remove any line with the word donor in the code...there are only three edits to profile.php, and only those three will make the system work properly. After you have done this, if there are still problems with the users showing as donors that have not donated, then run the following query to reset the user table and then you will need to manually change the donors back to show their correct status:UPDATE *INSERTYOURTABLEPREFIX*user SET donor = '0', showdonor = '1';adjust the tableprefix for your site obviously. To reset the users that have donated to your site back to a donor status, then just go into the donations admin and edit each donor individually and then click save, don't change anything, just click save, the system will then mark that user as a donor. All done...

Sorry about the foul up, but unfortunately, there is no real easy fix for this problem that was introduced between 1.05 and 1.06. But we shouldn't run into the problem again from this point forward...

Please let me know how this works out for you all...I really cannot think of another way to fix that problem...

Trana
06-28-2005, 01:59 AM
After the uninstall completes it just goes to a blank screen.

I ran the install script but am only presented with 3 options:
File Edits
Templates Only
Uninstall

I don't see the option for the basic install, so where does it install the tables in the database?

rinkrat
06-28-2005, 02:03 AM
Ok after removing the donor line in Profile.php it's all good. Unfortunately anyone who changed their profile during the time it was hacked has lost all their user info. Oops!

Good thing you came through with the fix pretty quick!

Cloudrunner
06-28-2005, 02:05 AM
After the uninstall completes it just goes to a blank screen.

I ran the install script but am only presented with 3 options:
File Edits
Templates Only
Uninstall

I don't see the option for the basic install, so where does it install the tables in the database?
the uninstall should finish in one page completely, if it doesn't give you a button to go back to the installer main page, then it did not uninstall properly...Please re-up the uninstaller completely, but before you do that, delete it from your server. That way you are garaunteed to have the fresh copy...

Once you finish the unistall properly then go back to the installer through the button it will give you the base installer and nothing but.

If you are still having troubles with this tomorrow, then please hit me at bubbabriggs@msn.com on MSN messenger after 6 PM EST and I'll see about fixing your installation on your site, mayhap I'll figure out a fix to the problem that will help the entire crew, but at this point, I'm lost as to what may be causing your problem...

rinkrat
06-28-2005, 02:05 AM
I was going to uninstall and then reinstall and got this

Warning: explode(): Empty delimiter. in /admincp/donation_install/donation_uninstall.php on line 20


Database error in vBulletin 3.0.5:

Invalid SQL: DROP TABLE IF EXISTS
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Monday 27th of June 2005 08:02:10 PM
Script: http://www.letsgokings.com/bbs/admincp/donations_install.php
Referer: http://www.letsgokings.com/bbs/admincp/donations_install.php
Username: RinkRat
IP Address: 66.214.41.130

Cloudrunner
06-28-2005, 02:06 AM
Ok after removing the donor line in Profile.php it's all good. Unfortunately anyone who changed their profile during the time it was hacked has lost all their user info. Oops!

Good thing you came through with the fix pretty quick!
how did they lose their userinfo? Just curious...

Cloudrunner
06-28-2005, 02:06 AM
I was going to uninstall and then reinstall and got this

Warning: explode(): Empty delimiter. in /admincp/donation_install/donation_uninstall.php on line 20


Database error in vBulletin 3.0.5:

Invalid SQL: DROP TABLE IF EXISTS
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Date: Monday 27th of June 2005 08:02:10 PM
Script: http://www.letsgokings.com/bbs/admincp/donations_install.php
Referer: http://www.letsgokings.com/bbs/admincp/donations_install.php
Username: RinkRat
IP Address: 66.214.41.130
read the fix to this, I've addressed it just a few posts ago with Trana...

Trana
06-28-2005, 02:20 AM
You are saying to run the /donation_install/donation_uninstall.php?

When I call that directly from the browser I get a totally blank page. Are there any edits in order to call it directly?

Cloudrunner
06-28-2005, 02:24 AM
You are saying to run the /donation_install/donation_uninstall.php?

When I call that directly from the browser I get a totally blank page. Are there any edits in order to call it directly?
No you have to run the uninstaller from the installer....ie. donations_install.php.

Yer not going to get anything if you call the uninstall file directly.

What I am saying is delete the donation_uninstall.php file from your server, then upload it again with the fixes given earlier. Then run the installer and select uninstall as per usual. This *should* get you back to a clean slate. Let me know if there is an issue...

Trana
06-28-2005, 02:34 AM
OK, I deleted admincp/donation_install/donation_uninstall.php

I reuploaded the file from 1.0.6. I also checked the admincp/donations_install.php:
/*================================================= =====================*\
|| ################################################## ################## ||
|| # donations_install -- fileversion 1.06 # ||
|| # Date Version Finalized -- 25 June 2005 # ||
|| ################################################## ################## ||
\*================================================ ======================*/

You should note that I was one of the original alpha testers. I have uploaded all of the files in 1.0.6 zip and also completed the file updates from the 1.0.6 (snce this is the only thing I can do at the moment).

Cloudrunner
06-28-2005, 02:40 AM
OK, I deleted admincp/donation_install/donation_uninstall.php

I reuploaded the file from 1.0.6. I also checked the admincp/donations_install.php:
/*================================================= =====================*\
|| ################################################## ################## ||
|| # donations_install -- fileversion 1.06 # ||
|| # Date Version Finalized -- 25 June 2005 # ||
|| ################################################## ################## ||
\*================================================ ======================*/

You should note that I was one of the original alpha testers. I have uploaded all of the files in 1.0.6 zip and also completed the file updates from the 1.0.6 (snce this is the only thing I can do at the moment).
So are you able to uninstall? If not hit me tomorrow on MSN, I have to get to bed...We'll overhaul your donations system on your server...

Trana
06-28-2005, 02:42 AM
No, I am not able to uninstall. When I go to the install page there are only 3 options. When I click on uninstall I get the following error:
Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

I will send you an IM tomorrow.

Thanks.

rinkrat
06-28-2005, 02:51 AM
how did they lose their userinfo? Just curious...


Well I changed one user's info and saved it and suddenly all of their fields were empty. It happened a couple of other times.

rinkrat
06-28-2005, 02:53 AM
No, I am not able to uninstall. When I go to the install page there are only 3 options. When I click on uninstall I get the following error:
Warning: explode() [function.explode]: Empty delimiter. in \admincp\donation_install\donation_uninstall.php on line 20

I will send you an IM tomorrow.

Thanks.


That's what I got. I wanted to uninstall then reinstall but I guess I'll let it go and hope for the best tll this gets fixed. Nobody's donated so no big deal :)

Kalakov
06-28-2005, 10:02 AM
damn sweet hack nice work !!!

Lizard306
06-28-2005, 11:26 AM
CR

The uprgade went of prefectly and the donor names now appear.

Only 1 problem left to solve and that is the progress bar for the goal thats been set. The goal is set to $500. We have recieved 4% ($20). The progress bar however is just black all the way across.

It might be a colors issue... is there anyway for me to change the colors of the progress bar from the Donation Admin or Donation Settings pages.

thanks

|Jordan|
06-28-2005, 04:56 PM
I tested it with my own account; did a test donation and enabled postbit display. Still can't see anything.

jaks
06-28-2005, 05:52 PM
This hack is awesome. just what my site needed.

Thanks Cloudrunner and all else involved. ;)

artonex
06-28-2005, 09:53 PM
Installed this on my forums for the 1st time last night.

Got this in my email

Notification of a Pending eCheque Payment Received

This email confirms that you have received a Pending eCheque payment for $40.00 USD from andre bay (***********).

This eCheque payment will remain 'Uncleared' until the funds have cleared from the sender's account, which usually takes four working days. If you are shipping an item, please do not ship your item until the funds have cleared into your PayPal account. You will be notified by email when the funds have cleared into your PayPal balance.

But nothing is showing up, no % of progress bar filed, and the user has no special icon under him, and he isnt even showing up on the donations page.

Do i have to wait untill the money has cleared before he shows up as a donator?

Cloudrunner
06-29-2005, 12:28 AM
Installed this on my forums for the 1st time last night.

Got this in my email

Notification of a Pending eCheque Payment Received

This email confirms that you have received a Pending eCheque payment for $40.00 USD from andre bay (***********).

This eCheque payment will remain 'Uncleared' until the funds have cleared from the sender's account, which usually takes four working days. If you are shipping an item, please do not ship your item until the funds have cleared into your PayPal account. You will be notified by email when the funds have cleared into your PayPal balance.

But nothing is showing up, no % of progress bar filed, and the user has no special icon under him, and he isnt even showing up on the donations page.

Do i have to wait untill the money has cleared before he shows up as a donator?
yes it must be marked as Cleared to show up on the donors page or anywhere else on the main site, although you should see it in the pending transactions in the admincp.

Cloudrunner
06-29-2005, 12:29 AM
The color settings are in the admincp in the donation settings...unless you didn't install the vbadvanced...SH!T! got that figered out, yet another screw up on my part, sorry...will get that fixed too....damnit...

Sorry folks long freakin day, and I just got home...CR

The uprgade went of prefectly and the donor names now appear.

Only 1 problem left to solve and that is the progress bar for the goal thats been set. The goal is set to $500. We have recieved 4% ($20). The progress bar however is just black all the way across.

It might be a colors issue... is there anyway for me to change the colors of the progress bar from the Donation Admin or Donation Settings pages.

thanks

Cloudrunner
06-29-2005, 12:55 AM
Small update to 1.07 folks...

I fixed a colors option problem in the donations settings in that if you did not have the module install for VBACMPS, then you had no options to change your site colors for the graph...anyway, that's been addressed.

Also, I've dealt with the uninstaller problem with the explode error. That should no longer plague us. If you wish to uninstall then go ahead, but as that error dies out on the first query, nothing has changed in your database if you uninstall goofed, so a simple upgrade will fix your probs at this point (*should*).

Anyway, please let me know if any problems still are hanging around after this fix....

Again, as always, overwrite EVERY FILE (sans the images if you've got them just the way you want them, blah blah blah...) on your server with the new ones to ensure that you have the most current code.

Trana
06-29-2005, 02:14 AM
Uninstall works perfectly now. Installer is very smooth as well.

I received two donations. The first one was from a user that was not logged in, so I only got their IP address and they weren't added to the top donors list. The I received a donation from a member and it added them to the list ok, but I received an email with this SQL error:

Invalid SQL: UPDATE user SET donor = '1' WHERE userid = 2'
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1

artonex
06-29-2005, 08:44 AM
Hey CR, why is a deleted user showing up as a donar?

https://vborg.vbsupport.ru/

Madmax4321
06-29-2005, 09:34 AM
well i tried using it but had few problems they include when donating it allways showed usd and regardless of setting it different in admincp it made no difference at all.
the ipn didnt work for me i tried entering the url in paypal under ipn settings and it never returned anything and ipn was turned on.
all ipn urls were set in donation settings but still nothing.

any ideas ??

Trana
06-29-2005, 03:46 PM
Cloud,

In addition to the problem I listed above, I also noticed that the users are not having the donor icon added to their posts. Perhaps the two are related. Please note I am using legacy postbit to display posts with the user name on the side.

Also, how do I remove the actual amount of the top donors from the CMPS module? I can't seem to find it in any of the templates.

Thanks.

caimakale
06-29-2005, 11:08 PM
CR,

Sorry to report but the same error is still sticking around. Maybe somebody else using a webhost with CPanel can confirm this error on their site.

Here is the specific error:

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/********/public_html/includes/pp_image.php:45) in /home/********/public_html/includes/pp_image.php on line 46

Not sure why its doing this, but this shows up a million times in my logs. Everytime somebody visits the site this shows up. But no errors are displayed on the site itself.

Cloudrunner
06-29-2005, 11:30 PM
Uninstall works perfectly now. Installer is very smooth as well.

I received two donations. The first one was from a user that was not logged in, so I only got their IP address and they weren't added to the top donors list. The I received a donation from a member and it added them to the list ok, but I received an email with this SQL error:

Invalid SQL: UPDATE user SET donor = '1' WHERE userid = 2'
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1check to make sure that you have the column 'donor' as well as the column 'showdonor' in your usertable.

Cloudrunner
06-29-2005, 11:32 PM
Hey CR, why is a deleted user showing up as a donar?

http://sigstorage.com/upload/1222-Untitled-1.jpg
I don't know, I'd ahve to look at your system to find out. at this point I can only speculate that the user is not "deleted" as vb is still finding their username (instead of simply Guest).

Cloudrunner
06-29-2005, 11:33 PM
Cloud,

In addition to the problem I listed above, I also noticed that the users are not having the donor icon added to their posts. Perhaps the two are related. Please note I am using legacy postbit to display posts with the user name on the side.

Also, how do I remove the actual amount of the top donors from the CMPS module? I can't seem to find it in any of the templates.

Thanks.
your problem is most likely due to a missing column in your user table. Check for the 'donor' and 'showdonor' columns at the end of the table.

Cloudrunner
06-29-2005, 11:34 PM
CR,

Sorry to report but the same error is still sticking around. Maybe somebody else using a webhost with CPanel can confirm this error on their site.

Here is the specific error:

PHP Warning: Cannot modify header information - headers already sent by (output started at /home/********/public_html/includes/pp_image.php:45) in /home/********/public_html/includes/pp_image.php on line 46

Not sure why its doing this, but this shows up a million times in my logs. Everytime somebody visits the site this shows up. But no errors are displayed on the site itself.
ROFLMAO

I figured it out I think, but I have to now figure out the work around....gimme abit to fix the issue.

And btw, I'm running cpanel, and my error logs show nothing for pp_image.php...

Here's what's happening though, pp_image.php send a header telling the browser what type of image it is outputting to the donation script for the bar graph (in this case a .PNG file). But it is called AFTER global.php is called, therefore, the headers have alredy been sent for the system. Here's my question to you, what version of PHP is your server running?

Cloudrunner
06-29-2005, 11:53 PM
Please, everyone, DL this interrim bug fix file to ppverify.php. It addresses a missing single quote preventing proper posting of the donors to the database.

This should fix a few problems...just unzip and upload to your server overwriting the old one.

It goes in ./ppverify.php

*kicks back to wait and see what happens...*

caimakale
06-30-2005, 02:11 AM
ROFLMAO

I figured it out I think, but I have to now figure out the work around....gimme abit to fix the issue.

And btw, I'm running cpanel, and my error logs show nothing for pp_image.php...

Here's what's happening though, pp_image.php send a header telling the browser what type of image it is outputting to the donation script for the bar graph (in this case a .PNG file). But it is called AFTER global.php is called, therefore, the headers have alredy been sent for the system. Here's my question to you, what version of PHP is your server running?


4.3.11

artonex
06-30-2005, 07:34 AM
I don't know, I'd ahve to look at your system to find out. at this point I can only speculate that the user is not "deleted" as vb is still finding their username (instead of simply Guest).

Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.

guvner
06-30-2005, 09:23 AM
Man Oh Man!!

I just installed 1.07 - I got all the way to the end and all seemed well then BANG - it brought my whole site down!

The error I received was as follows:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT donor.userid, donor.total, user.username
FROM vb3_donation_donators AS donor
LEFT JOIN vb3_user AS user ON(user.userid = donor.userid)
WHERE donor.userid != '0'
ORDER BY total DESC
LIMIT 0,5

mysql error: Table database_name.vb3_donation_donators' doesn't exist

mysql error number: 1146

Date: Thursday 30th of June 2005 05:08:59 AM
Script: http://www.xpmediacentre.com.au/
Referer:
Username: Removed
IP Address: xxx.xxx.xxx.xxx

Thankfully - the uninstall removed the offending code and my my site came back, but I was really panicked for a few minutes there.

Why could have happened that the donations module caused such a huge disruption to my database calls?

Of course I had already backed up, so I was well covered - but now - because I had to uninstall my previous version, I have no donations module at all.

I'm currently getting around 25 new members and 80 to 100 new posts a day and now I'm pretty nervous about reinstalling unless you have a concrete idea about what caused it.

I really need to get this back online since I'm currently getting quite a few donations coming in and all I have now is a blank page - HELP!

Mike :ermm:

Cloudrunner
06-30-2005, 10:42 PM
Man Oh Man!!

I just installed 1.07 - I got all the way to the end and all seemed well then BANG - it brought my whole site down!

The error I received was as follows:

Database error in vBulletin 3.0.6:

Invalid SQL: SELECT donor.userid, donor.total, user.username
FROM vb3_donation_donators AS donor
LEFT JOIN vb3_user AS user ON(user.userid = donor.userid)
WHERE donor.userid != '0'
ORDER BY total DESC
LIMIT 0,5

mysql error: Table database_name.vb3_donation_donators' doesn't exist

mysql error number: 1146

Date: Thursday 30th of June 2005 05:08:59 AM
Script: http://www.xpmediacentre.com.au/
Referer:
Username: Removed
IP Address: xxx.xxx.xxx.xxx

Thankfully - the uninstall removed the offending code and my my site came back, but I was really panicked for a few minutes there.

Why could have happened that the donations module caused such a huge disruption to my database calls?

Of course I had already backed up, so I was well covered - but now - because I had to uninstall my previous version, I have no donations module at all.

I'm currently getting around 25 new members and 80 to 100 new posts a day and now I'm pretty nervous about reinstalling unless you have a concrete idea about what caused it.

I really need to get this back online since I'm currently getting quite a few donations coming in and all I have now is a blank page - HELP!

Mike :ermm:
Delete all the donation files from your server (do not uninstall), and then upload them ALL again out of the 1.07 archive.

What has happened here is that you are running an older version of your donate.php file in the modules directory, don't ask me how, I don't know, but the word donator has not been in use there since 1.03.

I have verified that the files in the 1.07 do not contain this error / query at all...

Cloudrunner
06-30-2005, 10:45 PM
Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.
You need to go into your database and run the query that I post earlier on a few pages back to reset your numbers for donor and showdonor. Then go one by one with the donors in your admincp -> donation administration by simply editing each donor individually and then saving them from there without changing anything. Please let me know if you have already done this (if you have then don't do it again...I've an idea, but I need to rule out whether you did this already or not...did you by chance get a donoation from a guest donor?).

dsboyce8624
06-30-2005, 10:53 PM
the word donator has not been in use there since 1.03.


Aww, but I miss it so!

artonex
07-01-2005, 07:30 AM
You need to go into your database and run the query that I post earlier on a few pages back to reset your numbers for donor and showdonor. Then go one by one with the donors in your admincp -> donation administration by simply editing each donor individually and then saving them from there without changing anything. Please let me know if you have already done this (if you have then don't do it again...I've an idea, but I need to rule out whether you did this already or not...did you by chance get a donoation from a guest donor?).


Well the user who was deleted never even made a donation.

Hit me up on msn to take alook at my forums.

guvner
07-01-2005, 10:10 PM
Delete all the donation files from your server (do not uninstall), and then upload them ALL again out of the 1.07 archive.You nailed it CR :) - thank you - all installed and going really well!

A smal request if possible?

When a potential donor clicks the Paypal button, even though I have AUD selected as my default currency and it does charge their account in AUD, the first thing they see when they arrive at Paypal is a field for postage & Packing, and it's in USD - like this:

Postage & Packing: $0.00 USD

and no mention of the transaction being in AUD.

Now whilst it has no effect if they don't use that field, and the next screen does show the amount will be charged in AUD, it nevertheless adds an element of confusion in the mind of a non-USD donor on that first screen. I've even had a couple reduce the amount of their donation becasue they thought that the rest of the process was going to be in USD! (I know - nice people but not too bright) ;)

Is the Postage & Packing field a Paypal default or is it called by your code?

Either way, since no donations will ever involve P&P, is it possible to have it not show up at all on that first Paypal page?

Thanks,

Mike :)

Cloudrunner
07-01-2005, 11:50 PM
You nailed it CR :) - thank you - all installed and going really well!

A smal request if possible?

When a potential donor clicks the Paypal button, even though I have AUD selected as my default currency and it does charge their account in AUD, the first thing they see when they arrive at Paypal is a field for postage & Packing, and it's in USD - like this:

Postage & Packing: $0.00 USD

and no mention of the transaction being in AUD.

Now whilst it has no effect if they don't use that field, and the next screen does show the amount will be charged in AUD, it nevertheless adds an element of confusion in the mind of a non-USD donor on that first screen. I've even had a couple reduce the amount of their donation becasue they thought that the rest of the process was going to be in USD! (I know - nice people but not too bright) ;)

Is the Postage & Packing field a Paypal default or is it called by your code?

Either way, since no donations will ever involve P&P, is it possible to have it not show up at all on that first Paypal page?

Thanks,

Mike :)
Unfortunately, the shipping is hardcoded into paypal's system, I have the system setup to negate this but thus far, PP is ignoring the request...

Cloudrunner
07-01-2005, 11:51 PM
Unfortunately, the shipping is hardcoded into paypal's system, I have the system setup to negate this but thus far, PP is ignoring the request...
Just an update real quick folks, I'm suspending work on this version for awhile except for bugs that may pop-up, so that I can port it over to 3.5 Support will still be given here...

guvner
07-02-2005, 12:01 AM
I have run into a small issue, I can't get the "Top" or "Most Recent" donors to show up on the donations page despite having selected the options to do so. Also I have it set to show the 5 top donors.

See attached image and then my donations page here - http://www.xpmediacentre.com.au/community/donate.php

I've rechecked all my edits but I must5 be missing something - it worked fine in my last install of an earlier version.

And with that missing, I assume that I have no link to the alldonors page as well?

Cloudrunner
07-02-2005, 12:08 AM
I have run into a small issue, I can't get the "Top" or "Most Recent" donors to show up on the donations page despite having selected the options to do so. Also I have it set to show the 5 top donors.

See attached image and then my donations page here - http://www.xpmediacentre.com.au/community/donate.php

I've rechecked all my edits but I must5 be missing something - it worked fine in my last install of an earlier version.

And with that missing, I assume that I have no link to the alldonors page as well?
Gimme a full code view of your DONATIONS template

guvner
07-02-2005, 12:12 AM
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
<title>$vboptions[bbtitle] -- Donations</title>
$headinclude
</head>
<body>
$header
$navbar

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="3">$vbphrase[how_to_donate]</td>
</tr>
<tr align="center">
<td class="thead" colspan="3">
<span class="smallfont">$vbphrase[processor_paypal]</span>
</td>
</tr>
</thead>
<tbody>
<tr align="center">
$donationbits
</tr>
<tr>
<td class="tfoot" colspan="3">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
<table border="0" width="100%">
<tr valign="top">
<if condition="$vboptions['showdonators'] ==1">
<td>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="3">$vbphrase[top_donators]</td>
</tr>
<tr align="center">
<td class="thead" colspan="3">$vbphrase[sorted_by_total_donation]</td>
</tr>
</thead>
<tbody>
<tr align="center">
$topdonatorbits
</tr>
<tr>
<td class="tfoot" colspan="3">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</if>
<td>
<if condition="$vboptions['showgoals'] == 1">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="2">$vbphrase[our_donation_goals]</td>
</tr>
<tr align="center">
<td class="thead" colspan="2">
$vbphrase[money_goes_towards_goals]<br />
<if condition="$vboptions['showtotalcollected'] == 1">
<if condition="$mc_total > 0">
$vbphrase[we_have_collected] $$mc_total $vbphrase[since] $vboptions[donationstartdate]
<else />
$vbphrase[we_have_not_collected]
</if>
</if>
</td>
</tr>
</thead>
<tbody>
<tr align="center">
$donationgoalbits
</tr>
<tr>
<td class="tfoot" colspan="2">&nbsp;</td>
</tr>
</tbody>
</table>
<br />
</if>

<if condition="$vboptions['showverifiedseal'] == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="tcat" colspan="3">$vbphrase[paypal_verified]</td>
</tr>
</thead>
<tbody>
<tr align="center">
<td class="alt1" align="center">
<a href="https://www.paypal.com/us/verified/pal=$vboptions[paypal_email]" target="_blank">
<img src="$stylevar[imgdir_misc]/paypal_verified.gif" border="0" alt="Official PayPal Seal">
</a>
</td>
<td class="alt2" align="center" width="100%">
$vbphrase[what_it_means_to_be_verified]
</td>
</tr>
<tr>
<td class="tfoot" colspan="3">&nbsp;</td>
</tr>
</tbody>
</table>
</if>
</td>
</tr>
</table>

<!-- /main -->

$footer
</body>
</html>

Cloudrunner
07-02-2005, 12:19 AM
...<if condition="$vboptions['showdonators'] ==1">...Run the upgrade if it shows in your installer, then revert all of your modified donations templates to get the most current versions of them...note the word donator yet again ;)...

guvner
07-02-2005, 12:24 AM
Mmm - when I uninstalled the previous version, I removed all the earlier files as you suggested, so I'm guessing that the uninstaller didn't remove the old templates?

Now I'm nervous again (running the installer) when everything else is fine - and I really don't want to lose any phrase or template changes I just made again :ermm:

Couldn't I just edit that template - if you could paste the code into here - or would this problem involve other templates as well?

Cloudrunner
07-02-2005, 12:33 AM
Mmm - when I uninstalled the previous version, I removed all the earlier files as you suggested, so I'm guessing that the uninstaller didn't remove the old templates?

Now I'm nervous again (running the installer) when everything else is fine - and I really don't want to lose any phrase or template changes I just made again :ermm:

Couldn't I just edit that template - if you could paste the code into here - or would this problem involve other templates as well?
there were extensive template changes from 1.03 (the version that you were running from the donator word showing) and the current version 1.07. You will not lose any phrase edits as long as you translated them, and didn't directly edit them...this is the suggested method anyway...but the templates have some functionality changes done since then...

If you open the file ./admincp/donation_install/donation_templates.php, in there you will find all of the templates, you can do a side by side comparison of the templates (yours vs. the new ones) and make the adjustments where needed, but this is entirely up to you....

If you do the templates from the install side by side, remember that to remove the slashes in front of the single quotes within the templates, or you will run into problems (ie. \' turns into ').

Just out of curiousity, what templates have you modified, and how much modification went into them?

Worst case scenario: You didn't translate the phrases, but edited them directly...This will overwrite what you have for phrases on your site...And a complete revert of all templates, requiring you to redo any edits you have done...

guvner
07-02-2005, 12:43 AM
Ha! - did it without running the upgrade - I took your advice and just reverted donations template and it's fixed ;)

Thanks again CR - I really must compliment you again on providing outstanding support for a very valuable hack!!

I look forward to a succesful port to 3.5, now all that I need to do is find your donate button - on my way there now!

Mike :)

Cloudrunner
07-02-2005, 12:47 AM
Ha! - did it without running the upgrade - I took your advice and just reverted donations template it's fixed ;)

Thanks again CR - I really must compliment you again on providing outstanding support for a very valuable hack!!

I look forward to a succesful port to 3.5, now all that I need to do is find your donate button - on my way there now!

Mike :)
I'm running 3.5 ;)

Therefore, nothing for the donations script, if you feel that you must donate though, I do appreciate it. It can be sent to tnp@noblepagan.com.

guvner
07-02-2005, 01:01 AM
if you feel that you must donate though, I do appreciate it. It can be sent to tnp@noblepagan.com.Done!

And I hope that anyone else who derives a financial benefit from this great hack is able to show their appreciation in the same way ;)

Mike

Cloudrunner
07-02-2005, 01:03 AM
Done!

And I hope that anyone else who derives a financial benefit from this great hack is able to show their appreciation in the same way ;)

Mike
Blessings on you, the users of TNP, as well as the staff and myself, do appreciate it. Thank you!

dsboyce8624
07-02-2005, 04:08 AM
Not me, I'm a poor bast#$d.

Cloudrunner
07-02-2005, 10:49 PM
Got TWJ's site fixed, and found another small bug in the process..

Listen up folks, I'm going to do one last update for 3.0.7 then am I am dropping this version for the 3.5. This one is pretty much maxed out for now as I am going 3.5 100%.

For 1.07 users the upgrade is simply file fixes and an edit in the postbit / postbit_legacy and the MEMBERINFO templates (I goofed), and a change to the version info in the database through the upgrader.

here's the template edits:

Find your install and change the two conditionals to read for MEMBERINFO<if condition="$userinfo['donor'] == '1'"><if condition="$userinfo['showdonor'] == '1'">And For the postbits<if condition="$post['donor'] == '1'"><if condition="$post['showdonor'] == '1'">That's it.

In fact, I recommend that ALL users do that.

Other than that, just make sure you've overwritten everything with the new stuff.

As of this point forward, support will not be offered for this version of the donations system so that I can focus on the 3.5 version.

Thank you all for your help in making this system possible!

Love, light, and blessing on you all!

)O( Cloudrunner )O(

P.s. for those who are getting the pp_image.php header problem, just remove the header call in that file and see if it works for you that way. I did it both with the header call and without and it works both ways for me, but I cannot be sure for everyone at this point. I am using this file in the 3.5 version so if I find a fix for it, I'll be sure to update you all here.

EDIT:

Sorry wrong code in the template edits....thus the reason I am stopping this version, so I will quit getting the two versions mixed up...sorry...it's fixed though...ciao

Cloudrunner
07-03-2005, 07:18 PM
For those of you who are looking for the donations system for 3.5 it is located here: https://vborg.vbsupport.ru/showthread.php?t=91567

Enjoy

)O( Cloudrunner )O(

PixelFx
07-03-2005, 09:05 PM
I'm having issues getting this to work on vb3.0.7 with vbadvanced cmp 2.0 .. also I don't see any buttons for people or my self to donate .. less I missed something in setup .. other than that the install seemed painless ..

Install url: http://www.pixelfxstudios.ca/forum/donate.php

also what to I need to add to show whos online showing up correctly ?

thanks for the work on this :)

KevinL
07-03-2005, 09:07 PM
Go in the admincp again and create buttons for each of your goals

PixelFx
07-03-2005, 09:18 PM
I just found that :) Now I just need to get it working with vba cmps 2.0

KevinL
07-03-2005, 09:24 PM
I just found that :) Now I just need to get it working with vba cmps 2.0
Did you already try this?

https://vborg.vbsupport.ru/showpost.php?p=669033&postcount=231

PixelFx
07-03-2005, 09:47 PM
yeah .. doesn't seem to work not sure why ..

Cloudrunner
07-03-2005, 11:21 PM
yeah .. doesn't seem to work not sure why ..
Change Module Type' select PHP

This is what I had problems with before hand. Change that not to PH (there is no option for that) but to file. Then do the rest of the edits

PixelFx
07-04-2005, 03:30 AM
ok I think I got it working ..

Blackhat
07-04-2005, 11:27 AM
how can I show a donation block in the right column of my forum ?

http://www.librarium-online.com/forums/

Thanks

n_wattam
07-04-2005, 12:42 PM
Found a bug in your script...

Basically in my paypal settings i have Postage Calculations set up. even though you have postage set to 0.00 its still pickup up my Postage Calculations and addint this value to the overall donation total..

n_wattam
07-04-2005, 01:12 PM
Found another bug

This one is to do with the currency settings...

I have my currency set to GBP, i have created a Goal and also a button for that goal. The button amount is set to the value of 5.00

This 5.00 if i'm correct should be that of what the currency is set to, so £5.00, however i also have 'Show currency selector' enabled, and when looking in there GBP is equal to £2.77 and the USD is equal to $5.00


EDIT
Interesting, after running cron job, this works ok now....

n_wattam
07-04-2005, 01:20 PM
Decimal places with currency


Your money will go towards the following goals
We have collected a total of ?5.3 since 1st July 2005

This is on one of mine, you have 5.3 which should be 5.30 really...

n_wattam
07-04-2005, 01:43 PM
the value for


Postage & Packing:https://vborg.vbsupport.ru/external/2005/07/7.gif$0.00 USD

on the paypal screen is showing $ USD as defult regardless of your currency being set in the options.

however when you enter a value to donate, it does then change to your currect currecy format

Cloudrunner
07-04-2005, 01:59 PM
Found another bug

This one is to do with the currency settings...

I have my currency set to GBP, i have created a Goal and also a button for that goal. The button amount is set to the value of 5.00

This 5.00 if i'm correct should be that of what the currency is set to, so ?5.00, however i also have 'Show currency selector' enabled, and when looking in there GBP is equal to ?2.77 and the USD is equal to $5.00


EDIT
Interesting, after running cron job, this works ok now....*Points to the first post (one MUST read the entire thing, that's why I spent an hour putting it together...kind of aggravating when you take the time to explain how it works then get ignored...)

...<snip>...The system defaults to use the USD currency. If you change this currency in the Donations settings, then to get the correct exchange pricing, you need to run the CRON file to update your Exchange Rates table.

To do this simply log into your AdminCP and then do the following:



Scroll down your navigation bar on the left and find the Scheduled tasks navigation group, open that up and click on "Scheduled Task Manager".
Find the CRON named "Donations Currency Exchange Quotes"
To the right of that you will find a button named "Run Now"
Click that button and wait until the system says Done.
Once the system has reloaded the exchange rates using your new currency you are ready to go and start collecting donations...<snip>...

Cloudrunner
07-04-2005, 02:02 PM
That's Paypal's settings, you cannot turn off the shipping and recieving thing for some reason...the value for




on the paypal screen is showing $ USD as defult regardless of your currency being set in the options.

however when you enter a value to donate, it does then change to your currect currecy format

Cloudrunner
07-04-2005, 02:07 PM
Basically in my paypal settings i have Postage Calculations set up. even though you have postage set to 0.00 its still pickup up my Postage Calculations and addint this value to the overall donation total..As far as paypal adding postage to your totals, that's a paypal profile setting, you got it set to override what the system tells it to do. Since it is in your paypal profile where the problem lies, I cannot assist in this scenario.

n_wattam
07-04-2005, 02:36 PM
As far as paypal adding postage to your totals, that's a paypal profile setting, you got it set to override what the system tells it to do. Since it is in your paypal profile where the problem lies, I cannot assist in this scenario.


Bummer... never mind, i have switched it of for now..

n_wattam
07-04-2005, 02:41 PM
on the donation page

Your money will go towards the following goals
We have not yet collected any donations.

I have a member who has already donated money to the site before i came across your mod, which is excellent by the way :rolleyes:.

Basically i want to show hes made a donation as credit due etc.. So i've used the manual add donator which you supply in the admincp, however this does not appear in the above QUOTE. I'm guessing it uses the logs to keep track etc of fund, and thus not including the manual add ones.

Is this an oversite on your part or ment to be like this. If so could an option be included in the settings to include this.

Cloudrunner
07-04-2005, 02:44 PM
on the donation page



I have a member who has already donated money to the site before i came across your mod, which is excellent by the way :rolleyes:.

Basically i want to show hes made a donation as credit due etc.. So i've used the manual add donator which you supply in the admincp, however this does not appear in the above QUOTE. I'm guessing it uses the logs to keep track etc of fund, and thus not including the manual add ones.

Is this an oversite on your part or ment to be like this. If so could an option be included in the settings to include this.
That's designed actually...If you edit the actual transaction details then Paypal will not provide support you for that specific transaction should a problem arise since your data and theirs will not match.

n_wattam
07-04-2005, 03:03 PM
That's designed actually...If you edit the actual transaction details then Paypal will not provide support you for that specific transaction should a problem arise since your data and theirs will not match.

I realise that would happen, however the varable you use to display the total ammount over all, could you not include this varable to also count the overall manually added donations?

If this varible is supplyed by paypal, then what a about?

$overall_ammount = paypal_total + manual_total etc

If you get my meaning, then display the $overall_ammount

Edit:

Also in the settings when you add a manual donation, what about a tick box next to it???

Include donation in total displayed ammmount? YES / NO

Cloudrunner
07-04-2005, 05:53 PM
Not to be rude, but what part of the following statements did you miss?

...<snip>...If you edit the actual transaction details then Paypal will not provide support...<snip>......<snip>...As of this point forward, support will not be offered for this version of the donations system so that I can focus on the 3.5 version...<snip>...

Here's the deal boss, the total amount collected displays off of the transactions received from paypal.

That table I have left purposefully unable to be edited via the AdminCP so that YOU, the end user, will still be able to call Paypal and get support from them concerning rogue transactions should any arise without having to worry about whether this edit or that edit changed something in the transaction that will cause Paypal to negate your claim. I will not change that.

If this creates a problem for you then simply turn that part off in your donation settings...I knew someone would +++++ about that functionality of the system, which is WHY I added the switch there to be able to turn that off...(the setting that you are looking for in this case is titled "Show Cumulative Total?")

Now as for my previous statements, let me be clear on this, I will address true MAJOR bugs (ie. bugs that concern security of the forum, database, or transaction communications), but as I am no longer supporting THIS VERSION of the modification, I am not doing ANY enhancements to it. If you wish to do so, feel free to do it, I've attached the manual for how to get your server and paypal to talk.

My only requirement is that if you use any of the code you leave the comments on every file intact.

Good day

Blackhat
07-04-2005, 06:32 PM
Is it possible to auto. move donors into a new usergroup please ?

n_wattam
07-04-2005, 06:34 PM
Sorry if i've offended, i didnt realise you was doing the 3.5v.... Was just offering some input.

Again sorry

Cloudrunner
07-04-2005, 06:38 PM
Sorry if i've offended, i didnt realise you was doing the 3.5v.... Was just offering some input.

Again sorry
no offense taken, just a little aggravated is all...

Is it possible to auto. move donors into a new usergroup please ?To put it simply...

no...

WYSIWYG with this one...

please refer to my previous post#416

cgarossi
07-05-2005, 09:53 AM
Im getting this error:


Database error in vBulletin 3.0.7:

Invalid SQL: SELECT donor.userid, donor.total, user.username, user.showdonor
FROM donation_donors AS donor
LEFT JOIN user AS user ON(user.userid = donor.userid)
WHERE donor.userid != '0'
ORDER BY total DESC
LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6

mysql error number: 1064

Date: Tuesday 05th of July 2005 11:46:28 AM
Script: http://www.northeasternswat.com/index.php
Referer:
Username: Rossi
IP Address: 81.178.239.171


It seems that


$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor
FROM ".TABLE_PREFIX."donation_donors AS donor
LEFT JOIN ".TABLE_PREFIX."user AS user ON(user.userid = donor.userid)
WHERE donor.userid != '0'
ORDER BY total DESC
LIMIT 0,".$vboptions['donate_CMPS_users']);


This variable .$vboptions['donate_CMPS_users'] is returning nothing!

How can I fix this? I am using cmps v1.0.

cgarossi
07-05-2005, 12:33 PM
Could somone please help? :(

cgarossi
07-05-2005, 02:35 PM
Dont worry I fixed it :)

Gottcha
07-07-2005, 05:02 PM
cant download the zip file...says the file is corrupt...any ideas

|oR|Greg
07-07-2005, 07:11 PM
Downloaded ok for me...

I attached it, try that.

mkdevo
07-07-2005, 08:11 PM
ok, found a problem..

i had a bunch of donors that i added manually. these all show up ok - their tags are in the postbit/profile, they're on the donors list, etc.. however, i just had my first member donate through the new system, and we can't seem to get his 'donor' tags to show in the postbit or his profile. he has the 'show donor status' checked in his User CP, he shows up on the 'all donors' list, and his donation shows up as 'verified by paypal and completed' in the admincp..

any idea why i can't get his 'donor' tag to show up in his postbit/profile??

also (not sure if it's been asked), any chance of getting .psd's of the trophy guys?

mkdevo
07-12-2005, 11:48 AM
CR - still around?

guvner
07-12-2005, 12:05 PM
ok, found a problem..

i had a bunch of donors that i added manually. these all show up ok - their tags are in the postbit/profile, they're on the donors list, etc.. however, i just had my first member donate through the new system, and we can't seem to get his 'donor' tags to show in the postbit or his profile. he has the 'show donor status' checked in his User CP, he shows up on the 'all donors' list, and his donation shows up as 'verified by paypal and completed' in the admincp..

any idea why i can't get his 'donor' tag to show up in his postbit/profile??I had the same problem - it turned out to be because i had previously edited both my postbit legacy and profile templates and managed to change enough that it couldn't display the donor gifs - so I reverted those templates and the donor gifs appeared. :)

Cloudrunner
07-16-2005, 12:56 AM
I had the same problem - it turned out to be because i had previously edited both my postbit legacy and profile templates and managed to change enough that it couldn't display the donor gifs - so I reverted those templates and the donor gifs appeared. :)

I've made some changes to the system for 3.5, and will be implementing those into this one as well. Don't expect an update this weekend, but there will be one by next weekend for the 3.0.7 folks.

Also, it seems that we've been nominated for HoTM, unexpected, but thank you to all who have voted for this hack there. I'm at a loss as to what to say, except, you've convinced me not to stop work on this version either...so...back to the drawing board...

Thank you!

)O( Cloudrunner )O(

mkdevo
07-17-2005, 07:31 PM
ok - weirdest thing...

somehow, today, all of my paypal donations templates are gone - from all my styles!

how on earth would this happen? any ideas? also, can i reinstall JUST the custom templates? (admincp stuff is still there, donors are still recorded, but donate.php just gives me a blank page now..)

help!

Cloudrunner
07-17-2005, 07:35 PM
ok - weirdest thing...

somehow, today, all of my paypal donations templates are gone - from all my styles!

how on earth would this happen? any ideas? also, can i reinstall JUST the custom templates? (admincp stuff is still there, donors are still recorded, but donate.php just gives me a blank page now..)

help!

If you run the installer again (with all the files in the install folder on your server as well) you can install JUST the templates.

insanekelso
07-17-2005, 09:08 PM
getting an error when viewing ppverify.php

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

any idea, this was after a reinstall. installed ok after a full uninstall.
First "real" donation created a mysql database error (which i forgot to not..doh!) and was held in the invalid transactions area, all values for this transaction where zero.

found error output:
Database error in vBulletin 3.0.7:

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

mysql error number: 1062

Date: Sunday 17th of July 2005 11:08:43 PM
Script:
Referer:

Cloudrunner
07-17-2005, 09:15 PM
getting an error when viewing ppverify.php

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /global.php on line 329

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 2290

any idea, this was after a reinstall. installed ok after a full uninstall.
First "real" donation created a mysql database error (which i forgot to not..doh!) and was held in the invalid transactions area, all values for this transaction where zero.

found error output:
Database error in vBulletin 3.0.7:

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

mysql error number: 1062

Date: Sunday 17th of July 2005 11:08:43 PM
Script: http://arpclan.gaming.multiplay.co.uk/forums/ppverify.php
Referer:

ppverify is not designed to be viewable from any browser. The only thing that will view ppverify without an error (as designed) is paypal's server.

As far as the DB error goes, you have a conflicting txn_id. You will need to remove the empty txn_id row. i.e. the row that contains the empty txn_id field. That field should NEVER be empty. Ever, if it is, then you will get a invalid marker and the system will give you notice of the invalidity of the transaction. This is an indicator of an attempt at compromising the system.

Clean out that specific transaction, and the system *should* again work. Lemme know what you come up with.

:Judge:
07-17-2005, 10:08 PM
I was half asleep and reverted all my templates, got everything back together now except one bug.

The % Bar is not going up now after I add a donor.
What should I be looking at to repair this?

Cloudrunner
07-17-2005, 10:12 PM
I was half asleep and reverted all my templates, got everything back together now except one bug.

The % Bar is not going up now after I add a donor.
What should I be looking at to repair this?

If you manually add a donor then to get the goals percentage to increase you will need to manually add that to the goal itself, just edit the goal and input the total amount collected.

This is by design, but I am looking at rearranging that setup.

:Judge:
07-17-2005, 10:22 PM
If you manually add a donor then to get the goals percentage to increase you will need to manually add that to the goal itself, just edit the goal and input the total amount collected.

This is by design, but I am looking at rearranging that setup.

Cloud I am sorry to have wasted your time with that question, granted it isn't super obvious but common sense should have told me that..... I need some rest.

Thanks again!

KTBleeding
07-18-2005, 01:38 AM
I just want to say that this is one of the coolest hacks I've ever seen.

/me installs and thanks Couldrunner

Cloudrunner
07-18-2005, 02:08 AM
I just want to say that this is one of the coolest hacks I've ever seen.

* KTBleeding installs and thanks Couldrunner

No problem, not only does it do a service, but it's good eye candy as well for a site...

I've been toying with a few ideas on the system here for both 3.0.7 and 3.5 that I'll be working on shortly...namely special reward functions for donations over X amount...but I am still working on that.

mkdevo
07-18-2005, 10:59 AM
currently running away with the HOTM!! :up::up:

Cloudrunner
07-18-2005, 09:42 PM
currently running away with the HOTM!! :up::up:

*blushes heavily*

Honestly folks, it's just something that people were asking for, and I needed it as well, so I did it...it's not a big deal...

I've suspended work for a little bit for a project for my own site where I'm putting together some videos to show my users the intricacies of the new vB so that they have a basic knowledge of how to use the site. When that is finished, I'll get back on the ball...

mkdevo
07-19-2005, 11:34 AM
also (not sure if it's been asked), any chance of getting .psd's of the trophy guys?

cloud - not sure if you saw this before... ^^

b00k
07-19-2005, 12:39 PM
**NOTE RESOLVED**
edited the profile.php of root as well as some template entries. :ermm:

Just couldnt get this to work correctly. So i ran the unintall and now ive ran into a problem.


Invalid SQL:
UPDATE user SET
styleid = 2,
showvbcode = 1,
pmpopup = 0,
maxposts = -1,
daysprune = 0,
timezoneoffset = '-5',
startofweek = 1,
languageid = 0,
threadedmode = 0,
autosubscribe = 1,
showdonor = 0,
options = 2263
WHERE userid = 1

mysql error: Unknown column 'showdonor' in 'field list'

mysql error number: 1054

This occurs when i try to change my Forum Skin from the edit options feature, however if i use the Quick Style Chooser no problems.

Can someone please advise me of how to correct this. Thank you.

Cloudrunner
07-20-2005, 04:03 PM
Remove the columns Donor and Showdonor respectively from the user table. Any idea what occurred?

Cloudrunner
07-20-2005, 04:04 PM
cloud - not sure if you saw this before... ^^

All PSDs of the images that we've created are included, the trophies are borrowed from somewhere, I don't even know where, so they are not included, because I don't have em. Sorry

cmiller1014
07-21-2005, 09:45 PM
Can you manually enter info for people who have donated like the 3.5 version?

Cloudrunner
07-22-2005, 12:14 AM
Can you manually enter info for people who have donated like the 3.5 version?

yep.

trancetopia
07-22-2005, 07:46 PM
This is one hell of a great hack..

I have found a little problem, maybe a bug.

When vieweing the posts, the donate_donor.gif image only appear for the last person entered in the donator table and does not appear for any of the others.

I have only three donators and added these manually via the admin if this makes any difference.

Hope you can help.

Thanks,
Paul

Cloudrunner
07-22-2005, 09:05 PM
This is one hell of a great hack..

I have found a little problem, maybe a bug.

When vieweing the posts, the donate_donor.gif image only appear for the last person entered in the donator table and does not appear for any of the others.

I have only three donators and added these manually via the admin if this makes any difference.

Hope you can help.

Thanks,
Paul

check your user table to see if those three members have the showdonor column set to 1, if the users have set their status to showdonor=0 then it will not show. To show that image, the usertable needs to have set BOTH donor=1 and showdonor=1, if either of these are '0', then nothing will show.

check that and then let me know wht you come up with.

cmiller1014
07-23-2005, 12:21 AM
Agreed, great hack. Ive got it installed and working great!

trancetopia
07-23-2005, 08:01 AM
check your user table to see if those three members have the showdonor column set to 1, if the users have set their status to showdonor=0 then it will not show. To show that image, the usertable needs to have set BOTH donor=1 and showdonor=1, if either of these are '0', then nothing will show.

check that and then let me know wht you come up with.

Hi Cloudrunner,

I just check both the doner and showdoner columns for these members and they are all flagged as 'True'.

Is there anything else you need me to check?

Thanks,
Paul

Mith
07-23-2005, 03:54 PM
Hi I'm having a problem accessing modules.php, i get the following error


Fatal error: Call to a member function on a non-object in /usr/local/psa/home/vhosts/****.com/http/forums/donate.php on line 14

line 14 says this:
$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor

I can't see a table called donor anywhere.. is that related? (i have a vb3_user but no vb3_donor)

Also the VBACMPS module doesn't show correctly.. how would i set that up from scratch? (using 2.0 vba cmps)
Any help appreciated.

Cloudrunner
07-23-2005, 04:15 PM
Hi I'm having a problem accessing modules.php, i get the following error


Fatal error: Call to a member function on a non-object in /usr/local/psa/home/vhosts/****.com/http/forums/donate.php on line 14

Also the VBACMPS module doesn't show correctly.. how would i set that up from scratch? (using 2.0 vba cmps)
Any help appreciated.

there is no such file within the donations system called 'modules.php'...so let's try again to be more specific on the problem at hand...

Secondly, be very certain that you did not try to install the 3.0.7 version of this hack and place it on a 3.5.0 board, or vice versa, it will not work.

Thirdly, line 14 is a commented placeholder in the code on ./donate.php for the latest version of this hack for both vb 3.0.7 and vb 3.50// ####################### SET PHP ENVIRONMENT ###########################so I'm not seeing how you are getting an error on that specific line.

As far as for version two of vbacmps, please, kindly, don't insult yourself by showing me that you are illiterate or lazy; we have covered that in the first post of this thread, which is displayed on each and every page of this thread.

Cloudrunner
07-23-2005, 04:24 PM
Hi I'm having a problem accessing modules.php, i get the following error


Fatal error: Call to a member function on a non-object in /usr/local/psa/home/vhosts/****.com/http/forums/donate.php on line 14

line 14 says this:
$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor

I can't see a table called donor anywhere.. is that related? (i have a vb3_user but no vb3_donor)

Also the VBACMPS module doesn't show correctly.. how would i set that up from scratch? (using 2.0 vba cmps)
Any help appreciated.

okay so your problem is not with ./donate.php, but with ./modules/donate.php, see how a little bit of information helps?

If line 14 truly says what you have wrote within your ./forums/donate.php then you placed the files incorrectly, there are two donate.php files, one goes in forum root, and the other goes in forum root/modules, i.e./home/yourserver/www/forum/donate.php

/home/yourserver/www/forum/modules/donate.phpThey are two completely different files, however, with the error that you are getting, I am suspicious as to whether you are trying to install this 3.0.7 version onto a 3.5 board, since the call to $DB_site is an object call that is no longer defined in 3.5...

To dispell further problems in confusion, please let me know what version of VB you are trying to install this on mith. Once you have done this I'll look into seeing what I can do for fixing your problem.

Mith
07-23-2005, 05:51 PM
Hi, I'm most definitely using vb version 3.07 VBA CMPS v 2.0 RC2

The two files were indeed in the opposite places, which is really strange as i did a drag and drop effort into the forums structure.. can only say cute ftp's file drag and drop must be erroneous when copying 2 files of the same name... anyway, thats solved the donate.php access.

However, I still can't get the module for cmps to display. I deleted the existing one, and have re-created as best I can see but it doesn't even display, (yes i have it set to active in the vba cmps admin control.

Basically I used the following settings: (as you may or may not be aware it has changed in 2.0 of cmps)

Add module
PHP file
Module title: Donation
File to include: donate.php

also followed the instructions for modules and added Templates Used:
adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user

I have tried with clean output file & use module shell template on and off.

EDIT (and i think this may be the key):
I also get an error when i try to save the settings for this module:

Invalid argument supplied for foeach() in /includes/adminfunctions_vba_cmps.php on line 634

line 634 reads:
foreach ($setting AS $gtitle => $sgroups)

thx for your help

Mith
07-23-2005, 06:10 PM
Found the problem.. it seems in 2.0 rc2 you need to select the modules are active on your selected page.

strange but true.

Thx again.

trancetopia
07-23-2005, 07:47 PM
When someone donates money, they are returned to my forums and the donation updates perfectly but the user does not get the forums display only the following message:

URL: /forums/donate.php?do=thankyou

POST requests from foreign hosts are not allowed.

Can you please help.

Thanks,
Paul

micheal332001
07-25-2005, 03:22 PM
Hi there

I must say great hack but i have a problem with the modules pp_image.php file
Its not showing any thing in the progress no image at all.
I do have gd2+ and working on my site you can see the block on my site at www.michealmilton.com/forums

The block is on the right side.

Hope you can help with this

matthias.m
07-26-2005, 07:15 AM
Hi Cloudrunner,

first of all: Sorry for my very bad english :o

I have got one little Question: Do you allow any Translation of your Donation-Hack?

The German-Community will be interested in an German-Translation of your Hack (see the Site http://www.vbhacks-germany.de - Thread: http://www.vbhacks-germany.com/forum/showthread.php?t=935)

Greetings
Matthias

T3MEDIA
07-27-2005, 03:29 AM
We just had a member of one of our sites killed who had 3 children left behind. We would like to add this to our site. If any users can help with this install it would be very nice of you.
News report: http://www.clickondetroit.com/news/4768996/detail.%20html
Thread: http://www.sprnch.com/forums/showthread.php?t=6103

Cloudrunner
07-27-2005, 10:00 PM
When someone donates money, they are returned to my forums and the donation updates perfectly but the user does not get the forums display only the following message:

URL: /forums/donate.php?do=thankyou

POST requests from foreign hosts are not allowed.

Can you please help.

Thanks,
Paul

Unfortunately, that is an issue that you need to get your host to resolve...they have blocked post / get requests from outside servers...

Cloudrunner
07-27-2005, 10:02 PM
Hi there

I must say great hack but i have a problem with the modules pp_image.php file
Its not showing any thing in the progress no image at all.
I do have gd2+ and working on my site you can see the block on my site at www.michealmilton.com/forums

The block is on the right side.

Hope you can help with this

I just checked your site boss, it looks to me as though the goals bar is working fine...vBadvanced Gallery

12.5% of goal has been donated

trancetopia
07-28-2005, 10:43 AM
Unfortunately, that is an issue that you need to get your host to resolve...they have blocked post / get requests from outside servers...

The post was accepted by the host as the donation was updated correclty on the forums. I have had a colleage try a donation and now it works fine.

The only thing I can now put this down to is I had this message when using Safari on the MAC. I also had this message when trying to log onto another vB forum so is this an issue with vB and Safari?

I'm glad it works with a pc, one less thing for me to worry about and i'm now 50p richer from my colleagues donation :)

Thanks,
Paul

Rich
07-29-2005, 01:20 PM
Hello,

Some of my members do not want their amount displayed. They would like to keep the monetary value hidden, but still use the images to depict at what level they have donated.

For example, o donate.php, it shows me with the "Gold" cup, my name, and the $3500 I have invested in the sites so far. I want it to display everything except the $3500.

I had to set the cmps module to zero so that monetary amounts are not displayed in the block.

What would I need to comment out or remove to prevent monetary amounts from being displayed in donate.php and on the cmps module?

BTW, this is a great modification. It went flawless. Thanks in advance. (Would be a great feature to hide or unhide monetary values via the acp!)

mholtum
07-29-2005, 10:00 PM
Install went very smooth. However when you activate the module I get this:

Could not find phrase 'adv_portal_must_choose_0_include'.

mholtum
07-30-2005, 04:28 PM
*bump*

mholtum
07-31-2005, 08:13 AM
*bump*

Rich
07-31-2005, 11:57 AM
Hello,

Mike, the phrase I have reads like this:

Varname: adv_portal_must_choose_include

Text: You must choose either a file or a template to include!

osariase
07-31-2005, 08:54 PM
thanks guys for this great hack, I was wondering how i'm going to get something like, thanks. I have a little problem, i installed everything correctly but I cannot donate, when i ran ppverify.php i get this error message below

Database error in vBulletin 3.0.7:

Invalid SQL: INSERT INTO nwvb3donation_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

mysql error number: 1062

Date: Sunday 31st of July 2005 03:47:38 PM
Script:
Referer:
Username:
IP Address:

Please can you guys tell me what to do if u go to my site and click on donate you will find that you cannot donate

my site is below

http://naijaworld.com/donate.php

Skyline_GT
08-01-2005, 12:35 AM
what happen if we have the link to the subscription already in the paypal account..
we can't put more than 1 url..
.

xfaethorx
08-01-2005, 05:50 PM
i installed this hack a while ago and i've upgraded everytime up to 1.08. Today I recieved my first donation. Paypal sent me the email but vbulletin holds NO information on the donation nothing at all! I'm at a loss to find out why any help would be appriciated.

Skyline_GT
08-01-2005, 07:45 PM
what happen if we have the link to the subscription already in the paypal account..
we can't put more than 1 url..
.

bump..
.

mholtum
08-02-2005, 01:05 AM
Oh well, I would like to implement this, but it seems there is no more support

Skyline_GT
08-02-2005, 01:15 AM
Oh well, I would like to implement this, but it seems there is no more support

I wonder is it possible to combine the scription and the donation file ?

DGTLMIK
08-03-2005, 09:29 PM
Yeah, finally a real PayPal Donations Hack! :up:

Now, what would it take to subtract the PayPal Fees from the Total Collected?

mholtum
08-04-2005, 02:39 AM
Yeah, finally a real PayPal Donations Hack! :up:

Now, what would it take to subtract the PayPal Fees from the Total Collected?
If you wish to say collect $25 for a yrs subscription and paypal charges 1.35 for that $25 transfer, charge $26.35

sothis
08-04-2005, 03:48 PM
i'll definitely be installing this once support for the postbit icons is added... i've been looking for something like this for quite awhile, and know it would motivate people if icons showed up under their names :)

Prodimysterio
08-04-2005, 09:07 PM
Hi everyone,

I'm hoping that someone can help me out here, because this is driving me nuts. First, I can get the hack to work just fine functionally. Thank you to the creator for this superb addition. The problem I am having is that some of the images are showing up as broken links. I am taking a random guess here, but I am thinking that it may have something to do with the fact that my forums path is:

/forums

instead of

/forum

Here is an image of what I see:

http://www.gamingchatter.com/1.jpg

The broken link points to:

http://www.gamingchatter.com/forums/includes/pp_image.php?

When I attempt to go straight to that link, the following error appears:

Fatal error: Call to undefined function: imagecreate() in /home/gamingch/public_html/forums/includes/pp_image.php on line 38

I examined line 38 of pp_image.php, and here is what it displays:

$image = imagecreate($width,$height);

Finally, here is a portion of my donations page:

http://www.gamingchatter.com/2.jpg

Again, the broken links point to:

http://www.gamingchatter.com/forums/includes/pp_image.php?

Thanks in advance for any help you can provide. I love having this system in place, but the small bugs that I am facing is making it a bit of a pain.

Thanks!

Prod

Dax IX
08-05-2005, 09:22 AM
When I try to update the CMPS module, I get an error that vBulletin can't find the phrase 'adv_portal_must_choose_0_include'.

I've tried reinstalling the phrases for CMPS, but that didn't fix it, so I'm assuming it has something to do with this module?

xfaethorx
08-05-2005, 03:58 PM
i installed this hack a while ago and i've upgraded everytime up to 1.08. Today I recieved my first donation. Paypal sent me the email but vbulletin holds NO information on the donation nothing at all! I'm at a loss to find out why any help would be appriciated.

Just quoting this as I've still got this problem, I've also noticed that even when I add a users donation by hand the value doesn't go towards the goal. If anyone has any ideas....

mustang_lex
08-05-2005, 07:21 PM
Does this hack automatically upgrade the members usergroup to a custom one you make. Example if I have a regular member make a palpal donation I like him/her automatically be promoted to a different usergroup as a thank you.

thugginRipsta
08-06-2005, 08:08 PM
no, it doesnt, but u can try something like this:

in ppverify.php
FIND:


$DB_site->query("UPDATE ".TABLE_PREFIX."user SET donor = '1' WHERE userid = '".$userid."'");

(2places)

and add below:

$DB_site->query("UPDATE ".TABLE_PREFIX."user SET membergroupids='XXX' WHERE userid='".$userid."'");


where XXX is the group id u want to add.


this is NO subscription and doesnt take care of reversed payments

Hades-1
08-06-2005, 09:52 PM
i dont even know if this works on my site yet, i didnt get that far, my problem is that when i add the module to a page it makes the rest of the modules appear after the footer of the page.....?

thugginRipsta
08-07-2005, 06:09 AM
umm u cant add the module "to a page"....only to cmps..or nothing! try reverting the cmps templates and redo the template installs

twitch
08-07-2005, 08:55 PM
what would be a good reason as to why the donators don't show up in the list of donators? The donations go through and the goal is updated along with the graph but no username in the donate list on the donators page...
They show up in the admin area :/

twitch
08-08-2005, 09:10 PM
Alright, I did the Uninstall portion but I still have the links in the admin area that I would like to get rid of but I forgot what edits were made to what files and I don't have the files backed up from before editing...

Can anyone help me out?

twitch
08-09-2005, 04:36 AM
nevermind, got it

DigitalDevil
08-10-2005, 12:59 PM
Sorry I've not read the full thread but having to scroll past the same top part every time was doing my head in.

I currently run a gaming clan website (www.digitaldevilclan.com) and would like to be able to receive donations from my members to help keep the website afloat.
This looks like it could be the solution to my problem but! Do I have to be PayPal verified in order for this to work? I cant become verified because I'm not a company and cant fill in the company details section that it asks you to fill (and for some reason paypal refuse to send my gaming clan email address an email, the email acts as a forwarder so not sure if paypal allow this).

Lastly, how hard is this to install? I've tried installing mods in the past on phpBB forums and every single time I've had problems, I really dont want to encounter problems here if possible (especially since money could be involved)

Thanks,
Digi Dev

Prodimysterio
08-10-2005, 04:38 PM
Sorry I've not read the full thread but having to scroll past the same top part every time was doing my head in.

I currently run a gaming clan website (www.digitaldevilclan.com) and would like to be able to receive donations from my members to help keep the website afloat.
This looks like it could be the solution to my problem but! Do I have to be PayPal verified in order for this to work? I cant become verified because I'm not a company and cant fill in the company details section that it asks you to fill (and for some reason paypal refuse to send my gaming clan email address an email, the email acts as a forwarder so not sure if paypal allow this).

Lastly, how hard is this to install? I've tried installing mods in the past on phpBB forums and every single time I've had problems, I really dont want to encounter problems here if possible (especially since money could be involved)

Thanks,
Digi Dev


Hey Digi,

As far as I know, you must be PayPal verified in order to get this to work. I installed it on my website about a week ago and everything went just fine with the exception of some broken links that I cannot seem to fix. Just a fair warning, support for this is most likely going to be minimal. I have sent an e-mail to the creator of this great modification, but have not received a response. I also made a post here about the trouble that I was having, but I never received any feedback on that either. I would say that if you already have multiple modifications in place on your site, you would be more likely to run into trouble versus a basic, non-modified vbulletin forum. Of course, it really depends from site to site, as it installed on my site just fine and I already had several modifications in place.

Now, if only I could get rid of the nagging broken links problem...

DigitalDevil
08-10-2005, 05:04 PM
Hey Digi,

As far as I know, you must be PayPal verified in order to get this to work. I installed it on my website about a week ago and everything went just fine with the exception of some broken links that I cannot seem to fix. Just a fair warning, support for this is most likely going to be minimal. I have sent an e-mail to the creator of this great modification, but have not received a response. I also made a post here about the trouble that I was having, but I never received any feedback on that either. I would say that if you already have multiple modifications in place on your site, you would be more likely to run into trouble versus a basic, non-modified vbulletin forum. Of course, it really depends from site to site, as it installed on my site just fine and I already had several modifications in place.

Now, if only I could get rid of the nagging broken links problem...

Thanks for the reply, I only have a portal hack on my forums (dont even have a new skin on them yet).
Just wondering but how did you get verified? Or are you your own company?

Prodimysterio
08-10-2005, 05:23 PM
Thanks for the reply, I only have a portal hack on my forums (dont even have a new skin on them yet).
Just wondering but how did you get verified? Or are you your own company?

When you login to your PayPal account, you will have the option to go through the verification process for it. To get this modification to function properly, I simply upgraded from a personal account to a business account. Again, this can be done from within your PayPal account interface.

DigitalDevil
08-10-2005, 06:03 PM
When you login to your PayPal account, you will have the option to go through the verification process for it. To get this modification to function properly, I simply upgraded from a personal account to a business account. Again, this can be done from within your PayPal account interface.

When people make donations does it show your email address or your websites name?
Just my paypal accounts registered under my personal email address and wouldnt want people to see it.
Also while validating, they want to know the be all and end all of everything, they wnat my credit card, bank details, home phone number, address, want me to check on three payments they make, want to send me a letter and give me a phone call, I need my banks address :ermm: theirs so much information required its unreal. I mean I want to set up this in the near furute not have to wait till my next bank statment in November just to see three small payments of under ?1 then I've got to wait 7 days for a letter to validate my address. ANd this is just for a personal paypal account, ffs I can only use it to make payments, god knows what they will want if I upgrade to a premium account (which last time I check required all sorts of details about your comapny....) :cry:

Prodimysterio
08-10-2005, 06:08 PM
When people make donations does it show your email address or your websites name?
Just my paypal accounts registered under my personal email address and wouldnt want people to see it.

That's the entire point of upgrading to a business account. You maintain your personal information, but you are allowed to operate under a company name, which in your case could be "Digital Devil Clan.com"

Prodimysterio
08-10-2005, 06:24 PM
/bump for me...

Can someone, anyone, please tell me what to do with the following error I am receiving:

Fatal error: Call to undefined function: imagecreate() in /home/gamingch/public_html/forums/includes/pp_image.php on line 38

Questions I have:

1. Where is the function "imagecreate()" called from?

2. Is this a problem that stems from an uploaded PHP file, or a template edit?

Thus far, I have combed over every single PHP file I know of that could possibly be associated with this in addition to completely uninstalling and reinstalling this modification from scratch.

I'm lost...

Prodimysterio
08-10-2005, 09:35 PM
IT'S FINALLY FIXED!!!

For those that are having trouble with the goals bar appearing as a broken link, please, please, please ensure that you have GD 2+ installed on the server that your vBulletin forums are hosted on. In addition to this, please ensure that you have GD activated from the administrator control panel in your vBulletin installation. After I installed GD on my server and activated it in my Admin CP, the goals bar FINALLY showed up.

I hope this helps someone else out there that is having the same issues!!!

paul41598
08-11-2005, 01:45 PM
I dont get this. Ive done the instructions like 3 times. Everytime I donate and get taken back to my page, it says Ive donated 0.00 and I dont get added to the goal, nor the donater top 5 list. Plus it doesnt show nothing but 0's in my admin cp, for valid, invalid transactoins.

Damit..

MillerLight
08-11-2005, 05:54 PM
Cloudrunner,

This has been installed and tested on my server using VB Ver 3.0.8, and it runs flawless so far. Excellent module and I appreciate your efforts and sharing your work!

Can this be set to wipe out all donations on a set date, or be done manually? We run our donations on a yearly schedule, then when the year is up, we wipe the slate clean.

loftyasianz
08-11-2005, 09:14 PM
concerning post https://vborg.vbsupport.ru/showpost.php?p=750195&postcount=479 and reply to this post in https://vborg.vbsupport.ru/showpost.php?p=750859&postcount=480, i was wondering whether or not it would be possible to make it so that it will only move someone into a certrain usergroup IF they have donated a cummulative total of XX dollars.

thanks in advance,
warren

xfaethorx
08-14-2005, 06:20 AM
I dont get this. Ive done the instructions like 3 times. Everytime I donate and get taken back to my page, it says Ive donated 0.00 and I dont get added to the goal, nor the donater top 5 list. Plus it doesnt show nothing but 0's in my admin cp, for valid, invalid transactoins.


Damit..

I have the EXACT same problem , I've even tried un-installing it and re-installing it and it still has the same problem! I posted my fault in here ages ago and I'm yet to find any support on it.

MillerLight
08-14-2005, 09:43 PM
Cloudrunner,

I have been using your hack module for a few days, and must say, this is a time saver god-send!

One question?

Is there a way to only show the X Top donors, and the link to show all donors is not visible?

What I am trying to achieve is to show only the X highest donors, and not the entire donor list.

Thanx!

shadowknight
08-16-2005, 11:31 AM
hmm do i have to have the vbadvanced installed for this to work?

George Gerez
08-17-2005, 02:12 PM
I am installing the "Paypal donation for Vbulletin" I did all the mods needed. but when I got to the Go to Paypal and add the following line to my IPN (In paypal.com) I already have a script in this box!?


Install says "Go to your Paypal account's profile and click the Instant Payment Notification link there. You will find a check box on the page in the upper left, you must select that for this to work. Secondly, place the FULL URL to your ppverify.php file there (i.e. http://www.yourdomain.com/forum/ppverify.php) and save your preferences."

But I already have the following:
"
http://forums.asff.com/subscriptions/paypal.php
"

What do I do now?