View Single Post
Old Jan 12, 2006 | 07:45 AM
  #7  
DanRSturbo's Avatar
DanRSturbo
10K+ Poster!!
 
Joined: May 2003
Posts: 10,089
Likes: 2
From: Handcuffed to the Mrs' Bed ;-)
Default Re: php Help please ! - Update

Originally Posted by Tommy Boy
Originally Posted by RS2000CUSTOM
I use phpbb for the coding for my website

www.rallyesportescorts.co.uk

I wish to add an HTML "vote" button to the

overal_header.tpl file

On phpbb.com there is a mod to add a Google search bar that is very similar to what I want to do

link here - http://www.phpbb.com/phpBB/catdb.php...oad&id=1264400

In my amateur attempts to re-write the Google mod I cant get it to work - lol lol (thank god for file back up's !)

I want the vote icon to appear central to the page width and just above the thread/topics

The code I wish to add is as follows


<a href="http://www.ultimatetopsites.com/bin/topsite.cgi?ford&cat=kewl&ID=407">
</a>



This is the code I "think" could be modified to suit the above code


<div align="center">
<form method="get" action="http://www.google.com/search">
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="hidden" name="oe" value="ISO-8859-1" />
<table bgcolor="#FFFFFF">
<tr>
<td>
<input type="text" name="q" size="25" maxlength="255" value="" />
<input type="submit" name="btnG" value="Google Search" /></td>
</tr>
</table>
</form>
</div>







Can it ?
found you problem with the vote code, there is a space in the URL causing it to break and not find the image.

and if you want to center it just do the following

The red section below is the area where the code has a space and is causing it to break. Just delete the space and that should bring the voting image up fine

<center>

<a href="http://www.ultimatetopsites.com/bin/topsite.cgi?ford&cat=kewl&ID=407">
</a>

</center>
Well spotted that man
Reply