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)

DeiseHost 06-13-2007 03:51 PM

Quote:

Originally Posted by mfyvie (Post 1267738)
Answered 3 pages back on post #271

Cybernetec - probably not a bad idea to have that as a config item, rather than inside a phrase.

Thanks bud.

Yeah if it can be done in future versions where it picks and used the defauld CSS etc it would be great.

Andyucs 06-13-2007 05:07 PM

Auto PM extension for version 3.9 of this mod.

nice addition thanks

CMGU 06-16-2007 04:03 PM

thanks very nice

LegolasTheElf 06-16-2007 10:38 PM

I'm obviously not understanding one issue.. I have the program installed perfectly; and it works great. However, when I try to edit the navbar, it doesn't show the Donate link in the template itself. However, it's showing up just fine on the board itself.. Odd... Can someone clear this issue up for me and explain why the donate link would show on the board, but not be in the template "navbar" itself?

LegolasTheElf 06-17-2007 03:38 AM

The mod is working great for me--but, it doesn't add the "Donate" link to the navbar in vBAdvanced, yet it DOES add the "Donate List" to the QuickLinks though...

Valter 06-17-2007 04:58 AM

You can always add link to Donate page manually and wherever you wish.

FORUM/misc.php?do=donate

DJ XtAzY 06-17-2007 04:35 PM

Hi!

I was wondering if you can add a feature where you can setup up Donate Goals for each X month(s). Say each month the site needs a donation of $120. When a member reaches to the donation page, it will tell if the goal has been reached or not. If not, it will tell them how much is needed. Thanks!

tekguru 06-17-2007 05:03 PM

I'll add my voice to that request - that feature I'd kill for with a server costing $219 a month its needed!

Peter_Rosado 06-19-2007 11:32 PM

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

Peter_Rosado 06-19-2007 11:32 PM

Quote:

Originally Posted by XtAzY (Post 1270402)
Hi!

I was wondering if you can add a feature where you can setup up Donate Goals for each X month(s). Say each month the site needs a donation of $120. When a member reaches to the donation page, it will tell if the goal has been reached or not. If not, it will tell them how much is needed. Thanks!

That would be a GREAT feature.

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.

mfyvie 06-25-2007 06:42 AM

Quote:

Originally Posted by H1MendlessDark (Post 1275509)
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?

Sorry, I've started you off - but you'll have to do the rest of the work yourself. Just read the code and try and figure out what is going on. In the second page I would just look for the variable and hard code the value to the amount you'd like.

lu_micr 06-25-2007 10:44 AM

hi,, i've installed it...
i have two questions:
1.is there a way to make the donation point to an existing paypal account?
2.how can I change the amount of donation ?
thanks and sorry if it was already answered

Dannyloski 06-25-2007 01:22 PM

^ Answer to both questions is "Yes" and you can find these optionsin the Cyb PayPal Donate Controls in the Admin CP ... Admin CP > vBulletin Options > Cyb PayPal Donate

H1MendlessDark 06-25-2007 05:51 PM

Thanks mfyvie. I'll take a look. I dont really know how to find them or what to look for, so if you could, could you tell me what variables I need to change to have fixed suggested prices, have the description be different, and which variable to change the price from EURO to US...Thanks. Ill understand if you dont want to.

mfyvie 06-25-2007 06:37 PM

Quote:

Originally Posted by H1MendlessDark (Post 1276299)
Thanks mfyvie. I'll take a look. I dont really know how to find them or what to look for, so if you could, could you tell me what variables I need to change to have fixed suggested prices, have the description be different, and which variable to change the price from EURO to US...Thanks. Ill understand if you dont want to.

Actually, on looking at the code it's a bit more complicated than I thought. Since this is just a one off feature for you, I'd consider asking Cybernetec if you can pay him to make those changes for you.

Dannyloski 06-25-2007 08:07 PM

Hi, just wanted to post here to see if someone could help me out. I want to add an image next to the Username of the member who donated after he/she has been confirmed for donation (15x15 pixel image). I would want the image to be next to the member's username in the postbit (postbit_legacy) template. Can anyone tell me how to go about doing this?

This image should be seen by everyone on the forum, even guests. I think it would be a pretty simple thing to do, but I do not understand how this stuff work and I've given it a try and had no luck.

I'm thinking maybe adding an <if> statement with a conditional to the postbit (postbit_legacy) template so that it shows there. The conditional would be the one that this Hack uses to set a user as confirmed, if it does ... I dunno, I'm just thinking and trying to get something to work so that I can get this added to my forum, but I have had no luck at all ... Can anyone please help me? I would appreciate it greatly ... Thanks.

Andyucs 06-25-2007 08:21 PM

Quote:

Originally Posted by Dannyloski (Post 1276371)
Hi, just wanted to post here to see if someone could help me out. I want to add an image next to the Username of the member who donated after he/she has been confirmed for donation (15x15 pixel image). I would want the image to be next to the member's username in the postbit (postbit_legacy) template. Can anyone tell me how to go about doing this?

