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)

guvner 07-01-2005 10:10 PM

Quote:

Originally Posted by Cloudrunner
Delete all the donation files from your server (do not uninstall), and then upload them ALL again out of the 1.07 archive.

You nailed it CR :) - thank you - all installed and going really well!

A smal request if possible?

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

Postage & Packing: $0.00 USD

and no mention of the transaction being in AUD.

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

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

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

Thanks,

Mike :)

Cloudrunner 07-01-2005 11:50 PM

Quote:

Originally Posted by guvner
You nailed it CR :) - thank you - all installed and going really well!

A smal request if possible?

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

Postage & Packing: $0.00 USD

and no mention of the transaction being in AUD.

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

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

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

Thanks,

Mike :)

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

Cloudrunner 07-01-2005 11:51 PM

Quote:

Originally Posted by Cloudrunner
Unfortunately, the shipping is hardcoded into paypal's system, I have the system setup to negate this but thus far, PP is ignoring the request...

Just an update real quick folks, I'm suspending work on this version for awhile except for bugs that may pop-up, so that I can port it over to 3.5 Support will still be given here...

guvner 07-02-2005 12:01 AM

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

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

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

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

Cloudrunner 07-02-2005 12:08 AM

Quote:

Originally Posted by guvner
I have run into a small issue, I can't get the "Top" or "Most Recent" donors to show up on the donations page despite having selected the options to do so. Also I have it set to show the 5 top donors.

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

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

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

Gimme a full code view of your DONATIONS template

guvner 07-02-2005 12:12 AM

Code:

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

<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <thead>
                <tr align="center">
                        <td class="tcat" colspan="3">$vbphrase[how_to_donate]</td>
                </tr>
                <tr align="center">
                  <td class="thead" colspan="3">
                                <span class="smallfont">$vbphrase[processor_paypal]</span>
                        </td>
                </tr>
        </thead>
        <tbody>
                <tr align="center">
                        $donationbits
                </tr>
                <tr>
                        <td class="tfoot" colspan="3">&nbsp;</td>
                </tr>
        </tbody>
</table>
<br />
<table border="0" width="100%">
        <tr valign="top">
        <if condition="$vboptions['showdonators'] ==1">
                <td>
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="tcat" colspan="3">$vbphrase[top_donators]</td>
                                        </tr>
                                        <tr align="center">
                                          <td class="thead" colspan="3">$vbphrase[sorted_by_total_donation]</td>
                                        </tr>
                                </thead>
                                <tbody>
                                        <tr align="center">
                                                $topdonatorbits
                                        </tr>
                                        <tr>
                                                <td class="tfoot" colspan="3">&nbsp;</td>
                                        </tr>
                                </tbody>
                        </table>
                </td>
        </if>
                <td>
                <if condition="$vboptions['showgoals'] == 1">
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="tcat" colspan="2">$vbphrase[our_donation_goals]</td>
                                        </tr>
                                        <tr align="center">
                                          <td class="thead" colspan="2">
                                                        $vbphrase[money_goes_towards_goals]<br />
                                                        <if condition="$vboptions['showtotalcollected'] == 1">
                                                                <if condition="$mc_total > 0">
                                                                        $vbphrase[we_have_collected] $$mc_total $vbphrase[since] $vboptions[donationstartdate]
                                                                <else />
                                                                        $vbphrase[we_have_not_collected]
                                                                </if>
                                                        </if>
                                                </td>
                                        </tr>
                                </thead>
                                <tbody>
                                        <tr align="center">
                                                $donationgoalbits
                                        </tr>
                                        <tr>
                                                <td class="tfoot" colspan="2">&nbsp;</td>
                                        </tr>
                                </tbody>
                        </table>
                        <br />
                        </if>
               
                <if condition="$vboptions['showverifiedseal'] == 1">
                        <br />
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="tcat" colspan="3">$vbphrase[paypal_verified]</td>
                                        </tr>
                                </thead>
                                <tbody>
                                        <tr align="center">
                                                <td class="alt1" align="center">
                                                        <a href="https://www.paypal.com/us/verified/pal=$vboptions[paypal_email]" target="_blank">
                                                                <img src="$stylevar[imgdir_misc]/paypal_verified.gif" border="0" alt="Official PayPal Seal">
                                                        </a>
                                                </td>
                                                <td class="alt2" align="center" width="100%">
                                                        $vbphrase[what_it_means_to_be_verified]
                                                </td>
                                        </tr>
                                        <tr>
                                                <td class="tfoot" colspan="3">&nbsp;</td>
                                        </tr>
                                </tbody>
                        </table>
                </if>
                </td>
        </tr>
</table>

<!-- /main -->

$footer
</body>
</html>


Cloudrunner 07-02-2005 12:19 AM

Quote:

Originally Posted by guvner
Code:

...<if condition="$vboptions['showdonators'] ==1">...

Run the upgrade if it shows in your installer, then revert all of your modified donations templates to get the most current versions of them...note the word donator yet again ;)...

guvner 07-02-2005 12:24 AM

Mmm - when I uninstalled the previous version, I removed all the earlier files as you suggested, so I'm guessing that the uninstaller didn't remove the old templates?

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

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

Cloudrunner 07-02-2005 12:33 AM

Quote:

Originally Posted by guvner
Mmm - when I uninstalled the previous version, I removed all the earlier files as you suggested, so I'm guessing that the uninstaller didn't remove the old templates?

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

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

there were extensive template changes from 1.03 (the version that you were running from the donator word showing) and the current version 1.07. You will not lose any phrase edits as long as you translated them, and didn't directly edit them...this is the suggested method anyway...but the templates have some functionality changes done since then...

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

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

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

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

guvner 07-02-2005 12:43 AM

Ha! - did it without running the upgrade - I took your advice and just reverted donations template and it's fixed ;)

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

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

Mike :)


All times are GMT. The time now is 04:04 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.01601 seconds
  • Memory Usage 1,808KB
  • 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
  • (2)bbcode_code_printable
  • (6)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