View Single Post
  #40  
Old 08-29-2007, 08:00 PM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have the samee result im install this mod pretty good BTW but with no result only the searchresults.php in blank

i hope you can tell me whats is wrong thanks for this cool mod

edit

ifinally maake it work you the only thing i edit is the template "google_navadsearch"

i change a few lines not to much i just see the original code from google adsense and add a few lines

Code:
<tr>
    <td class="thead">Buscar en sitio/ Google</td>
</tr>
<tr>
    <td class="vbmenu_option" title="nohilite">
    <form method="get" action="{$vboptions['google_forum_path']}" target="_top">
        <table border="0">
            <tr>
                <td nowrap="nowrap">
                    <input type="hidden" name="domains" value="{$vboptions['homeurl']}"></input>
<label for="sbi" style="display: none">Introduzca los t?rminos de b?squeda.</label>
<input type="text" class="bginput" name="q" size="25" maxlength="255" value="" id="sbi"></input>
<label for="sbb" style="display: none">Env?e el formulario de b?squeda</label>
<input type="submit" class="button" name="sa" value="Ir" id="sbb"></input>
</td>
            </tr>
            <tr>
                <td nowrap="nowrap">
                    <table border="0">
                        <tr>
                            <td>
<input type="radio" name="sitesearch" value="" checked id="ss0"></input>
<label for="ss0" title="Search the Web">{$vboptions['google_label_web']}</label>
                            </td>
                            <td>
<input type="radio" name="sitesearch" value="{$vboptions['homeurl']}" id="ss1"></input>
<label for="ss1" title="Search {$vboptions['homeurl']}">{$vboptions['google_label_site']}</label>
                            </td>
                        </tr>
                    </table>
<input type="hidden" name="client" value="{$vboptions['google_pub']}"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="{$vboptions['google_cof']}"></input>
<input type="hidden" name="hl" value="es"></input>
</td>
            </tr>
        </table>
    </td></form>
</tr>
this is a code for mexican or spanish webs the las red text es (espa?ol) if you are from us change to en (english)
the rest you can leavee just like that is a hidden text

also in vB Google Search (Adsense) option on Your Forum's Path i only put the name of the php n this case searchresults.php cuz you are already in your domine if you put all the adress the resul migth bee
http://yoursite.com/forum/searchresu...://wwwyoursite......,
and also in the searchresults.php on the line 8 i change the path and thats all i need now is working now thankts for you mod is soo cool

i know this is almost equal to the one from davidw i dont know what i did the only this s woring now dot ask i don?t know what i did

and also i add class to button and textfield you can change it to fit your sikin

sorry for my english mexican here
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01301 seconds
  • Memory Usage 1,780KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete