vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Paypal Donations for vBulletin 3.0.7 (https://vborg.vbsupport.ru/showthread.php?t=82978)

Vman 06-15-2005 10:49 PM

Quote:

Originally Posted by Cloudrunner
The code for running the module is located in ./modules/donate.php and the templates are the templates named adv_portal_blah. You can find them in the ./admincp/donation_install/donation_templates.php.

Hope that helps...

Thanks
and Blessed Be! ;)
Do As Ye Will And Harm Ye None!!!

Cloudrunner 06-15-2005 10:54 PM

Quote:

Originally Posted by BBCVman
Thanks
and Blessed Be! ;)
Do As Ye Will And Harm Ye None!!!

No problem...

Namaste

)O( Cloudrunner )O(

Vman 06-15-2005 10:58 PM

Quote:

Originally Posted by Cloudrunner
The code for running the module is located in ./modules/donate.php and the templates are the templates named adv_portal_blah. You can find them in the ./admincp/donation_install/donation_templates.php.

Hope that helps...

I looked all over and did not find any file named adv_portal.
Would you be able to just copy and paste the code and Ill modify it from there for my site....

Thanks again...sorry for the troubles....

Vman 06-15-2005 11:02 PM

Infact when I installed it I did not install it for adv_portal. Im using vPortal....Now if need be, should I just uninstall it and reinstall it using adv_portal option?

Cloudrunner 06-15-2005 11:10 PM

Quote:

Originally Posted by BBCVman
Infact when I installed it I did not install it for adv_portal. Im using vPortal....Now if need be, should I just uninstall it and reinstall it using adv_portal option?

1) The templates are not a file, they are stored in an array called $VBA_templates located in the ./admincp/donation_install/donation_templates.php file as previously stated. Open that file and they are the last three array variables on the page. ie:
PHP Code:

$VBA_templates = array('adv_portal_donate' => 'BLAHBLAHBLAH',
'adv_portal_donate_goals' => 'blah blah blah',
'adv_portal_donate_goals_users' => 'blasee blah blah'); 

2) If you have vbadvance already installed, and did the non vB install, then just go with the vB install and after the first page is complete, simply close the browser window and do not continue on from there, that will install the templates, phrases and settings for vBadvanced. No need to uninstall, just click the vBa install and then close the window when it is finished.

dsboyce8624 06-15-2005 11:25 PM

He's using vPortal, not vBadvanced. That's why he wants the template code, so he can port it.

I'd upload them, but I haven't installed the latest version yet.

<lazy!!!>

LEAD_WEIGHT 06-16-2005 03:11 AM

vbPortal has its own hacks so why ask for vbadvance when all u need to do is get the one that is @ that site. If u own vbPortal then u would get the same help @ that site. The only difference is that u pay for that proggie and have access to sites hacks, that if u paid for it.

Just ask the members @ vbportal to make one.

Vman 06-16-2005 04:20 AM

Quote:

Originally Posted by LEAD_WEIGHT
vPortal has its own hacks so why ask for vbadvance when all u need to do is get the one that is @ that site. If u own vPortal then u would get the same help @ that site. The only difference is that u pay for that proggie and have access to sites hacks, that if u paid for it.

Just ask the members @ vportal to make one.

vPortal does not make hacks for vBulletin! They make hacks for vPortal... Second I would have not requested this here if there was already a solution to this there...and final #3, I downloaded this PayPal hack from here with support to have it also work with vPortal as well....ALSO NO WHERE IN THE PROFILE OF THIS HACK DID IT STATE IT WAS JUST FOR vbAdvance!....thanks for the post tho!

twoseven 06-16-2005 04:31 AM

You will need to add a link somewhere in your navigation system for vBulletin pointing your users to the donations page (if you installed the vBadvanced Module then you have a link on the home page, but you might want to add one in the nav bar as well)

