News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Massive mess up

Started by Scotland, June 14, 2005, 02:57:10 PM

Previous topic - Next topic

Scotland

hi I admin some SMF forums. Wanted to place a paypal donate button in the newsbox. Put the HTML code into the newsbox but I missed the last " by accident. Now half the buttons on the forums are links to the paypal donate site and I can't undo it because the "Save" and "Remove Topic" buttons are links to the paypal site.
The HTML Code is :
Quote<form action="hxxp:www.paypal.com/cgi-bin/webscr [nonactive]" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="image" src=hxxp:www.paypalobjects.com/en_US/i/logo/paypal_logo.gif [nonactive]

plz help,
Andy

morph


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="tax" value="0" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/logo/paypal_logo.gif" />
</form>


You can use PHPMyAdmin to access the database or anything like that. Is this in the newsbox or in a topic?

Coming soon!

Scotland

#2
I do have the username and password for the server its hosted on but I can't find the file that I need to edit to fix this. I put the HTML code in the newsbox

morph

Its not in a file, it should be where you edit the news box.. Go to the admin center, news, then paste this all into the box, but instead of trying to click one of the save or remove selected options, simple press enter. See if that will work for you.

If this doesnt work, do you know if you have PHPMyAdmin installed on your server? Or C-Panel?

Coming soon!

Scotland

nothing happens when I hit enter. I don't think we've got either of those programs installed

morph

You can install PHPMyAdmin your self.. go to http://www.phpmyadmin.net/ and download the latest stable release. Read the Read Me or something along those lines that goes with the package. Upload it to your webserver and you should be all set to go from there..

Coming soon!

Scotland

Thank you so much, that sorted a problem I had been tryin to fix for like 8 hours straight in 2 minutes.
Thank you

morph

Anytime :). Glad i could help.

Coming soon!

Advertisement: