Need Help with HTML PLEASE!

Slippertalk Orchid Forum

Help Support Slippertalk Orchid Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
The code below should give the SlipperTalk logo linked to the forum home page and the donate button linked to paypal sitting side by side.


<div class="smallfont" align="center">

<a href="http://www.slippertalk.com"><img src="http://i4.photobucket.com/albums/y134/ahmcd33/slippertalk2.jpg" border="0"></a>
<form name="_xclick" 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="item_name" value="Slippertalk Forum Fund">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="PP-DonationsBF">
<input type="hidden" name="amount" value="0.00">
<input type="image" src="http://www.shopgonewild.com/images/x-click-but21red.gif" border="0" name="submit" alt="Help support Slippertalk!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

<!-- Do not remove this copyright notice -->
 
This should work.....


<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center"><a href="http://www.slippertalk.com"><img src="http://i4.photobucket.com/albums/y134/ahmcd33/slippertalk2.jpg" border="0"></a>
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="Slippertalk Forum Fund">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="PP-DonationsBF">
<input type="hidden" name="amount" value="0.00">
<input type="image" src="http://www.shopgonewild.com/images/x-click-but21red.gif" border="0" name="submit" alt="Help support Slippertalk!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</div>
</form>
 
Here is another option. This should put the donate button centered under the logo....

<div align="center"><a href="http://www.slippertalk.com"><img src="http://i4.photobucket.com/albums/y134/ahmcd33/slippertalk2.jpg" border="0"></a>
</div>
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="Slippertalk Forum Fund">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="PP-DonationsBF">
<input type="hidden" name="amount" value="0.00">
<input type="image" src="http://www.shopgonewild.com/images/x-click-but21red.gif" border="0" name="submit" alt="Help support Slippertalk!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</div>
</form>
 
No, I just tried the top one. You may have a conflict since you have two forms with the same name. (_xclick). Try changing the bottom one to _yclick or something. You need to change it in two places.

Or I could be full of *&^!
 
Maybe we really only need this in the header....anyone opposed, say aye.

Heather - you've been doing admin work all day it seems! :clap:

I agree! We don't need another button at the bottom. HOWEVER, I strongly believe the button should be PINK. :drool:
 
Heather,
The problem is not with the donate button.
There is a form on the pages just above the footer that is....

<form action="index.php" method="get">

I'm not sure what the form does but it needs to have a closed tag like this

<form action="index.php" method="get">
</form>

Unless it has the closing tag forms below it won't work.
 
HOWEVER, I strongly believe the button should be PINK. :drool:

violent-smiley-011.gif
 
I need to put this somewhere for safe keeping....


<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
$spacer_close
<!-- /content area table -->
<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar
" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center"><a href="http://www.slippertalk.com"><img src="http://i4.photobucket.com/albums/y134/ahmcd33/slippertalk2.jpg" border="0"></a>
</div>
<form name="_xclick" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<div align="center">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="[email protected]">
<input type="hidden" name="item_name" value="Slippertalk Forum Fund">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="amount" value="PP-DonationsBF">
<input type="hidden" name="amount" value="0.00">
<input type="image" src="http://www.shopgonewild.com/images/x-click-but21red.gif" border="0" name="submit" alt="Help support Slippertalk!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</div>
</form>
<!-- Do not remove this copyright notice -->

<div class="smallfont" align="center">$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>​
 
I think the unclosed form is the clock at the bottom of the page.

The form that gets the time...
All times are GMT -8. The time now is 01:58 PM.

Put in the </form> after the form that calls the time and then the donate button should work. It should look like this:

<form action="index.php" method="get">
</form>
 
The footer is all the same form - see what I posted just above - I don't see your <form action="index.php" method="get"> there at all. I think the time is in the footer though so I'm, yet again, confused.

Is it not in the footer? There's header, footer, and something called "headinclude" which is a lot of CSS stylesheet stuff.

No, we are not changing the color again. Otherwise you'll be down one admin. :)
 

Latest posts

Back
Top