View Full Version : PayPal Donations For vBulletin 3.5.0
Forsak3n1
10-15-2005, 03:22 PM
did you put the cpanel xml inside the includes/xml ?
in your admin control panel
you sould see paypal donation then a bunch of settings
I actually did copy/install all of the included files, keeping the hierarchy of the folders in the zip. However, I never did see a control panel menu for the donations. :ermm:
The only reference I ever saw inside of the admin panel, was under the Plugin System > Manage Plugins. I believe it was WOL references, if I remember correctly. So I'm not sure what exactly I did (or didn't do).
djmac
10-15-2005, 03:47 PM
I actually did copy/install all of the included files, keeping the hierarchy of the folders in the zip. However, I never did see a control panel menu for the donations. :ermm:
The only reference I ever saw inside of the admin panel, was under the Plugin System > Manage Plugins. I believe it was WOL references, if I remember correctly. So I'm not sure what exactly I did (or didn't do).
The only place I have seen the donations setup is in the Admin vBulletin Options all the way at the bottom. For all intense and purposes when the fields are filled in it should work. But there is no button for Donation. I too feel I did something wrong here.
Confused
Don
djmac
10-15-2005, 04:13 PM
I actually did copy/install all of the included files, keeping the hierarchy of the folders in the zip. However, I never did see a control panel menu for the donations. :ermm:
The only reference I ever saw inside of the admin panel, was under the Plugin System > Manage Plugins. I believe it was WOL references, if I remember correctly. So I'm not sure what exactly I did (or didn't do).
OK Fellow Brother I think I have it. At least it works anyway. Here is what you do.
In the AdminCP select Styles & Templates, then select Style Manager. Now you should see a window listing the styles you are using. Drop down the box on the first one and select Edit Templates. Another window will pop up, double click on Navigation/ Breadcrumbs Templates, now select and highlite NAVBAR, either the Customize or edit button will be available. Click either one.
In the FIND box look for this: a href="login.php? it will show you this:
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td>
Paste this just above it:
<td class="vbmenu_control"><a href="http://www.yourdomain.com/bbs/upload/donate.php"
target="donate">Donate</a></td>
Make sure the URL to your doante.php is correct.
I hope this helps
Regards
Don
JoeWho
10-15-2005, 05:00 PM
OK Fellow Brother I think I have it. At least it works anyway. Here is what you do.
In the AdminCP select Styles & Templates, then select Style Manager. Now you should see a window listing the styles you are using. Drop down the box on the first one and select Edit Templates. Another window will pop up, double click on Navigation/ Breadcrumbs Templates, now select and highlite NAVBAR, either the Customize or edit button will be available. Click either one.
In the FIND box look for this: it will show you this:
Paste this just above it:
Make sure the URL to your doante.php is correct.
I hope this helps
Regards
Don
Don,
Thank you, Thank you, Thank you!!!
I'm new to VB and I do not know where to find all the things they are talking about, that will change in time, I hope... LOL
I did not know how to add that button to the NAV bar, so thanks you this info!
JoeWho
jluerken
10-15-2005, 05:02 PM
I have a simple question.
I installed the hack and it 'seems' working as far as I could test it actually.
I have seen that it is modifying templates but cause I have modified very much templates heavily on my own the installer passed some templates.
Is there a html file available where all template changes are in?
I think I have to do some of them manually.
imported_magjr
10-15-2005, 05:30 PM
First, thanks for assuming that I'm either illiterate or didn't bother reading through the last 17 pages. I may be new to vB and how to edit the coding, but I'm not a complete tool.
Does that mean that it must not work, if I can't get it to install like the "[other] 100 people?" you describe? No. It means somewhere along the line I screwed up, or forgot to perform a crucial step... which is quite likely since I am a novice vB user. Never did I say that this mod was garbage or didn't work at all. Go back and read my post, before you try getting smart with someone next time.
If you have further issues with me, or someone else who obviously doesn't possess the competency to complete this install with zero issues, please take it to PM. I don't want to clutter this thread with senseless bickering when all I was originally trying to do was relate my problems to someone who was having the exact issue.
:up: :up: :up:
Excellent retort. Said in a much better way then I would have said it heh.
For the record, three other people are having the same problem as me and the same problem has gone unanswered.
ASSumptions suck Iguana
djmac
10-15-2005, 06:15 PM
I went on the Authors site under the donations URL he has posted and unless I am as dumb as a fence post I can't see how to make a donation on his site either....
Like others here I have gone over the installation 5 or 6 times and I keep getting the same result. Sure I can get the donation page but there is no link to "MAKE" a donation.
I was jsut informed what I was really missing. Now I belong to the elite few. The PayPal Donations option in the AdminCP. That's why it doesn't work
Back to my original question:
Can Cloudrunner or anyone else like to weigh in, please tell me what I am doing wrong. :tired:
Regards
Don
djmac
10-15-2005, 08:47 PM
I just read a small post at
PayPal Option link (https://vborg.vbsupport.ru/showpost.php?p=771807&postcount=148)
It seems that cpnav_paypal_donations.xml does not like the word vBulletin found in the begining of the script.
Open cpnav_paypal_donations.xml in a text editor and in the second line from the top find:
<navgroups product="vBulletin">
and lower case the B so it looks like this....
<navgroups product="vbulletin">
Now I have a working donation button.
It took me 2 times reading through 18 pages of post to find it. If laguna or whatever your name was or is, if you knew there was a fix on the system why didn't you point us to it.
I want to personaly thank Omega Prime the individual who posted this VERY helpful fix.
Regards
Don
djmac
10-15-2005, 08:57 PM
For whatever reason, vB doesn't like products with the name "vBulletin", so you'll need to edit the xml file and change it to "vbulletin" to get it working :)
Thank you very much for making this observation. Lower case B fixes it all. Now I and I am sure a few others will now have a working paypal system. Thank you very much.
BTW I reposted the fix on page 18.
Regards
Don
Forsak3n1
10-15-2005, 08:59 PM
I just read a small post at
PayPal Option link (https://vborg.vbsupport.ru/showpost.php?p=771807&postcount=148)
It seems that cpnav_paypal_donations.xml does not like the word vBulletin found in the begining of the script.
Open cpnav_paypal_donations.xml in a text editor and in the second line from the top find:
and lower case the B so it looks like this....
You know... I looked at that specific post at least a dozen times, and it never clicked. I was assuming, through an older version, that the actual xml file once had "vBulletin" in the name of it... so therefore was not relevant anymore, with the current name. I never actually thought to open the current xml file to see if that string was in there.
Wow.
Thanks for replacing that dimly lit lightbulb above my head. :nervous:
JoeWho
10-15-2005, 09:10 PM
I just read a small post at
PayPal Option link (https://vborg.vbsupport.ru/showpost.php?p=771807&postcount=148)
It seems that cpnav_paypal_donations.xml does not like the word vBulletin found in the begining of the script.
Open cpnav_paypal_donations.xml in a text editor and in the second line from the top find:
and lower case the B so it looks like this....
Now I have a working donation button.
It took me 2 times reading through 18 pages of post to find it. If laguna or whatever your name was or is, if you knew there was a fix on the system why didn't you point us to it.
I want to personaly thank Omega Prime the individual who posted this VERY helpful fix.
Regards
Don
Thanks Don,
Wow, all that work of installing and uninstalling, just trying to get it working and the problem all along was the uppercase letter (vBulletin) in the "cpnav_paypal_donations.xml", now it's all makes sense and is working like it should work. Actually it's a pretty nice plug-in, once you get it working.
Thanks very much for your help on finding the problem.
JoeWho
Hello,
Like I said, if everyone read the posts in this thread, they could get it to work. I was pmed several times asking how I got this working. I posted the fix that "I READ" in this thread AGAIN even though it was already posted. So I wasn't assuming. I knew the answer was in the reading because I myself posted it once. I didn't say exactly where it was because I don't have time to find it again to post the link to it.
When there are 18 pages in a thread and 100 installs, it is very safe to assume that the problem you are having installing this is either human error, or the answer has already been posted. If after reading the entire thread the answer isn't here, and you are certain it isn't human error, then you post the question. The real problem is that most people don't bother to read all of the posts, they skim them. Then they say they read the whole thing and the answer isn't there. The acp problem has been answered and posted 2 times that I am aware of. So there is no way that it was read like people are claiming. So tell me, where did I assume?
dutchbb
10-15-2005, 09:58 PM
When there are 18 pages in a thread and 100 installs, it is very safe to assume that the problem you are having installing this is either human error, or the answer has already been posted. If after reading the entire thread the answer isn't here, and you are certain it isn't human error, then you post the question.
Why is the zip not updated if its obviously not working after installation. You can't expect people to navigate 18 pages to find all the bug fixes and then apply those. I rather have to do all the edits myself than a automated installer that does a poor job. Your post makes no sence at all.
And please make this a beta.
dutchbb
10-15-2005, 10:15 PM
Error trying to run the uninstall script:
Fatal error: Call to undefined function: print_form_header() in /home/xch1295/domains/domain.com/public_html/forum/admincp/donation_install/donation_uninstall.php on line 14
I strongly recommend people NOT to install this hack, it is in beta stage.
Hello,
Triple, this isn't made by me. This was made by cloudrunner. If I could update the first post, I would have done so a long time ago. This hack isn't in beta either. It works just fine. The biggest problem was the acp. Once everyone renamed the "vBulletin" to vbulletin, it appeared. The uninstaller doesn't work. You need to drop the tables yourself. That was also noted in previous posts. Cloudrunner needs to update the hack and correct the uninstaller.
dutchbb
10-15-2005, 10:23 PM
Thanks for making that clear.
Now I have a working donation button.
It took me 2 times reading through 18 pages of post to find it. If laguna or whatever your name was or is, if you knew there was a fix on the system why didn't you point us to it.
I want to personaly thank Omega Prime the individual who posted this VERY helpful fix.
Regards
Don
Thanks man
CLOUDRUNNER??? If you want a donation please make this work right!
djmac
10-15-2005, 10:26 PM
Hello,
Like I said, if everyone read the posts in this thread, they could get it to work. I was pmed several times asking how I got this working. I posted the fix that "I READ" in this thread AGAIN even though it was already posted. So I wasn't assuming. I knew the answer was in the reading because I myself posted it once. I didn't say exactly where it was because I don't have time to find it again to post the link to it.
When there are 18 pages in a thread and 100 installs, it is very safe to assume that the problem you are having installing this is either human error, or the answer has already been posted. If after reading the entire thread the answer isn't here, and you are certain it isn't human error, then you post the question. The real problem is that most people don't bother to read all of the posts, they skim them. Then they say they read the whole thing and the answer isn't there. The acp problem has been answered and posted 2 times that I am aware of. So there is no way that it was read like people are claiming. So tell me, where did I assume?
Stop back peddling, you screwed up and you know it. Like I said before you should have just pointed us to it and step back. You know what the real problem is? People who forget where they came from. Arrogance is like cheap clothes, they never fit right.
Regards
Don
Forsak3n1
10-15-2005, 10:41 PM
I'll admit my fault, since I share blame in this whole cluster****. In my ignorance, I did not rationalize that I had to open up the xml file and fix the case-sensitivity of the "vBulletin" line. However, I did read that post several times... I was just reading too much into what the original poster was trying to say. :nervous:
That said... when all was done and said, I installed this hack again and it works beautifully! Granted, it's a beta version... but as of right now, the install works without any issues. I even tested it out by sending cash through it to my PayPal account. So thanks to the author of the script, and to all of those who helped me get through the aneurysm I was creating for myself. :laugh:
Now... back on topic... can anyone, please, point me in the direction to alter the following text. Once on the donate page, viewers see "How To Donate" with "We use PayPal as our processor for all donation transactions. You do not need an account with them to donate." I'm curious to how I can modify that specific text (in italics). Can someone tell me which template, file, etc I need to edit? It would be greatly appreciated!
Again, thanks to all who helped... and I hope there is no bad blood between anyone in this thread. It would be a shame to train-wreck this thread, when we can all try to help each other get these installs working. My apologies to anyone who I may have offended.
imported_magjr
10-15-2005, 11:21 PM
It is still assumption as Frank and my problem still exists. And the forums/ppverify.php isn't working either.
mackers8923
10-15-2005, 11:21 PM
Error trying to run the uninstall script:
I strongly recommend people NOT to install this hack, it is in beta stage.
The script seems to be running very well for most people including myself.
djmac
10-15-2005, 11:22 PM
I'll admit my fault, since I share blame in this whole cluster****. In my ignorance, I did not rationalize that I had to open up the xml file and fix the case-sensitivity of the "vBulletin" line. However, I did read that post several times... I was just reading too much into what the original poster was trying to say. :nervous:
That said... when all was done and said, I installed this hack again and it works beautifully! Granted, it's a beta version... but as of right now, the install works without any issues. I even tested it out by sending cash through it to my PayPal account. So thanks to the author of the script, and to all of those who helped me get through the aneurysm I was creating for myself. :laugh:
Now... back on topic... can anyone, please, point me in the direction to alter the following text. Once on the donate page, viewers see "How To Donate" with "We use PayPal as our processor for all donation transactions. You do not need an account with them to donate." I'm curious to how I can modify that specific text (in italics). Can someone tell me which template, file, etc I need to edit? It would be greatly appreciated!
Again, thanks to all who helped... and I hope there is no bad blood between anyone in this thread. It would be a shame to train-wreck this thread, when we can all try to help each other get these installs working. My apologies to anyone who I may have offended.
I can. You will find it in the /admincp/donation_install/donation_phrases.php
Around line 15
Regards
Don
mackers8923
10-15-2005, 11:26 PM
After someone donates they are taken to the Thank you page. Could someone tell me for confirmation what template I need to edit in order to change the $ sign to the £ sign please? TY
mackers8923
10-15-2005, 11:39 PM
Sorry one other thing. Where should the option for the member to show their donation to the public or not? I can't see it anywhere!!!:(
djmac
10-15-2005, 11:44 PM
After someone donates they are taken to the Thank you page. Could someone tell me for confirmation what template I need to edit in order to change the $ sign to the ? sign please? TY
Go into the AdminCP and under the PayPal Options menu select the first choice. Donation Settings. You can make those changes right there.
Regards
Don
djmac
10-15-2005, 11:45 PM
Sorry one other thing. Where should the option for the member to show their donation to the public or not? I can't see it anywhere!!!:(
From what I see the user has no choice. You do. In the PayPal Settings you can turn off the public options.
Regards
Don
djmac
10-15-2005, 11:50 PM
I'll admit my fault, since I share blame in this whole cluster****. In my ignorance, I did not rationalize that I had to open up the xml file and fix the case-sensitivity of the "vBulletin" line. However, I did read that post several times... I was just reading too much into what the original poster was trying to say. :nervous:
That said... when all was done and said, I installed this hack again and it works beautifully! Granted, it's a beta version... but as of right now, the install works without any issues. I even tested it out by sending cash through it to my PayPal account. So thanks to the author of the script, and to all of those who helped me get through the aneurysm I was creating for myself. :laugh:
Now... back on topic... can anyone, please, point me in the direction to alter the following text. Once on the donate page, viewers see "How To Donate" with "We use PayPal as our processor for all donation transactions. You do not need an account with them to donate." I'm curious to how I can modify that specific text (in italics). Can someone tell me which template, file, etc I need to edit? It would be greatly appreciated!
Again, thanks to all who helped... and I hope there is no bad blood between anyone in this thread. It would be a shame to train-wreck this thread, when we can all try to help each other get these installs working. My apologies to anyone who I may have offended.
We all can take some blame here, you can put some of this on my shoulders too. I have Biiiiiig shoulders. And you are right about the plug in. I have just about where I want it and it is a fine looking plugin... and you can use it as a stand alone if the vB is secondary to your site. I am as happy as a :banana:
Regards
Don
mackers8923
10-15-2005, 11:53 PM
Go into the AdminCP and under the PayPal Options menu select the first choice. Donation Settings. You can make those changes right there.
Regards
Don
Yes your talking about the currency setting. I have it set to GBP which works fine on the donation page but the thank you page is still showing a $ sign...
djmac
10-16-2005, 12:25 AM
Yes your talking about the currency setting. I have it set to GBP which works fine on the donation page but the thank you page is still showing a $ sign...
OK... Just for my information. Did you select the options to "Show Currency Selector?" in the settings area to YES?
You may have overlooked this feature. I know I did. When you go to make a donation there should be a drop down box showing the amounts in GRB, EURO etc etc in whatever amonut you have it set for.
and when you select one of those paypal shows the same currency. I just tried it and for me it works. But I was in sandbox and it asked me if I wanted to accept or deny payment in Dollars or in Pounds and it clearly show both.
Let me know
Don
mackers8923
10-16-2005, 12:31 AM
OK... Just for my information. Did you select the options to "Show Currency Selector?" in the settings area to YES?
You may have overlooked this feature. I know I did. When you go to make a donation there is a drop down box showing the amount in GRB, EURO etc etc
and when you select one of those paypay shows the same currency.
Let me know
Don
Don
First of all thank you for your help with this, on checking my features I see that I had the Currency Selector set to no. It is now working fine.
I'm still lost with the option for the donation to show up lol
djmac
10-16-2005, 12:38 AM
Don
First of all thank you for your help with this, on checking my features I see that I had the Currency Selector set to no. It is now working fine.
I'm still lost with the option for the donation to show up lol
Not a problem... ;)
What option are you talking about.... Let me have it! :laugh:
Regards
Don
Forsak3n1
10-16-2005, 01:17 AM
I can. You will find it in the /admincp/donation_install/donation_phrases.php
Around line 15
Regards
Don
Thanks. :):up:
Hello,
Stop back peddling, you screwed up and you know it. Like I said before you should have just pointed us to it and step back. You know what the real problem is? People who forget where they came from. Arrogance is like cheap clothes, they never fit right.
Regards
Don
Why don't you take the time to run a search and read all of my posts. I am not a coder. (Look under my name, it says "member", just like you.) I have however helped where I could.
The real problem has nothing to do with people forgetting where they came from. It has to do with people like you that are too lazy to go through a thread. You have all of 20 posts on this site and you already expect people to hold your hand and guide you.I answered this question in the past. I posted that its answer was in the reading. Where was your answer? Oh, thats right....you didn't take the time to read through the thread to find it. You wanted me or someone else to hold your hand and bring you to the answer.
Get used to how this site works. People help when they can. They won't do it all for you though. Search is your friend. If you plan on asking the same questions over and over again on this site when installing the various mods, you are going to find that most people are going to tell you the same thing. "Did you read through the thread? This has been answered several times."
Keep this in mind Don, this site doesn't need you,you need it. If you didn't need this site, you wouldn't be here using other peoples mods. You would be writing your own for what you need.
As all of my previous posts show, I am normally not like this. But when some newbie comes in and expects everyone to hold their hand, it gets under my skin. Do like the rest of us do and READ the thread. I READ the thread when I first installed this and that is how I found the answer. What makes you think everyone owes you some sort of privalege of holding your hand and leading you to it?
djmac
10-16-2005, 06:54 PM
Hello,
Why don't you take the time to run a search and read all of my posts. I am not a coder. (Look under my name, it says "member", just like you.) I have however helped where I could.
The real problem has nothing to do with people forgetting where they came from. It has to do with people like you that are too lazy to go through a thread. You have all of 20 posts on this site and you already expect people to hold your hand and guide you.I answered this question in the past. I posted that its answer was in the reading. Where was your answer? Oh, thats right....you didn't take the time to read through the thread to find it. You wanted me or someone else to hold your hand and bring you to the answer.
Get used to how this site works. People help when they can. They won't do it all for you though. Search is your friend. If you plan on asking the same questions over and over again on this site when installing the various mods, you are going to find that most people are going to tell you the same thing. "Did you read through the thread? This has been answered several times."
Keep this in mind Don, this site doesn't need you,you need it. If you didn't need this site, you wouldn't be here using other peoples mods. You would be writing your own for what you need.
As all of my previous posts show, I am normally not like this. But when some newbie comes in and expects everyone to hold their hand, it gets under my skin. Do like the rest of us do and READ the thread. I READ the thread when I first installed this and that is how I found the answer. What makes you think everyone owes you some sort of privalege of holding your hand and leading you to it?
Are you finished?
Don
Rukas
10-17-2005, 03:47 AM
I got the Admin option under vBulletin Options but that only lets me turn it on or off, how do I actually set goals and donation sizes and shit like that? I dont see an actual Donation admin panel in admin CP.
Rukas
10-17-2005, 04:22 AM
I got the Admin option under vBulletin Options but that only lets me turn it on or off, how do I actually set goals and donation sizes and shit like that? I dont see an actual Donation admin panel in admin CP.
OK I fixed it, the xml file was wrong.
Head to /forum/includes/xml and edit cpnav_paypal_donations.xml
Find:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vBulletin">
Replace with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vbulletin">
I still cant work out how to get the vBadvanced module to work though.
bubba1977
10-18-2005, 10:14 PM
OK I fixed it, the xml file was wrong.
Head to /forum/includes/xml and edit cpnav_paypal_donations.xml
Find:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vBulletin">
Replace with:
<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vbulletin">
I still cant work out how to get the vBadvanced module to work though.
First of all this is a brilliant hack, installed well with no problems.
However i get the same problem in control panel and have no menu to change the goals and stuff like that.
Just noticed when doin this edit that your replacing code for identical code..... is that right?
bubba1977
10-18-2005, 10:23 PM
its ok, i did the edit and it worked.. even tho the code edit is the same.
oh well.. thanks for the hack.
The Realist
10-19-2005, 10:46 AM
installed using 3.5.0 gold.
In admincp>paypal donations>view all invalid transactions it says: Tansaction from NOT Transactions from.
Also I have one invalid transaction but no text is showing only the dot you tick and when I do tick that and click View Transaction it brings be back to the same page?
Any ideas how I can remove this invalid transaction from the database?
Laters
Rabbitoh Warren
10-19-2005, 05:19 PM
Is there a vBadvanced module available for this yet and if so where can I find it?
TIA.
cashpath
10-21-2005, 02:22 PM
My cpnav paypal donations xml didn't install....
I reran the installer but it still isn't there... is there a manual way to do it?
Thanks
LauraFL
10-21-2005, 02:34 PM
After I installed this hack (which works great, btw), I lost all the edits I made to the postbits... points from the uCash mod and Staff titles. I undid all the edits for the 2 hacks and uninstalled and then redid them, but they will not show up. The paypal hack is the last one I added and what caused the problems.
Any ideas?
cashpath
10-21-2005, 03:08 PM
My cpnav paypal donations xml didn't install....
I reran the installer but it still isn't there... is there a manual way to do it?
Thanks
Edit .xml file and change
navgroups product=
(line 2)
vBulletin to vbulletin... (found myself but helping those who didn't..)
Mastar
10-22-2005, 01:35 AM
I got this error in the installation:
Installed Table "donation_buttons"...
Installed Table "donation_currency_exchange"...
Installed Table "donation_donors"...
Installed Table "donation_goals"...
Installed Table "donation_paypalipn"...
Altering user table...
Column donor not found in user table, continuing on...
Column showdonor not found in user table, continuing on...
Altered user table...
What is missing?
mtindor
10-22-2005, 01:45 AM
I got this error in the installation:
Installed Table "donation_buttons"...
Installed Table "donation_currency_exchange"...
Installed Table "donation_donors"...
Installed Table "donation_goals"...
Installed Table "donation_paypalipn"...
Altering user table...
Column donor not found in user table, continuing on...
Column showdonor not found in user table, continuing on...
Altered user table...
What is missing?
Are you sure anything is missing. It may have created the tables after the fact. Check to see if it has. If it hasn't, my guess is that you maybe 'upgraded' from a previous version that worked on vb 3.0.x?
Mike
Mastar
10-22-2005, 02:01 AM
Nah this was a fresh Vb3.50 installation.
Also after the installation was finished I see no links anywhere and no trace that it is installed in the forum other that the admincp.
Citizen
10-22-2005, 04:53 PM
Near the end of the installation, the prompt listed a file edit, but also had a continue button. Did I need to manually make the file edit or did the script do it automatically?
cashpath
10-22-2005, 07:49 PM
manually
davidw
10-22-2005, 09:03 PM
Looking forward to the vba module/template/whatever :D
ManagerJosh
10-23-2005, 03:49 PM
A few of my members have donated, yet they don't appear on the list nor has it increased the goal. Something I did wrong?
gldtn
10-24-2005, 09:02 AM
A few of my members have donated, yet they don't appear on the list nor has it increased the goal. Something I did wrong?
The Donate link that is suppose to be in the navbar is not appearing.
1 - Yes! I set it to active under Paypal Donations Settings.
2 - Yes! I updated the phrases by saving one of the PayPal Donations phrases
I use 2 styles, one is rather funky; so I thought that the style would be the problem. But I tried going to vB original style and the link still did not appear. Since I seen the option to turn the navbar link on and off I was wondering if someone can provide me the if statement so I can still turn it off dynamicly.
Thanks
dizzine
10-24-2005, 02:23 PM
how configurable is the donations goals/history page when viewed..
ie..can you specify what information is given to users regarding donation totals..etc
Lamby1973
10-25-2005, 10:05 PM
Sorry I may have missed this along the way and it may be very easy to do. I was wanting to change the text in the Donations Goals, Your Donations are appreciated and A Special Thank You sections? Is there a way to do this. Also is it possible to have a donate butoon with a £ in instead of a $?
Cheers
mcasteel
10-26-2005, 12:59 AM
Is this functional with 3.5 gold? I have 3.5 gold and installed, and everything looks okay in the admincp, but when I go to the forum index and main page, there are no paypal links and nothing in the navbar. Thanks. Sounds like a great hack. I hope it's just a mistake I made during installation.
PhotoMalaysia
10-26-2005, 04:51 AM
I don't get it. I installed this with no errors, but now what? Nothing appears in vbadvanced or anywhere else. Going to donate.php simply has a Your donations will be used... message, but no link or button for anyone to actually *make* a donation.
davidw
10-26-2005, 10:14 AM
Is this functional with 3.5 gold? I have 3.5 gold and installed, and everything looks okay in the admincp, but when I go to the forum index and main page, there are no paypal links and nothing in the navbar. Thanks. Sounds like a great hack. I hope it's just a mistake I made during installation.The navbar is a manual hack - you place it yourself. Any other links as well. :)
davidw
10-26-2005, 10:18 AM
I don't get it. I installed this with no errors, but now what? Nothing appears in vbadvanced or anywhere else. Going to donate.php simply has a Your donations will be used... message, but no link or button for anyone to actually *make* a donation.As you can see here:
http://www.christianboards.org/donate.php
The donations need to be created in admincp - under Paypal Donations -
Add A New Goal
Add A New Donation Button
Add A New Donor
Citizen
10-26-2005, 03:06 PM
Would someone be able to make a small modification so that the "top donors" table starts at the top left and all the other tables are on the right?
Reason is, that if I have more than 2 "top donors" it displays below everything else.
Here is the donate.php code:
<?
/*================================================= =====================*\
|| ################################################## ################## ||
|| # Paypal Donations for vBulletin 3.5 - Version 2.00 # ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2005 The Noble Pagan, Inc. All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # ---------------------------------------------------------------- # ||
|| ################################################## ################## ||
\*================================================ ======================*/
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'donations');
// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array(
'ppdonations'
);
// get special data templates from the datastore
$specialtemplates = array();
// pre-cache templates used by all actions
$globaltemplates = array(
'DONATIONS',
'donations_bits',
'donations_top_donor_bits',
'donations_goal_bits',
'donations_inactive',
'donations_cancelled',
'donations_complete'
);
// pre-cache templates used by specific actions
$actiontemplates = array();
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
// ################################################## #####################
// ######################## START MAIN SCRIPT ############################
// ################################################## #####################
if (empty($_REQUEST['do'])){
$_REQUEST['do'] = 'start';
}
// ###### Do tests and perform script ######
if ($_REQUEST['do'] == 'start'){
if($vbulletin->options['donationsactive'] == '1'){
// ###### Show Donation Options ######
$i = 1;
$ip_address = $_SERVER['REMOTE_ADDR'];
$query = $vbulletin->db->query_read("SELECT button.*, goal.title AS goal_title
FROM ".TABLE_PREFIX."donation_buttons AS button
LEFT JOIN ".TABLE_PREFIX."donation_goals AS goal ON(goal.id = button.goalid)
WHERE button.active = '1'");
$num = $vbulletin->db->num_rows($query);
while ($row = $vbulletin->db->fetch_array($query)){
// ###### Check Currency Costs ######
if ($vbulletin->options['showcurrencyselector'] == '1'){
$currency = $vbulletin->db->query_first("SELECT * FROM ".TABLE_PREFIX."donation_currency_exchange");
$amount = array();
foreach ($currency AS $key => $value){
$amount[$key] = number_format(round($row['amount'] * $value, 2), 2);
$amount['JPY'] = round($row['amount'] * $value, 0);
}
}
$description = stripslashes($row['description']);
if ($i < $num){
$end = "</tr><tr align=\"center\">";
$i++;
} else {
$end = '';
unset($i, $num);
}
eval('$donationbits .= "' . fetch_template('donations_bits') . '";');
}
if ($vbulletin->options['showdonors'] == '1'){
// ###### Show Top/Last Donors ######
if ($vbulletin->options['toporlast'] == '1'){
$query = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."donation_donors WHERE userid != '0' ORDER BY total DESC LIMIT 0,".$vbulletin->options['topdonornumber']);
} else {
$query = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."donation_donors WHERE userid != '0' ORDER BY id DESC LIMIT 0,".$vbulletin->options['topdonornumber']);
}
$num = $vbulletin->db->num_rows($query);
$i = 1;
while ($row = $vbulletin->db->fetch_array($query)){
$avatar_row = $vbulletin->db->query_first("SELECT user.showdonor, user.username, user.avatarid, user.avatarrevision, avatar.avatarpath, NOT ISNULL(customavatar.filedata) AS hascustomavatar, customavatar.dateline AS avatardateline
FROM ".TABLE_PREFIX."user AS user
LEFT JOIN ".TABLE_PREFIX."avatar AS avatar ON(avatar.avatarid = user.avatarid)
LEFT JOIN ".TABLE_PREFIX."customavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE user.userid = '".$row['userid']."'");
if ($avatar_row['avatarid']){
$avatarurl = $avatar_row['avatarpath'];
} else {
if ($avatar_row['hascustomavatar']){
if ($vbulletin->options['usefileavatar']){
$avatarurl = $vbulletin->options['avatarurl']."/avatar".$row['userid']."_".$avatar_row['avatarrevision'].".gif";
} else {
$avatarurl = "image.php?".$session['sessionurl']."u=".$row['userid']."&dateline=".$avatar_row['avatardateline'];
}
} else {
$avatarurl = '';
}
}
$userid = $row['userid'];
$avatar = '<img src="'.$avatarurl.'" border="0">';
$username = stripslashes($avatar_row['username']);
$show_as_donor = $avatar_row['showdonor'];
$total = number_format($row['total'], 2, '.', ',');
if ($i < $num){
$end = "</tr><tr align=\"center\">";
$i++;
} else {
$end = '';
unset($i, $num);
}
eval('$topdonorbits .= "' . fetch_template('donations_top_donor_bits') . '";');
}
}
if($vbulletin->options['showgoals'] == '1'){
// ###### Show Goals ######
if ($vbulletin->options['showtotalcollected'] == '1'){
// ###### Show Total Contributed To Date ######
$query = $vbulletin->db->query_read("SELECT mc_gross, mc_fee FROM ".TABLE_PREFIX."donation_paypalipn WHERE valid = '1' AND test_ipn = '".$vbulletin->options['ipn_test']."' AND payment_status = 'Completed'");
while ($row = $vbulletin->db->fetch_array($query)){
$mc_net = $row['mc_gross'] - $row['mc_fee'];
$mc_total = $mc_net + $mc_total;
}
}
$query = $vbulletin->db->query_read("SELECT * FROM ".TABLE_PREFIX."donation_goals WHERE active = '1'");
$num = $vbulletin->db->num_rows($query);
$i = 1;
while ($row = $vbulletin->db->fetch_array($query)){
$title = stripslashes($row['title']);
$description = stripslashes(nl2br($row['description']));
$amount = number_format($row['amount'], 2, '.', ',');
$total_donated = number_format($row['total_donated'], 2, '.', ',');
if ($row['amount'] > 0){
$percentage = round(($row['total_donated']/$row['amount'])*100, 2);
} else {
$percentage = '0';
}
if ($i < $num){
$end = "</tr><tr align=\"center\">";
$i++;
} else {
$end = '';
unset($i, $num);
}
eval('$donationgoalbits .= "' . fetch_template('donations_goal_bits') . '";');
}
}
// ###### Draw navbar ######
$pagetitle = $vbulletin->options['bbtitle'].' Donations';
$navbits = array(
"donate.php?$session[sessionurl]" => 'Donations',
'' => $pagetitle
);
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// ###### Output page ######
eval('print_output("' . fetch_template('DONATIONS') . '");');
} else {
// ###### Draw navbar ######
$pagetitle = $vbulletin->options['bbtitle'].' Donations';
$navbits = array(
"donate.php?$session[sessionurl]" => 'Donations',
'' => $pagetitle
);
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// ###### Output page ######
eval('print_output("' . fetch_template('donations_inactive') . '");');
}
} elseif ($_REQUEST['do'] == 'thankyou'){
// ###### User completed donation, THANK THEM! ######
$vbulletin->input->clean_gpc('p', 'mc_gross', TYPE_NOCLEAN);
$total = '$'.number_format($vbulletin->GPC['mc_gross'], 2, '.', ',');
// ###### Draw navbar ######
$pagetitle = $vbulletin->options['bbtitle'].' Donation Complete, THANK YOU!';
$navbits = array(
"donate.php?$session[sessionurl]" => ' Donation Complete, THANK YOU!',
'' => $pagetitle
);
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// ###### Output page ######
eval('print_output("' . fetch_template('donations_complete') . '");');
} elseif ($_REQUEST['do'] == 'canceled'){
if ($_REQUEST['feedback'] == '1'){
// ###### Do Feedback Send ######
$vbulletin->input->clean_array_gpc('p', array(
'subject' => TYPE_STR,
'message' => TYPE_STR)
);
$subject = $vbulletin->GPC['subject'];
$message = $vbulletin->GPC['message'];
vbmail($vbulletin->options['webmasteremail'], $subject, $message);
// ###### Draw navbar ######
$pagetitle = $vbulletin->options['bbtitle'].' Donation Cancelled, Feedback Sent';
$navbits = array(
"donate.php?$session[sessionurl]" => 'Donation Cancelled, Feedback Sent',
'' => $pagetitle
);
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// ###### Output page ######
eval('print_output("' . fetch_template('donations_cancelled_feedback_sent' ) . '");');
} else {
// ###### Do Donate Cancel ######
// ###### Draw navbar ######
$pagetitle = $vbulletin->options['bbtitle'].' Donation Cancelled';
$navbits = array(
"donate.php?$session[sessionurl]" => 'Donation Cancelled',
'' => $pagetitle
);
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
// ###### Output page ######
eval('print_output("' . fetch_template('donations_cancelled') . '");');
}
}
/*================================================= =====================*\
|| ################################################## ################## ||
|| # donate -- Fileversion 2.01 # ||
|| # Date Version Finalized -- 03 July 2005 # ||
|| ################################################## ################## ||
\*================================================ ======================*/
?>
Lamby1973
10-26-2005, 11:52 PM
Everything seems to be working fine apart from the Donations section not show down the left in the ACP with all the other drop down menus. I can type the destination to the donate page which seems fine but need to edit it. I have tried and tried to install and uninstall then re install but to no avail. This may be something easy I have missed but can anyone help me get the Donations section to show in the ACP?
Cheers
Citizen
10-27-2005, 02:24 PM
Would anyone be able to make that modification to the page? Shouldnt take more than a few seconds.
Hello,
If anyone needs it, here are instructions for adding links to your donations page.
It includes how to add a link to your navbar, quicklinks in navbar, and the footer.
See attachment for instructions.
If you have more ideas or want to know how to add links to other areas of the site, let me know via PM.
kangta
10-27-2005, 08:18 PM
Everything seems to be working fine apart from the Donations section not show down the left in the ACP with all the other drop down menus. I can type the destination to the donate page which seems fine but need to edit it. I have tried and tried to install and uninstall then re install but to no avail. This may be something easy I have missed but can anyone help me get the Donations section to show in the ACP?
CheersHaving the same problem, thought I was doing something wrong but after seeing that maybe not...?
The XML is in the includes/xml folder, and I've gone back and reinstalled. Not sure what else to do. :ermm:
kangta
10-27-2005, 08:20 PM
Would anyone be able to make that modification to the page? Shouldnt take more than a few seconds.That sounds like a template edit, not a PHP file edit. ;)
Citizen
10-28-2005, 01:29 AM
That sounds like a template edit, not a PHP file edit. ;)
Could someone do that? :nervous:
kangta
10-28-2005, 11:58 AM
Hmm, one of the other admins made a donation of $1 to test and it didn't show up in the system... that is, PayPal shows it but the donation system doesn't. She's from the UK and the currency for the account is US, so it converted and made the actual amount less than $1... would that have anything to do with it? Or maybe I installed/configured something incorrectly, which I'll be checking today, and you can ignore this if that's the case. :)
IPN is turned on with the ppverify.php and yodda yodda yodda, so again, not sure on this one... :ermm:
Shmee
10-29-2005, 07:04 AM
There's should be an option to move the user to a new usergroup after the payment has been confirmed.
kittykattjess
10-29-2005, 12:35 PM
I would love to have this one, but to scared to start the Php edit, is there someone that maybe could help me?
VBUsers
10-29-2005, 07:15 PM
i dont know whats missing i dont see this page at all. did i miss something. i went over it for a while. i cant set any of the defaults or settings.
BrandiDup
10-30-2005, 03:42 PM
I had a few problems b/c VB didn't want to recognize the product with the capital "vBulletin" in the XML file title. So, I wasn't getting the donation options to show up in the AdminCP. However, once I changed the xml file to all lowercase, it installed perfectly and is working great! Thank you very much. I've been looking forward to installing this for quite some time :) GREAT Hack!
divided_by_fear
10-30-2005, 04:40 PM
will this work on vBadvanced CMPS v2.0... if so i couldnt get the block to appear on the left hand side in admincp like lowandloudinc posted
BrandiDup
10-30-2005, 05:53 PM
will this work on vBadvanced CMPS v2.0... if so i couldnt get the block to appear on the left hand side in admincp like lowandloudinc posted
I'm not sure about CMPS, but I was having problems with mine not showing up in the regular vB Admin CP. What I had to do was go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave. That fixed mine. Hope that helps, but like I said I'm not sure about CMPS b/c I have just regular vB 3.5
divided_by_fear
10-30-2005, 05:57 PM
ok ill test it out and see ill let you know thanks for the help ill try it in a few mins...
divided_by_fear
10-30-2005, 06:55 PM
hell yeah that worked thank you very much.... and yes it does work with vBadvanced CMPS v2.0
VBUsers
10-30-2005, 08:35 PM
i dont know whats missing i dont see this page at all. did i miss something. i went over it for a while. i cant set any of the defaults or settings.
bump i dont see these settings im missing the admincp look. can someone share the fix for this?
divided_by_fear
10-30-2005, 08:45 PM
What I had to do was go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave. That fixed mine.
thats the fix right there no clue why they dont update the zip and there wouldnt be problems...
VBUsers
10-30-2005, 08:57 PM
As will be most likely request within the first ten posts, here are some basic screens of the system.
how and what am i missing from my install. i would like my page to look like this. please help
divided_by_fear
10-30-2005, 09:00 PM
um thats how it looks when you install it... goto your www.yoursite.com/donate.php if you installed the mod correctly you will see that..... or how ever you have your forum link set up
VBUsers
10-30-2005, 09:17 PM
um thats how it looks when you install it... goto your www.yoursite.com/donate.php if you installed the mod correctly you will see that..... or how ever you have your forum link set up
so i have to enter the buttons on my own into the pages and the quota images as well? what about the admincp panel. im missing the settings as well
divided_by_fear
10-30-2005, 09:21 PM
its really not to hard to be honest... you have to go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave... that makes it show up in admiccp.... reread my post i asked the same thing cause mine didnt show....
VBUsers
10-30-2005, 09:24 PM
its really not to hard to be honest... you have to go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave... that makes it show up in admiccp.... reread my post i asked the same thing cause mine didnt show....
ahhhh now i see it thanks alot i overlooked that cause i have so many issues going on right now. thanks for your help and appreciate the time
BrandiDup
10-31-2005, 12:05 AM
hell yeah that worked thank you very much.... and yes it does work with vBadvanced CMPS v2.0
Glad I could help! :up: :)
Detomah
10-31-2005, 04:05 AM
its really not to hard to be honest... you have to go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave... that makes it show up in admiccp.... reread my post i asked the same thing cause mine didnt show....
lol, that's one of those silly errors that could take forever to find. :o
Anyway thanks, you've just saved me a lot of time on that as I was wondering why it wasn't showing too. :)
evenmonkeys
10-31-2005, 04:19 AM
I just ran the install and the admincp nav didn't come up. >_> Did I mis something? Everything else seems to be working. I did make the edit to the file.
DS MrSinister
10-31-2005, 07:31 PM
I just ran the install and the admincp nav didn't come up. >_> Did I mis something? Everything else seems to be working. I did make the edit to the file.
Here is the fix.
https://vborg.vbsupport.ru/showpost.php?p=799091&postcount=286
evenmonkeys
10-31-2005, 10:59 PM
Ah. Thank you very much.
Case sensitivity > the donations hack.
DS MrSinister
10-31-2005, 11:46 PM
now if i only can get the vba module template to work. can anyone help me out on this. so i can get this to work with 3.5 gold. the templates was from 3.0.X. not sure what i need to replace or remove.
any help would be great thanks.
adv_portal_donate
<!-- Donations Block -->
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Donations</strong></span></td>
</tr>
$donate_goals_bits
<if condition="$vboptions['showdonors'] == '1'">
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center">
Our Top $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
<table>
$donate_goals_userbits
</table>
</td>
<else />
<tr>
<td class="$getbgrow" align="center">
Our Last $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
<table>
$donate_goals_userbits
</table>
</td>
</if>
</if>
</tr>
<tr>
<td class="$getbgrow" align="center">
<a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_button.gif" border="0"></a>
</td>
</tr>
</table>
<br />
<!-- End Donations Block -->
adv_portal_donate_goals
<tr>
<td class="$getbgrow" align="center">
$title
<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
adv_portal_donate_goals_user
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
dreck
11-01-2005, 01:51 AM
<font color="Green">/me installs</font>
I will install this tomar, thanks!
RGSMDNR
11-01-2005, 11:51 AM
how do i get it so the user has the donator under their name? its not showing up after they donate.
davidw
11-01-2005, 02:23 PM
I was just playing around with this and here's something I've come up with. I combined all three into one, but there's a lot of variables I don't know at the moment (so here's a rough draft)...
adv_portal_donate
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center">Our Top $vboptions[donations_top_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span></div><hr />
</td>
</tr>
</if>
<if condition="$vboptions['toporlast'] == '0'">
<tr>
<td class="$getbgrow" align="center">Our Last $vboptions[donations_last_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span><hr />
</td>
</tr>
</if>
<tr>
<td class="$getbgrow" align="center"><a href="$vboptions[bburl]/donate.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0"></a>
</td>
</tr>
<br />
<hr />
<tr>
<td class="$getbgrow" align="center">$title<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
<hr />
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
davidw
11-01-2005, 02:28 PM
variables I'm unsure about on what is supposed to be used (or even where some go):
donations_top_donor
$donate_goals_userbits
donations_last_donor
$donate_goals_userbits
$goal_total_formatted
$amount_formatted
$user_total
divided_by_fear
11-01-2005, 02:42 PM
i had to remove this cause when i looked at my member.php page it had it messed up major... the Last Activity: Today was all messed up along the side... in the member template it seemed to have 2 of the same codes back to back
Rukas
11-02-2005, 01:17 AM
I was just playing around with this and here's something I've come up with. I combined all three into one, but there's a lot of variables I don't know at the moment (so here's a rough draft)...
adv_portal_donate
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center">Our Top $vboptions[donations_top_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span></div><hr />
</td>
</tr>
</if>
<if condition="$vboptions['toporlast'] == '0'">
<tr>
<td class="$getbgrow" align="center">Our Last $vboptions[donations_last_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span><hr />
</td>
</tr>
</if>
<tr>
<td class="$getbgrow" align="center"><a href="$vboptions[bburl]/donate.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0"></a>
</td>
</tr>
<br />
<hr />
<tr>
<td class="$getbgrow" align="center">$title<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
<hr />
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
Doesnt work
davidw
11-02-2005, 11:04 AM
I know it doesn't work - I don't know the variables. The only thing I do know that works is the If condition switch - that I've tested.
jluerken
11-02-2005, 05:19 PM
Hi,
after updating the board to 3.5.1 my goals and donors are not showing up.
They're still in the database but not displayed.
Any idea?
If I set the donation system to disabled I get a blank page
Regards
jluerken
jluerken
11-02-2005, 05:30 PM
Ok I got the goals and donors back by reinstalling the templates but I still get a blank page when I disable the donor page :-(
Rukas
11-03-2005, 07:46 AM
Heres a weird bug, when a user changes their profile pic, they are no longer on the donar list or have the donar graphics next to their name. They are also taken off the top donars list.
It just happened to my top donar, the gold trophey is now gone and silver is on top.
http://www.streethop.com/forum/alldonors.php
Any ideas why?
jluerken
11-03-2005, 08:56 AM
Heres a weird bug, when a user changes their profile pic, they are no longer on the donar list or have the donar graphics next to their name. They are also taken off the top donars list.
I can confirm this.
It happened for one of my users when I upgraded from 3.5.0 to 3.5.1
I had to set a new avatar in the admincp for this user to get it back on the donor list.
In my case only the donors avatar was gone, not his name or entry
GrendelKhan{TSU
11-03-2005, 11:36 AM
any phrases set for this?
<< running mulit-language site. :/
davidw
11-03-2005, 12:03 PM
Is this an issue with 3.5.1 - the reason I ask is because I had one donor change his avatar but this did not happen on my site.
jluerken
11-03-2005, 08:53 PM
I can reinstall the templates and all that stuff but how can I reinstall the phrases only?
There is no option to do so but I need this.
Is there a manual way to call the function to do this?
I found out: donations_install.php?do=phrases :D
RGSMDNR
11-05-2005, 02:18 AM
not sure if this hack has anything to do with the problem on my board. but ever since i installed it, the admin account to relog in each time the browser is opened. is there anything this hack does to that admin account or the cookie or soemthing for this to happen?
thanks
Ranger187
11-05-2005, 03:55 AM
Top Donors
Sorted by Total Donations View All Donors
View All Donors
Takes you to the wrong link
http://www.example.com/forums/alldonors.php
Errors trying to uninstall... Lovely.
DS MrSinister
11-07-2005, 05:24 AM
Can anyone help me out on this one to make this work in vb3.5.1
This is for vba module
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # Paypal Donations for vBulletin 3.0.7 - Version 1.0 # ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2005 The Noble Pagan, $Inc. All Rights Reserved. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # ---------------------------------------------------------------- # ||
|| ################################################## ################## ||
\*================================================ ======================*/
$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']);
while ($row = $DB_site->fetch_Array($query_users)){
$donor_username = $row['username'];
$show_as_donor = $row['showdonor'];
$user_total = $row['total'];
eval('$donate_goals_userbits .= "'.fetch_template('adv_portal_donate_goals_user').'";');
}
$query_goals = $DB_site->query("SELECT * FROM ".TABLE_PREFIX."donation_goals WHERE active = '1' ORDER BY title ASC LIMIT 0,".$vboptions['cmps_number_goals']);
while ($row = $DB_site->fetch_array($query_goals)){
$amount = $row['amount'];
$amount_formatted = number_format($row['amount'], 2, '.', ',');
$goal_total = $row['total_donated'];
$goal_total_formatted = number_format($row['total_donated'], 2, '.', ',');
$title = stripslashes($row['title']);
if ($row['amount'] > 0){
$percentage = round(($goal_total/$amount)*100, 2);
} else {
$percentage = '0';
}
eval('$donate_goals_bits .= "'.fetch_template('adv_portal_donate_goals').'";');
}
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_donate') . '";');
/*================================================= =====================*\
|| ################################################## ################## ||
|| # ./modules (vBaCMPS) donate -- fileversion 1.08 # ||
|| # Date Version Finalized -- 02 July 2005 # ||
|| ################################################## ################## ||
\*================================================ ======================*/
?>
michaelbenson
11-07-2005, 09:36 AM
I have just installed the donations hack but how do i actually add in options for the user to donate to, and how do i actually set donation goals too? http://www.staff-lounge.com/donate.php
davidw
11-07-2005, 06:44 PM
I just installed 3.5.1 and had to reinstall paypal donations - and now the control panel is gone. For those not understanding, its the first screenshot here (https://vborg.vbsupport.ru/showpost.php?p=729962&postcount=3)
DS MrSinister
11-07-2005, 07:23 PM
this will fix that problem.
https://vborg.vbsupport.ru/showpost.php?p=799091&postcount=286
davidw
11-07-2005, 08:34 PM
and that fixed the problem :)
RGSMDNR
11-08-2005, 09:34 PM
i need some coding help here. i have this (https://vborg.vbsupport.ru/showthread.php?t=96249) running currently on my site. what conditional would i type in so that once a user donates, the google ads are gone.
thanks!
eXtremeTim
11-08-2005, 09:52 PM
Might want to fix this
ppverify.php
$msg = 'The Transaction Number is: '.$txn_id.'.
It is suggested that you investigate this transaction to determine if it was incorrectly labeled as invalid, or if it was an attempt at a false transaction.';
mail($vboptions['webmasteremail'], $subject, $msg);
the $vboptions ;)
DS MrSinister
11-08-2005, 10:58 PM
vbadvanced module for 3.5.x 2.0.0
just uplooad the module thru vba cmps admin.
:)
thx to micheal332001 for helping me out
thx m8
for some reason not sure why its not making all the templates.
here is the missing one
adv_portal_donate_goals_user
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
outlaw621
11-09-2005, 12:09 AM
Might want to fix this
ppverify.php
$msg = 'The Transaction Number is: '.$txn_id.'.
It is suggested that you investigate this transaction to determine if it was incorrectly labeled as invalid, or if it was an attempt at a false transaction.';
mail($vboptions['webmasteremail'], $subject, $msg);
the $vboptions ;)
What are we supposed to fix? I am not trying to be rude but I do not know what is wrong with it since I am not a coder. Can you please explain a little further what is wrong?
Chief Corn
11-09-2005, 12:28 AM
i get the database error when i view the ppverify.php file in the browser. i searched the thread for ppverify and seen others that had the problem but couldn't find any solutions. in my paypal profile i have ipn set to on and the link is right. any help?
http://www.lifeslashquit.com/forum/ppverify.php
outlaw621
11-09-2005, 02:46 AM
vbadvanced module for 3.5.x rc 2
just uplooad the module thru vba cmps admin.
:)
thx to micheal332001 for helping me out
thx m8
If I activate this module on the vb portal page, my page is white with absolutely nothing being displayed. If I disable it all is well. Is there something in the module we have to change?
DS MrSinister
11-09-2005, 03:14 AM
If I activate this module on the vb portal page, my page is white with absolutely nothing being displayed. If I disable it all is well. Is there something in the module we have to change?
sorry its not for rc 2 is for CMPS v2.0.0
i thought i was running rc 2 still sorry
Not sure about vb portal. its been along time since i have used it. i cant remember what version i had before my access ran out. what i can do is zip up everything for you if you like me to.
slvr ralliart
11-09-2005, 04:03 AM
will this work for vBulletin 3.5.1?
DS MrSinister
11-09-2005, 04:23 AM
will this work for vBulletin 3.5.1?
Yes sir that is what i am running.
if u like to check it out
http://www.sinisterslair.com
test
test
dan35
11-09-2005, 04:27 AM
i get the database error when i view the ppverify.php file in the browser. i searched the thread for ppverify and seen others that had the problem but couldn't find any solutions. in my paypal profile i have ipn set to on and the link is right. any help?
http://www.lifeslashquit.com/forum/ppverify.php
Same here :(
slvr ralliart
11-09-2005, 04:28 AM
Yes sir that is what i am running.
if u like to check it out
http://www.sinisterslair.com
test
test
Hey thanks for the reply about paypal working with 3.5.1
was this hard to install?? anything I need to add that is not in the instructions??
Also on your fourm how can I get two nav bars and then my site name in the middle of the navbars?
DS MrSinister
11-09-2005, 04:44 AM
Hey thanks for the reply about paypal working with 3.5.1
was this hard to install?? anything I need to add that is not in the instructions??
Also on your fourm how can I get two nav bars and then my site name in the middle of the navbars?
I went in to navbar template and copy and paste from
<!-- nav buttons bar -->
<!-- / nav buttons bar -->
and pasted above
<!-- breadcrumb, login, pm info -->
make sure u take out what u dont need link wise.
it was easy to install
only if you want vba module of your front page thats about it.
and took out differnt links
Chief Corn
11-09-2005, 09:07 AM
vbadvanced module for 3.5.x 2.0.0
just uplooad the module thru vba cmps admin.
:)
thx to micheal332001 for helping me out
thx m8
for some reason not sure why its not making all the templates.
here is the missing one
adv_portal_donate_goals_user
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
it works fine when it's aligned to the right, but when the paypal module is aligned on the left it makes all modules centered in one big column. i couldn't tell if there was a missing <table> some where, because it shows up correctly on the right side. :ermm:
DS MrSinister
11-09-2005, 01:58 PM
see if they all match up
adv_portal_donate
<!-- Donations Block -->
$donate_goals_bits
<if condition="$vboptions['showdonors'] == '1'">
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
Our Top $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
<table>
$donate_goals_userbits
</table>
</td>
<else />
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
Our Last $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
</td>
</if>
</if>
</tr>
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_button.gif" border="0"></a>
</td>
</tr>
<!-- End Donations Block -->
adv_portal_donate_goals
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
$title
<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
adv_portal_donate_goals_user
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
Admincp > vBa CMPS > Add Module > PHP File
Module Title: Donations
Column: left or right
Display Order: Up to you.
Active: yes
File to Include: donate.php
Templates Used: adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user
[QUOTE=DS MrSinister]see if they all match up
QUOTE]
Using your above code works perfectly now... excellent work.
Can you make a new module that adds the "goals_user" template and adds all these ones correctly
(these are somewhat different to your original module you supplied).
Ta
outlaw621
11-09-2005, 02:43 PM
As Mith stated, the goals_user template is missing but that will only effect you if you are advertising your goals. In order to get it to work, I had to change the option from file based to template based and in the section to enter a single template I used adv_portal_donate.
I am using VB3.5.1 with CMPS 2.0
DS MrSinister
11-09-2005, 03:26 PM
sorry i can't get a good working file. but i zip everything you need
you have 3 txt files are the templates and donate.php that goes in the modules folder.
just make those 3 templates..
how to install the module and get it working.
https://vborg.vbsupport.ru/showpost.php?p=669033&postcount=231
outlaw621
11-09-2005, 05:09 PM
sorry i can't get a good working file. but i zip everything you need
you have 3 txt files are the templates and donate.php that goes in the modules folder.
just make those 3 templates..
Thank you for trying to help. Unfortunately the module is not working for me. If I enable it as a file, it only displays the title bar and if i enable it as a template it displays everything EXCEPT the information of the members who donated.
DS MrSinister
11-09-2005, 05:16 PM
did you add the templates by using the code in the zip file.
link plz
mikehawk
11-09-2005, 05:48 PM
I am running 3.5.1.
Nothing showed up on my nav bar regarding donations.
And my donate page doesn't show the verification seal nor the donate now button.
This is the error I get when going manually to ppverify:
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO donation_paypalipn (
`txn_id`, `userid`, `test_ipn`, `notify_version`, `verify_sign`,
`first_name`, `last_name`, `payer_business_name`, `address_name`,
`address_street`, `address_city`, `address_state`, `address_zip`,
`address_country`, `address_status`, `payer_email`, `payer_id`,
`payer_status`, `business`, `receiver_email`, `receiver_id`,
`item_name`, `ip_address`, `quantity`, `invoice`,
`memo`, `tax`, `option_name1`, `option_selection1`, `option_name2`,
`option_selection2`, `payment_date`, `parent_txn_id`, `txn_type`,
`payment_type`, `payment_status`, `pending_reason`, `reason_code`,
`mc_gross`, `mc_fee`, `mc_currency`, `mc_handling`, `mc_shipping`,
`settle_amount`, `settle_currency`, `exchange_rate`, `case_id`,
`case_type`, `case_creation_date`, `valid`
) VALUES (
'', '0', '0', '0', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '0', '',
'', '0', '', '', '',
'', '', '', '',
'', '', '', '',
'0', '0', '', '0', '0',
'0', '', '0', '',
'', '', '0'
);;
MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Date : Wednesday, November 9th 2005 @ 11:52:51 AM
Script : http://www.realopinion.com/realboards/ppverify.php
Referrer :
IP Address : 142.161.88.138
Username : Ill Bill
Classname : vb_database
davidw
11-09-2005, 05:53 PM
see if they all match up
adv_portal_donate
<!-- Donations Block -->
$donate_goals_bits
<if condition="$vboptions['showdonors'] == '1'">
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
Our Top $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
<table>
$donate_goals_userbits
</table>
</td>
<else />
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
Our Last $vboptions[donate_CMPS_users] Donors
<div class="float: right">
<span class="smallfont">
<a href="$vboptions[bburl]/alldonors.php">View All Donors</a>
</span>
</div>
<hr />
</td>
</if>
</if>
</tr>
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_button.gif" border="0"></a>
</td>
</tr>
<!-- End Donations Block -->
adv_portal_donate_goals
<tr>
<td class="$getbgrow" align="center"><span class="smallfont">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
$title
<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
adv_portal_donate_goals_user
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>Wonderful work - if I could... I'd click install :)
mikehawk
11-09-2005, 05:59 PM
its really not to hard to be honest... you have to go into the .xml file and for the title where it says "vBulletin" near the top, you have to change it to all lowercase "vbulletin", then resave... that makes it show up in admiccp.... reread my post i asked the same thing cause mine didnt show....
:rolleyes: This solved my problem... it should really be fixed. :ermm:
mikehawk
11-09-2005, 06:06 PM
The donations button in my nav bar doesn't show up even when I click activate in the settings. :ermm:
DS MrSinister
11-09-2005, 06:13 PM
all the thx should goto micheal332001 for helping me out with the module file..
i thought to post it for everyone to use.
mikehawk
11-09-2005, 06:15 PM
Finally installed but that was a +++++ to install..... a lot of things are forgotten in the instructions such as navbar coding and switching VBULLETIN to lowercase in the .xml.
Nothing against the coder though; it's a solid hack. Good work. :squareeyed:
Chief Corn
11-09-2005, 10:43 PM
sinister, paypal module looks good. works on left column. thanks.
any solution to the ppverify.php error?
DS MrSinister
11-10-2005, 02:56 AM
sinister, paypal module looks good. works on left column. thanks.
any solution to the ppverify.php error?
I think ppverify.php file has something todo with donate.php file. not 100% sure or not.
RGSMDNR
11-10-2005, 11:21 AM
i need some coding help here. i have this (https://vborg.vbsupport.ru/showthread.php?t=96249) running currently on my site. what conditional would i type in so that once a user donates, the google ads are gone.
thanks!
davidw
11-11-2005, 10:37 PM
i get the database error when i view the ppverify.php file in the browser. i searched the thread for ppverify and seen others that had the problem but couldn't find any solutions. in my paypal profile i have ipn set to on and the link is right. any help?
http://www.lifeslashquit.com/forum/ppverify.php
I get the same issue - how I found out is that I got an email regarding a database error (guess because someone tried to send me paypal)...
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO vb_donation_paypalipn (
MySQL Error : Duplicate entry '*****************' for key 1
Error Number : 1062
Date : Friday, November 11th 2005 @ 05:40:19 PM
Script : http://www.***************.org/ppverify.php
Referrer :
IP Address : ***.***.***.***
Username : Unregistered
Classname : vb_database
The ppverify.php says:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, **********@christianboards.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Chief Corn
11-11-2005, 11:10 PM
I get the same issue - how I found out is that I got an email regarding a database error (guess because someone tried to send me paypal)...
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO vb_donation_paypalipn (
MySQL Error : Duplicate entry '*****************' for key 1
Error Number : 1062
Date : Friday, November 11th 2005 @ 05:40:19 PM
Script : http://www.christianboards.org/ppverify.php
Referrer :
IP Address : ***.***.***.***
Username : Unregistered
Classname : vb_database
i took a look in phpmyadmin to see what this dupe entry was and there's a line with just 0's in it so i deleted it. checked ppverify.php and it was a blank white page like how it should be. then i went back to phpmyadmin to see the line with 0's was there again and ppverify.php was doing the error again. maybe in ppverify.php the delete sql query command can be added to it, but i don't know where that would go.
davidw
11-11-2005, 11:27 PM
I had to edit that link in the database error - when its clicked - I get an email with the database error.
SlaPPiE
11-12-2005, 07:54 AM
Running 3.5.1. Appeared to install smoothly, found fix for AdminCP menu in this thread, but now when I goto Edit Options in the User CP, the following error is thrown at the top of the page (directory location edited, BTW)
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in .../profile.php(2702) : eval()'d code on line 66
followed up by a lack of content on the page.
divided_by_fear
11-14-2005, 09:44 AM
this is a nice mod but if you look in your profile (Last Activity: Today )member.php will be all along the side instead of the bottom... is there a way to fix that?
this is a nice mod but if you look in your profile (Last Activity: Today )member.php will be all along the side instead of the bottom... is there a way to fix that?
If I remember correctly, this only happened to me when i reinstalled paypal donations.. the install script created the donations stuff in MEMBERINFO Template a second time...
I have found the easiest way to search for anomolies is to highlight all the text in a given template, and copy and paste it into frontpage... you can then get a good grasp (although not always perfect looking) of what your template is doing graphically (and also change the way your template looks very easily)
Rukas
11-14-2005, 11:22 AM
^^ Or you can just use the preview button ;)
Outie
11-14-2005, 02:46 PM
Hey guys nees some help.. When installing the software I am getting this error on one of the steps:
Fatal error: Call to undefined function: build_datastore() in /home/aacovers/public_html/vbforum/admincp/donation_install/donation_install_plugins.php on line 34
and here is that line:
print_description_row('Plugins installed, updating datamanager...');
vBulletinHook::build_datastore($db);
print_description_row('Datamanager updated');
line 24 is in the middle. Any ideas or hints?
Thanks
Chris
Outie
11-14-2005, 03:11 PM
i was able to fix this by enabling plugins. duh. :o
where did you activate plugins?
davidw
11-14-2005, 03:26 PM
One thing I've noticed and seems coincidental to my previous posts is that I get these error messages when someone sends me paypal outside of going to the website. For example - if I were to get paid through ebay for a paypal auction I would get an error message regarding that transaction, even though it had nothing to do with the site. I'm thinking to correct this I would probably need to set up a separate account (in it's entirety) for the site alone, and use the other for everything else. Hope my findings help someone else. :)
Outie
11-14-2005, 04:12 PM
Ok got it fixed sorry for the nub question... Now I got everything working errr showing up right but I just donated some money and the transaction did not show up anywhere in the board (in the summary or under donate menu as a donation towards current goal). Can I get any help with this?
divided_by_fear
11-14-2005, 04:23 PM
christianb i seen the same thing when i had it on my site... im was hoping Cloudrunner would update this some but i guess thats not the case....
DS MrSinister
11-14-2005, 05:13 PM
Running 3.5.1. Appeared to install smoothly, found fix for AdminCP menu in this thread, but now when I goto Edit Options in the User CP, the following error is thrown at the top of the page (directory location edited, BTW)
followed up by a lack of content on the page.
goto your modifyoptions template click on view history.
you should have two templates to compare from.
1 should be 3.5.0 and the other should be 3.5.1.
what ever code was added by the hacks you have installed to the 3.5.0 u need to add it to 3.5.1 and make that your default template. that should take care of that error. thats what i did and fix the problem.
:D
Outie
11-14-2005, 09:27 PM
Any Ideas to my problem above?
DS MrSinister
11-14-2005, 09:48 PM
maybe try upload the files again and reinstall it
you might have to uninstall it first then install it.
mikehawk
11-16-2005, 04:52 AM
Why does it say this:
3 transactions are marked by PayPal as Invalid.
I have received the money (A friend sent $1.00 to see if it works)... but yet on the donation pages (http://www.realopinion.com/realboards/donate.php), it does not show up and marks the transaction invalid.
:ermm: Any ideas?
SlaPPiE
11-16-2005, 09:12 PM
goto your modifyoptions template click on view history.
you should have two templates to compare from.
1 should be 3.5.0 and the other should be 3.5.1.
what ever code was added by the hacks you have installed to the 3.5.0 u need to add it to 3.5.1 and make that your default template. that should take care of that error. thats what i did and fix the problem.
:D
Thanks for the reply, but both versions (pre-install and post-install) are from 3.5.1.
DS MrSinister
11-16-2005, 11:00 PM
maybe try to revert it and enter the code that was added by the hacks. just make sure u have something to compare with.
divided_by_fear
11-17-2005, 04:53 AM
would be nice if a coder could redo this mode or make one based on it since the coder dont seem to reply nor has he been on.... there is a few bugs with it which i think if someone redid it would be amazing... its a nice mod but needs to be updated alot...
dan35
11-17-2005, 05:36 AM
agreed :banana:
SlaPPiE
11-17-2005, 11:53 AM
maybe try to revert it and enter the code that was added by the hacks. just make sure u have something to compare with.
I just ended up creating a new style and going from there... no problems. The transition from 3.5.0 to 3.5.1 really screwed up alot of my templates.
divided_by_fear
11-18-2005, 04:04 AM
you dont have a problem in the profile... cause usually it will cause all the info on the bottom right to be all stuck along the side... such as last activity
bspiller82
11-18-2005, 05:03 PM
Is there a way to bypass the paypal IPN? So I don't have to add the IPN info to my paypal? The forums donation is trying to grab ipn on my bussiness site payments.
divided_by_fear
11-19-2005, 03:34 AM
DS MrSinister nice site by the way i was checking it out... can i ask you where did you get the block for the vbadvanced? if you dont mind showing me...
divided_by_fear
11-19-2005, 04:04 AM
is there any fix to theis error on ppverify?
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO donation_paypalipn (
MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Date : Saturday, November 19th 2005 @ 12:58:16 AM
Script : http://www.justtoshowerror.com/ppverify.php
Referrer :
IP Address : **.***.***.**
Username : *********
Classname : vb_database
DS MrSinister
11-19-2005, 04:09 AM
<a href="https://vborg.vbsupport.ru/showpost.php?p=816818&postcount=373" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=373</a>
thxs glad you like it
divided_by_fear
11-19-2005, 04:10 AM
thank you very much i was wondering do you get that error when you go to that page?
DS MrSinister
11-19-2005, 04:14 AM
thank you very much i was wondering do you get that error when you go to that page?
yep.
not sure how to fix it.
divided_by_fear
11-19-2005, 04:15 AM
does your donations still show up on site? when someone donates?
DS MrSinister
11-19-2005, 04:26 AM
Dont think noone should really goto that file. i think its just adds people info to the database.
divided_by_fear
11-19-2005, 04:27 AM
yeah i understand that but does it show the person on your site who did donate? or will this prevent it?
DS MrSinister
11-19-2005, 04:32 AM
i just added this to my site not to long ago. and no one has donate any money yet.
dont think it should be a problem. i have installed it for someone else seems to be working fine.
divided_by_fear
11-19-2005, 04:34 AM
ok thank you... and thanks for showing me thank vbadvanced mod...
DS MrSinister
11-19-2005, 04:40 AM
np glad i could help!
:D
divided_by_fear
11-19-2005, 05:04 AM
lol i cant seem to get that module working on vbadvanced :(
for templates used i did this
adv_portal_donate_goals_user
adv_portal_donate
adv_portal_donate_goals
not sure what i did wrong?
ReadOrDie
11-19-2005, 06:33 AM
Directions could be better, hack could be easier. I could really use this but it's complicated.
divided_by_fear
11-19-2005, 07:54 AM
yeah ur better off with out it... im thinking of removing it.... coder simply dont come on to fix his problems
Hello,
I am not sure what problems some of you are facing, but I have this installed on 4 - 3.5.1 boards and the install was flawless on each of them and it works fine on all of them.
The only problem I encountered was the issue with the ACP Nav and that was easily corrected when the text was changed.
To make this easier for everyone, I have rezipped this with the file edit. I also included instructions and a link instructional.
I hope this doesn't violate any rules on this site. I didn't take credit for anything except the instructions I wrote up. lol
Download the attached zip and install it as instructed by cloudrunner. You should have NO problems getting this to function now. The Install Documents folder contains numbered instructions. Use them in the order they are listed.
davidw
11-19-2005, 01:02 PM
What problems some people face, others won't. Simple as that. Not all vb installations work flawlessly and not all hacks work together. Some people may have hacks that conflict with other hacks (I've run into this myself). Not everyone is going to get this (or most any hack) to work right out of the box. I've mentioned issues before and I can live without some functions. I can do things manually.
divided_by_fear
11-19-2005, 02:53 PM
lol well it seems that one thing is clear though everyone is having a problem with ppverify.php... just sucks cause from reading the info from the coder you would figure it would put the donations in there auto... nope you have to do it your self if not they wont show...
DS MrSinister
11-19-2005, 03:36 PM
here is a link to get the module to work.
https://vborg.vbsupport.ru/showpost.php?p=669033&postcount=231
divided_by_fear
11-19-2005, 04:16 PM
yeah that wouldnt work i think i did it in a html template form vs. the php cause it would give a blank white page but thank you for your help DS MrSinister.... would be nice to see someone update this mod...
mikehawk
11-19-2005, 05:53 PM
here is a link to get the module to work.
https://vborg.vbsupport.ru/showpost.php?p=669033&postcount=231
WTF is "Go to your admincp--vBa CMPS--Edit Modules--Donations"?
divided_by_fear
11-19-2005, 06:48 PM
i can try to export my module and see if it will work for you? or else i can put here how i got mine working which ever you want...
outlaw621
11-19-2005, 07:34 PM
i can try to export my module and see if it will work for you? or else i can put here how i got mine working which ever you want...
Can you please do that? I have tried doing it template and php but neither have worked. If I do PHP I get a white page like you did. If I do Template than it displays but does not show the donators. I would love to get this work.
On a different note, does anyone know how to remove the donators avitar? I think it causes to much room to be taken up. I would like to be able to have just their name and total amount they donated.
divided_by_fear
11-19-2005, 07:36 PM
yeah mine dont show the donors on the main either it just shows as a block in template form... so you had it right then i just edited it a bit making it more html complaint
bspiller82
11-21-2005, 04:46 AM
For some reason after did a reinstall of the plugin I'm now seeing 2 Donor icons. How do I fix this. I attached the screenshot as well.
SCRIPT3R
11-21-2005, 07:17 AM
why has there been no coder support/updates since 03. Jul 2005, for one of the most popular mods here?
Bubble #5
11-21-2005, 07:45 AM
Could be lots of reasons. Maybe he got sick or something happened out of his control...
divided_by_fear
11-21-2005, 09:08 AM
Could be lots of reasons. Maybe he got sick or something happened out of his control...
nah cause you still see him on his own site... also look at the coders site he dont even run his own mod lol does that tell you something???
AlexUK
11-21-2005, 09:09 AM
I installed this hack and followed intruction and all went well but when I got to control panel I found some setttings but no these ones:
https://vborg.vbsupport.ru/attachment.php?attachmentid=31569
divided_by_fear
11-21-2005, 09:12 AM
you have to read threads..... https://vborg.vbsupport.ru/showpost.php?p=799091&postcount=286
AlexUK
11-21-2005, 09:19 AM
Thanks for that, it's fixed now.
I love this hack.
davidw
11-21-2005, 09:22 AM
As you can see at the top of this thread (or any page within this thread) - this hack is NOT supported. Which means that we fend for ourselves or don't use the hack at all. Not to sound harsh, but that's the truth. I don't like it any more than anyone else does. But what can you do?
Edit: Also, I seriously doubt this hack will move past the beta stage, let alone 3.5.0.
SCRIPT3R
11-21-2005, 09:33 AM
As you can see at the top of this thread (or any page within this thread) - this hack is NOT supported. Which means that we fend for ourselves or don't use the hack at all.
then why isn't it also clearly tagged as "Is in Beta stage" which it is?
Not to sound harsh, but that's the truth. I don't like it any more than anyone else does. But what can you do?
Edit: Also, I seriously doubt this hack will move past the beta stage, let alone 3.5.0.
i guess that's what i don't understand then... why bother "beta testing" or "beta staging" a hack/mod/whatever to never finalize it to 3.5.0.
Telegon80
11-22-2005, 10:05 AM
okay im going to install this later.
the only questions i have is regarding levels of membership. I want to have 3 different levels and each one has different privileges so ill have to make 3 different usergroups. So i was wondering if paypal will recognize which usergroup to put the user on.
Well this thread is 30 pages so im gonna have to read them and then go from there but if anyone has any insight i appreciate it.
divided_by_fear
11-22-2005, 06:48 PM
As you can see at the top of this thread (or any page within this thread) - this hack is NOT supported. Which means that we fend for ourselves or don't use the hack at all. Not to sound harsh, but that's the truth. I don't like it any more than anyone else does. But what can you do?
Edit: Also, I seriously doubt this hack will move past the beta stage, let alone 3.5.0.
lol yeah you hit the nail on the head.... what i think is funny to is the coder must have known its messed up... he or she dont even run it on there own site so thats how you know this hack aint working to well.... but ill use it for now till something better comes out
Telegon80
11-22-2005, 10:19 PM
i guess i wont be installing then.
Hello,
I will say this again. I am running FOUR 3.5 sites and they ALL have this installed. The only thing I needed to change was the spelling of vBulletin to vbulletin in the includes/xml file. ALL of them went flawless once that was done. Where exactly is everyone encountering issues with this modification?
2 of my installs were on 3.5.1 and 2 were on 3.5.0. I have also done 3 other installs for users and haven't had an issue with any of them.
divided_by_fear
11-22-2005, 10:59 PM
what every one is encountering is the fact that this mod dont work... thats the bottom line it dont import the members to sql when they donate... no need to get mad im sure they seen that fix a few times... but the mod simply dont work... you have to add the people to the donations manually it dont import them to sql... i have tried this with a few coders on here and they all get the same thing it dont import the donor... thats the bottom line... it is a nice mod dont get me wrong but when you see that the coder dont even run his own mod on his site then you know something is wrong...
Hello,
Thats funny because whenever someone on MY sites donate, they are added to the list and they get the donor button automagically.
You may want to recheck what it is you are doing. Mine works fine. (On ALL of my sites.)
divided_by_fear
11-22-2005, 11:20 PM
well lol i know alot of people that it dont work on or work for... even if you try to manually goto the ppverify.php your self you get a sql error... so how can paypal report that it was a donation when the file gives a sql error?
Hello,
I don't get a sql error when i go to my ppverify page. I get a solid white screen.
http://www.herpcenter.com/ppverify.com
http;//www.hcdragons.com/ppverify.php
http://www.iguanacenter.com/ppverify.php
http://www.herphabitats.com/ppverify.php
See?
divided_by_fear
11-22-2005, 11:30 PM
i bet you dont get a sql error lol
Hello!
I may have moved this page, or you may be trying to access things you shouldn't be! Anyway you slice it though, whatever it is you were looking for is not here! :P
that was this page http://www.herpcenter.com/ppverify.com
on this page http://www.herphabitats.com/ppverify.php
There seems to have been a problem with the Herp Habitats database.
Please try again by clicking the Refresh button in your web browser.
An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.
We apologise for any inconvenience.
and on this page
http://www.iguanacenter.com/ppverify.php
Warning: fsockopen(): unable to connect to www.paypal.com:80 in /ppverify.php on line 98
Warning: fputs(): supplied argument is not a valid stream resource in /ppverify.php on line 156
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
Warning: feof(): supplied argument is not a valid stream resource in /ppverify.php on line 157
Warning: fgets(): supplied argument is not a valid stream resource in /ppverify.php on line 158
seems to me you get more then errors
divided_by_fear
11-22-2005, 11:31 PM
so how are you going to say you dont get errors?
Hello,
In all seriousness, I wouldn't have posted any of those links if they weren't working. lol I just transfered servers earlier this week. I never bothered to see if they were still running properly as they were prior to the move. lol
I will have an updated version for everyone to download shortly now that I see that mine aren't working any longer. lmao (I am not the author for this. I just do my own repairs as needed and capable.)
divided_by_fear
11-22-2005, 11:42 PM
its cool i just wish the author would fix it... maybe you can get it working im hoping so... its something to do with how it imports the donor to sql i know that much....
Hello,
I will see if I can have a functioning version by tomorrow but I make no guarantees. I try to fix all of my own stuff when it breaks, but I am still an amateur compared to all of the good coders on the site. lol
divided_by_fear
11-22-2005, 11:51 PM
yeah its just sad that the coder who made this just stopped supporting it... if you look on his site he dont use it so thats how you know something was up... i have tried writing him but he dont support it no more i guess
Jenta
11-23-2005, 12:06 AM
Been working perfect for me on 3.5.0 and 3.5.1. I did convert it to a full and proper product so that it would stop losing the settings on upgrades. Might post it here one day.
divided_by_fear
11-23-2005, 12:17 AM
yeah that would be nice... but i dont look forward to it by your reply
ManagerJosh
11-24-2005, 09:34 AM
Just out of curosity Cloud, but when do you expect to release the next version of this awesome hack so it allows us to move members from one usergroup to another? :)
cbr929rrerion
11-24-2005, 11:15 PM
ok.. Can some one help me with this.. I want to add the buttons for the amounts and stuff and I have no sub menue in acp, I have one unde vbulletin where we put in the email address etc, but how do I set up the buttons and stiff for the amounts to donate?
Thanks...
cbr929rrerion
11-25-2005, 12:23 AM
changing the B to b in the xml fixed it for me..
Snake
11-25-2005, 02:00 PM
OK I have installed the hack but I can't view the ACP navigations links at the left? Is it beacuse I've got too many links?
DS MrSinister
11-25-2005, 02:18 PM
OK I have installed the hack but I can't view the ACP navigations links at the left? Is it beacuse I've got too many links?
this will fix your admincp problem.
https://vborg.vbsupport.ru/showpost.php?p=799091&postcount=286
Snake
11-25-2005, 02:50 PM
Thank you.
cbr929rrerion
11-25-2005, 04:04 PM
I need help with this.. If I leave the dollar amout blank so the user can fill it in it says the amout has to be larger than 0, but the insturctions say it will let the user fill in the amount, any way to fix it so the one who donates can put the $ value in a box and hit the donate button?
or how can I make it work like it suppose to.. lol
cbr929rrerion
11-25-2005, 04:21 PM
oh and yeah.. where it inserts the donated image in the member info and postbit and stuff really messed up my templates too.. Guess it works best on clean versions of VB with no other hacks.. I edited it and put it where I wanted it.. I think it looks pretty good on my board now...
Hello,
I haven't had time to play with this. As I stated, my sites are in the process of being moved to my new servers. (VERY time consuming.) Each of my sites are heavily modified, so I have to edit each site as it is moved.
Jenta, I would be very interested in having this as a product if you would be kind enough to release it. If you prefer to not offer this to the public, would you be kind enough to shoot me a PM?
MusicMan
11-25-2005, 06:45 PM
Edit: Since the author of this hack seems to be horrible at coding, and horrible at fixing bugs and offering support, I'm just going to uninstall this and hope it didn't screw up my install of 3.5.1 permanently. No need posting what the problem is if the guy is too lazy to fix his own work.
cbr929rrerion
11-25-2005, 08:26 PM
Yeah, theres a bit of a problem with the auto install routine, it tries to ammend the modifyoptions template for you, but unfortunately, messes it up a bit.
To add it in yourself in modifyoptions template
find:
<td><label for="cb_invisible"><input type="checkbox" name="options[invisible]" value="1" id="cb_invisible" $checked[invisible] />$vbphrase[use_invisible_mode]</label><input type="hidden" name="set_options[invisible]" value="1" /></td>
</tr>
</table>
</fieldset>
</if>
add under:
<!-- DONATIONS -->
<fieldset class="fieldset">
<legend><label for="cb_showdonor">My Donor Status</label></legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
<tr>
<td>Shall We Show Your Donor Status To The Public?</td>
</tr>
<tr>
<td><label for="cb_showdonor"><input type="checkbox" name="showdonor" value="1" id="cb_showdonor" $checked[showdonor] />Show My Donor Status To The Public</label></td>
</tr>
</table>
</fieldset>
<!-- END DONATIONS -->
That will give users the option back to display their donor status or not.
Hope that helps.
the thing that was causing my problem there is it was adding an extra entry of...
<if condition="$show['reputationoption']">
I deleted it and the error went away...
ready for next set of problems...
Chief Corn
11-25-2005, 09:39 PM
Edit: Since the author of this hack seems to be horrible at coding, and horrible at fixing bugs and offering support, I'm just going to uninstall this and hope it didn't screw up my install of 3.5.1 permanently. No need posting what the problem is if the guy is too lazy to fix his own work.
158 people have the hack installed. so it must work. you can't say he's a horrible coder just because it doesn't work for you. it states that the mod is unsupported so you installed it at your own risk.
cbr929rrerion
11-25-2005, 09:50 PM
158 people have the hack installed. so it must work. you can't say he's a horrible coder just because it doesn't work for you. it states that the mod is unsupported so you installed it at your own risk.
The hack does work.. I have 3.5 Gold and vbcmps 2.0 and it works, yes you have to modify some code, yes it would be nice if the author would fix the known issues. I have got it to work on my site with various code repairs and changes.
There is currently only 1 problem I can not fix and that is leaving the donation amout blank so the person can choose an amount, it works but when you click it you get an error..
Christian has the same error on his site.. love to have a fix for that so the user can enter what ever amount they desire.. but have not found the fix yet..
SO YES.. it works in 3.5 but be prepared to edit some code and templates.
DS MrSinister
11-25-2005, 10:56 PM
lol did you try to making the button amount 0.00 or leaving it blank.? so your members can enter the amount in.
cbr929rrerion
11-25-2005, 10:59 PM
lol did you try to making the button amount 0.00 or leaving it blank.? so your members can enter the amount in.
I sure did.. no luck.. the button appears, all seems ok, but click it and you get an error saying amount must be greater than 0.00
www.crotchrocketracing.com/donate.php
Check it out..
DS MrSinister
11-26-2005, 12:19 AM
I sure did.. no luck.. the button appears, all seems ok, but click it and you get an error saying amount must be greater than 0.00
www.crotchrocketracing.com/donate.php
Check it out..
Check out mine
http://www.sinisterslair.com/forums/donate.php
cbr929rrerion
11-26-2005, 12:39 AM
Please enter an amount greater than zero.
error there too
DS MrSinister
11-26-2005, 01:16 AM
where are you getting this error. your site page or paypal page.
When you click on mine donation button it will take you to paypal site then you have to enter the dollar amount you want to donate like 1.00 etc. and enter your pass and click continue.
should not give you a error..
cbr929rrerion
11-26-2005, 01:24 AM
I get an error on the paypal page..
Let me set up a button and see if you go to paypal to eneter the amount..
Gimme 30 seconds
DS MrSinister
11-26-2005, 02:13 AM
just tested it seems to work fine for me.
cbr929rrerion
11-26-2005, 04:29 AM
OK.. well after watching the devils rejects.. cool movie.. I did some thesting.. Cleared my history, cleared my oreo's, etc..
Works fine..
So it appears oreo based.. so guys and gals.. if ya get this error when you leave the dollar amount blank, and click it and the paypal site gives an error to enter an amount greater than 0.00.. its an oreo (cookie) deal.. your users probably will not have this problem but since we test everything we usually do...
Thank you MrSinister for all your help.. You Rock...
Grant you this is not your Code but you are slowly adopting it.. lol all 32 pages...
DS MrSinister
11-26-2005, 04:47 AM
NP
only if i was a coder.
Flow Fusion
11-26-2005, 07:45 AM
Thanks.
SCRIPT3R
11-26-2005, 06:09 PM
ok, i've been screwing with this now for a while. i FINALLY got everything to work correctly except for a few things. the vBadvanced Module Percent Bar is not affected. nor are any "Top Donors" displayed inside the module, although we've had donations. any suggestions?
DS MrSinister
11-26-2005, 06:58 PM
are you using these templates. adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user
go here make sure u have all the templates added
https://vborg.vbsupport.ru/showpost.php?p=816754&postcount=370
SCRIPT3R
11-26-2005, 09:01 PM
are you using these templates. adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user
go here make sure u have all the templates added
https://vborg.vbsupport.ru/showpost.php?p=816754&postcount=370
Update: Fixed - thnx.
SCRIPT3R
11-26-2005, 09:39 PM
Update: Fixed - thnx.
SCRIPT3R
11-27-2005, 06:28 AM
Update: Fixed - thnx.
SCRIPT3R
11-27-2005, 07:07 AM
for those receiving the following error email notice...
Database error in vBulletin 3.5.1:
Invalid SQL:
INSERT INTO donation_paypalipn (
`txn_id`, `userid`, `test_ipn`, `notify_version`, `verify_sign`,
`first_name`, `last_name`, `payer_business_name`, `address_name`,
`address_street`, `address_city`, `address_state`, `address_zip`,
`address_country`, `address_status`, `payer_email`, `payer_id`,
`payer_status`, `business`, `receiver_email`, `receiver_id`,
`item_name`, `ip_address`, `quantity`, `invoice`,
`memo`, `tax`, `option_name1`, `option_selection1`, `option_name2`,
`option_selection2`, `payment_date`, `parent_txn_id`, `txn_type`,
`payment_type`, `payment_status`, `pending_reason`, `reason_code`,
`mc_gross`, `mc_fee`, `mc_currency`, `mc_handling`, `mc_shipping`,
`settle_amount`, `settle_currency`, `exchange_rate`, `case_id`,
`case_type`, `case_creation_date`, `valid`
) VALUES (
'', '0', '0', '0', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '', '',
'', '', '0', '',
'', '0', '', '', '',
'', '', '', '',
'', '', '', '',
'0', '0', '', '0', '0',
'0', '', '0', '',
'', '', '0'
);;
MySQL Error : Duplicate entry '' for key 1
Error Number : 1062
Date : Sunday, November 27th 2005 @ 03:35:20 AM
Script : http://forum.......com/ppverify.php
Referrer :
IP Address : 24.152.196.233
Username : Unregistered
Classname : vb_database
it has something to do with an Invalid Transaction i'm sure you have. supposedly, if you delete said invalid transaction, you won't get that error again, BUT that invalid transaction cannot be deleted from within the CP! any advice on how to delete that transaction elsewhere, like from within the db?
Update: using phpMyAdmin, i have deleted this particular "Invalid Transaction" transaction from the corresponding table. i have not received the above error since.
Jenta
11-27-2005, 08:04 AM
I just checked on something; Cloudrunner has not even posted on his own forum since September! About the same time he stopped posting here. Sometimes real life beckons.
PS This hack works perfect for me.
esology
11-27-2005, 07:28 PM
Did anyone upgrade? I was running vb 3.0.7 and went to 3.5.1. When I did this install it wiped the tables clean in my db. I have a back-up db from 3.0.7 so I am wondering if I can just import the data?
SCRIPT3R
11-28-2005, 05:46 AM
Update: other then the ppverify error; i finally have this whole thing working! i can advise all those with problems to read the thread again and again. i missed a few things a couple times. feel free to check out my forums if you want to see this working on 3.5.*
Hello,
Open the sql file and find the donation tables. Then copy the sql for those tables and run them via phpmyadmin or through the acp.
Jenta,
If your ppverify file is working, why not share it here? You posted that you made a product out of this. Did that correct the ppverify information or does everything work except the ppverify? (When a member donates are they being added automatically or do you need to add them manually?)
The ppverify is where most people are having their problems. If yours is working 100%, could you share with the group instead of just telling us yours works. I am glad yours is working 100% as you state, but it is not doing any of us any justice knowing that when you aren't sharing HOW it is working. You had to have changed something in the ppverify file because the 3.5.1 upgrade is giving that file problems.
bi11i
11-28-2005, 06:09 PM
I installed this hack and then decided that it was just too cluttered and really too much for what I needed. After running through the uninstall process, most of my templates that had custom edits before the install are now completely hosed - some conditionals are in duplicate, some have huge areas of white space. I had to do a lot of reverting to get back to normal.
I think this hack is a great idea and definitely well worth it, but be advised to backup your templates before installing...
Billspaintball
11-28-2005, 10:51 PM
Well I've finally got around to upgrading from 3.5.0 to 3.5.1
I reapplied this hack, tested and all is working as its ment to.
And yes, members are being added automaticly to the database when they donate, and leaving the amount blank lets donors enter their own amount without any issues.
Only change I had to make was to the case of the vB in the XML file, no changes to ppverify.php or anything else.
Billspaintball
11-28-2005, 10:55 PM
Just wondering, are the people having problems running vbAdvanced as well or any other hacks?
Might be useful to post any changes from a stock vB 3.5.1 here so we can see if any pattern emerges.
PHP and MySQL version info may help well.
divided_by_fear
11-28-2005, 11:49 PM
i think it has to do with not allowing them to see the site unless there a member cause mine dont show up i see paypal trying to goto ppverify but there getting the no permission error.... i also run vbadvanced
http://img506.imageshack.us/img506/6841/paypal0uo.jpg (http://imageshack.us)
Rukas
11-29-2005, 01:55 AM
What exactly are the problems? So it worked fine on 3.5.0 but is buggy on 3.5.1? If so Im glad I havent upgraded yet because the donations generate a lot of money for me. $400 in under 2 months. So I cant really afford to have it not working.
For the record, im running vBadvanced, vb 3.5.0 and it works fine.
http://www.streethop.com/forum/donate.php
Billspaintball
11-29-2005, 01:59 AM
i think it has to do with not allowing them to see the site unless there a member
I have only received donations from members so I dont know if there may be any problems with guests or not.
When I get home I will try to do a donate while not logged in and see what happens then.
Jenta
11-29-2005, 02:05 AM
Jenta,
If your ppverify file is working, why not share it here? You posted that you made a product out of this. Did that correct the ppverify information or does everything work except the ppverify? (When a member donates are they being added automatically or do you need to add them manually?)
The ppverify is where most people are having their problems. If yours is working 100%, could you share with the group instead of just telling us yours works. I am glad yours is working 100% as you state, but it is not doing any of us any justice knowing that when you aren't sharing HOW it is working. You had to have changed something in the ppverify file because the 3.5.1 upgrade is giving that file problems.
The first donation that came in did not register. All the subsequent ones have. I have made no modifications to the files. So the ppverfiy I am using is the same one you are using.
The only thing I did was make a product out of this. What this eliminates is vbulletin wiping out the settings when you upgrade. That's the only thing my changes fix. Nothing else is broken on mine.
Diaego
11-29-2005, 03:38 AM
Have installed this module, and works great like the old ver...
However, does anyone know if a VBAdvanced "block"/module has been created for this? The old version had a block you could add to the front page of vbadvanced to show the donors for that month.
Would anyone be willing to create one?
I shouldn't think it would be too hard as the code must be similar to this page: http://www.eve-radio.com/forums/alldonors.php, just without the normal headers etc!!!
This vbadvanced intergration was included in the 3.0.7 version of the module @ https://vborg.vbsupport.ru/showthread.php?s=&threadid=82978 - So just some kind of porting required! Anyone here have the skills!? :)
DS MrSinister
11-29-2005, 04:44 AM
try this see if it works..
divided_by_fear
11-29-2005, 04:49 AM
no i dont think its that i think its that that what ever paypal is using is tried to get on the page but they cant cause they cant view it unless they sign up... yeah i know it may sound stupid but if you notice all the people who dont seem to be having a problem none of the do you need to sign up to view there pages... mine does and a few others do too... cause i was watching the paypal bot basiclly geting hung up on the no permission page and didnt even try to send the info to ppverify.... i know it should be just going to that folder by way of the bot but thats my only guess...
Diaego
11-29-2005, 04:56 AM
try this see if it works..
Hey MrSinister :)
Thanks for giving this a go! Will benefit a lot of people I think!
I have just tried installing it, but at the top of the page, it seems to display the 'raw code'. E.G, this displays right at the top of my web-page when active:
a:3:{s:6:"module";s:384:"a:12:{s:5:"title";s:9:"Donations";s:10:"identifier";s:9:"Donations";s:8:"filename";s:10:"donate.php";s:7:"inctype";s:8:"php_file";s:6:"parent";s:0:"";s:12:"templatelist";s:72:"adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user";s:7:"colspan";s:1:"0";s:8:"formcode";s:0:"";s:11:"cleanoutput";s:1:"0";s:7:"options";s:0:"";s:8:"useshell";s:1:"1";s:4:"link";s:0:"";}";s:9:"templates";s:3134:"a:3:{s:17:"adv_portal_donate";s:1280:" $donate_goals_bits Our Top $vboptions[donate_CMPS_users] Donors
View All Donors
--------------------------------------------------------------------------------
$donate_goals_userbits Our Last $vboptions[donate_CMPS_users] Donors
View All Donors
--------------------------------------------------------------------------------
";s:23:"adv_portal_donate_goals";s:1279:" $title
$percentage% of goal has been donated
We have collected a total of $???$goal_total_formatted
in donations towards our goal of $???$amount_formatted. ";s:28:"adv_portal_donate_goals_user";s:448:" $donor_username $???$user_total ";}";s:4:"file";s:2658:"
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.