nowhere does it say that it works with vbportal. also dont be mad when you buy a product then get a hack for free and assume the full features will work in an instant it always doesnt go that way. this hack will work without the portal integration fine. if the authors want to make it vbportal compliant they may but dont assume they will

Vman 06-16-2005 04:39 AM

Quote:

Originally Posted by twoseven
You will need to add a link somewhere in your navigation system for vBulletin pointing your users to the donations page (if you installed the vBadvanced Module then you have a link on the home page, but you might want to add one in the nav bar as well)

nowhere does it say that it works with vbportal. also dont be mad when you buy a product then get a hack for free and assume the full features will work in an instant it always doesnt go that way. this hack will work without the portal integration fine. if the authors want to make it vbportal compliant they may but dont assume they will

Look, First off Im not mad, If I was you would know!. I don't like being told I should have done somthing when that person has no clue what I have already done!. Im well aware on how hacks work. Im also aware on how to add the direct link, just like it states in the instructions....I simply asked for a vPortal script....and just by you adding the statement you just did, you have done nothing to solve this request but post +++++d!....OK, now you can see that Im mad!!!!... lol......"with support to have it also work with vPortal as well" Most programers will help in dealing with such requests....I have already stated I think this is GREAT HACK and it works perfectly...

Im asking for a very simple request....if you or any other member can not help, then please don't post in this request thread...I don't want wasted chit chat and have the request not be made...

Thank You!

Vman 06-16-2005 04:47 AM

Quote:

Originally Posted by dsboyce8624
He's using vPortal, not vBadvanced. That's why he wants the template code, so he can port it.

I'd upload them, but I haven't installed the latest version yet.

<lazy!!!>

Ill take whatever you have and Im modify it!.....

artonex 06-16-2005 08:18 AM

Quote:

Originally Posted by Cloudrunner
I'm gonna go with...


no


simply because I use Paypal and not nochex, and I've had troubles with nochex before...

It's their choice as to whether they use PayPal and this hack or not...It's no hair offa my butt if they don't. I'm simply providing something to the public that my site needed, if they don't need it then they'll either find something else, or design something else to fit their needs.

No worrys i will probably hire you to make me a nochex version of this, ofcourse ill pay you. Speak on msn soon cr :)

mkdevo 06-16-2005 10:20 AM

Quote:

Originally Posted by Cloudrunner
Looks to me like you didn't upload all the files from the last archive. This was addressed in the phrasing / templates / donate.php file that was released in the latest release. The $total in the donate template was updated and the old way of notifying it was removed in the donate.php file.


d'oh! that's it.. i uploaded everything but the new donate.php and ppverify.php files.. thanks!

mkdevo 06-16-2005 10:22 AM

Quote:

Originally Posted by Cloudrunner
Will work on that as well for the next update. Thank you!

excellent! thanks CR!

just want to say that your support thus far with this has been incredible! it's nice to know that you listen to your users, and it's very much appreciated.

dsboyce8624 06-16-2005 12:28 PM

Quote:

Originally Posted by BBCVman
Look, First off Im not mad, If I was you would know!. I don't like being told I should have done somthing when that person has no clue what I have already done!. Im well aware on how hacks work. Im also aware on how to add the direct link, just like it states in the instructions....I simply asked for a vPortal script....and just by you adding the statement you just did, you have done nothing to solve this request but post +++++d!....OK, now you can see that Im mad!!!!... lol......"with support to have it also work with vPortal as well" Most programers will help in dealing with such requests....I have already stated I think this is GREAT HACK and it works perfectly...

Im asking for a very simple request....if you or any other member can not help, then please don't post in this request thread...I don't want wasted chit chat and have the request not be made...

Thank You!

I don't know if we can help you with this. Neither of us run it. You're welcome to to port it however you need, I just don't think we can help.

Sorry

agiacosa 06-16-2005 01:31 PM

It would be great if we could connect this to the Subscriptions system in vB. I have my premium memberships tied to that.

quachvu 06-16-2005 01:48 PM

can you add a function that after donate my member are moved to a special group?

Cloudrunner 06-16-2005 02:05 PM

Quote:

Originally Posted by agiacosa
It would be great if we could connect this to the Subscriptions system in vB. I have my premium memberships tied to that.

In what way? The subscriptions are an entirely different beast using different calls to and from Paypal...

Cloudrunner 06-16-2005 02:06 PM

Quote:

Originally Posted by quachvu
can you add a function that after donate my member are moved to a special group?

I am looking into making this work, but I've a couple of things in front of that on the list of things to make work with this...It will be an option down the road though.

Madmax4321 06-16-2005 02:47 PM

nice work Cloudrunner :)

rinkrat 06-16-2005 03:52 PM

I'm just installing now and I see \r\n all over the place. How can I remove these?

Also, there is no "Donate" link on the Donate page at:
http://www.letsgokings.com/bbs/donate.php

dsboyce8624 06-16-2005 03:55 PM

Quote:

Originally Posted by rinkrat
I'm just installing now and I see \r\n all over the place. How can I remove these?

Edit the phrases that were added by the install.

Cloudrunner will be releasing this fix along with some other things shortly.

Search in Phrase Manager for one of the phrases listed in the first post, once you edit one of those, Phrase Manager will show you all the rest.

These:

your_donations_are_appreciated
all_donations_go_towards_furthering_goals
donation_used_to_further_mission


Sorry about that.

rinkrat 06-16-2005 03:59 PM

Thanks for the quick response!'

Also, there is no "Donate" link on the Donate page at:
http://www.letsgokings.com/bbs/donate.php

dsboyce8624 06-16-2005 04:01 PM

Quote:

Originally Posted by rinkrat
Thanks for the quick response!'

Also, there is no "Donate" link on the Donate page at:
http://www.letsgokings.com/bbs/donate.php

You must first edit your settings in AdminCP, then create a goal if you plan to use goals, then create buttons.

The buttons then appear in donate.php

rinkrat 06-16-2005 04:10 PM

Quote:

Originally Posted by dsboyce8624
You must first edit your settings in AdminCP, then create a goal if you plan to use goals, then create buttons.

The buttons then appear in donate.php


Aha! Thanks :)

agiacosa 06-16-2005 05:08 PM

Quote:

Originally Posted by Cloudrunner
In what way? The subscriptions are an entirely different beast using different calls to and from Paypal...

I noticed on one of your sites that you have several options or levels when you donate. One is a premium membership that entitles you to certain things.

I am giving premium members a number of options for donating at a certain level. The subscription system allows them to click on a PayPal button and the system does the rest. They are automatically added to the Premium Members group that grants them all the goodies. In addition, after a year, they are returned to regular member unless they donate again.

I'm saying it would be great to set this up with your system. I think if you are able to automatically subscribe folks to a special group for a specified period of time, that should do it.

Vman 06-16-2005 06:29 PM

Quote:

Originally Posted by dsboyce8624
I don't know if we can help you with this. Neither of us run it. You're welcome to to port it however you need, I just don't think we can help.

Sorry

Thanks...Ill see what I can do and when I do figure it out, Ill give you guys a copy to add so other vPortal users will be able to use it as well..... :squareeyed:

dsboyce8624 06-16-2005 06:41 PM

Quote:

Originally Posted by BBCVman
Thanks...Ill see what I can do and when I do figure it out, Ill give you guys a copy to add so other vPortal users will be able to use it as well..... :squareeyed:

That'd be appreciated.

Cloudrunner 06-16-2005 07:31 PM

Quote:

Originally Posted by agiacosa
I noticed on one of your sites that you have several options or levels when you donate. One is a premium membership that entitles you to certain things.

I am giving premium members a number of options for donating at a certain level. The subscription system allows them to click on a PayPal button and the system does the rest. They are automatically added to the Premium Members group that grants them all the goodies. In addition, after a year, they are returned to regular member unless they donate again.

I'm saying it would be great to set this up with your system. I think if you are able to automatically subscribe folks to a special group for a specified period of time, that should do it.

I can look into it, but I really don't want to go and reinvent something that is already a part of the resident vBulletin system. Just seems like a waste of time when you can do subscriptions already and regular donations now with my system. Just use them both at the same time...that's what I am going to do...

Cloudrunner 06-16-2005 07:32 PM

Quote:

Originally Posted by BBCVman
Thanks...Ill see what I can do and when I do figure it out, Ill give you guys a copy to add so other vPortal users will be able to use it as well..... :squareeyed:

Once you have it ready and tested properly I can add it to the system, that's not an issue.

Cloudrunner 06-16-2005 07:33 PM

Quote:

Originally Posted by rinkrat
Aha! Thanks :)

RTFP (Read The First Post) ;)

Vman 06-16-2005 10:39 PM

OK, I have it up and running now. I modified it for vPortal. I have not gotten a donation yet to make sure 100% that is it working. This is what needs to be done to create a block for it.

In PortalCP click "Default Sideblocks" then make it a "html" from the drop down menu, choose "Template" to "Yes" then in the script block add:

Code:

<thead>
                                        <tr align="center">
                                                <td colspan="2" class="tcat"><strong>Support Our Site </strong></td>
<tbody>
               
                <tr align="center">

                       
                        <td class="alt1">
                               
                               
                                        <form name="donate" action="https://www.paypal.com/cgi-bin/webscr" method="post">
                               
                                        <input type="hidden" name="notify_url" value="http://www.YOURSITENAME.net/forums/ppverify.php">
                                        <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
                                       
                                               
                                                        <select id="currency_code" name="currency_code">
                                                                <option value="USD">US Dollar</option>
                                                                <option value="AUD">Australian Dollar</option>

                                                                <option value="CAD">Canadian Dollar</option>
                                                                <option value="EUR">Euro</option>
                                                                <option value="GBP">Pounds Sterling</option>
                                                                <option value="JPY">Japanese Yen</option>
                                                        </select>
                                               
                                       
                                        <input type="hidden" name="cmd" value="_xclick">
                                        <input type="hidden" name="custom" value="donation:1:0">

                                        <input type="hidden" name="item_number" value="69.110.66.144">
                                        <input type="hidden" name="business" value="paypalname@YOURSITENAME.net">
                                        <input type="hidden" name="return" value="http://www.YOURSITENAME.net/forums/donate.php?do=thankyou">
                                        <input type="hidden" name="cancel_return" value="http://www.YOURSITENAME.net/forums/donate.php?do=canceled">
                                        <input type="hidden" name="item_name" value="Site Donation">
                                        <input type="hidden" name="cn" value="">
                                        <input type="hidden" name="cbt" value="">
                                       
                                       
                                       
                                        <input type="hidden" name="rm" value="2">
                                        <input type="hidden" name="quantity" value="1">

                                        <input type="hidden" name="no_shipping" value="1">
                                        <input type="hidden" name="no_note" value="0">
                                        <br />
                                        </if>
                                </form>
                        </td>
                </tr>
        </tbody>
                                </thead>
                                <tbody>

                                        <tr align="center">
                                                                                                        <td colspan="2" class="alt1">Monthly Donation Goal - $25.00</td>
                                                                                                        <tr align="center"><td class="alt2">
                                                                We have collected a total of $0.00 in donations towards our goal of  $25.00
                                                                <br />

                                                                <br />
                                                                <img src="http://www.YOURSITENAME.net/forums/includes/pp_image.php?do=make_image&fill=00FFFF&border=54FF9F&background=FF00FF&percentage=0&width=150&height=9">
                                                                <br />
                                                                We have collected a total of 0%
                                                                <br />
                                                                Thank you!
                                                       
                        <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
                                <thead>
                                        <tr align="center">
                                                <td class="tcat" colspan="3">Top Donators</td>
                                        </tr>
                                        <tr align="center">

                                          <td class="thead" colspan="3">Sorted by Total Donations</td>
                                        </tr>
                                </thead>
                                <tbody>
                                        <tr align="center">
                                               
                                        </tr>
                                        <tr>
                                                <td class="tfoot" colspan="3">&nbsp;</td>

                                        </tr>
                                </tbody>
                        </table>
                </td>
