PDA

View Full Version : Just need 1 button please help



arracing
Mon 30th Sep '02, 7:18am
I just need 1 button that says Donate similar to this button. Please help me out.

Thank you,
Randy
www.ar-racing.com/forums

Vile
Mon 30th Sep '02, 8:07pm
Here you go :)

arracing
Mon 30th Sep '02, 8:23pm
thanks buddy, i really appreciated that.

--randy

just wondering, how did you do that? Im trying to learn.

Vile
Mon 30th Sep '02, 8:25pm
Your welcome.
I used Delhaze's awesome program to make it: VButton Pro. I recommend you you get it, so you can give it a shot yourself in the future:)

Check out this thread for more info:
http://www.vbulletin.com/forum/showthread.php?s=&threadid=48870

filburt1
Mon 30th Sep '02, 8:30pm
You can also use the vB graphics kit in the member's area (which, if I'm not mistaken, vButton requires in addition to Photoshop 7).

arracing
Mon 30th Sep '02, 9:00pm
can you guys help me find which template or whatever to change so that i can add the button by the user cp button.

Thanks,
Randy

filburt1
Mon 30th Sep '02, 9:02pm
header template.

arracing
Mon 30th Sep '02, 9:03pm
I need help with the coding too

filburt1
Mon 30th Sep '02, 9:05pm
Add this where you want the button to be:


<a href="donate.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_donate.gif" alt="Donate!" border="0"></a>


That assumes that the donation page is "donate.php" within your forums' directory and the image is called "top_donate.gif" and stored within your forums' images directory.

Vile
Mon 30th Sep '02, 9:12pm
Yup, do just as filburt1 mentioned.

And the text after "alt=" will be the text displayed when the mouse cursor is over the button, so you can change that to whatever you like.

arracing
Mon 30th Sep '02, 9:44pm
my donation page is thru paypal and their coding creats something along the lines of form /form

you guys get what i mean. I inserted their text in where the header code should go but it kicks the button up above home button.

filburt1
Mon 30th Sep '02, 9:49pm
Hmm, things get much more tricky if you want to make that a form submit button.

My suggestion is to make that button link to your own donation page which in turn has a brief statemet with a button that goes to the actual PayPal system.

arracing
Mon 30th Sep '02, 9:53pm
i really dont want to have my own page its too many steps for people to go through. What coding keeps the buttons together anyways? How come the other buttons are together?

filburt1
Mon 30th Sep '02, 9:55pm
Adding a form tag screws up spacing (extraordinarily annoying aspect of HTML). The others stay together because they are just normal hyperlinked images.

arracing
Mon 30th Sep '02, 11:30pm
ok here is what i got so far,

when i use the align="right" before the form action it aligns everything perfectly but then the button does not work when you click on it.

When i get rid of the align code it shoots the button above home and the button works when you click on it.

any comments????

fury
Sun 20th Oct '02, 2:03am
I've found a way to do an image link to a paypal donate page that doesn't require using forms.

Replace the @ in your email address with %40 - as in fury%40xibase.com instead of fury@xibase.com

Replace spaces with %20, and if you want to put $ in the title of your donation, put %24 in its place, e.g. %245%20dollar%20donation instead of $5 dollar donation

When you put in your return URL, replace : with %3A

And, of course, replace the quantities with your desired values

<a href="https://www.paypal.com/xclick/business=paypal_account_email&undefined_quantity=1&item_name=donation_title&item_number=1&amount=amount_in_dollars&return=return_url" title="Link title here"><img border="0" src="{imagesfolder}/top_donate.gif"></a>