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)

divided_by_fear 10-30-2005 05:57 PM

ok ill test it out and see ill let you know thanks for the help ill try it in a few mins...

divided_by_fear 10-30-2005 06:55 PM

hell yeah that worked thank you very much.... and yes it does work with vBadvanced CMPS v2.0

VBUsers 10-30-2005 08:35 PM

Quote:

Originally Posted by lowandloudinc
i dont know whats missing i dont see this page at all. did i miss something. i went over it for a while. i cant set any of the defaults or settings.


bump i dont see these settings im missing the admincp look. can someone share the fix for this?

divided_by_fear 10-30-2005 08:45 PM

Quote:

Originally Posted by BrandiDup
What I had to do was 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 fixed mine.

thats the fix right there no clue why they dont update the zip and there wouldnt be problems...

VBUsers 10-30-2005 08:57 PM

Quote:

Originally Posted by Cloudrunner
As will be most likely request within the first ten posts, here are some basic screens of the system.


how and what am i missing from my install. i would like my page to look like this. please help

divided_by_fear 10-30-2005 09:00 PM

um thats how it looks when you install it... goto your www.yoursite.com/donate.php if you installed the mod correctly you will see that..... or how ever you have your forum link set up

VBUsers 10-30-2005 09:17 PM

Quote:

Originally Posted by divided_by_fear
um thats how it looks when you install it... goto your www.yoursite.com/donate.php if you installed the mod correctly you will see that..... or how ever you have your forum link set up


so i have to enter the buttons on my own into the pages and the quota images as well? what about the admincp panel. im missing the settings as well

divided_by_fear 10-30-2005 09:21 PM

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

VBUsers 10-30-2005 09:24 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....


ahhhh now i see it thanks alot i overlooked that cause i have so many issues going on right now. thanks for your help and appreciate the time

BrandiDup 10-31-2005 12:05 AM

Quote:

Originally Posted by divided_by_fear
hell yeah that worked thank you very much.... and yes it does work with vBadvanced CMPS v2.0


Glad I could help! :up: :)

Detomah 10-31-2005 04:05 AM

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

lol, that's one of those silly errors that could take forever to find. :o

Anyway thanks, you've just saved me a lot of time on that as I was wondering why it wasn't showing too. :)

evenmonkeys 10-31-2005 04:19 AM

I just ran the install and the admincp nav didn't come up. >_> Did I mis something? Everything else seems to be working. I did make the edit to the file.

DS MrSinister 10-31-2005 07:31 PM

Quote:

Originally Posted by xYarub
I just ran the install and the admincp nav didn't come up. >_> Did I mis something? Everything else seems to be working. I did make the edit to the file.


Here is the fix.

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

evenmonkeys 10-31-2005 10:59 PM

Ah. Thank you very much.

Case sensitivity > the donations hack.

DS MrSinister 10-31-2005 11:46 PM

now if i only can get the vba module template to work. can anyone help me out on this. so i can get this to work with 3.5 gold. the templates was from 3.0.X. not sure what i need to replace or remove.

any help would be great thanks.

adv_portal_donate

Code:


<!-- Donations Block -->

<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
        <tr>
                <td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] Donations</strong></span></td>
        </tr>
        $donate_goals_bits
        <if condition="$vboptions['showdonors'] == '1'">
                <if condition="$vboptions['toporlast'] == '1'">
                        <tr>
                                <td class="$getbgrow" align="center">
                                        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">
                                        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 />
                                        <table>
                                                $donate_goals_userbits
                                        </table>
                                </td>
                </if>
        </if>
        </tr>
        <tr>
                <td class="$getbgrow" align="center">
                        <a href="$vboptions[bburl]/donate.php"><img src="$stylevar[imgdir_button]/donate_button.gif" border="0"></a>
                </td>
        </tr>
</table>
<br />

<!-- End Donations Block -->

adv_portal_donate_goals

Code:


<tr>
        <td class="$getbgrow" align="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 />
                $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>


dreck 11-01-2005 01:51 AM

<font color="Green">/me installs</font>

I will install this tomar, thanks!

RGSMDNR 11-01-2005 11:51 AM

how do i get it so the user has the donator under their name? its not showing up after they donate.

davidw 11-01-2005 02:23 PM

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> 


davidw 11-01-2005 02:28 PM

variables I'm unsure about on what is supposed to be used (or even where some go):

donations_top_donor
$donate_goals_userbits
donations_last_donor
$donate_goals_userbits
$goal_total_formatted
$amount_formatted
$user_total

divided_by_fear 11-01-2005 02:42 PM

i had to remove this cause when i looked at my member.php page it had it messed up major... the Last Activity: Today was all messed up along the side... in the member template it seemed to have 2 of the same codes back to back

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

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 04:52 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.03354 seconds
  • Memory Usage 1,951KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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