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 Easy Donate (https://vborg.vbsupport.ru/showthread.php?t=113159)

Billspaintball 04-18-2006 11:02 AM

Quote:

Originally Posted by XtAzY
Awesome hack.... i decided to leve cloud's hack and switch to this.

Thanks!
Please click instal :)
Quote:

But i was wondering if u can add the Goals per month, Total Donated this month, Donation Needed, or something like that. Thanks!
That really raises the complexity of the hack a lot.
But thats not to say it wont be added at some stage. Currently I'm researching the PayPal callback functions (I need this if I want to automaticly confirm if a payment was made and for how much).

If we want to then start adding goals, showing donors as donors, displaying donated amounts etc I will have to learn how to get products to create tables.
It would probably be a lot easier to modify parts of cloudrunners code than start from scratch, if I could get permission that is.

trancetopia 04-19-2006 08:08 AM

Quote:

Originally Posted by Billspaintball
Thanks ! :)
Ive been chatting to DementedMindz about convering his vBA CMPS donate block into a product, so you will be able to set the options up in the AdminCP. Im not sure how sucessfull this will be due to the way vBA handles blocks, but all I can do is try and see.
Wont be for a little while though.

As for adding users to other usergroups, Im currently researching PayPal callbacks. If I can get my head around that then its quite possible.

This is very good news. Really looking forward to this hack now when you work out the callbacks, they are quite easy to do.

Thanks Bill.

DementedMindz 04-19-2006 09:57 AM

Quote:

Originally Posted by trancetopia
Really looking forward to this hack now when you work out the callbacks, they are quite easy to do.

maybe you should help out then... if they are so easy....

xss illz 04-19-2006 07:38 PM

whats the temp script for making a nav bar button??

can anyone help

Billspaintball 04-20-2006 01:08 AM

Quote:

Originally Posted by xss illz
whats the temp script for making a nav bar button??

can anyone help

Can you be a little more detailed in what you want?

Billspaintball 04-20-2006 12:34 PM

Updated to 1.2
Version 1.2 has been released.

Changelog

Version 1.2 (16th April 2006)
  • Added - Admin CP selector for Navlink, Button, or nothing
  • Added - Donate button in header on right (selectable on/off)
  • Added - Couple of tweaks for vB CMPS module addon
  • Added - Grouped templates in style manager
  • Fixed - Couple of minor changes to make it 100% HTML compliant

Billspaintball 04-20-2006 12:56 PM

vB CMPS Module available
A vB CMPS module for this is now available.

Download this module from the opening post.

Kihon Kata 04-20-2006 01:06 PM

Quote:

Originally Posted by Billspaintball
vB CMPS Module available
A vB CMPS module for this is now available.

Download this module from the opening post.

Hey Bill, I modified the text that shows on the donate page. I cannot remember if it was a phrase or just plain HTML. If I modified that, will upgrading to 1.2 kill my modification?

Also, one reccomendation for future upgrades: It would be nice to be able to pass the USERNAME to PayPal so that we can see who is donating. That is if it's not a guest donating.

Billspaintball 04-20-2006 01:21 PM

Quote:

Originally Posted by Kihon Kata
Hey Bill, I modified the text that shows on the donate page. I cannot remember if it was a phrase or just plain HTML. If I modified that, will upgrading to 1.2 kill my modification?

It depends what you actually modified.
If you modified billspaypal.php then it will be right as long as you dont reupload that file (there is no need to, its unchanged).
If you actually modified a template, your changes will probably get overwriten.
Quote:

Also, one reccomendation for future upgrades: It would be nice to be able to pass the USERNAME to PayPal so that we can see who is donating. That is if it's not a guest donating.
Look at 'Item/Product Name:" on your emailed paypal notification.
It already contains the doners forum Username :)

Thats only a stop gap solution until I get my head around the PayPal call backs, but it works.

Kihon Kata 04-20-2006 01:25 PM

Quote:

Originally Posted by Billspaintball
It depends what you actually modified.
If you modified billspaypal.php then it will be right as long as you dont reupload that file (there is no need to, its unchanged).
If you actually modified a template, your changes will probably get overwriten.

Thanks for the quick reply Bill! Oh yeah, I'm sure it was prolly a template mod, I just couldn't remember if it was phrased or not(too lazy to go look lol). I can copy my template changes before upgrading.


