Chào mừng bạn đến vói vietvbb.vn. Hãy Đăng nhập hoặc Đăng Ký để tham gia thảo luận tại diễn đàn.



Results 1 to 2 of 2

Mod: Paypal Donation Sidebar Block

  1. Paypal Donation Sidebar Block Detail »»

  2. Paypal Donation Sidebar Block

    Mod Version: 1.0, by  shinyvn is offline (Vietvbb.vn's Member)
    Poster Last Online: Aug 2012  Show Printable Version  Email this Page
    • vB Version: 4.1
      Rating:  (0 votes - 0 average)
      Installs: 0
    • Release Date: 20 Jun 2011
      Last Update: 20 Jun 2011
      Downloads: 27
      • Not Supported Not Supported
    I don't take any credit for this I just modified a cms widget
    to work as a sidebar block for us who don't have the suite
    tested on vB 4.13

    Original Widget, I removed the login part
    PHP Code:
    http://www.vbteam.info/vb-4-0-x-addons-and-template-modifications/36672-widget-welcome-user-paypal-donations.html 
    Instructions:

    Upload upload folder to forum root then go into Forum & Moderators/
    Forum Block Manager and create new custom Block

    1. Title: Welcome

    2. Description:
    Block for Welcome User and PayPal Donations.
    3. Content Type: HTML

    Add Code:
    PHP Code:
    <div class="cms_widget">
        <
    div class="block">
            <
    div class="cms_widget_header">
            
            </
    div>
            <
    div class="cms_widget_content" align="center">
            <
    vb:if condition="$show['member']">
                <
    ul class="isuser">
    <
    div align="center">If you like our website and want to give something backyou can make a donationAll donations are Welcome.
    <
    br /><br />
    <
    form action="https://www.paypal.com/cgi-bin/webscr" target="_blank" method="post">
      <
    div>
     <
    input type="hidden" name="cmd" value="_xclick" />
     <
    input type="hidden" name="business" value="XXXXX@PaypalEmail.com" />
      <
    input type="hidden" name="item_name" value="Donations to www.YourSiteHere.com!!!"/>
      <
    input type="hidden" name="no_note" value="1" />
      <
    input type="hidden" name="currency_code" value="USD" />
      <
    input type="hidden" name="tax" value="0" />$ 
      <
    select name="amount">
        <
    option value="5.00">5.00</option>
        <
    option value="10.00">10.00</option>
        <
    option value="15.00">15.00</option>
        <
    option value="20.00">20.00</option>
        <
    option value="25.00">25.00</option>
      </
    select>
      </
    div>
    <
    br />
    Select a preferred amount of the donation, and then click the donate button.
    <
    br /><br />
    <
    fieldset>
    <
    input type="image" src="http://www.vbteam.info/images/cms/widget-paypal-donation.png" title="Pay via PayPal" alt="Pay via PayPal" />
    </
    fieldset>
       </
    form>
    </
    div
    Change:
    <input type="hidden" name="business" value="XXXXX@PaypalEmail.com" />
    To Your email.

    Change:
    <input type="hidden" name="item_name" value="Donations to www.YourSiteHere.com!!!"/>
    <input type="hidden" name="no_note" value="1" />
    Take out the reference addy to here:
    <input type="image" src="http://www.vbteam.info/images/cms/widget-paypal-donation.png" title="Pay via PayPal" alt="Pay via PayPal" />
    etc

    Download Now
    Only members can download files, Click Here to register.
    Show Your Support
  3. The Following 2 Users Say Thank You to shinyvn For This Useful Post:

    chamois03 (25 October 2019),Gg9xKute (20 June 2011)

  4. Comments

  5. #2
    Join Date
    16 October 2019
    Posts
    1
    Thanks
    41
    Thanked 0 Times in 0 Posts
    Rep Power
    1
    mẻci pour ce mod



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •