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)

IC-Games 02-08-2006 01:04 AM

Quote:

Originally Posted by LBSources
could have sworn you asked this before.. anyway..

https://vborg.vbsupport.ru/showpost....&postcount=844

Maybe it would have been more useful to have produced the actual answer, this thread is 57 pages long you know :)

AgiOs 02-08-2006 08:42 AM

In the cpnav_paypal_donations.xml

replace this
<navgroups product="vBulletin">

With
<navgroups product="vbulletin">

AgiOs 02-08-2006 08:46 AM

Quote:

Originally Posted by Trana
The instructions for the VBA module are in this thread.

Can you be more specific?
Anyway in the zip with files i didn't found the donate.php
for the module

Bro_Joey_Gowdy 02-08-2006 05:50 PM

Does it work with vb3.5.3 ?

Eagle Creek 02-08-2006 06:43 PM

Quote:

Originally Posted by Bro_Joey_Gowdy
Does it work with vb3.5.3 ?

HOW easy is it to install and HOW big is the change something wil get f*cked up?

I ask this because I want to keep my board running but I also like the hack..

MissKalunji 02-08-2006 07:09 PM

Quote:

Originally Posted by Eagle Creek
HOW easy is it to install and HOW big is the change something wil get f*cked up?

I ask this because I want to keep my board running but I also like the hack..

i have it installed on 3.5.3 working perfectly...............

WreckRman2 02-09-2006 12:33 AM

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>

Admincp > vBa CMPS > Add Module > PHP File


Module Title: Donations
Column: left or right
Display Order: Up to you.
Active: yes
File to Include: donate.php
Templates Used: adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user



Why not just upload the .module file... much easier that way.

AgiOs 02-09-2006 08:19 PM

Quote:

Originally Posted by DS MrSinister
Module Title: Donations
Column: left or right
Display Order: Up to you.
Active: yes
File to Include: donate.php
Templates Used: adv_portal_donate, adv_portal_donate_goals, adv_portal_donate_goals_user

Where the **** is donate.php? :(

one.eg6 02-11-2006 02:22 AM

Quote:

Originally Posted by AgiOs
In the cpnav_paypal_donations.xml

replace this
<navgroups product="vBulletin">

With
<navgroups product="vbulletin">

I did this change, and I still am missing the donate button (of some sort) on the donate.php page and maybe a few options in the admincp.

SCRIPT3R 02-11-2006 04:49 PM

Quote:

Originally Posted by one.eg6
I did this change, and I still am missing the donate button (of some sort) on the donate.php page and maybe a few options in the admincp.

read the thread again for your answer... it's been discussed multiple times already.


All times are GMT. The time now is 02:59 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.03038 seconds
  • Memory Usage 1,755KB
  • 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
  • (8)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