Advertisement:

Author Topic: Ads on Search Page  (Read 19994 times)

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Ads on Search Page
« on: September 11, 2008, 03:51:26 AM »
http://img159.imageshack.us/img159/3811/11rm0.jpg


Default : 1.1.6

Search.template.php
Find:
Code: [Select]
// Quick moderation set to checkboxes? Oh, how fun :/.
Add before:
Code: [Select]
echo '<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>';

Find:
Code: [Select]
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:
Code: [Select]
echo '</td><td>&nbsp;&nbsp;</td>
<td valign="top" align="center">GOOGLE ADVERTS</td>
</tr></table>';
« Last Edit: September 12, 2008, 09:43:50 AM by [SiNaN] »
İnadına SMF 1.1.X

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Google Ads on Search Page [Tip]
« Reply #1 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 ?

Offline Minare

  • Sophist Member
  • *****
  • Posts: 1,233
  • Gender: Male
  • Yapayalnız Kalmak İskelelerde !
    • Meryemce
Re: Ads on Search Page
« Reply #2 on: September 13, 2008, 07:29:41 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  :

Code: [Select]
// Quick moderation set to checkboxes? Oh, how fun :/.
add before :
Code: [Select]

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

      
O güzel Râsulu Yesrip yolunda
Hicret coşkusuyla aramalısın
Ayrılık Anne'den Baba'dan Yâr'dan
Ezelden geçerek kavuşmalısın

http://www.meryemce.biz

Offline Hoochie Coochie Man

  • SMF Hero
  • ******
  • Posts: 5,135
  • Gender: Male
    • İstanblues.org
Re: Ads on Search Page
« Reply #3 on: September 14, 2008, 03:57:04 AM »
Whatever you say is correct bro. ;)
İnadına SMF 1.1.X

Offline Minare

  • Sophist Member
  • *****
  • Posts: 1,233
  • Gender: Male
  • Yapayalnız Kalmak İskelelerde !
    • Meryemce
Re: Ads on Search Page
« Reply #4 on: September 14, 2008, 05:31:59 AM »
Whatever you say is correct bro. ;)

Thanks bro  :D
O güzel Râsulu Yesrip yolunda
Hicret coşkusuyla aramalısın
Ayrılık Anne'den Baba'dan Yâr'dan
Ezelden geçerek kavuşmalısın

http://www.meryemce.biz

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

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,614
  • Gender: Male
  • I am a ninja!
    • adishpatel on Facebook
    • https://www.linkedin.com/in/adishpatel on LinkedIn
Re: Ads on Search Page
« Reply #5 on: September 14, 2008, 05:49:51 AM »
Brov.. thats kooool. \m/