Google Search Your Site

Started by lucas-ruroken, July 09, 2009, 07:40:21 AM

Previous topic - Next topic

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Apllicmz

Next time Portuguese file



<file name="$themedir/languages/Modifications.portuguese_pt.php" error="skip">
        <operation>
            <search position="end" />
                <add><![CDATA[
// Google Search your site Start Translate By Candidosa2       
$txt['googlesearch'] = 'Usar o sistema de pesquisa da Google no sitio';
$txt['gtitle'] = 'Google Search no seu sitio';
$txt['galt'] = 'Google';
// Google Search your site End Support SMFPT
]]></add>
</operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_pt-utf8.php" error="skip">
        <operation>
            <search position="end" />
                <add><![CDATA[
// Google Search your site Start Translate By Candidosa2       
$txt['googlesearch'] = 'Usar o sistema de pesquisa da Google no sitio';
$txt['gtitle'] = 'Google Search no seu sitio';
$txt['galt'] = 'Google';
// Google Search your site End Support SMFPT
]]></add>
</operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_brazilian.php" error="skip">
        <operation>
            <search position="end" />
                <add><![CDATA[
// Google Search your site Start Translate By Candidosa2       
$txt['googlesearch'] = 'Usar o sistema de pesquisa da Google no sitio';
$txt['gtitle'] = 'Google Search no seu sitio';
$txt['galt'] = 'Google';
// Google Search your site End Support SMFPT
]]></add>
</operation>
    </file>
    <file name="$themedir/languages/Modifications.portuguese_brazilian-utf8.php" error="skip">
        <operation>
            <search position="end" />
                <add><![CDATA[
// Google Search your site Start Translate By Candidosa2       
$txt['googlesearch'] = 'Usar o sistema de pesquisa da Google no sitio';
$txt['gtitle'] = 'Google Search no seu sitio';
$txt['galt'] = 'Google';
// Google Search your site End Support SMFPT
]]></add>
</operation>
    </file>




lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy

Hello I'm not sure if this is the correct place but i installed this mod  for smf 2.0 and i uninstalled it but Its still there at the bottom its not in my package list but its at the bottom of my screen and theres no google image just search bar and the text Adk Team. How do i get rid of this mod so i can install it properly because when i install it it adds it on there twice. Thank you.
Please move this post if its in the wrong section thank you

Here's some images:
Before With no mod installed in the package list


After when i install the mod:


Please can you help me so i can just install it once.

By the way when uninstalling i didn't remove the google.png and it still doesn't work.

lucas-ruroken

Check if you have the google image in Themes/default/images/google.gif
Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy

The image wasnt on the default theme but im using a differnt theme. But i added the image to the default theme and it works. But how come the mod is there when i havnt got it installed?

lucas-ruroken

It's the same... the mod take the images from the default theme (oh my good, my english sucks :P). what's your forum url?

Regards.
Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy

Yeah but if the mod isnt installed how come the mod is still there?

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!


lucas-ruroken

you can attach me the BoardIndex.template.php of your theme ;)
Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy


lucas-ruroken

I say BoardIndex.template.php.... no index.template.php :P
Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy

Oh i got mudled up a little sorry i thoguht you meant ther board index for my theme but then i realised you meant default theme here it is :)

lucas-ruroken

in that file.... serach and delete this:

// Google Search your site Start
echo '
<div class="title_barIC">
<h4 class="titlebg">
<span class="left"></span>
  <img class="icon" src="', $settings['images_url'], '/icons/info.gif" alt="', $txt['galt'], '" />
<span>', $txt['gtitle'], '</span>
<span style="float: right; font-size: 10px; padding-right: 10px;">
<a href="http://www.smfpersonal.net" target="_blank">Adk Team</a>
</span>
</h4>
</div>
<p>
<strong>',$txt['googlesearch'],'</strong><br />
<form method="get" action="http://www.google.com/search" target="_blank">
<img alt="Google" src="'.$settings['default_theme_url'].'/images/google.gif" width="61" height="24" align="middle" />
<input type="hidden" name="sitesearch" value="', str_replace("/index.php", "", $scripturl), '" />
<input type="text" name="q" size="27" maxlength="255" value="" />
</form>
</p>';
// Google Search your site End
Adk Portal 3.1 is coming....

Design your universe!

smokin frenzy

Ahh thanks man. Its all done i never new it was that simple i was checking all the files in my theme for and indication that theres a google mod on but i couldnt find anything because i wasnt looking in default but now i no for next time thank you man :)

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Adk-Team


mrtarkhan

persian:


// Google Search your site Start
$txt['googlesearch'] = 'از قدرت موتور گوگل برای جستوجو در سایت استفاده کنید';
$txt['gtitle'] = 'جستوجو در سایت با قدرت گوگل';
$txt['galt'] = 'گوگل';
// Google Search your site End


;)
هر پرسش خردمند، نيمي از پاسخ را در خود دارد.((سليمان ابن گاويرول))


Advertisement: