vb.org Archive

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

Valter 09-29-2007 10:03 PM

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

To upgrade:
-Save content of "Donate Page - Note" setting field before upgrade (you'll need it to update [cybpaypal_note] phrase later)
-Import product XML, allow overwrite.

lowey 09-30-2007 07:23 AM

Hi there, I'm using this hack for some time now and it's always been working flawlessly. Anyhow, I have the following problem with the new version (4.2).

On the PayPal-Donation-Form the subject field is always filled with something like that (instead of a descriptive name):

Code:

xxxBASE64_STARTxxxRG9uYXRpb24gdG8gU3VwcG9ydCB8WyBwaXhlbHBNjaGUgRm9ydW0gZvx
What's wrong? How can I solve this?! :confused:

Thanks!

SLY LS1 09-30-2007 08:29 AM

Quote:

Originally Posted by Cybernetec (Post 1349862)

To upgrade:
-Save content of "Donate Page - Note" setting field before upgrade (you'll need it to update [cybpaypal_note] phrase later)

Im not sure what you mean by this ?

GateKeper 09-30-2007 07:56 PM

Neither was I

but I upgraded, didn't like the newer version, so I uploaded the previous one, and I have a mix of the old and the new now, see pics attached

sorry about the big pics, I still don't know how to make them smaller.....

cjbates 10-01-2007 04:28 AM

Hi there. I've installed this mod but when I click on the donor list I get an error page saying it can't find the link. Is there something I am doing wrong?

nickypoooo 10-01-2007 08:54 AM

Nice, Thank you!

GawaineT 10-03-2007 11:19 PM

Nice mod,however I have an issue, whereby I have two Admin users that need to monitor paid subscriptions, yet whatever I set them as, they cannot view the list under the "Donations" Quicklink.
Any ideas?

Mecho 10-04-2007 09:14 AM

from last update i got 5 pms in my site that they got this error after click on donate button :

Quote:

Warning: arsort() expects parameter 1 to be array, null given in /includes/class_bbcode.php(181) : eval()'d code on line 58

Warning: Invalid argument supplied for foreach() in /includes/class_bbcode.php(181) : eval()'d code on line 60

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/forum/includes/class_core.php:3116) in /includes/functions.php on line
is it for this hack or what ??

thanks in advance ....

bostton1 10-04-2007 03:49 PM

Quote:

Statistics - Admins can view all, above groups can view:
were is this statistic located and is there a way that I can set it so certain admins are unable to view the donations.

thanks, love the hack

ETDC 10-08-2007 01:55 AM

Installed - appears to work fine (3.6.8)

My only minor gripe would be that it sends the donator's physical address to the recipient (which isn't required). Can that be altered?

Another quick one:

Who send PMs to users (PM sender ID)

Who will be noticed about new donations (comma separated list of IDs)


Is the above the board User Name or ID number (Admin, Mod etc)

Thanks. :)

apokphp 10-08-2007 08:33 PM

Good hack, a few questions though...

Is this mod being supported by the author any more?

Is there a vbadvanced module for this donation hack?

________

Also, for vba users, to get the link to show on your homepage, do the following...

edit navbar template

1) After vbphrase[user_cp]</a></td>

2) Add <td class="vbmenu_control"><a href="http://www.yoursite.com/index.php?do=donate">Donate</a></td>

It won't show as a colored link like the $cyb_paypal_donate_link variable will (I don't know how to get it to do that w/ a simple link...just use html??), but at least it appears in both places now.

ETDC 10-09-2007 01:13 PM

Another Q... how do I move the 'Donate' button/text along the Navbar? :)

Saik 10-11-2007 07:58 AM

Hello, great Hack.
Thanks for your work.
Installation: no problem
Configuration: no problem
Custom template modification: maybe a problem

In the quick link bar I can't see "Donator" instead of that I will see $vbphrase[cybpaypal_donations]

Also the link seams to be broken.It looks like this (URL changed)
http://www.url.com/testvb/%5C%22http://www.url.com/misc.php?$session[sessionurl]do=donlist\%22

Any ideas?

anwar.abdullakh 10-12-2007 01:37 AM

Quote:

Originally Posted by Saik (Post 1357429)
Hello, great Hack.
Thanks for your work.
Installation: no problem
Configuration: no problem
Custom template modification: maybe a problem

In the quick link bar I can't see "Donator" instead of that I will see $vbphrase[cybpaypal_donations]

Also the link seams to be broken.It looks like this (URL changed)
http://www.url.com/testvb/%5C%22http://www.url.com/misc.php?$session[sessionurl]do=donlist\%22

Any ideas?

I am having the same problem...
can anyone help us out??

*edit* this new patch, solved the problem...thx

wpeloquin 10-13-2007 05:09 AM

Quote:

Originally Posted by ETDC (Post 1356221)
Another Q... how do I move the 'Donate' button/text along the Navbar? :)

i have a custom navbar, so i have the auto-insert disabled. however, you can manually add this code into the navbar template where you want the link.
Code:

<a href="misc.php?do=donate">Donate</a>
my question is for Cyb: is there a way to make something similar to https://vborg.vbsupport.ru/showthread.php?t=153519 with this mod, so that it is integrated and updates as people donate? and a cmps module with like a pie chart instead of the bar?

i posted in his thread as well. (link)

ETDC 10-13-2007 07:11 AM

Quote:

Originally Posted by wpeloquin (Post 1358765)
i have a custom navbar, so i have the auto-insert disabled. however, you can manually add this code into the navbar template where you want the link.
Code:

<a href="misc.php?do=donate">Donate</a>

Thanks for that. :) I have the code manually inserted in the right place but how do I get it to "space automatically" with the other links? It's right next to another menu item (no space).

:)

Aclikyano 10-13-2007 12:52 PM

Upgraded from 4.1 (which worked perfectly)

But now 4.2 gives me this error (with my custom link and the hacks link both point to
misc.php?do=donate)
Warning: Division by zero in /includes/functions.php on line 5280

wpeloquin 10-14-2007 10:03 PM

Quote:

Originally Posted by ETDC (Post 1358804)
Thanks for that. :) I have the code manually inserted in the right place but how do I get it to "space automatically" with the other links? It's right next to another menu item (no space).

:)

the total insert should be something like:
Code:

<td class="vbmenu_control"><a href="misc.php?do=donate">Donate</a></td>
and should go between the </td> of the item you want it behind, and in front of the <td> of the item ahead.

EDIT: i am a forum admin, but when i go to the donations list, it does not show the unconfirmed donations, or give the option to confirm it. now, the only donation thus far was one made by me for testing. would that have anything to do with it? can i not confirm donations made by myself?

ETDC 10-14-2007 10:55 PM

Thanks. :)

AWJunkies 10-14-2007 11:52 PM

I modified this mod to have more details in the front donation page more like what bills paypal donation has. Makes it more appealing and can add info text to people. I think it is a must add on for this mod please look at bill paypal mod and include some of it.

Thanks!

Valter 10-15-2007 12:20 AM

Quote:

Originally Posted by AWJunkies (Post 1360203)
I modified this mod to have more details in the front donation page more like what bills paypal donation has. Makes it more appealing and can add info text to people. I think it is a must add on for this mod please look at bill paypal mod and include some of it.

Thanks!

Go to phrase manager, find phrase "cybpaypal_note" and change it's content to anything you want. This will be shown above donate options. BB codes are enabled so you can add images, do some text formatting etc...

Do you need more?

AWJunkies 10-16-2007 05:08 PM

Quote:

Originally Posted by Cybernetec (Post 1360235)
Go to phrase manager, find phrase "cybpaypal_note" and change it's content to anything you want. This will be shown above donate options. BB codes are enabled so you can add images, do some text formatting etc...

