vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   PayPal Donations For vBulletin 3.5.0 (https://vborg.vbsupport.ru/showthread.php?t=91567)

dizzine 09-25-2007 06:23 PM

hey sinisterpain...absolutely excellent add-on this..
i am however experiencing a problem..

i use a paypal business account and have already got IPN on for my shop (which uses a different URL to my forum)..
the notification URL for IPN is http://shop.xxxxxx.com/payments/paypal_ipn.php
my forum is on http://forums.xxxxxx.com
and the donations settings are pointing to http://forums.xxxxxx.com/forums/ppverify.php therefore..

when someone donates the transaction goes through succesfully according to paypal but the goal progress is not updated and no valid/invalid/pending transactions appear in the summary page..
guessing i have an issue with a IPN notify URL already pointing to my shop file..

any clues as to how i can get this working properly..?
really want to use this on my forum..

(vb3.5.4)
many thanks

sinisterpain 09-25-2007 08:00 PM

Quote:

Originally Posted by dizzine (Post 1346979)
hey sinisterpain...absolutely excellent add-on this..
i am however experiencing a problem..

i use a paypal business account and have already got IPN on for my shop (which uses a different URL to my forum)..
the notification URL for IPN is http://shop.xxxxxx.com/payments/paypal_ipn.php
my forum is on http://forums.xxxxxx.com
and the donations settings are pointing to http://forums.xxxxxx.com/forums/ppverify.php therefore..

when someone donates the transaction goes through succesfully according to paypal but the goal progress is not updated and no valid/invalid/pending transactions appear in the summary page..
guessing i have an issue with a IPN notify URL already pointing to my shop file..

any clues as to how i can get this working properly..?
really want to use this on my forum..

(vb3.5.4)
many thanks

I am a little confused when you mix in the shop information and what you are trying to do with the Donation Mod.
The notify URL should be the link to the ppverify.php file for donations. By what you have posted your notification URL is to your payments/paypal_ipn.php. This must be set in the donation hack but must also be set in your paypal account and you can not have two notification URLs. I appreciate the links but I need more info on what you are trying to accomplish as I can no follow the logic of the shop and the donation Mod.

dizzine 09-26-2007 05:55 AM

apologies..maybe i didnt explain it very well..

okay..currently i have an online shop which uses the paypal IPN already..the url in paypal points to my shop paypal_ipn script..
the donation mod requires the paypal IPN url to be pointing at the mod ppverify script..

therefore (i assume) if i am already using my IPN in paypal i cant use it for this mod as i can only specify one paypal IPN url..

hope that makes more sense..

sinisterpain 09-26-2007 08:35 PM

Quote:

Originally Posted by dizzine (Post 1347266)
apologies..maybe i didnt explain it very well..

okay..currently i have an online shop which uses the paypal IPN already..the url in paypal points to my shop paypal_ipn script..
the donation mod requires the paypal IPN url to be pointing at the mod ppverify script..

therefore (i assume) if i am already using my IPN in paypal i cant use it for this mod as i can only specify one paypal IPN url..

hope that makes more sense..

As far as I know paypal only allows one url. You would have to either combine the scripts or have another account for donations. It may be best to pose the question at paypal and see what they say.

scan-pa 09-30-2007 07:12 PM

Hi everyone,

I have been running this hack for a long time with no problems, however after upgrading to vB 3.6.8, and not keeping a copy of my old postbit templates, The little donor icon no longer shows up for anyone in there postbit.

also, the user CP no longer has the display donor status show off / on option.

Other then that, the hack still works. I tried to re-install the plugin, however this did not restore those two items.

Does anyone have the code that needs to be re inserted into the postbit / postbit legacy templates?

and does anyone know what I need to do to restore the user CP show donor status?

thanks for the help.

sinisterpain 09-30-2007 07:41 PM

Quote:

Originally Posted by scan-pa (Post 1350367)
Hi everyone,

I have been running this hack for a long time with no problems, however after upgrading to vB 3.6.8, and not keeping a copy of my old postbit templates, The little donor icon no longer shows up for anyone in there postbit.

also, the user CP no longer has the display donor status show off / on option.


Other then that, the hack still works. I tried to re-install the plugin, however this did not restore those two items.

Does anyone have the code that needs to be re inserted into the postbit / postbit legacy templates?

and does anyone know what I need to do to restore the user CP show donor status?


thanks for the help.

In Template modifyoptions
FIND
Code:

<if condition="$show['reputationoption']">
ABOVE that ADD
Code:

<!-- 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 -->

In Template postbit and postbit_legacy
FIND
Code:

$post[yahooicon]</div>
BELOW that ADD
Code:

<!-- DONATIONS -->
<if condition="$post['donor'] AND $post['showdonor']"><div><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0" alt="Donor" /></a></div></if>
<!-- END DONATIONS -->

In Template MEMBERINFO
FIND
Code:

<td class="smallfont" valign="bottom" align="$stylevar[right]">
BELOW that ADD
Code:

<!-- DONATIONS -->
<if condition="$userinfo['donor'] AND $userinfo['showdonor'] == '1'"><a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_donor.gif" border="0" alt="Donor" /></a></if>
<!-- END DONATIONS -->


scan-pa 09-30-2007 08:05 PM

Thank You very much. That restored everything. :D

sinisterpain 09-30-2007 08:07 PM

Your welcome, but you should never quote the code as it allows non members to see it.

lazydesis 10-29-2007 04:47 PM

Quote:

Originally Posted by sinisterpain (Post 1102150)
Ok guys for those of you that have been having issues with installing this mod on 3.6.2 vba 2.2.1:

I so far have got it working from a clean install, also using the vBA module on my home page. The supplied installer creates a phrasetypeid SQL error when you use the supplied installer. I used a XML file I had downloaded not sure who wrote it, and I take no credit for it. I think it was from the original hack not sure. In the zip file there is no name so I do not know who created it, but it installs perfectly at least for me it did.
Proceedure I followed is as follows:
1. Upload the files to your webserver as described by the orig installation instructions.
2. Go to your Plugin&Products in Admin cp =>Manage products=>Add/Import Product. Install the attached XML file. This will add the phrases,templates ect... "Do not use the supplied installer, donationtions_install.php". The XML file will install everything required.
3. If all went ok you should have the paypal donations added to your Admin cp. Just continue with original instructions

Ok missed the thread above the origination of the file is from Andreas https://vborg.vbsupport.ru/showthrea...t=91567&page=8
Sorry guys I uploaded my edited XML with phrase changes I made the attached file is now the original sorry for that.



This post must be merged into the first post to help all the users of 3.6 :)

it took me quite some time to find this :(

thanx a lot dude for this excellent hack ..:D if i make a lof of money from donations i will surely send some towards ur way :)

tbrown7552 11-06-2007 06:25 AM

so ppl dont haft to look for it. the Product install is here.
https://vborg.vbsupport.ru/showpost....&postcount=119

Im having some issues with the images not showing up like the donate button and the verified seal. any ideas?


All times are GMT. The time now is 11:01 PM.

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.02951 seconds
  • Memory Usage 1,762KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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