News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Ads on Search Page

Started by Hoochie Coochie Man, September 11, 2008, 03:51:26 AM

Previous topic - Next topic

Hoochie Coochie Man

http://img159.imageshack.us/img159/3811/11rm0.jpg


Default : 1.1.6

Search.template.php
Find:
// Quick moderation set to checkboxes? Oh, how fun :/.

Add before:
echo '<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>';


Find:
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && !empty($context['topics']))
echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
</form>';


Add before:
echo '</td><td>&nbsp;&nbsp;</td>
<td valign="top" align="center">GOOGLE ADVERTS</td>
</tr></table>';
İnadına SMF 1.1.X

Adish - (F.L.A.M.E.R)

woh. kwl.. any way to keep it on the top instead of the left.. as it might mess up the page... just on the search but on the top ?

Minare

Quote from: F.L.A.M.E.R on September 11, 2008, 03:53:23 PM
woh. kwl.. any way to keep it on the top instead of the left.. as it might mess up the page... just on the search but on the top ?

What u demand is easier I guess

Find  :

// Quick moderation set to checkboxes? Oh, how fun :/.

add before :


echo '

<center>GOOGLE ADVERTS CODE</center>';


HCM, please correct me if I am wrong, I didn't check


and thank you hcm for this tip

      

Hoochie Coochie Man

Whatever you say is correct bro. ;)
İnadına SMF 1.1.X

Minare


Adish - (F.L.A.M.E.R)


Advertisement: