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)

KevinL 06-13-2005 01:47 AM

Quote:

Originally Posted by dsboyce8624
You'd have to edit the vBa template to add a
Code:

target="_blank"
to the URL.

ahhhhhh I was trying to do it in the donations_bits template.

Thanks!

dsboyce8624 06-13-2005 01:48 AM

Oh, I thought he wanted the Donate button to open donate.php in a diff window. But yeah either way, then you end up with two windows on the site since after paypal it returns you to the site.

Cloudrunner 06-13-2005 01:48 AM

Quote:

Originally Posted by dsboyce8624
You'd have to edit the vBa template to add a
Code:

target="_blank"
to the URL.

the button is created via a form tag
HTML Code:

<input type="button" etc....>
I don't know if there is a way to make that open in a new window or not without breaking the system (onClick is already being used). If someone could correct me on this if I'm wrong, please do. I'm not well versed in Javascript.

KevinL 06-13-2005 01:49 AM

Quote:

Originally Posted by Cloudrunner
if you do that, then the user will end up on your site twice after donating. Plus if they decide to cancel the transaction midway through it, they get returned in the same window, again, having two windows open.

The way the buttons work as well prevent this from happening to my knowledge, but I will check into it and see if there is a way to do that or not.

okie dokie that works for me :)

Edit*

Thanks for the answers guys. Since it returns to the site then there is no reason for it. :)

dsboyce8624 06-13-2005 01:50 AM

Quote:

Originally Posted by Cloudrunner
Nah not serious...just wanted to make sure peeps knew where I was coming from before I ended up pissing someone off LOL

Listen, you've done this before, I'm a virgin.

I don't think if it were just me, I could handle all the questions at once, much less fix the problems.

So if they can't take a joke now and then . . . well, you know.

Cloudrunner 06-13-2005 01:50 AM

Quote:

Originally Posted by KevinL
Set up just fine! Very easy.

Finally...sheesh...

LOL

With all the troubles that came up at first I thought this thing would die before it even had a chance ROFL

dsboyce8624 06-13-2005 01:51 AM

Na, just gotta get the steam up.

TTG 06-13-2005 02:05 AM

Yeah .. the crowds at the back 'o the bar go wild .. installed and working like a charm.
One question .. how can I change the $ to ? in the donation goals ?

Clicked install :)

dsboyce8624 06-13-2005 02:08 AM

Quote:

Originally Posted by TTG
Yeah .. the crowds at the back 'o the bar go wild .. installed and working like a charm.
One question .. how can I change the $ to ? in the donation goals ?

Clicked install :)

I believe it's in the phrases. One sec.

EDIT: in_donations_towards_our_goal_of is one, just have to weed through to find the rest, and some are in the templates.

Cloudrunner 06-13-2005 02:08 AM

Quote:

Originally Posted by TTG
Yeah .. the crowds at the back 'o the bar go wild .. installed and working like a charm.
One question .. how can I change the $ to ? in the donation goals ?

Clicked install :)

it's phrased, just change all the $ calls in the phrases and that should do it. Some are in the templates though...

If you see a variable like this: $$total with the double '$' that's the dollar sign, the second one is the string identifier, you can change that first one without breaking anything. Don't do that to a single '$' though as that will break the variable in the template.

Hope that helps....(thinks about adding this as an auto thing based on the currency format you choose in the AdminCP)...


All times are GMT. The time now is 04:18 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.01585 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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