Do you need more?

No HTML though right only forum based bb. So I cant add tables and areas. Just add to the one you have?

I added to your xml file the template addons I wanted and it works perfect. I do have a question though. I have had over 50 people test this donation out with real donations. Now about 5 of them didn't go through any ideas? It is random has nothing to do with how they paid via paypal or CC. Just some don't work. It does NOT charge the person and it does not show on my side. Now I know if you leave without following the whole process it sends notices etc but I am talking about after they have gone completely through and been reverted back. I am trying to get more details on the people that this is happening too. Cause they turn around and do the same thing they did the first time and it works. It is just random and have about 1 a day that this happens too. Also any integration with paypal as far as auto seeing if we got the money and auto confirming etc. I know there is a mod that does that on phpbb.

Also on a side note:
The donation bar mod can you integrate this with yours. It is a nice addon but his mod you have to manually put in the amount for it to divide by or cash received. Is it possible for it to just grab your confirmed amount in your mod. I was messing with it to see an EASY way to do it and having few issues. I can make it work but not the way it should work seamlessly.

ALSO HAVE TO SAY YOUR MODS ROCK AND HAVE OVER 10 of them! Really appreciate your help and mods more then you know.

topmedic 10-16-2007 08:06 PM

Just installed. Thanks for this mod.

I have one query (and pardon me if this has been asked before) - how do I change the I.P. address into "Anonymous" in the Donations List table for those who donated without logging in (or unregistered)? Most of my donors prefer to remain anonymous.

Thanks.

topmedic 10-17-2007 02:06 AM

Quote:

Originally Posted by topmedic (Post 1361802)
Just installed. Thanks for this mod.

I have one query (and pardon me if this has been asked before) - how do I change the I.P. address into "Anonymous" in the Donations List table for those who donated without logging in (or unregistered)? Most of my donors prefer to remain anonymous.

Thanks.

I just went ahead and edited the template. Thanks again.

directprint 10-17-2007 05:23 AM

Quote:

Originally Posted by apokphp (Post 1355728)
2) Add <td class="vbmenu_control"><a href="http://www.yoursite.com/index.php?do=donate">Donate</a></td>

It won't show as a colored link like the $cyb_paypal_donate_link variable will (I don't know how to get it to do that w/ a simple link...just use html??), but at least it appears in both places now.

The link should be:
http://www.yoursite.com/misc.php?do=donate

the index.php will not work.

wpeloquin 10-17-2007 12:39 PM

i have a question. after donating, when redirected back to the website, i end up at this link:

misc.php?merchant_return_link=Return+to+Merchant

but am looking at my page of smilies. I'm pretty sure i shouldn't be getting that page upon return.

mamashid 10-17-2007 12:57 PM

the quick link is not working for me, it is not showing up! go try it on my board.... www.mommashideout.com/forums

mamashid 10-17-2007 01:17 PM

Quote:

3. OPTIONAL (for some customized styles)
Open template "navbar" and add "$cybpaypal_donlist_link" after "vbphrase[miscellaneous]</td></tr>"
whats the full code that I will be placing the
Quote:

$cybpaypal_donlist_link
after I think that I have erased it before hand. :)

topmedic 10-17-2007 04:25 PM

Quote:

Originally Posted by wpeloquin (Post 1362293)
i have a question. after donating, when redirected back to the website, i end up at this link:

misc.php?merchant_return_link=Return+to+Merchant

but am looking at my page of smilies. I'm pretty sure i shouldn't be getting that page upon return.

This is happening to me too. I guess you are re-directed to this page after payment - http://www.sitename.com/forum/misc.php?do=donlist. But if you're not logged in, you get the 'smilies' page. Unregistered or logged out users/donors should get something else, like the Forum index page.

Valter 10-17-2007 08:18 PM

Quote:

Originally Posted by mamashid (Post 1362304)
the quick link is not working for me

The link to donations is: YOUR-FORUM-URL/misc.php?do=donlist
Quote:

Originally Posted by topmedic (Post 1362434)
This is happening to me too. I guess you are re-directed to this page after payment - http://www.sitename.com/forum/misc.php?do=donlist. But if you're not logged in, you get the 'smilies' page. Unregistered or logged out users/donors should get something else, like the Forum index page.

Nope, donators should be redirected to: YOUR-FORUM-URL/misc.php?do=donate_thanks
All registered/unregistered users are allowed to see this page.

wpeloquin 10-18-2007 01:18 AM

Quote:

Originally Posted by Cybernetec (Post 1362631)
Nope, donators should be redirected to: YOUR-FORUM-URL/misc.php?do=donate_thanks
All registered/unregistered users are allowed to see this page.

so why are we not? does something in the code need to be changed? because when i'm logged in, i still end up at MYFORUMS/misc.php?merchant_return_link=Return+to+Merchant. is that coded somewhere and i need to change it to misc.php?do=donate_thanks?

also: when a guest, or other member who does not have access, tries to view the misc.php?do=donlist, they get the smilies too.


as a side question: is there a way to make it display [Guest] instead of the IP for all usergroups other than the administrator usergroup? for those who donate and are not logged in, or are not registered, or wish to remain anonymous for whatever reason.

topmedic 10-18-2007 02:50 AM

Quote:

Originally Posted by wpeloquin (Post 1362762)
so why are we not? does something in the code need to be changed? because when i'm logged in, i still end up at MYFORUMS/misc.php?merchant_return_link=Return+to+Merchant. is that coded somewhere and i need to change it to misc.php?do=donate_thanks?

Same case here Cyb. I get to the page/link (.../misc.php?merchant_return_link=Return+to+Merchant) everytime I click on Return to Merchant on Paypal and all I get are all the smilies on display.

Valter 10-18-2007 09:18 AM

Quote:

Originally Posted by topmedic (Post 1362804)
/misc.php?merchant_return_link=Return+to+Merchant

This must be generated by PayPal, but I'm not sure why.

Hack asks PayPal to redirect user to "/misc.php?do=donate_thanks" once payment is complete.

I'll check this when I have some time.

Ranger375 10-18-2007 09:34 AM

Is there anyway to get paid subscriptions to show up there?
edit: nm, I was a good user and read the posts above :D Question answered

Valter 10-18-2007 10:06 AM

Quote:

Originally Posted by topmedic (Post 1361802)
how do I change the I.P. address into "Anonymous" in the Donations List table for those who donated without logging in (or unregistered)?

Only Admins can see IP addresses, others will see "Unknown".

And btw new version is coming with some bug fixes and improvements.

Ranger375 10-18-2007 10:11 AM

The green NAVBAR link appears on all my screens except for my vbadvanced screen. Anyone know how I can add it? Thanks

Valter 10-18-2007 10:31 AM

Quote:

Originally Posted by Ranger375 (Post 1362955)
The green NAVBAR link appears on all my screens except for my vbadvanced screen. Anyone know how I can add it? Thanks

Add "cyb_paypal_donate_link" to "Portal Output Global Variables" (vBa CMPS Default Settings).

Valter 10-18-2007 10:53 AM

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

To upgrade: Import product XML, allow overwrite.

Ranger375 10-18-2007 11:11 AM

awesome thanks - for the upgrade too - great job

Saik 10-18-2007 11:47 AM

Thanks for the update. Now It works fine.

only one question. Is it possible to change the hack to use relativ urls?
I have a testforum under the url http://my.url.com/testvb
when I click on a link, it sends me to http://my.url.com/misc.php?do=donate

So the hack works fine with my forum, but i have to enhance the url in the testforum.


All times are GMT. The time now is 04:41 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.02010 seconds
  • Memory Usage 1,852KB
  • 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
  • (4)bbcode_code_printable
  • (21)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