This image should be seen by everyone on the forum, even guests. I think it would be a pretty simple thing to do, but I do not understand how this stuff work and I've given it a try and had no luck.

I'm thinking maybe adding an <if> statement with a conditional to the postbit (postbit_legacy) template so that it shows there. The conditional would be the one that this Hack uses to set a user as confirmed, if it does ... I dunno, I'm just thinking and trying to get something to work so that I can get this added to my forum, but I have had no luck at all ... Can anyone please help me? I would appreciate it greatly ... Thanks.

that would be nice

Dannyloski 06-25-2007 08:25 PM

^ Thanks, I think it would be a nice addition too for this mod, I just hope someone can help me out and then we can both have this on our forum, lol ...

EDIT:

What I have so far is this ...

Code:

<!-- Donation Hack Image Addon -->
<if condition="DONT_KNOW_WHAT_TO_PUT_HERE"><a class="bigusername" href="misc.php?do=donlist"><img src="images/donate.gif" align="absmiddle" alt="User Has Donated!" border="0" /></a></if>
<!-- /Donation Hack Image Addon -->


I would place this after this code in postbit or postbit_legacy template (depending on which I'm using) ...

Code:

<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
This is what I'm thinking, but I'm not sure if it would work as I would need to figure out which "condition" to place in the <if> statement

GFiSH 06-26-2007 10:24 AM

I'm about to install this later today, looks like exactly what I need.

I do have a couple questions.
When the new members donate to my forums we promote them to a different usergroup, is it possible to for this hack to do this? We als have an additional "donators" usergroup, that we use to show that a member has donated, could they be added to this too?

Currently when I receive donations I add the date, donators forum name and amount into a thread, could this hack automatically update the thread too?

dbirosel 06-27-2007 12:49 AM

What about when paypal collects the fees? Because when they donate $5, it's not really $5 that they are donating. Is it possible for it to actually calculate the exact amount the fund received?

mfyvie 06-27-2007 07:07 AM

Quote:

Originally Posted by GFiSH (Post 1276827)
I'm about to install this later today, looks like exactly what I need.

I do have a couple questions.
When the new members donate to my forums we promote them to a different usergroup, is it possible to for this hack to do this? We als have an additional "donators" usergroup, that we use to show that a member has donated, could they be added to this too?

Currently when I receive donations I add the date, donators forum name and amount into a thread, could this hack automatically update the thread too?

In my addon for sending PMs for this hack I inserted a hook at the point where the donation is confirmed. You can add a plugin that references this hook to add a group membership or create a thread/post somewhere if you wanted to write it.

Shazz 06-27-2007 07:18 AM

Quote:

Originally Posted by dbirosel (Post 1277367)
What about when paypal collects the fees? Because when they donate $5, it's not really $5 that they are donating. Is it possible for it to actually calculate the exact amount the fund received?

Stay with a personal account

NeitherSparky 06-28-2007 11:22 PM

So sorry if this has been addressed, but I just discovered that this hack is now listing users who have donated by their IP and not their username on the Donated page...I don't see anything in the options to change it back to usernames. Anyone know how to fix that? Thanks.

edit: Or does it list the IP when its not a logged-in user? I searched the three IPs that are on my list, and only one showed as a registered user.

Valter 06-29-2007 10:28 AM

If we have donator who is not registered or not logged in then IP address is shown instead of username.

Angel-Pie 06-29-2007 04:54 PM

thanks installed!

Webzcas 07-03-2007 07:53 AM

I run a VBulletin Forum using version 3.67 and a customised off the shelf template from VBSkinworks. I have installed this mod, but the links do not appear in the NavBar or under the Quick Links Drop Down Menu.

No probs, I have amended the header template to include the Donations link in the Quick Links Menu. However when clicked the link reverts back to the index page of my forum.

This is the link I am using:

http://www.politicsandcurrentaffairs...php?do=donlist

The Paypal mod is enabled within the control panel and I am at a loss what to do. I would appreciate any help or advice you can provide me with to get this mod working.

Many Thanks

Dave

Valter 07-03-2007 01:53 PM

Quote:

Originally Posted by Webzcas (Post 1281790)
Code:

Forum/index.php?do=donlist

Why index.php?

Dannyloski 07-03-2007 02:43 PM

It should be misc.php?do=donlist instead of index.php?do=donate, get that changed and you'll be good to go :up:

Webzcas 07-03-2007 03:12 PM

Thank you :)

That has done the trick ::up:

Dannyloski 07-05-2007 07:55 PM

Can anyone help me figure out what I need to do to make this work? I dont know much of this stuff, so I thought it would work with something like what I did here, but no. Cybernetec or anyone who knows, can you help me? I want to add the image for those who have donated.


All times are GMT. The time now is 10:51 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.03204 seconds
  • Memory Usage 1,842KB
  • 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
  • (6)bbcode_code_printable
  • (12)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