Quote:

Look at 'Item/Product Name:" on your emailed paypal notification.
It already contains the doners Username :)
Thats only a stop gap solution until I get my head around the PayPal call backs, but it works.
Oh ya, I saw this. Sorry :-) Nice hack, btw

DementedMindz 04-20-2006 01:28 PM

yeah basicly the way things are setup now you dont really need any template mods... it can all basiclly be done via admincp..

Kihon Kata 04-20-2006 01:41 PM

Quote:

Originally Posted by DementedMindz
yeah basicly the way things are setup now you dont really need any template mods... it can all basiclly be done via admincp..

What I was saying is that I had already installed this and modded up the text. When I upgrade, I wanted to make sure that it didn't overwrite my text changes.

Kihon Kata 04-20-2006 05:21 PM

Ok, so....I upgraded to 1.2 and it kept all the settings and text. I had only edited the text inside the vb options > Bill's PayPal Donate

Thanks

phonexpo 04-21-2006 12:44 PM

I've messed up the module, I want to take some text from it so I done that in word pad, now vB wont read the file as a module :o, how do I sort that?

Billspaintball 04-21-2006 01:09 PM

Re-import the module and overwrite the damaged one.

If you want to edit a module, log into your Admin CP
then
Styles & Templates -> Style Manager - Edit Templates

Then just edit the template called "adv_portal_paypal"

Kihon Kata 04-25-2006 12:44 AM

Bill, I sent you a PM regarding how to cache the cached template the template

Desihunk 04-25-2006 01:07 AM

Nice hack. I would've used it if you would've given the 'Donation Goal' feature...Anyways thanks :)

Billspaintball 04-25-2006 01:21 AM

Quote:

Originally Posted by Kihon Kata
Bill, I sent you a PM regarding how to cache the cached template the template

Where are you getting that message specifically?
Just on the billspaypal.php page or everywhere?

Also, did you do a clean install of the 1.2 release, or have you upgraded from an earlier one?

Billspaintball 04-25-2006 01:24 AM

Quote:

Originally Posted by Desihunk
Nice hack. I would've used it if you would've given the 'Donation Goal' feature...Anyways thanks :)

Its still a work in process.
Currently Im working on getting it to insert the PayPal IPN data into the database.
Once thats working fine then I can look at other features such as Goals, Top Donors, Donor Icons for members and so on.

Kihon Kata 04-25-2006 03:22 AM

Quote:

Originally Posted by Billspaintball
Where are you getting that message specifically?
Just on the billspaypal.php page or everywhere?

Also, did you do a clean install of the 1.2 release, or have you upgraded from an earlier one?

Hi Bill! I upgraded it so I didn't lose my settings and YES it's showing on all pages. Lemme know what to do

lazyseller 04-25-2006 10:57 PM

If you can get the goals feature and top donors.. ill make a donation once the script is done

trancetopia 04-25-2006 11:57 PM

Quote:

Originally Posted by DementedMindz
maybe you should help out then... if they are so easy....

Absolutely no problem.

@billspaintball: Please PM me if you need a hand with the paypal callbacks.

COBRAws 04-26-2006 10:04 AM

The use of phrases would be advisable.

Billspaintball 04-26-2006 10:30 AM

Quote:

Originally Posted by Kihon Kata
Hi Bill! I upgraded it so I didn't lose my settings and YES it's showing on all pages. Lemme know what to do

ok, Im not sure what is causing that.
Its not happening on either of my test boards and no one else has reported it to date.

Are you using the standard vB style or a custom one?

Kihon Kata 04-26-2006 12:18 PM

Quote:

Originally Posted by Billspaintball
ok, Im not sure what is causing that.
Its not happening on either of my test boards and no one else has reported it to date.

Are you using the standard vB style or a custom one?

Hi Bill, I have 3 custom styles and the standard vB one. The uncached template is on all 4 of them. How does one manually cache it?

Billspaintball 04-27-2006 02:34 AM

Quote:

Originally Posted by Kihon Kata
Hi Bill, I have 3 custom styles and the standard vB one. The uncached template is on all 4 of them. How does one manually cache it?

