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)

mfyvie 06-20-2007 05:29 AM

Quote:

Originally Posted by Peter_Rosado (Post 1272109)
I'm having a problem, when adding a donator manually the date doesn't update. Example: i put 19 - 06 - 07 and look: http://www.mundopoesia.com/foros/misc.php?do=donlist

Only admins and groups you configure can see the donate list. Pasting a link here and asking us to look makes no sense at all. Use a screenshot instead.

Dannyloski 06-23-2007 01:57 AM

Awesome hack, downloaded and will install tomorrow ...

I would love to see the feature that XtAzY requeseted in the next release, that would be great.

Another "feature" to think about would be for a user to receive an image next to their username in the postbit template once they make a donation and are added to the donator's list page. What Im talking about is something similar to what v3 Arcade has when a user is wins a Championship on a game, they get a trophy added next to their name. Then when you click on their username and the drop-down list comes up you see at the bottom a "Username's Arcade Awards" section, well for this Hack maybe it could be "Username's Donation History" and show their donation info (Date and Amount). Just a thought I think would be a cool to have for this Donation Hack.

EDIT: I added an attachment so that you guys can see what I meant with all that I wrote above ...

H1MendlessDark 06-24-2007 01:00 AM

This is a great hack. Great Job! I was just wondering if there is a way to make multiple donations menus. Maybe like [/misc.php?do=donate][/misc.php?do=donate2] and have more than just one donations page. If that is possible, I would put a different price for each page, as it is what I want to do with my site. Thanks. It would be great if I could add multiple menus.

mfyvie 06-24-2007 07:02 AM

Quote:

Originally Posted by H1MendlessDark (Post 1275023)
This is a great hack. Great Job! I was just wondering if there is a way to make multiple donations menus. Maybe like [/misc.php?do=donate][/misc.php?do=donate2] and have more than just one donations page. If that is possible, I would put a different price for each page, as it is what I want to do with my site. Thanks. It would be great if I could add multiple menus.

You'll need to edit the plugin called "Cyb - PayPal Donate - Ext"

Look for the first line which looks like this:
Code:

if (($_REQUEST['do'] == 'donate') AND $vbulletin->options['cybpaypal_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybpaypal_cantuse'])))
Follow it all the way to the end, which is just ABOVE this line:
Code:

if (($_REQUEST['do'] == 'donlist') AND $vbulletin->options['cybpaypal_enable'] AND !is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybpaypal_cantuse'])) AND is_member_of($vbulletin->userinfo, split(',', $vbulletin->options['cybpaypal_canseelist'])))
Now copy and paste that entire block, but change the request value from donate to donate2. Then, within your copied block, find the line:

Code:

$navbits = construct_navbits(array('' => $vbphrase['cybpaypal']));
Change the name of the phrase to cybpaypal2, and insert a new phrase via the phrase manager identical to the first, but with the contents changed.

If you follow all those steps correctly, you should get what you want. If you are using fixed suggested amounts for both pages, you won't get what you wanted, I'd suggest using only an amount that the user enters themselves.

Mrdby 06-24-2007 11:37 AM

i haven't updated yet..so what are the main problems using 3.6.7?

Dannyloski 06-24-2007 11:47 AM

^ Absolutely nothing, works perfectly for me in vB 3.6.7 PL1 ...

mfyvie 06-24-2007 03:06 PM

Quote:

Originally Posted by Mrdby (Post 1275319)
i haven't updated yet..so what are the main problems using 3.6.7?

Is it just me, or does it actually say 3.6.7 as the version this runs on? Did you also think about looking back through this thread if you wanted to see if there were any issues?

H1MendlessDark 06-24-2007 04:34 PM

Thanks mfyvie! And yes I was going to use fixed suggested amounts for each different donate page. I wanted a different fixed amount for each page so people have to pay that certain amount... Is there any way possible to do that?

DJLy5y 06-24-2007 05:22 PM

Quote:

Originally Posted by Peter_Rosado (Post 1272112)
That would be a GREAT feature.

Great idea !

jheigl 06-25-2007 05:16 AM

Didn't read through the 23 pages, but if it hasn't been reported, I noticed that in the subscription- Time Periods box, when you put 2,3,4,5,6,7,8,9,10,11,12 and then save it, go to the donate link, the choices for subscriptions it gives you is 2,3,4,5,6,7,8,9,10,11,112....it says 112 instead of 12.


All times are GMT. The time now is 05:52 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.01477 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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