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)

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


All times are GMT. The time now is 05:55 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.01637 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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