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


All times are GMT. The time now is 10:50 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.01982 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (3)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