Topic: How to setup the Adsense Google custom search?

is any one setup Adsense google custom search already in to the punBB?

2 (edited by alfa_romeo 2007-12-22 06:44)

Re: How to setup the Adsense Google custom search?

Adsense uses a script? Then you could put it in "options" "Announcement message".

Re: How to setup the Adsense Google custom search?

The most straightforward thing to do would be either to place the code in main.tpl (if you want a search box on every page) or to place it in the new page template (if you want a search box on its own page).

Looking for a certain modification for your forum? Please take a look here before posting.

Re: How to setup the Adsense Google custom search?

ok i fix it, i just took the google form out of the table and create a style for the form and it works good.

after i organize the new code i put it right after:



require PUN_ROOT.'header.php';

?>

<div id="searchform" class="blockform">
    <h2><span><?php echo $lang_search['Search'] ?></span></h2>
    <div class="box">


In the search.php file

if you want to see it check here http://dreamweaver.vg/forum/search.php

ok thank any way, happy new year

Re: How to setup the Adsense Google custom search?

Did you intend the form to look like this?

http://xs122.xs.to/xs122/07510/Screenshot.png

Looking for a certain modification for your forum? Please take a look here before posting.

6 (edited by fhelik 2007-12-23 15:00)

Re: How to setup the Adsense Google custom search?

pogenwurst wrote:

Did you intend the form to look like this?

http://xs122.xs.to/xs122/07510/Screenshot.png

jeje not it look like this, i check it with firefox and IE

http://xs122.xs.to/xs122/07510/11111.png

Re: How to setup the Adsense Google custom search?

pogenwurst wrote:

Did you intend the form to look like this?

http://xs122.xs.to/xs122/07510/Screenshot.png

i test it, you right, it looks like that in Ubuntu and safary