vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Bills PayPal Donations Lite - 4 (https://vborg.vbsupport.ru/showthread.php?t=236380)

meissenation 02-21-2010 04:45 AM

Quote:

Originally Posted by Bouncer222 (Post 1987492)
Well it's nice seeing all these donating mods coming out... But the BIG feature they are ALL lacking is the donator bar, IT MOTIVATES people to DONATE.

Without it, a donate button is nothing if the user doesn't know what the goal is or what the site wants.

Amen. I never thought it'd be such a hard concept but it seems like everyone that's been coding these keeps duplicating without bringing out new features that we are all missing from Cyb - Paypal Donation module in 3.8

TimberFloorAu 02-21-2010 07:18 AM

One of the major issues with previous paypal donation "thangs" where there was a leaderboard of paypal donatees...

Was the link grabbed the donation amount before hitting paypal, so forum owners get notified of a donation and then the connection fails for the user, or they have insufficient funds, or they change their mind... and the reality of what got donated bears little resemblance to actual donations.

If someone can code such a mod , I will install it right away, for now this is on my "tagged" list, because of the work the coder has done.

So well done mate. I hate seeing threads detract from what you have done, into begging messages for what they want.

rajubd 02-21-2010 09:49 AM

it will be perfect if you add target amount for this month in navbar below

Billspaintball 02-21-2010 10:20 AM

Quote:

Originally Posted by venom2124 (Post 1987369)
Great work better than what I had. Thanks.

Thanks :D
Quote:

Originally Posted by Bouncer222 (Post 1987492)
Well it's nice seeing all these donating mods coming out... But the BIG feature they are ALL lacking is the donator bar, IT MOTIVATES people to DONATE.

Without it, a donate button is nothing if the user doesn't know what the goal is or what the site wants.

This was designed as a basic one that does not make any database changes, hence no things that require databases to function correctly, such as goals in this version.

Its not designed to suit everyones needs, It's a basic one that is light and easy for anyone to install and use.

Quote:

Originally Posted by meissenation (Post 1987808)
Amen. I never thought it'd be such a hard concept but it seems like everyone that's been coding these keeps duplicating without bringing out new features that we are all missing from Cyb - Paypal Donation module in 3.8

Its not a hard concept, its just designed for a different market that what you (or I for that matter) require.
Truth be told, its not the one I use on my own site, I have ported this from Vb 3.x to give me experience in Vb4 before I tackle anything more complex, more than any other reason.

Quote:

Originally Posted by TimberFloorAu (Post 1987847)
One of the major issues with previous paypal donation "thangs" where there was a leaderboard of paypal donatees...

Was the link grabbed the donation amount before hitting paypal, so forum owners get notified of a donation and then the connection fails for the user, or they have insufficient funds, or they change their mind... and the reality of what got donated bears little resemblance to actual donations.

If someone can code such a mod , I will install it right away, for now this is on my "tagged" list, because of the work the coder has done.

So well done mate. I hate seeing threads detract from what you have done, into begging messages for what they want.

Thanks :D

And thanks for bringing this point up.
Your spot on with the issue about how to deal with donations that fail for various reasons.

Its a little complex to get around this, as you have to get the response from the paypal webserver before the data is submitted into the database if you want to avoid false results.
This is also an important consideration if you want auto group changes for donors as well.

Its certainly doable, infact Its the way I receive donations on my live website. (Before anyone asks, its not polished, only has the features I want, and has a couple of bugs so was never released as a mod).

But thats getting off topic for this mod I guess.

Gene Steinberg 02-21-2010 05:15 PM

I have a simple request: Instead of putting the Donate link in the nav bar, why not as a tab instead, which I think would be more prominent? Another PayPal mod does that. How about it, at least as an option?

Peace,
Gene

Billspaintball 02-21-2010 06:13 PM

Quote:

Originally Posted by Gene Steinberg (Post 1988202)
I have a simple request: Instead of putting the Donate link in the nav bar, why not as a tab instead, which I think would be more prominent? Another PayPal mod does that. How about it, at least as an option?

Peace,
Gene

I can add this as an option for the next release.

Gene Steinberg 02-21-2010 06:22 PM

Super.

Also an option to change the title, under New Donations.

Right now we have:

The Paracast Community Forums - BPPL Donations

I don't mind your name there, but I'd like to be able to change the former to The Paracast, so we can link to that page from other areas of the site.

Is there a hack that would let us do that now?

Peace,.
Gene

Billspaintball 02-22-2010 08:57 AM

Quote:

Originally Posted by Gene Steinberg (Post 1988244)
Super.

Also an option to change the title, under New Donations.

Right now we have:

The Paracast Community Forums - BPPL Donations

I don't mind your name there, but I'd like to be able to change the former to The Paracast, so we can link to that page from other areas of the site.

Is there a hack that would let us do that now?

Peace,.
Gene

You can chage it by changing a phrase in the XML file and reimporting with overwrite selected.

Like 253 or thereabouts, just change "- BPPL Donations" to whatever you like.
Might be an idea to increment the date field by 1 as well.
PHP Code:

<phrase name="bppl_pagetitle" date="1265936461" username="Bill" version="4.00"><![CDATA[- BPPL Donations]]></phrase



I will change this in the next release to just read "Donations" I think.

Gene Steinberg 02-22-2010 12:29 PM

1 Attachment(s)
Two questions.

1. Can I change the CDATA or whatever that refers to the forum name to something else? I tried just replacing that string and it didn't work.

2. This isn't your fault I'm sure since it happened before I installed your mod. But since upgrading from 4.0.1 to 4.0.2, I get a peculiar error message when installing or removing a mod.

See the attachment for what I'm referring to. Any clues what I should do to fix that?

Peace,
Gene

encryption 04-30-2010 10:16 PM

I just installed and it went ok. I did have to edit the bbpl_main template and replace two instances of this:

{$vbulletin->userinfo[username]}

with this:

{vb:raw $vbulletin->userinfo[username]}

I also had to do it once in bppl_donated.


All times are GMT. The time now is 01:16 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.01090 seconds
  • Memory Usage 1,752KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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