<br>

To See what it looks like in vPortal vist:

www.bodybuildingcentral.net

Its on the right hand side.....

Vman 06-16-2005 11:00 PM

A donation was made and nothing has change. neither on the main donate.php page...it does not show the donation...I don't know if it takes awhile before it shows up.....

dsboyce8624 06-16-2005 11:14 PM

CR will have to look at your code to see if it follows the logic he has in place.

I'm nowhere near that good.

Vman 06-16-2005 11:19 PM

It appears that there may have been some coding messing from this to make it work....Will work on it and post a new one up when I know FOR A FACT that its working....as for now I wanted to post what I have done to try and port this....

guvner 06-17-2005 01:48 AM

Quote:

Originally Posted by BBCVman
A donation was made and nothing has change. neither on the main donate.php page...it does not show the donation...I don't know if it takes awhile before it shows up.....

Same here - finally got back to this after 2 days away and asked one of my mods to test it.

He donated $10 30 minutes ago and despite getting the email from Paypal (below) - nothing has updated anywhere.

Dear XYZ,

This email confirms that you have received a $10.00 AUD from (removed).

View the details of this transaction here: 4NY492-edited-315V
--------------------------------------------------------------------------------

Payment Details

Total Amount: $10.00 AUD

Currency: Australian Dollars

Transaction ID: 4NY492-edited-315V

Item/Product Name: Server Upgrade & Hosting - Australian XP Media Center Community

Item/Product Number: 052004

Buyer: removed

--------------------------------------------------------------------------------
Address Information


Address: removed
23 ABC Street
XYZ
Perth, Western Australia 6030
Australia

Address Status: Unconfirmed

--------------------------------------------------------------------------------

Thank you for using PayPal!
The PayPal Team

caimakale 06-17-2005 01:57 AM

If you aren't confirmed (unverified) with paypal, it won't let you get payment until you are.

You can accept payment from anyone, but the until you verify, it won't send info back to your site. I found this out while testing with the sandbox. I received payment, got the confirmation email showing I had received it, but on my board, I didn't have any money there. It did show up as a "Pending Transaction" in the ACP.

Check that, if you have a pending transaction go to PayPal and verify your info or they won't give you the money that has been donated.

dsboyce8624 06-17-2005 02:03 AM

Those Rat Bas^#&%s!

It's all about having an account upgraded from Personal, AND being verified.

It's a PItA but ya gotta do it.

guvner 06-17-2005 02:19 AM

Quote:

Originally Posted by caimakale
If you aren't confirmed (unverified) with paypal, it won't let you get payment until you are.

You can accept payment from anyone, but the until you verify, it won't send info back to your site. I found this out while testing with the sandbox. I received payment, got the confirmation email showing I had received it, but on my board, I didn't have any money there. It did show up as a "Pending Transaction" in the ACP.

Check that, if you have a pending transaction go to PayPal and verify your info or they won't give you the money that has been donated.

I don't understand that - I've been verified with Paypal for 3 years now, this is from my account page:

Status: Australian - Verified

Also, there's nothing in my ACP as pending.

The account isn't personal either - it's a business account with more than $400 a month coming in.

Any more ideas?

dsboyce8624 06-17-2005 02:48 AM

Check that in the settings you have the path to ppverify.php correct, and I suggest putting that same path in the setting on PayPal.


All times are GMT. The time now is 01:12 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.01839 seconds
  • Memory Usage 1,893KB
  • 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
  • (1)bbcode_php_printable
  • (24)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