REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Release] Donation Page 1.1
#21
4) You can find the donation_page template in Global templates.

i dont know were global templates are? Sad sorry if its a stupid question
#22
Admin Panel --> Templates and Style --> Templates --> Global Templates
#23
ok I am quotting on behalf of "StormRoBoT"

He has asked over on myBB.com if its possiable to change the "text box" to "list box", to somehow STOP people from donating (0.00$) cause some people just wanna annoy owners of the site... so they put ($0.00) and click donate.

http://mods.mybb.com/reviews/donation-page
Written By: StormRoBoT, 6th February 2010


What do you think can be done for this specific situation? Me to I am also concerned?
#24
Hmm, try this out.

In your header in the donation_page template, put:

Code:
<script type="text/javascript">
<!--
function validate_form ( )
{
    valid = true;
    if ( document.donation_form.amount.value == "" || document.donation_form.amount.value == "0" || document.donation_form.amount.value == "0.00" )
    {
        alert ( "Please enter an amount." );
        valid = false;
    }

    return valid;
}

//-->
</script>

Then in donate.php:

Find:
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin-top:10px;text-align:center;">

Replace it with:
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="margin-top:10px;text-align:center;" name="donation_form" onsubmit="return validate_form ( );">

Tell me if it works. Sorry, I'm not that great with JavaScript.


Possibly Related Threads...
Thread Author Replies Views Last Post
  [RELEASE] Guests cannot view threads! CometJack 17 9,713 Aug 13, 2010, 11:01 AM
Last Post: manchester10
  Bans.php Page Elite Dash 7 4,508 Aug 07, 2010, 07:18 AM
Last Post: IceGuru
  [RELEASE] MyXBL - XBox Live Stats in profiles & postbits! euantor 23 11,290 Jul 18, 2010, 02:27 PM
Last Post: Elite Dash
  Reputation Given Page MrAnonymous 17 8,993 Jul 11, 2010, 01:12 PM
Last Post: Elite Dash
  [Release] MyTube euantor 11 5,080 Jun 13, 2010, 08:39 PM
Last Post: scarface

Forum Jump:


Users browsing this thread: 1 Guest(s)