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)

Ranger187 11-05-2005 03:55 AM

Quote:

Originally Posted by MrSDavidson
Top Donors
Sorted by Total Donations View All Donors
View All Donors

Takes you to the wrong link

http://www.example.com/forums/alldonors.php

Errors trying to uninstall... Lovely.

DS MrSinister 11-07-2005 05:24 AM

Can anyone help me out on this one to make this work in vb3.5.1

This is for vba module

Code:

<?php
/*======================================================================*\
|| #################################################################### ||
|| # Paypal Donations for vBulletin 3.0.7 - Version 1.0              # ||
|| # ---------------------------------------------------------------- # ||
|| # Copyright ?2005 The Noble Pagan, $Inc. All Rights Reserved.      # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| # ---------------------------------------------------------------- # ||
|| #################################################################### ||
\*======================================================================*/

$query_users = $DB_site->query("SELECT donor.userid, donor.total, user.username, user.showdonor
                                                                                                                                FROM ".TABLE_PREFIX."donation_donors AS donor
                                                                                                                                LEFT JOIN ".TABLE_PREFIX."user AS user ON(user.userid = donor.userid)
                                                                                                                                WHERE donor.userid != '0'
                                                                                                                                ORDER BY total DESC
                                                                                                                                LIMIT 0,".$vboptions['donate_CMPS_users']);
while ($row = $DB_site->fetch_Array($query_users)){
        $donor_username = $row['username'];
        $show_as_donor = $row['showdonor'];
        $user_total = $row['total'];
        eval('$donate_goals_userbits .= "'.fetch_template('adv_portal_donate_goals_user').'";');
}
       
$query_goals = $DB_site->query("SELECT * FROM ".TABLE_PREFIX."donation_goals WHERE active = '1' ORDER BY title ASC LIMIT 0,".$vboptions['cmps_number_goals']);
while ($row = $DB_site->fetch_array($query_goals)){
        $amount = $row['amount'];
        $amount_formatted = number_format($row['amount'], 2, '.', ',');
        $goal_total = $row['total_donated'];
        $goal_total_formatted = number_format($row['total_donated'], 2, '.', ',');
        $title = stripslashes($row['title']);
        if ($row['amount'] > 0){
                $percentage = round(($goal_total/$amount)*100, 2);
        } else {
                $percentage = '0';
        }
        eval('$donate_goals_bits .= "'.fetch_template('adv_portal_donate_goals').'";');
}
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('adv_portal_donate') . '";');

/*======================================================================*\
|| #################################################################### ||
|| # ./modules (vBaCMPS) donate -- fileversion 1.08                  # ||
|| # Date Version Finalized -- 02 July 2005                          # ||
|| #################################################################### ||
\*======================================================================*/
?>


michaelbenson 11-07-2005 09:36 AM

I have just installed the donations hack but how do i actually add in options for the user to donate to, and how do i actually set donation goals too? http://www.staff-lounge.com/donate.php

davidw 11-07-2005 06:44 PM

I just installed 3.5.1 and had to reinstall paypal donations - and now the control panel is gone. For those not understanding, its the first screenshot here

DS MrSinister 11-07-2005 07:23 PM

this will fix that problem.



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

davidw 11-07-2005 08:34 PM

and that fixed the problem :)

RGSMDNR 11-08-2005 09:34 PM

i need some coding help here. i have this running currently on my site. what conditional would i type in so that once a user donates, the google ads are gone.

thanks!

eXtremeTim 11-08-2005 09:52 PM

Might want to fix this

ppverify.php

PHP Code:

        $msg 'The Transaction Number is: '.$txn_id.'.

It is suggested that you investigate this transaction to determine if it was incorrectly labeled as invalid, or if it was an attempt at a false transaction.'
;
        
mail($vboptions['webmasteremail'], $subject$msg); 

the $vboptions ;)

DS MrSinister 11-08-2005 10:58 PM

vbadvanced module for 3.5.x 2.0.0

just uplooad the module thru vba cmps admin.

:)

thx to micheal332001 for helping me out

thx m8

for some reason not sure why its not making all the templates.

here is the missing one

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>


outlaw621 11-09-2005 12:09 AM

Quote:

Originally Posted by eXtremeTim
Might want to fix this

ppverify.php

PHP Code:

        $msg 'The Transaction Number is: '.$txn_id.'.

It is suggested that you investigate this transaction to determine if it was incorrectly labeled as invalid, or if it was an attempt at a false transaction.'
;
        
mail($vboptions['webmasteremail'], $subject$msg); 

the $vboptions ;)

What are we supposed to fix? I am not trying to be rude but I do not know what is wrong with it since I am not a coder. Can you please explain a little further what is wrong?


All times are GMT. The time now is 02:01 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.02924 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
  • (2)bbcode_code_printable
  • (2)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