Computers, Consoles and I.T. Post all computer related chat in here for our I.T techies to help with. Please be aware that any discussions related to piracy will be removed and render the member liable to a possible ban. Piracy renders PassionFord Admin liable for prosecution, as well as its members.

php Help please ! - Update

Thread Tools
 
Search this Thread
 
Old Jan 9, 2006 | 06:39 PM
  #1  
RS2000CUSTOM's Avatar
RS2000CUSTOM
Thread Starter
Advanced PassionFord User
 
Joined: Jun 2003
Posts: 1,797
Likes: 0
From: The BLACK COUNTRY
Default php Help please ! - Update

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 ?
Reply
Old Jan 10, 2006 | 09:06 AM
  #2  
DanRSturbo's Avatar
DanRSturbo
10K+ Poster!!
 
Joined: May 2003
Posts: 10,089
Likes: 2
From: Handcuffed to the Mrs' Bed ;-)
Default

I got the google search toolbar come up, but not the vote picture
Reply
Old Jan 10, 2006 | 09:27 AM
  #3  
RS2000CUSTOM's Avatar
RS2000CUSTOM
Thread Starter
Advanced PassionFord User
 
Joined: Jun 2003
Posts: 1,797
Likes: 0
From: The BLACK COUNTRY
Default

Originally Posted by DanRSturbo
I got the google search toolbar come up, but not the vote picture
Must try harder ! - lol lol lol
Reply
Old Jan 10, 2006 | 09:57 AM
  #4  
DanRSturbo's Avatar
DanRSturbo
10K+ Poster!!
 
Joined: May 2003
Posts: 10,089
Likes: 2
From: Handcuffed to the Mrs' Bed ;-)
Default

Mind you, the image was there, but it had a red cross in it, so i'm guessing either the pic doesn't work, maybe the link's incorrect, or it's not available for me to look at ??
Reply
Old Jan 11, 2006 | 08:09 PM
  #5  
Tommy Boy's Avatar
Tommy Boy
I'm Finding My Feet Here Now
 
Joined: Aug 2004
Posts: 129
Likes: 0
Default Re: php Help please ! - Update

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>
Reply
Old Jan 11, 2006 | 08:17 PM
  #6  
RS2000CUSTOM's Avatar
RS2000CUSTOM
Thread Starter
Advanced PassionFord User
 
Joined: Jun 2003
Posts: 1,797
Likes: 0
From: The BLACK COUNTRY
Default

Finally sorted

I got what I set out to do in the end with the help of a number of people !

Along the way I have begun to understand a bit about php and Front page etc

The finished article is here

www.rallyesportescorts.co.uk
Reply
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Fil
General Car Related Discussion.
6
Sep 30, 2015 12:08 PM




All times are GMT. The time now is 10:39 AM.