PDA

View Full Version : Add donate button to postbit/legacy for PayPal Easy Donate - vB 3.6



bigdog829
04-24-2007, 10:41 PM
This will add a donate button to postbit legacy for the PayPal Easy Donate - vB 3.6 hack which can be found on vb.org.

In postbit_legacy template find:


<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>

Below add:


<br/><a href="billspaypal.php" target="_blank"><img src="images/buttons/donate.gif" border="0"></a>

Then create a image named donate.gif or use the one I have supplied & upload it via ftp to:

images/buttons directory

Peggy
04-24-2007, 10:48 PM
Excellent. This is sure to come in handy :)

hakan_72_123
05-03-2007, 05:28 AM
thanks alot of

CrazyBoyS
07-27-2007, 03:13 PM
Awsome. Donations can always help pay for upgrades :)

meehan32
02-09-2008, 10:51 AM
can i have help installing this please

C138 Kaysone
02-09-2008, 05:49 PM
Hey can i still use this? but im no longer verified on Paypal with my bank account, i was stupid and i took it out

but what do we do? how can we use it? can people donate or something or is it there for looks?

How do i get it set for where it goes to my Paypal account?

C138 Kaysone
02-10-2008, 04:25 AM
Ok i got it added to my Board but how do i get it to work for where i can get my community members to donate to my paypal account? how do you do it?

Peggy
02-10-2008, 11:08 AM
Make an announcement that you've added the feature for those who would like to donate to the upkeep of the forum. If they want to, they will.

C138 Kaysone
02-10-2008, 02:18 PM
Make an announcement that you've added the feature for those who would like to donate to the upkeep of the forum. If they want to, they will.

I can do that, but how do i set it for where it goes to my paypal account??


<br/><a href="billspaypal.php" target="_blank"><img src="images/buttons/donate.gif" border="0"></a>

Just like that but I dont know what to change there, im not a vB Genius like you peggy :)

I just dont know what to put there, when i put my email address, it goes no where, I guess theres something else to put there or something?

I just need to know where i can put "what i need" in order for my community members to click it and then it takes them to a menu or something to donate money... through paypal

Scott X
03-13-2008, 02:40 AM
the question is, why does it show up on EVERY members posts? shouldn't it only be the admin?

C138 Kaysone
06-15-2008, 08:00 AM
hey where is the file to download?

eJM
06-15-2008, 09:27 AM
Read the original post. There is no file to download. The modification has specific directions to modify a template. Make yourself a button and do the template edit. The only requirement is that you have the PayPal Easy Donate hack from vBulletin.org installed (or a similar hack).

This modification does create errors in validation though:

Instead of this:


<br/><a href="billspaypal.php" target="_blank"><img src="images/buttons/donate.gif" border="0"></a>

Use this:


<br /><a href="billspaypal.php" target="_blank"><img src="images/buttons/donate.gif" border="0" /></a>

Jim