[Request] TBDev 09 Donate Page

Started by Spidey, December 23, 2012, 08:46:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stoner

The Code Cherwonk posted is not completed code, its like he said, a start to what you need for the layout which was requested by the user.

It would be placed within the donate.php file.   But again I stress.   ITS NOT COMPLETE CODE.

GhostRaider

Where Do I put the donation that cherwonk posted?

stoner

Quote from: Maverick on December 24, 2012, 03:20:56 AM
can we get this same page for our V3..its little bit old school..but i needed it..:)

thanks in advance..


The donation system we have on V3 can do this, its only a case of changing the donate.php page to the style you wish.  The only thing you need to keep is the notify url.  The way the notify script is coded, it will sort out the amounts.   So on the donation page, you could have 100's of different levels of donation amount.  The amount of upload given, points etc..  Is just worked of the amount of the donation, via the staff panel

autotron

I would think that would work in all sources

Maverick

can we get this same page for our V3..its little bit old school..but i needed it..:)

thanks in advance..

Spidey

thanks a lot man worked good with Me :)

cherwonk

Here's the outline for what you want. You'll need to add in the google checkout
Code (php) Select
$HTMLOUT .="
<div class='roundedCorners' style='text-align:center;width:190;border:0px solid black;padding:5px;'>
<font color='red'><strong>****  Donate $5.00  ****</strong></font><br />
and  receive:
<li>3 GB Upload Credits</li>
<li>3 Weeks VIP.</li>
<li>1 Freeslots</li>
<br /><br /><br />
<form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
<input type='hidden' name='cmd' value='_xclick'>
<input type='hidden' name='business' value='youremail@gmail.com'>
<input type='hidden' name='item_name' value='Server Funds'>
<input type='hidden' name='no_note' value='1'>
<input type='hidden' name='currency_code' value='USD'>
<input type='hidden' name='amount' value='5'>
<input type='hidden' name='tax' value='0'>
<input type='hidden' name='custom' value='".$CURUSER['id']."' />
<input type='hidden' name='notify_url' value='http://yoursite/paypal.php'>
<input name='submit' type='image' style='margin-top: 5px' src='/pic/x-click-but04.gif' alt='Donate $5' align='bottom' border='0'>

this should get you started.

Spidey

thanks a lot man for help but i wanna it like torrent day this is screen shot from their donate page
http://i.imgur.com/Q8Evn.jpg

i want some thing like that not the default one and thanks:)

DarkMaster

well this is the one for 09

<?php
/*
+------------------------------------------------
|   TBDev.net BitTorrent Tracker PHP
|   =============================================
|   by CoLdFuSiOn
|   (c) 2003 - 2009 TBDev.Net
|   http://www.tbdev.net
|   =============================================
|   svn: http://sourceforge.net/projects/tbdevnet/
|   Licence Info: GPL
+------------------------------------------------
|   $Date$
|   $Revision$
|   $Author$
|   $URL$
+------------------------------------------------
*/
require_once "include/bittorrent.php";
require_once 
"include/html_functions.php";
require_once 
"include/user_functions.php";

dbconn();
    
    
$lang array_mergeload_language('global'), load_language('donate') );
    
    
$HTMLOUT '';

    
$HTMLOUT .= "<b>{$lang['donate_click']}</b>


    <form action='https://www.paypal.com/cgi-bin/webscr' method='post'>
    <input name='cmd' value='_s-xclick' type='hidden' />
    <input src='https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif' name='submit' alt='
{$lang['donate_make']}' type='image' />
    <input name='encrypted' value='-----BEGIN PKCS7-----MIIHNwYJKoZIhvcNAQcEoIIHKDCCByQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYC8K9IOfzSMgF6Eq43B1fgm3WNJtpRe2NGxk2fNwh3e0akg4U0w9narOb79/DhUGPDXwoixFW7YzAGZHjrvjKCNIO23C8K0IvHKZWwVlQTLgh1mUYE26FHB5rpdmqHy3uNFaW5xXF88775XW7TvSKp5FZkfeftmnYWqzXs2M/UiozELMAkGBSsOAwIaBQAwgbQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI97j9CTxKp+mAgZCBXuN7FTB7G2gUJsJ8q50VH9QxKQZfRS4qbN1Z1xQZAwbH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zMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbYIBADAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4GBAIFfOlaagFrl71+jq6OKidbWFSE+Q4FqROvdgIONth+8kSK//Y/4ihuE4Ymvzn5ceE3S/iBSQQMjyvb+s2TWbQYDwcp129OPIbD9epdr4tJOUNiSojw7BHwYRiPh58S1xGlFgHFXwrEBb3dgNbMUa+u4qectsMAXpVHnD9wIyfmHMYIBmjCCAZYCAQEwgZQwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0wNTA3MDQxNzEwNDJaMCMGCSqGSIb3DQEJBDEWBBQlUyWrv/HGKWGN3NilC+7x7YExMjANBgkqhkiG9w0BAQEFAASBgE15oJF6ZYsQSl+wQKdsPsFXxsVEXHG0EcSix6b9Yx2dyEoI0/Y5re5L3DJoHyusW+A57TjrDcb9uE3sNyDhfJs/dNdtL8GIAqhaDHaTnlwxA0Mh64pauYKANS0pFVmTuW+OvODprbnbhb52Xf5JPo5+52oPG1Ec1DN8a95ju5+3-----END PKCS7-----' type='hidden' />
    </form>
    <br />

    <br />"
;
    
$HTMLOUT .= begin_main_frame(); 
    
$HTMLOUT .= begin_frame(); 
    
    
$HTMLOUT .= "<table border='0' cellspacing='0' cellpadding='0'>
    <tr valign='top'>
      <td class='embedded'>
        <img src='pic/flag/uk.gif' style='margin-right: 10px' alt='' />
      </td>
      <td class='embedded'>
        <p>
{$lang['donate_donating']}</p>
<p>
{$lang['donate_thanks']}</p>
      </td>
    </tr>
    </table>"
;
    
    
$HTMLOUT .= end_frame(); 
    
$HTMLOUT .= begin_frame("{$lang['donate_other']}");
    
    
$HTMLOUT .= "{$lang['donate_no_other']}";
    
$HTMLOUT .= end_frame(); 
    
$HTMLOUT .= end_main_frame();


    
$HTMLOUT .= "<b>{$lang['donate_after']}<a href='sendmessage.php?receiver=1'>{$lang['donate_send']}</a>{$lang['donate_the']}<font color='red'>{$lang['donate_transaction']}</font>{$lang['donate_credit']}</b>";

    print 
stdhead() . $HTMLOUT stdfoot();
?>
Please Place All Support Questions In The Right Section

Spidey

Hi  i need donate page Pleas working for tbdev09 or u232 i need it like td or ipt something like that and thanks :)