vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - PayPal Donate (https://vborg.vbsupport.ru/showthread.php?t=201284)

Valter 01-09-2009 10:00 PM

Cyb - PayPal Donate
 
1 Attachment(s)
Info:
Advanced PayPal Donate system for vBulletin.


Features:
-Allow users to donate suggested or custom amounts, or both
-Set minimum amount accepted
-Set currency
-Block usergroups from using Donate system
-Donations list
-Subscriptions (for Business/Premier PayPal Accounts)
-Donation Bar
-Mark donations as confirmed/unconfirmed
-Delete donations
-Move or add confirmed donators to your VIP/Donator usergroup
-Donate statistics (total donations, total amount, numbers of confirmed/unconfirmed donations)
-Block usergroups from viewing Donations or statistics details
-Add donations manually
-Edit donations
-PM reports

See screenshots for more details...


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

2. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cyb_paypal_donate_link" after "vbphrase[user_cp]</a></td>" surrounded by proper TD tags
3. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cybpaypal_donlist_link" after "vbphrase[miscellaneous]</td></tr>" surrounded by proper TD/TR tags
4. OPTIONAL (to put DonBar to desired page)
a) set THIS_SCRIPT option in hack settings
b) Open desired template and put "$cybpaypal_donbar" where you wish to have Donation Bar shown


To set options:
Go to your AdminCP > vBulletin Options > Cyb - PayPal Donate


To enable in vBa CMPS:
https://vborg.vbsupport.ru/showthrea...02#post1693202


Versions:
v1.0 - Oct 13. 2005.
- First Release
v1.5 - Nov 28. 2005.
- Added 5th donate option
- Added option to donate custom ammount (as 6th option - can be enabled/disabled in AdminCP)
v2.0 - Apr 20. 2006.
- All known bugs fixed
- Layout and functionality improved
- Some options and settings added (check updated screenshots)
v2.1 - Apr 22. 2006.
- Typo fixed ("bellow" > "below")
- Fixed little error on donations page
- Added option to turn system on or off
- Predefined error message is displayed to users when system is disabled
- Templates now goes to "Cybernetec" group in Style Manager
v2.2 - Jun 03. 2006.
- Uncached template bug fixed
v2.5 - Jul 30. 2006.
- No more file uploads
- Donate options are now opened below navbar when "Donate" link is clicked
- Two plugins removed
- Codes improved
v2.6 - Jul 30. 2006.
- Now "Donate" box can be opened from any page
Link is shown always, not only on forumhome like in v2.5.
v2.7 - Jul 30. 2006.
- Fixed bug with donate form (conflict with several vB forms)
v2.8 - Aug 04. 2006.
- Release of this hack for vB v3.6
v2.9 - Aug 06. 2006.
- Added option to Show/Hide navbar link
- Now you can link to donate system from thread or portal or another site,... (index.php?do=donate)
v3.0 - Aug 25. 2006.
- If your forum's index.php file was renamed, for any reason, now you can enter new filename in ACP hack options to have this hack working properly
- Added "Product Version Checking" - https://vborg.vbsupport.ru/showthread.php?t=124679
v3.1 - Mar 03. 2007.
-New: Usergroup-based permissions (set who can use donate system)
-Fix: Guests now can see Donate link in NavBar (if usergroup 1 is not blocked in above function)
-New: Added Subscriptions (durations adjusted in ACP, can be disabled)
-New: Changed from "index.php?do=donate" to "misc.php?do=donate" (Update your custom links!))
-New: Unlimited number of donate options (list amounts in one line, separate with commas)
-Few other functionality and make-up changes...
v3.2 - Mar 04. 2007.
-New: Added text field to enter custom values when Custom is chosen in menu. Otherwise this field is hidden.
-New: Set minimum amount accepted
-New: Unit of time for "Subscriptions time periods" changeable (d, w, m, y)
-New: BB Codes enabled for "Donate Box Note" (smilies, easy text formatting etc...)
-New: Currencies switcher in ACP (easier way to choose your currency)
-Fix: Using "1" in "Subscriptions time periods" disabled (you can not subscribe for 1x and this will give you error at PayPal)
-Few code changes for better compatibility with different server/board configurations
v3.3 - Mar 07. 2007.
-Fixed NavBar link
v3.4 - Mar 14. 2007.
-Fixed bug (if Subscriptions disabled donate amount info not sent properly)
-Improved compatibility with Right to Left direction styles
v3.5 - Apr 28. 2007.
-New: Donator list
-Options to choose which usergroups can see the list of Donators
-List updated automatically on new donations but new item is visible to administrators only
-Admin can mark donation as confirmed, unconfirmed, or delete it
-Admin can manually add Donators to list
-"Display Options" allows you to sort donators by username, donation date, or donation amount, and choose sort order
-Javascript code on Donate page improved
v3.6 - Jun 02. 2007.
-Total/unconfirmed donations info
-Edit donation
-Quick confirm/delete donation
-Option to change background color for unconfirmed donations
-Changeable values are underlined for administrators
-To change any value just type over it and hit Update
v3.7 - Jun 03. 2007.
-Fixed Unconfirmed counter
-Fixed text color in dark styles
v3.8 - Jun 04. 2007.
-Added option to sort donations by confirmation status
-IP address shown instead of username for unknown donators (viewable to admins only)
-Admin have option to resolve unknown donator IP address into hostname
-Added "Donate Statistics" block into drop-down menu
-Added confirmed donations count
-Added total amount info
-Added option to choose which stats users can view (admins can view all)
v3.9 - Jun 10. 2007.
-Fixed tab indexes in "add new donator"
-Fixed listing for users with unknown both username and ip
-Added options to confirm/unconfirm/delete multiple items
-Group membership checking works now for supplementary usergroups too, not only primary one
-Currency list updated to support all currencies currently accepted by PayPal
-Added option to disable suggested amounts and use just input field instead of drop-down menu
v3.9.1 - Jul 23. 2007.
-Fixed security exploits
v4.0 - Aug 9. 2007.
-New: Option to move donator to your Donator/VIP usergroup
-New: Added page navigation to donation list page
-New: Option to disallow non-administrators to view amounts on donation list page
v4.1 - Aug 21. 2007.
-New: PM Reports (any of these can be enabled/disabled):
*Send PM to user after donating
*Send PM to user when donation is confirmed
*Send PM to user when donation is confirmed (manually added donations)
*Send PM notices to Staff when someone uses Donate system
v4.2 - Sep 30. 2007.
-New: Confirmation dialogs before performing actions on Donations page
-New: After completing the payment at PayPal.com user is redirected to your "Thank you" page (message = phrase [cybpaypal_thanks])
-New: Choose if you wish to move or add confirmed donator to your VIP/Donator usergroup
-New: Option to choose to load PayPal login/donate form in current or new browser window/tab
-New: Sort donations by usergroupid
-Subscription options removed (I will not support this anymore so please keep old version if you really need subscriptions)
-General cleanup, known bugs fixes, optimization...
--Save content of "Donate Page - Note" setting field before upgrade (you'll need it to update [cybpaypal_note] phrase later)
v4.3 - Oct 18. 2007.
-Fixed bug with permissions (now admin's primary usergroup must not be 6 to be able to confirm/unconfirm/delete donations)
-Added option to disable BB codes in Donate Note (when BB is disabled then you can use HTML)
-Some minor bug fixes
v4.4 - Dec 10. 2007.
-New: Switch date format (d-m-y or m-d-y)
-New: Add your site logo to PayPal login/donate page
-New: Donation bar
-Fixed problem where some users get a shipping charge
v4.5 - Apr 30. 2008.
-CSRF protection added
-Compatible with vBulletin 3.7 Gold (may not work with Beta/RC releases)
-Minor bugs fixed
v4.6 - Jul 25. 2008.
-Fixed bug (sorting wrong on donation list when switched to next page)
-Fixed bug (unconfirmed/confirmed info disappears on donation list when switched to next page)
-Fixed bug (wrong # values shown to non-admins on the first page of donation list)
-Fixed bug ('Donate Now' in Donation Bar not hidden when already on Donate page)
-New: option to change "Donate" navbar link color, or set it to style default
-New: amounts must not be 5,10,200 anymore, but also can be 5.5,10.5 etc...
-New: Subscriptions (I added this again, but much better implemented this time)
-Many other bug fixes/improvements
v4.7 - Jul 27. 2008.
-Fixed bug ("Minimum amount allowed..." message appears unexpectedly)
-New: Option to set which day in month Donation Bar resets
-Some minor bugs fixed
v4.8 - Oct 19. 2008.
-New: Ability to disable donations temporarily (means system is on but new donations are not accepted)
-New: Donation Bar Menu (with links to Donate page, Donation List, Admin Options)
-Fixed "not accepted amount" bug
-Fixed bug where subscriptions are not logged properly on Donation List
-Minor bug fixes/code improvements
v4.8.1/4.8.2 - Dec 29. 2008.
- Security fix/subscriptions bug fix


If you like this hack please click INSTALL.

xbox360forum 01-10-2009 01:42 PM

thanks, this will come in handy

-=Leb=- 01-10-2009 02:10 PM

thx for the update :)

vbob 01-10-2009 04:07 PM

Another Excellent mod from. Thanks for the update cyb. :-)

Gleedo 01-10-2009 05:29 PM

After upgrading to vB3.08, can I just install and overwrite my previous version of this mod?

Thanks for the work :)

Valter 01-10-2009 05:52 PM

Yes, just upgrade/overwrite.

Don't uninstall older version as it will remove Donation logs from database.

sheppardzwc 01-10-2009 08:56 PM

Thanks! Updating now :)

bhanuprasad1981 01-10-2009 09:02 PM

how to add manual donations ? my quick liks option is freezed :(

Lee Roberts 01-11-2009 01:26 AM

Marked as Installed !
Marked for Nomination !

cagbaazee 01-11-2009 03:37 AM

1 Attachment(s)
Hi.. I am looking for mod who can donate paypal to members / moderator / uploader / poster etc who has done hard work for our forum. Do you please tell me good mod for that. Thanks

jim doodle 01-11-2009 09:42 AM

Great mod, BUT

One issue i am having after making a donation i add the user to a new user group, which in turn triggers a rank, but they do not get rebuilt. i have to rebuild the counters manually to update the ranks.?

Any update on this?

steven s 01-11-2009 10:18 AM

Quote:

Originally Posted by jim doodle (Post 1708391)
Great mod, BUT

One issue i am having after making a donation i add the user to a new user group, which in turn triggers a rank, but they do not get rebuilt. i have to rebuild the counters manually to update the ranks.?

Any update on this?

My donation member didn't move to the proper user group even after rebuilding. :confused:

Edit: Maybe I don't understand this fully.
I am able to view a donor and click to move to the donor group.
Is that how it is supposed to work? I thought it would be automagic like a subscription.

Also, even if someone clicks on the donate button without paying, they are placed on the donor list.

Vaupell 01-12-2009 01:59 AM

love it but now i installed vbadvanced and the donate botton is only
availible on the forum sites not the vba pages

any idea why ? same navbar

steven s 01-12-2009 11:31 PM

Quote:

Originally Posted by Vaupell (Post 1709210)
love it but now i installed vbadvanced and the donate botton is only
availible on the forum sites not the vba pages

any idea why ? same navbar

To enable in vBa CMPS: see the link in the description.

dt-pain 01-14-2009 04:58 PM

Quick links shows up on VBA and main forums but the URL to Donations page is incorrect when you click the link in quick links from the main page VBA..

txbritt 01-14-2009 06:57 PM

Quote:

Originally Posted by dt-pain (Post 1712298)
Quick links shows up on VBA and main forums but the URL to Donations page is incorrect when you click the link in quick links from the main page VBA..

In order for you to get the links to work on VBA like they do on your main forums you need to edit your Cyb XML.

Find the links that aren't working and add this code to the beginning of the link URL:
Code:

$vboptions[bburl]/

dt-pain 01-14-2009 08:11 PM

I found every link that ended with "misc.php?do=donlist" made the changes and then uploaded the XMl again with no changes at all. What am i doing wrong?

kenigmatic 01-15-2009 03:18 PM

I have added OPTIONAL 2 & 3 but the Donate link is still not showing !
How/where do I set THIS_SCRIPT option in hack settings
How/where do I put "$cybpaypal_donbar" ?
Thanks

UncleGrundle 01-16-2009 03:15 AM

Quote:

Originally Posted by dholt (Post 1714093)
The requested URL /misc.php?do=donate does not exist.

I get this in vBadvanced CMPS page

works fine from forum

how can I fix this from the portal page

Same problem here and I do not know how to add the donate bar to the vBadvanced page either.

Please help us. Thank you.

Roxie 01-16-2009 06:12 PM

The subscriptions show up in the dropdown as:

5|6
10|12

Members won't know what that means. Can that be changed to have text? Like, Donate $5 & subscribe for 6 months.

somasimple 01-17-2009 06:58 AM

Hi,

How do I add manually a contributor?
(I have allready some donations).

Valter 01-17-2009 07:50 AM

'View Donations', then:
https://vborg.vbsupport.ru/attachmen...3&d=1231601511

dt-pain 01-17-2009 03:19 PM

Quote:

Originally Posted by dt-pain (Post 1712298)
Quick links shows up on VBA and main forums but the URL to Donations page is incorrect when you click the link in quick links from the main page VBA..

Can we get some help on this coder? Looks like I'm not the only one having this problem..

steven s 01-17-2009 03:56 PM

1) When people donate, is paypal setting up a subscription?
Will paypal automatically hit people's paypal accounts?

2) Will PayPal Donate prompt members that their subscription is about to expire?

3) Will members move from my donor usergroup to registered at the end of their subscription?

4) I'm seeing more and more PSA google ads because google is picking up donate.
Is there something I could do to avoid so many PSAs?

Great mod. Works much better than my site supporter paid subscriptions.
Thanks!

UncleGrundle 01-18-2009 02:06 AM

Quote:

Originally Posted by dt-pain (Post 1715838)
Can we get some help on this coder? Looks like I'm not the only one having this problem..

I still have not been able to fix this either. When I click on the donation link from my forum it works fine, when I click on the donation link on my vbadvanced page it does not work.

Example:

Forum link goes to; mysite/forums/misc.php?do=donate

Vbadvanced link goes to; mysite/misc.php?do=donate


Please help us coder.

Thank you very much.

Sanjiyan 01-18-2009 02:10 PM

For the life of me, I can not get the Donate navbar link to work on the Vba CMPS homepage.

It always points to http://www.sanjiyan.co.uk/misc.php?do=donate

I've put 'index,adv_index' in the Show DonBar on (comma separated THIS_SCRIPT locations) options.

I've also done what it mentioned to do here: https://vborg.vbsupport.ru/showthrea...02#post1693202

But it still does not work.

Also the 'View Donations' etc on the drop down box/menu on the CMPS page also points to: http://www.sanjiyan.co.uk/forums/misc.php?

On the main forum page, it all works as it should.

I'm using. VB 3.8.0, CMPS 3.1.0.

Does anyone have any ideas?

somasimple 01-19-2009 04:09 AM

1 Attachment(s)
Quote:

Originally Posted by Cybernetec (Post 1715498)

Well,
Here is my menu; There is a major difference with your.

somasimple 01-19-2009 06:32 AM

Quote:

Originally Posted by somasimple (Post 1717457)
Well,
Here is my menu; There is a major difference with your.

Found the problem: I must be logged as admin.
Thanks.

armthehomeless1 01-19-2009 11:25 AM

Quote:

Originally Posted by Sanjiyan (Post 1716826)
For the life of me, I can not get the Donate navbar link to work on the Vba CMPS homepage.

It always points to http://www.sanjiyan.co.uk/misc.php?do=donate

I've put 'index,adv_index' in the Show DonBar on (comma separated THIS_SCRIPT locations) options.

I've also done what it mentioned to do here: https://vborg.vbsupport.ru/showthrea...02#post1693202

But it still does not work.

Also the 'View Donations' etc on the drop down box/menu on the CMPS page also points to: http://www.sanjiyan.co.uk/forums/misc.php?

On the main forum page, it all works as it should.

I'm using. VB 3.8.0, CMPS 3.1.0.

Does anyone have any ideas?

Had the same issue.

I went in to Plugin Manager and edited "Cyb - PayPal Donate - Link". Added the forum URL before the "misc.php?do=donate"

Hope that works for you too :)

dacho 01-19-2009 11:31 AM

thanks man

where/how can i edit the location of the bar Donation Bar ?

dt-pain 01-19-2009 07:07 PM

Quote:

Originally Posted by UncleGrundle (Post 1716397)
I still have not been able to fix this either. When I click on the donation link from my forum it works fine, when I click on the donation link on my vbadvanced page it does not work.

Example:

Forum link goes to; mysite/forums/misc.php?do=donate

Vbadvanced link goes to; mysite/misc.php?do=donate


Please help us coder.

Thank you very much.


I figured out how to fix this no thanks to the coder. You no if you are going to make a mod then you should give support for it. Great mod though.

If you are having the same problem as i was. then do this. go to Plugin Manager then Edit Cyb - PayPal Donate - Link then look in the Plugin PHP code box for <a href="misc.php?'.$session['sessionurl'].'do=donlist"
And change it to <a href="http://www.yoursite.com/forum/misc.php?do=donlist"

Just make sure you have the full correct URL.

armthehomeless1 01-20-2009 12:03 AM

Quote:

Originally Posted by dt-pain (Post 1718154)
I figured out how to fix this no thanks to the coder. You no if you are going to make a mod then you should give support for it. Great mod though.

If you are having the same problem as i was. then do this. go to Plugin Manager then Edit Cyb - PayPal Donate - Link then look in the Plugin PHP code box for <a href="misc.php?'.$session['sessionurl'].'do=donlist"
And change it to <a href="http://www.yoursite.com/forum/misc.php?do=donlist"

Just make sure you have the full correct URL.

Bit slow ;)

https://vborg.vbsupport.ru/showpost....2&postcount=30

dmknights 01-20-2009 05:24 PM

*Installed*

Player-63 01-21-2009 02:48 AM

Nice, Installed.

Would you be able to add an option in future to allow the "Donate Now" link to flash?

Neutral Singh 01-21-2009 08:02 AM

It would be great if we could have buttons of specified amounts for members to click on to easily go to the paypal.com... just like in old Paypal Donations plugin...

xxalexkimxx 01-21-2009 02:03 PM

Hmm this mod is not really Donation system. It's more like buying because when my members tried to Donate by using this mod, Paypal said: Unit Price | Quantity | Amount instead of Purpose | Donation amount | Total
Is there anyways we can do that?
Hope you understand what I meant.

Roxie 01-21-2009 03:35 PM

Quote:

Originally Posted by Roxie (Post 1714966)
The subscriptions show up in the dropdown as:

5|6
10|12

Members won't know what that means. Can that be changed to have text? Like, Donate $5 & subscribe for 6 months.

If I change the text to read 6 months, will it still interpret it as 6 or will it error out?

TheArve 01-21-2009 09:34 PM

Thanks for this,, really appreciate ur time taken,

CHeers

thearve

dannykilla 01-22-2009 05:05 PM

I have done as Armthehomeless1 suggested but for some reason it still isn't showing ?

anyone help me out!

SuperTaz 01-24-2009 07:12 PM

The donation bar does not work for me. We have set the goal for $50.00 and it is at $71.00 and the bar did not show at all. Is there a bug that does not allow it to show at all? Everything else works fine.


All times are GMT. The time now is 04:59 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.01529 seconds
  • Memory Usage 1,855KB
  • 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_code_printable
  • (12)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
  • (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