Sorry, I dont know how to manually cache it or even if that is possible.
My suggestion would be to try uninstalling then reinstalling the product to see if that fixes it.

Has anyone else experienced this issue, or is it a one off?

Billspaintball 04-27-2006 05:35 AM

Quote:

Originally Posted by trancetopia
Absolutely no problem.

@billspaintball: Please PM me if you need a hand with the paypal callbacks.

Thanks for the offer but I've now got the PayPal IPN data inserting into the vB database correctly.

Now for the tricky part, coding the rest :tired:

Boofo 04-27-2006 01:11 PM

This line gives me an error when I click the verified link, and I am verified with PayPal.

Code:

<a href="https://www.paypal.com/au/verified/pal=$vbsettings[paypal_email]" target="_blank">
And ideas what it should be? I am in the US.

EDIT: FIXED! Ok, I got this fixed. The template was calling the wrong variable. Also, you need to use $vboptions and not $vbsettings. That's why the verifying pages were not going to your verified account. The code above should be replaced with this (if you are in the US):

Code:

<a href="https://www.paypal.com/us/verified/pal=$vboptions[billspp_email]" target="_blank">
I would also suggest adding another setting for the country code in the link (i.e., us, au, etc.) That will make this more widely versatile. ;)

Boofo 04-27-2006 01:49 PM

Quote:

Originally Posted by phonexpo
Intalled and working fine ;)

http://phonexpo.net/billspaypal.php

You're verifying page isn't coming up. ;)

Billspaintball 04-27-2006 01:51 PM

Doh!
Ive called a non existant variable in the verify link.

Grab the new 1.21 XML and import it.

Make sure allow overwrite is selected.

Billspaintball 04-27-2006 01:53 PM

Quote:

Originally Posted by Boofo

I would also suggest adding another setting for the country code in the link (i.e., us, au, etc.) That will make this more widely versatile. ;)

Thanks for the suggestion. I will look at doing that for the next update.
Im planning on changing the currency selection to make that simpler, so I will incorporate it in that.

Its late over here so I've just done a quick fix for now. :)

Boofo 04-27-2006 03:12 PM

I've also fixed the template query that someone reported. If someone can let me know if there are any other templates not cached I will add those too, but I only found one.

Boofo 04-27-2006 03:13 PM

Quote:

Originally Posted by Billspaintball
Sorry, I dont know how to manually cache it or even if that is possible.
My suggestion would be to try uninstalling then reinstalling the product to see if that fixes it.

Has anyone else experienced this issue, or is it a one off?

Also fixed! PM me and I'll get it to you. ;)

DJ XtAzY 05-01-2006 08:46 PM

so how do u cache the template?

Billspaintball 05-02-2006 10:38 PM

Quote:

Originally Posted by XtAzY
so how do u cache the template?

Template caching is now fixed and will be included in the 1.3 release.

1.3 is almost ready, should be out sometime in the next 2 days.

DJ XtAzY 05-02-2006 10:44 PM

yay... take ur time =]

im always patient

Dr.Viggy 05-05-2006 03:30 PM

this is a great hack and very simple to install and works like a charm. we can all use a couple extra bucks for domain renews or upgraded bandwidth. now, does anyone have a hack to make users feel the need to donate? ;)

*clicks install

Bubble #5 05-05-2006 04:26 PM

Our skin does not have a navbar. Could someone please post the code for the donation link so we can enter it manually? Thank you.

Bubble #5 05-06-2006 01:01 AM

You have a typo in the xml.

Code:

<title><![CDATA[Bills PayPal Donate WOL Config B]]]></title>

Should be:

Code:

<title><![CDATA[Bills PayPal Donate WOL Config B]]></title>

Also is there supposed to be anything in the breadcrumbs at the top of the page? Ours is blank :surprised:

cOuNtErFiET 05-06-2006 06:59 AM

Quote:

Originally Posted by Bubble #5
Our skin does not have a navbar. Could someone please post the code for the donation link so we can enter it manually? Thank you.

Code:

<!-- PayPal Donations -->
<td class="vbmenu_control"><a href="billspaypal.php?">$vbphrase[billspp_donate]</a></td>
<!-- /PayPal Donations -->



All times are GMT. The time now is 06:45 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.01377 seconds
  • Memory Usage 1,839KB
  • 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
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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