Proglass

Proglass - paypal donate button - Proglass

Proglass - paypal donate button

by milan64586 » Wed Jan 11, 2012 10:15 am

Hello,

I want to put paypal donate button to my board. I want to put it here if possible.

Image

I have code form pay pal. Could somebody please tell me what should I edit and where should I put this code? Thanks.
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact:

Re: Proglass - paypal donate button

by milan64586 » Sat Jan 14, 2012 6:15 pm

no one?
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact:

Re: Proglass - paypal donate button

by statm » Tue Jan 17, 2012 8:56 pm

I apologize for not getting back to you sooner.

1. Open overall_header.html in the template folder for proglass
2. Find line 135.
3. On a blank line under line 135 add:

Code: Select all

<div><br>

4. Paste your paypal code on a blank line after the <div>
5. On another blank line under the paypal code add:

Code: Select all

</div>

The end result should look like this:

Code: Select all


<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
         <div id="search-box">
            <form action="{U_SEARCH}" method="get" id="search">
               <fieldset>
                  <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
                  <input class="button2" value="{L_SEARCH}" type="submit" /><br />
                  <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
               </fieldset>
            </form>            
         </div>
      <!-- ENDIF -->
      <div><br>
         <form style="border:0" action="https://www.paypal.com/cgi-bin/webscr" method="post">
            <input type="hidden" name="cmd" value="_donations">
            <input type="hidden" name="business" value="test@test.test">
            <input type="hidden" name="lc" value="US">
            <input type="hidden" name="no_note" value="0">
            <input type="hidden" name="currency_code" value="USD">
            <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_SM.gif:NonHostedGuest">
            <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
            <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
         </form>
      </div>
   </div>
</div>

This is just to get the button where you want it. There are other things that could be done to make it look better. Let me know if you need anymore help.
statm
Registered User
Posts: 447
Joined: Thu Jul 21, 2005 11:03 am
Location: NC, USA
Name: Matt
Contact:

Re: Proglass - paypal donate button

by milan64586 » Mon Jan 23, 2012 6:19 pm

Thank you very much for your help. I just tried this. It works, but it is not on desired position.

Image

How can I move button to put in on desired place?
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact:

Re: Proglass - paypal donate button

by statm » Tue Jan 24, 2012 5:21 am

Can you send me a pm with your board link and I can take a look at it? Because I didn't have that problem.
statm
Registered User
Posts: 447
Joined: Thu Jul 21, 2005 11:03 am
Location: NC, USA
Name: Matt
Contact:

Re: Proglass - paypal donate button

by milan64586 » Tue Jan 24, 2012 7:46 am

Thank you. I will send you link.
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact:

Re: Proglass - paypal donate button

by milan64586 » Sat Jan 28, 2012 9:37 am

Did you check the link I sent you?
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact:

Re: Proglass - paypal donate button

by milan64586 » Fri Feb 03, 2012 7:16 pm

Nothing? :(
milan64586
Registered User
Posts: 60
Joined: Fri Dec 14, 2007 6:35 pm
Contact: