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)

Mith 11-09-2005 02:16 PM

[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....&postcount=231

outlaw621 11-09-2005 05:09 PM

Quote:

Originally Posted by DS MrSinister
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:

Code:

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

Quote:

Originally Posted by DS MrSinister
see if they all match up
adv_portal_donate

Code:

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

Code:

<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

Code:

<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

Quote:

Originally Posted by divided_by_fear
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.


All times are GMT. The time now is 05:25 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.02154 seconds
  • Memory Usage 1,782KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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