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)

Rukas 11-02-2005 01:17 AM

Quote:

Originally Posted by christianb
I was just playing around with this and here's something I've come up with. I combined all three into one, but there's a lot of variables I don't know at the moment (so here's a rough draft)...

adv_portal_donate
PHP Code:

<if condition="$vboptions['toporlast'] == '1'">
<
tr>
    <
td class="$getbgrowalign="center">Our Top $vboptions[donations_top_donorDonors
        
<div class="float: right">
            <
table>
                
$donate_goals_userbits
            
</table>
        <
span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span></div><hr />
    </
td>
</
tr>
</if>

<if 
condition="$vboptions['toporlast'] == '0'">
<
tr>
    <
td class="$getbgrowalign="center">Our Last $vboptions[donations_last_donorDonors
        
<div class="float: right">
            <
table>
                
$donate_goals_userbits
            
</table>
        <
span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span><hr />
    </
td>
</
tr>
</if>
    <
tr>
        <
td class="$getbgrowalign="center"><a href="$vboptions[bburl]/donate.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0"></a>
        </
td>
    </
tr>
<
br />

<
hr />

 <
tr>
    <
td class="$getbgrowalign="center">$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 />
        
$percentageof 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>

<
hr />

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


Doesnt work

davidw 11-02-2005 11:04 AM

I know it doesn't work - I don't know the variables. The only thing I do know that works is the If condition switch - that I've tested.

jluerken 11-02-2005 05:19 PM

Hi,

after updating the board to 3.5.1 my goals and donors are not showing up.
They're still in the database but not displayed.
Any idea?

If I set the donation system to disabled I get a blank page

Regards
jluerken

jluerken 11-02-2005 05:30 PM

Ok I got the goals and donors back by reinstalling the templates but I still get a blank page when I disable the donor page :-(

Rukas 11-03-2005 07:46 AM

Heres a weird bug, when a user changes their profile pic, they are no longer on the donar list or have the donar graphics next to their name. They are also taken off the top donars list.

It just happened to my top donar, the gold trophey is now gone and silver is on top.

http://www.streethop.com/forum/alldonors.php

Any ideas why?

jluerken 11-03-2005 08:56 AM

Quote:

Originally Posted by Rukas
Heres a weird bug, when a user changes their profile pic, they are no longer on the donar list or have the donar graphics next to their name. They are also taken off the top donars list.

I can confirm this.
It happened for one of my users when I upgraded from 3.5.0 to 3.5.1
I had to set a new avatar in the admincp for this user to get it back on the donor list.
In my case only the donors avatar was gone, not his name or entry

GrendelKhan{TSU 11-03-2005 11:36 AM

any phrases set for this?

<< running mulit-language site. :/

davidw 11-03-2005 12:03 PM

Is this an issue with 3.5.1 - the reason I ask is because I had one donor change his avatar but this did not happen on my site.

jluerken 11-03-2005 08:53 PM

I can reinstall the templates and all that stuff but how can I reinstall the phrases only?

There is no option to do so but I need this.
Is there a manual way to call the function to do this?

I found out: donations_install.php?do=phrases :D

RGSMDNR 11-05-2005 02:18 AM

not sure if this hack has anything to do with the problem on my board. but ever since i installed it, the admin account to relog in each time the browser is opened. is there anything this hack does to that admin account or the cookie or soemthing for this to happen?

thanks


All times are GMT. The time now is 05:59 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.02411 seconds
  • Memory Usage 1,780KB
  • 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
  • (1)bbcode_php_printable
  • (2)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