vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

b00k 07-19-2005 12:39 PM

**NOTE RESOLVED**
edited the profile.php of root as well as some template entries. :ermm:

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

Quote:

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

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

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

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

Cloudrunner 07-20-2005 04:03 PM

Remove the columns Donor and Showdonor respectively from the user table. Any idea what occurred?

Cloudrunner 07-20-2005 04:04 PM

Quote:

Originally Posted by mkdevo
cloud - not sure if you saw this before... ^^

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

cmiller1014 07-21-2005 09:45 PM

Can you manually enter info for people who have donated like the 3.5 version?

Cloudrunner 07-22-2005 12:14 AM

Quote:

Originally Posted by cmiller1014
Can you manually enter info for people who have donated like the 3.5 version?

yep.

trancetopia 07-22-2005 07:46 PM

This is one hell of a great hack..

I have found a little problem, maybe a bug.

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

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

Hope you can help.

Thanks,
Paul

Cloudrunner 07-22-2005 09:05 PM

Quote:

Originally Posted by trancetopia
This is one hell of a great hack..

I have found a little problem, maybe a bug.

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

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

Hope you can help.

Thanks,
Paul

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

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

cmiller1014 07-23-2005 12:21 AM

Agreed, great hack. Ive got it installed and working great!

trancetopia 07-23-2005 08:01 AM

Quote:

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

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

Hi Cloudrunner,

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

Is there anything else you need me to check?

Thanks,
Paul

Mith 07-23-2005 03:54 PM

Hi I'm having a problem accessing modules.php, i get the following error


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

line 14 says this:
Code:

$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor
I can't see a table called donor anywhere.. is that related? (i have a vb3_user but no vb3_donor)

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

Cloudrunner 07-23-2005 04:15 PM

Quote:

Originally Posted by Mith
Hi I'm having a problem accessing modules.php, i get the following error


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

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

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

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

Thirdly, line 14 is a commented placeholder in the code on ./donate.php for the latest version of this hack for both vb 3.0.7 and vb 3.50
PHP Code:

// ####################### SET PHP ENVIRONMENT ########################### 

so I'm not seeing how you are getting an error on that specific line.

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

Cloudrunner 07-23-2005 04:24 PM

Quote:

Originally Posted by Mith
Hi I'm having a problem accessing modules.php, i get the following error


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

line 14 says this:
Code:

$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor
I can't see a table called donor anywhere.. is that related? (i have a vb3_user but no vb3_donor)

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

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

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

/home/yourserver/www/forum/donate.php

/home/yourserver/www/forum/modules/donate.php

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

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

Mith 07-23-2005 05:51 PM

Hi, I'm most definitely using vb version 3.07 VBA CMPS v 2.0 RC2

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

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

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

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

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

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

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

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

line 634 reads:
Code:

foreach ($setting AS $gtitle => $sgroups)
thx for your help

Mith 07-23-2005 06:10 PM

Found the problem.. it seems in 2.0 rc2 you need to select the modules are active on your selected page.

strange but true.

Thx again.

trancetopia 07-23-2005 07:47 PM

When someone donates money, they are returned to my forums and the donation updates perfectly but the user does not get the forums display only the following message:

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

POST requests from foreign hosts are not allowed.

Can you please help.

Thanks,
Paul

micheal332001 07-25-2005 03:22 PM

Hi there

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

The block is on the right side.

Hope you can help with this

matthias.m 07-26-2005 07:15 AM

Hi Cloudrunner,

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

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

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

Greetings
Matthias

T3MEDIA 07-27-2005 03:29 AM

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

Cloudrunner 07-27-2005 10:00 PM

Quote:

Originally Posted by trancetopia
When someone donates money, they are returned to my forums and the donation updates perfectly but the user does not get the forums display only the following message:

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

POST requests from foreign hosts are not allowed.

Can you please help.

Thanks,
Paul

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

Cloudrunner 07-27-2005 10:02 PM

Quote:

Originally Posted by micheal332001
Hi there

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

The block is on the right side.

Hope you can help with this

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

vBadvanced Gallery

12.5% of goal has been donated

trancetopia 07-28-2005 10:43 AM

Quote:

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

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

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

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

Thanks,
Paul

Rich 07-29-2005 01:20 PM

Hello,

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

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

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

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

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

mholtum 07-29-2005 10:00 PM

Install went very smooth. However when you activate the module I get this:
Code:

Could not find phrase 'adv_portal_must_choose_0_include'.

mholtum 07-30-2005 04:28 PM

*bump*

mholtum 07-31-2005 08:13 AM

*bump*

Rich 07-31-2005 11:57 AM

Hello,

Mike, the phrase I have reads like this:

Varname: adv_portal_must_choose_include

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

osariase 07-31-2005 08:54 PM

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

Database error in vBulletin 3.0.7:

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

mysql error number: 1062

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


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

my site is below

http://naijaworld.com/donate.php

Skyline_GT 08-01-2005 12:35 AM

what happen if we have the link to the subscription already in the paypal account..
we can't put more than 1 url..
.

xfaethorx 08-01-2005 05:50 PM

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

Skyline_GT 08-01-2005 07:45 PM

Quote:

Originally Posted by Skyline_GT
what happen if we have the link to the subscription already in the paypal account..
we can't put more than 1 url..
.

bump..
.

mholtum 08-02-2005 01:05 AM

Oh well, I would like to implement this, but it seems there is no more support

Skyline_GT 08-02-2005 01:15 AM

Quote:

Originally Posted by mholtum
Oh well, I would like to implement this, but it seems there is no more support

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

DGTLMIK 08-03-2005 09:29 PM

Yeah, finally a real PayPal Donations Hack! :up:

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

mholtum 08-04-2005 02:39 AM

Quote:

Originally Posted by DGTLMIK
Yeah, finally a real PayPal Donations Hack! :up:

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

If you wish to say collect $25 for a yrs subscription and paypal charges 1.35 for that $25 transfer, charge $26.35

sothis 08-04-2005 03:48 PM

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

Prodimysterio 08-04-2005 09:07 PM

Hi everyone,

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

Quote:

/forums
instead of

Quote:

/forum
Here is an image of what I see:

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

The broken link points to:

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

Quote:

Fatal error: Call to undefined function: imagecreate() in /home/gamingch/public_html/forums/includes/pp_image.php on line 38
I examined line 38 of pp_image.php, and here is what it displays:

Quote:

$image = imagecreate($width,$height);
Finally, here is a portion of my donations page:

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

Again, the broken links point to:

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

Thanks!

Prod

Dax IX 08-05-2005 09:22 AM

When I try to update the CMPS module, I get an error that vBulletin can't find the phrase 'adv_portal_must_choose_0_include'.

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

xfaethorx 08-05-2005 03:58 PM

Quote:

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

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

mustang_lex 08-05-2005 07:21 PM

Does this hack automatically upgrade the members usergroup to a custom one you make. Example if I have a regular member make a palpal donation I like him/her automatically be promoted to a different usergroup as a thank you.

thugginRipsta 08-06-2005 08:08 PM

no, it doesnt, but u can try something like this:

in ppverify.php
FIND:

Code:

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

and add below:
Code:

$DB_site->query("UPDATE ".TABLE_PREFIX."user SET membergroupids='XXX' WHERE userid='".$userid."'");
where XXX is the group id u want to add.


this is NO subscription and doesnt take care of reversed payments


All times are GMT. The time now is 01:35 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02001 seconds
  • Memory Usage 1,863KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete