News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

[Aporte] Crear un buscador google personalizado

Started by josan, February 27, 2009, 03:16:24 AM

Previous topic - Next topic

josan

Hola a ver esto es muy facil de aplicar, vamos a agregar un buscador personalizado en nuestros foros con la tecnologia de google, les dejo esta captura de como se ve.



asi se ve en el theme que usemos, ahora al realizar la busqueda al usuario lo dirije a una nueva pagina y se ve asi.



Ahora vamos a crear el mismo , para ello nos dirijimos a

http://www.google.es/coop/cse/

Una vez dentro de esa pagina damos clic al boton que muestro en la imagen.




Rellenamos con los datos que nos pide y procedemos a crearlo, una vez hecho ese paso nos queda insertar el codigo en nuestro foro , para ello vamos al Panel de control donde hemos creado el buscador en concreto buscamos donde dice Codigo. 



ahi nos muestra el codigo que pondremos en el foro a los que hay que hacerle una pequeña modificacion como agregarle target="_blank" que hara que se vea la busqueda en nueva ventana.

ahora bien en mi caso me dio este codigo:

Quote<form action="http://www.google.com/cse" id="cse-search-box">
  <div>
    <input type="hidden" name="cx" value="006193273696167028609:qibzo6gy47a" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Buscar" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script>

Al que como les digo le falta agregar el target="_blank" , una ves modificado fijarse donde lo he puesto :

<form action="http://www.google.com/cse" id="cse-search-box"target="_blank">
  <div>
    <input type="hidden" name="cx" value="006193273696167028609:qibzo6gy47a" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Buscar" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script>

Justo despues de cse-search-box"

Bien hasta ahi todo normal ahora nos falta agregarlo a nuestro theme para ello abrimos el index.template.php del theme que usemos y buscamos:

// Show the navigation tree.
   theme_linktree();


justo abajo de eso agregar: nuestro codigo ejemplo el mio es:

Quote// IN GOOGLE SEARCH
   echo '
      <br />
  <div style="text-align:center">



<form action="http://www.google.com/cse" id="cse-search-box"target="_blank">
  <div>
    <input type="hidden" name="cx" value="006193273696167028609:qibzo6gy47a" />
    <input type="hidden" name="ie" value="UTF-8" />
    <input type="text" name="q" size="31" />
    <input type="submit" name="sa" value="Buscar" />
  </div>
</form>

<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&lang=es"></script> 

  <br /></div>';
           // END GOOGLE SEARCH

si se fijan bien solo le hace falta agregar antes del codigo estas lineas para que funciones sin problemas en smf

justo antes del codigo

echo '
       <br />
  <div style="text-align:center">

(luego iria el codigo)

y al final del codigo tambien fijarse y no olvidarse de poner:

<br /></div>';


Con ello ya has puesto un buscador personalizado a tu foro con el nombre de tu foro, espero les sirva esta ayuda y si tienen dudas consulten que para eso estamos.

saludos


si gustan ver como queda les dejo la url de mi foro

www.warezgods.info/foro/index.php  y veran el resultado

PosibleHost.Com » Proudly serving websites since 2009.
Shared Hosting » Reseller Hosting » VPS Servers. At An Affordable Price.
English and Spanish 24/7 Support Staff!



josan

#3
Quote from: NIBOGO on February 27, 2009, 07:59:53 PM
Busque MUNDO-SE.COM desde su busqueda personalizada y sale practicamente lo mismo que en google.

Personalmente me gusta mucho el buscador de SMF

Claro que sale lo mismo, si acaso no lo sabe estimado usa el motor de busqueda de google, que no ve desde donde se crea el mismo? lo unico que cambia  es que esta personalizado por nosotros o mejor dicho por cada uno, ya que le ponemos las descripcion de lo que hay en nuestro foro, los key del mismo, o sea lo hacemos al gusto nuestro, y esto no cambia el motor de busqueda de smf, el mismo sigue estando ahi, este es para darle un toque diferente a cada foro y se puede complementar con el busca de smf, vamos digamos una opcion mas añadida ,y siempre saldra lo mismo que en google , ya que como le digo usa su motor de busqueda.

PosibleHost.Com » Proudly serving websites since 2009.
Shared Hosting » Reseller Hosting » VPS Servers. At An Affordable Price.
English and Spanish 24/7 Support Staff!

Nibogo

Quote from: josan on February 28, 2009, 03:20:19 AM
Quote from: NIBOGO on February 27, 2009, 07:59:53 PM
Busque MUNDO-SE.COM desde su busqueda personalizada y sale practicamente lo mismo que en google.

Personalmente me gusta mucho el buscador de SMF

Claro que sale lo mismo, si acaso no lo sabe estimado usa el motor de busqueda de google, que no ve desde donde se crea el mismo? lo unico que cambia  es que esta personalizado por nosotros o mejor dicho por cada uno, ya que le ponemos las descripcion de lo que hay en nuestro foro, los key del mismo, o sea lo hacemos al gusto nuestro, y esto no cambia el motor de busqueda de smf, el mismo sigue estando ahi, este es para darle un toque diferente a cada foro y se puede complementar con el busca de smf, vamos digamos una opcion mas añadida ,y siempre saldra lo mismo que en google , ya que como le digo usa su motor de busqueda.

Me refiero a que deberia a ajustarlo para que buscara internamente en su site , seria mejor para potenciar los resultados de su pagina

4Kstore

Esta bueno esto si tenes una buena indexacion con google, ya que asi no consumis los recursos que usa el buscador del propio smf.
Slaudos!

¡¡NEW MOD: Sparkles User Names!!!

franklinrony

muy bueno yo lo usaba con mi tema softblue y quedaba bastante bien, solo que tiene sus pro y contras, como ventaja  como decian te permite ahorrarte ancho de banda y percibir algo de dinero extra si se tienen vinculado con adsense, como desventaja si el foro no es visible para los visitantes de poco ayuda tenerlo funcionando ,al menos no se tendria que sustitu por completo por el que trae el foro, como suelen hacer algunos, pero en general funciona bastante bien
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----


[Dn]

Pienso que en lugar de abrirlo en una nueva página, quedaría mejor si los resultados se abrieran en el lugar asignado al contenido, es decir debajo del menú y por encima del footer.

Así sería menos molesto para los usuarios. Lo único que se me ocurre es copiar el html y hacer una página para los resultados, similar a la del foro y con las características que mencione. Pero esto no sirve si usas varios themes en tu foro.

Alguien sabe como podría hacerse???

franklinrony

buscando pro alli encontre algo que tenia, para que te lomuestre en el mismo foro crea una archivo llamdo busqueda.php

con el siguiente contenido


<?php
echo'<link rel="stylesheet" type="text/css" href="ruta de tu tema/style.css" />';
require(
"SSI.php");

//Display the main header
echo '
<div class="logo-border">
<div class="logo-box"><a href="'
, $scripturl, '"><img src="' . $settings['images_url'] . '/logo.gif" width="225" height="75" alt="', $context['page_title'], '" title="', $context['page_title'], '" /></a></div>
<div class="navBar">
<!-- BEGIN mainNav -->
'
, template_menu(), '
<!-- END mainNav -->
</div>
</div>'
;

echo
'<!-- Google CSE Search Box Begins  -->

<form action="http://www.mercado-negro.net/busqueda.php" id="searchbox_005136173513979653572:yblp-o5dyis">  <input type="hidden" name="cx" value="005136173513979653572:yblp-o5dyis" />  <input type="hidden" name="cof" value="FORID:11" />  <input type="text" name="q" size="25" />  <input type="submit" name="sa" value="Buscar" /> </form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_005136173513979653572%3Ayblp-o5dyis&lang=es"></script>
'
;
echo
'<!-- Google Search Result Snippet Begins -->
<!-- Google Search Result Snippet Ends -->'
;

// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
echo '

<div id="footerarea" style="text-align: center; padding-bottom: 1ex;'
, $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function smfFooterHighlight(element, value)
{
element.src = smf_images_url + "/" + (value ? "h_" : "") + element.id + ".gif";
}
// ]]></script>
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="left">
<a href="http://www.webtechnica.net/" target="_blank"><img src="'
, $settings['images_url'], '/88x31_banner_white.gif" width="88" height="31" alt="Theme by webtechnica.net" title="Theme by webtechnica.net" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;" class="copyright-links">
'
, theme_copyright(), '<br /><span class="smalltext">', tportal_version(), '</span>
</td>
<td width="28%" valign="middle" align="right" class="copyright-links">
<a href="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http://www.php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http://validator.w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" style="font-size:10px;">CSS</a>
</td>
</tr>
</table>'
;

?>


y en tu tema agregas alg como esto en el index.template.php



<!-- Google CSE Search Box Begins  -->

<
form action="http://url del foro/busqueda.php" id="searchbox_005136173513979653572:yblp-o5dyis">  <input type="hidden" name="cx" value="005136173513979653572:yblp-o5dyis" />  <input type="hidden" name="cof" value="FORID:11" />  <input type="text" name="q" size="19" />  <input type="submit" name="sa" value="Buscar" /> </form>

<
script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=searchbox_005136173513979653572%3Ayblp-o5dyis&lang=es"></script>


solo que deberas hacerlo con el codigo provisto por google
http://twitter.com/franklinrony

Entra y aprende a ser un webmaster
www.sv-blog.com
--Si pides ayuda al menos agradece el soporte recibido----

[Dn]

Hola frony

Gracias por la respuesta, pero tiene el mismo problema que mencione.

Lo que hace el código es crear una página igual a la de tu tema y para ello llama a

<link rel="stylesheet" type="text/css" href="ruta de tu tema/style.css" />

Pero en el caso que tengas habilitada la opción de que cada usuario pueda escoger su propio tema ,entonces la ruta varía de acuerdo al tema que el usuario utilice. Y ese es el problema que tengo.

Es decir un usuario usa tema "Ejemplo2"  y mi tema por defecto es el tema "Ejemplo1"

Entonces al realizar una búsqueda pasara del tema "Ejemplo2"  al tema "Ejemplo1" y luego volverá a su tema.

Yo no quiero que salte del tema, claro que no es un gran problema pero me gustaría hacerlo como te dije. Pienso que la solución esta en la hoja de estilos que varía según el usuario. No se como maneja eso SMF. Si alguien tiene la info se lo agradeceré mucho

xxgrosoxx

#11
Hola soy nuevo en esto y quisiera que me dijeran como hago para visualizar esos codigos html xq reviso el index.php  que esta en mi hosting y me sale es así

<?php
/**********************************************************************************
* index.php                                                                       *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email][email protected][/email])                    *
* =============================================================================== *
* Software Version:           SMF 1.1.8                                           *
* Software by:                Simple Machines ([url]http://www.simplemachines.org[/url])     *
* Copyright 2006-2007 by:     Simple Machines LLC ([url]http://www.simplemachines.org[/url]) *
*           2001-2006 by:     Lewis Media ([url]http://www.lewismedia.com[/url])             *
* Support, News, Updates at:  [url]http://www.simplemachines.org[/url]                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at [url]http://www.simplemachines.org[/url].        *
**********************************************************************************/


/*   This, as you have probably guessed, is the crux on which SMF functions.
  Everything should start here, so all the setup and security is done
  properly.  The most interesting part of this file is the action array in
  the smf_main() function.  It is formatted as so:

     'action-in-url' => array('Source-File.php', 'FunctionToCall'),

  Then, you can access the FunctionToCall() function from Source-File.php
  with the URL index.php?action=action-in-url.  Relatively simple, no?
*/

$forum_version = 'SMF 1.1.8';

// Get everything started up...
define('SMF', 1);
@
set_magic_quotes_runtime(0);
error_reporting(E_ALL);
$time_start = microtime();

// Make sure some things simply do not exist.
foreach (array('db_character_set') as $variable)
  if (isset(
$GLOBALS[$variable]))
     unset(
$GLOBALS[$variable]);

// Load the settings...
require_once(dirname(__FILE__) . '/Settings.php');

// And important includes.
require_once($sourcedir . '/QueryString.php');
require_once(
$sourcedir . '/Subs.php');
require_once(
$sourcedir . '/Errors.php');
require_once(
$sourcedir . '/Load.php');
require_once(
$sourcedir . '/Security.php');
require_once(
$sourcedir . '/SPortal1-1.php');
// Hack's Park Shoutbox -->
require_once($sourcedir . '/Subs-Shoutbox.php');
// <-- Hack's Park Shoutbox

// Using an old version of PHP?
if (@version_compare(PHP_VERSION, '4.2.3') != 1)
  require_once(
$sourcedir . '/Subs-Compat.php');

// If $maintenance is set specifically to 2, then we're upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
 
db_fatal_error();

// Connect to the MySQL database.
if (empty($db_persist))
 
$db_connection = @mysql_connect($db_server, $db_user, $db_passwd);
else
 
$db_connection = @mysql_pconnect($db_server, $db_user, $db_passwd);

// Show an error if the connection couldn't be made.
if (!$db_connection || !@mysql_select_db($db_name, $db_connection))
 
db_fatal_error();

// Load the settings from the settings table, and perform operations like optimizing.
reloadSettings();
// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();

// Seed the random generator?
if (empty($modSettings['rand_seed']) || mt_rand(1, 250) == 69)
 
smf_seed_generator();

// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
 
$_REQUEST['wap2'] = 1;
elseif (isset(
$_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
  if (
strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
     
$_REQUEST['imode'] = 1;
  else
     
$_REQUEST['wap'] = 1;
}

if (!
defined('WIRELESS'))
 
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
 
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' : '')));

 
// Some cellphones can't handle output compression...
 
$modSettings['enableCompressedOutput'] = '0';
 
// !!! Do we want these hard coded?
 
$modSettings['defaultMaxMessages'] = 5;
 
$modSettings['defaultMaxTopics'] = 9;

 
// Wireless protocol header.
 
if (WIRELESS_PROTOCOL == 'wap')
     
header('Content-Type: text/vnd.wap.wml');
}

// Check if compressed output is enabled, supported, and not already being done.
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 0)
{
 
// If zlib is being used, turn off output compression.
 
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler' || @version_compare(PHP_VERSION, '4.2.0') == -1)
     
$modSettings['enableCompressedOutput'] = '0';
  else
     
ob_start('ob_gzhandler');
}
// This makes it so headers can be sent!
if (empty($modSettings['enableCompressedOutput']))
 
ob_start();

// Register an error handler.
set_error_handler('error_handler');

// Start the session. (assuming it hasn't already been.)
loadSession();

// What function shall we execute? (done like this for memory's sake.)
// Hack's Park Shoutbox -->
call_user_func(Shoutbox_Load(smf_main()));
// <-- Hack's Park Shoutbox

// Call obExit specially; we're coming from the main area ;) .
obExit(null, null, true);

// The main controlling function.
function smf_main()
{
  global
$modSettings, $settings, $user_info, $board, $topic, $maintenance, $sourcedir;

 
// Special case: session keep-alive.
 
if (isset($_GET['action']) && $_GET['action'] == 'keepalive')
     die;

 
// Load the user's cookie (or set as guest) and load their settings.
 
loadUserSettings();

 
// Load the current board's information.
 
loadBoard();

 
// Load the current theme.  (note that ?theme=1 will also work, may be used for guest theming.)
 
loadTheme();

 
// Check if the user should be disallowed access.
 
is_not_banned();

 
// Load the current user's permissions.
 
loadPermissions();

 
// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
 
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach', 'jsoption', '.xml')))
  {
     
// Log this user as online.
     
writeLog();

     
// Track forum statistics and hits...?
     
if (!empty($modSettings['hitStats']) && (empty($_REQUEST['action']) || $_REQUEST['action'] != 'shoutbox'))
       
trackStats(array('hits' => '+'));
  }

 
// Load SimplePortal.
 
sportal_init();

 
// Is the forum in maintenance mode? (doesn't apply to administrators.)
 
if (!empty($maintenance) && !allowedTo('admin_forum'))
  {
     
// You can only login.... otherwise, you're getting the "maintenance mode" display.
     
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
     {
        require_once(
$sourcedir . '/LogInOut.php');
        return
$_REQUEST['action'] == 'login2' ? 'Login2' : 'Logout';
     }
     
// Don't even try it, sonny.
     
else
     {
        require_once(
$sourcedir . '/Subs-Auth.php');
        return
'InMaintenance';
     }
  }
 
// If guest access is off, a guest can only do one of the very few following actions.
 
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa', 'login', 'login2', 'register', 'register2', 'reminder', 'activate', 'smstats', 'help', '.xml', 'verificationcode'))))
  {
     require_once(
$sourcedir . '/Subs-Auth.php');
     return
'KickGuest';
  }
  elseif (empty(
$_REQUEST['action']))
  {
     
// Action and board are both empty... SPortal!
     
if (empty($board) && empty($topic) && $modSettings['sp_portal_mode'] == 1)
     {
        require_once(
$sourcedir . '/SPortal1-1.php');
        return
'SPortal';
     }
     
// Action and board are still both empty but no portal... BoardIndex
     
elseif (empty($board) && empty($topic))
     {
        require_once(
$sourcedir . '/BoardIndex.php');
        return
'BoardIndex';
     }
     
// Topic is empty, and action is empty.... MessageIndex!
     
elseif (empty($topic))
     {
        require_once(
$sourcedir . '/MessageIndex.php');
        return
'MessageIndex';
     }
     
// Board is not empty... topic is not empty... action is empty.. Display!
     
else
     {
        require_once(
$sourcedir . '/Display.php');
        return
'Display';
     }
  }

 
// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
 
$actionArray = array(
     
'activate' => array('Register.php', 'Activate'),
     
'admin' => array('Admin.php', 'Admin'),
     
'announce' => array('Post.php', 'AnnounceTopic'),
     
'ban' => array('ManageBans.php', 'Ban'),
     
'boardrecount' => array('Admin.php', 'AdminBoardRecount'),
     
'buddy' => array('Subs-Members.php', 'BuddyListToggle'),
     
'calendar' => array('Calendar.php', 'CalendarMain'),
     
'cleanperms' => array('Admin.php', 'CleanupPermissions'),
     
'collapse' => array('Subs-Boards.php', 'CollapseCategory'),
     
'convertentities' => array('Admin.php', 'ConvertEntities'),
     
'convertutf8' => array('Admin.php', 'ConvertUtf8'),
     
'coppa' => array('Register.php', 'CoppaForm'),
     
'deletemsg' => array('RemoveTopic.php', 'DeleteMessage'),
     
'detailedversion' => array('Admin.php', 'VersionDetail'),
     
'display' => array('Display.php', 'Display'),
     
'dlattach' => array('Display.php', 'Download'),
     
'dumpdb' => array('DumpDatabase.php', 'DumpDatabase2'),
     
'editpoll' => array('Poll.php', 'EditPoll'),
     
'editpoll2' => array('Poll.php', 'EditPoll2'),
     
'featuresettings' => array('ModSettings.php', 'ModifyFeatureSettings'),
     
'featuresettings2' => array('ModSettings.php', 'ModifyFeatureSettings2'),
     
'findmember' => array('Subs-Auth.php', 'JSMembers'),
     
'forum' => array('BoardIndex.php', 'BoardIndex'),
     
'spadmin' => array('SPortalAdmin1-1.php', 'SPortalAdmin'),
     
'help' => array('Help.php', 'ShowHelp'),
     
'helpadmin' => array('Help.php', 'ShowAdminHelp'),
     
'im' => array('PersonalMessage.php', 'MessageMain'),
     
'jsoption' => array('Themes.php', 'SetJavaScript'),
     
'jsmodify' => array('Post.php', 'JavaScriptModify'),
     
'lock' => array('LockTopic.php', 'LockTopic'),
     
'lockVoting' => array('Poll.php', 'LockVoting'),
     
'login' => array('LogInOut.php', 'Login'),
     
'login2' => array('LogInOut.php', 'Login2'),
     
'logout' => array('LogInOut.php', 'Logout'),
     
'maintain' => array('Admin.php', 'Maintenance'),
     
'manageattachments' => array('ManageAttachments.php', 'ManageAttachments'),
     
'manageboards' => array('ManageBoards.php', 'ManageBoards'),
     
'managecalendar' => array('ManageCalendar.php', 'ManageCalendar'),
     
'managesearch' => array('ManageSearch.php', 'ManageSearch'),
     
'markasread' => array('Subs-Boards.php', 'MarkRead'),
     
'membergroups' => array('ManageMembergroups.php', 'ModifyMembergroups'),
     
'mergetopics' => array('SplitTopics.php', 'MergeTopics'),
     
'mlist' => array('Memberlist.php', 'Memberlist'),
     
'modifycat' => array('ManageBoards.php', 'ModifyCat'),
     
'modifykarma' => array('Karma.php', 'ModifyKarma'),
     
'modlog' => array('Modlog.php', 'ViewModlog'),
     
'movetopic' => array('MoveTopic.php', 'MoveTopic'),
     
'movetopic2' => array('MoveTopic.php', 'MoveTopic2'),
     
'news' => array('ManageNews.php', 'ManageNews'),
     
'notify' => array('Notify.php', 'Notify'),
     
'notifyboard' => array('Notify.php', 'BoardNotify'),
     
'optimizetables' => array('Admin.php', 'OptimizeTables'),
     
'packageget' => array('PackageGet.php', 'PackageGet'),
     
'packages' => array('Packages.php', 'Packages'),
     
'permissions' => array('ManagePermissions.php', 'ModifyPermissions'),
     
'pgdownload' => array('PackageGet.php', 'PackageGet'),
     
'pm' => array('PersonalMessage.php', 'MessageMain'),
     
'post' => array('Post.php', 'Post'),
     
'post2' => array('Post.php', 'Post2'),
     
'postsettings' => array('ManagePosts.php', 'ManagePostSettings'),
     
'printpage' => array('Printpage.php', 'PrintTopic'),
     
'profile' => array('Profile.php', 'ModifyProfile'),
     
'profile2' => array('Profile.php', 'ModifyProfile2'),
     
'quotefast' => array('Post.php', 'QuoteFast'),
     
'quickmod' => array('Subs-Boards.php', 'QuickModeration'),
     
'quickmod2' => array('Subs-Boards.php', 'QuickModeration2'),
     
'recent' => array('Recent.php', 'RecentPosts'),
     
'regcenter' => array('ManageRegistration.php', 'RegCenter'),
     
'register' => array('Register.php', 'Register'),
     
'register2' => array('Register.php', 'Register2'),
     
'reminder' => array('Reminder.php', 'RemindMe'),
     
'removetopic2' => array('RemoveTopic.php', 'RemoveTopic2'),
     
'removeoldtopics2' => array('RemoveTopic.php', 'RemoveOldTopics2'),
     
'removepoll' => array('Poll.php', 'RemovePoll'),
     
'repairboards' => array('RepairBoards.php', 'RepairBoards'),
     
'reporttm' => array('SendTopic.php', 'ReportToModerator'),
     
'reports' => array('Reports.php', 'ReportsMain'),
     
'requestmembers' => array('Subs-Auth.php', 'RequestMembers'),
     
'search' => array('Search.php', 'PlushSearch1'),
     
'search2' => array('Search.php', 'PlushSearch2'),
     
'sendtopic' => array('SendTopic.php', 'SendTopic'),
     
'serversettings' => array('ManageServer.php', 'ModifySettings'),
     
'serversettings2' => array('ManageServer.php', 'ModifySettings2'),
     
// Hack's Park Shoutbox -->
     
'shoutbox' => array('Shoutbox.php', 'Shoutbox'),
     
'manageshoutbox' => array('ManageShoutbox.php', 'ManageShoutbox'),
     
// <-- Hack's Park Shoutbox
     
'smileys' => array('ManageSmileys.php', 'ManageSmileys'),
     
'smstats' => array('Stats.php', 'SMStats'),
     
'spellcheck' => array('Subs-Post.php', 'SpellCheck'),
     
'splittopics' => array('SplitTopics.php', 'SplitTopics'),
     
'stats' => array('Stats.php', 'DisplayStats'),
     
'sticky' => array('LockTopic.php', 'Sticky'),
     
'theme' => array('Themes.php', 'ThemesMain'),
     
'trackip' => array('Profile.php', 'trackIP'),
     
'about:mozilla' => array('Karma.php', 'BookOfUnknown'),
     
'about:unknown' => array('Karma.php', 'BookOfUnknown'),
     
'unread' => array('Recent.php', 'UnreadTopics'),
     
'unreadreplies' => array('Recent.php', 'UnreadTopics'),
     
'viewErrorLog' => array('ManageErrors.php', 'ViewErrorLog'),
     
'viewmembers' => array('ManageMembers.php', 'ViewMembers'),
     
'viewprofile' => array('Profile.php', 'ModifyProfile'),
     
'verificationcode' => array('Register.php', 'VerificationCode'),
     
'vote' => array('Poll.php', 'Vote'),
     
'viewquery' => array('ViewQuery.php', 'ViewQuery'),
     
'who' => array('Who.php', 'Who'),
     
'.xml' => array('News.php', 'ShowXmlFeed'),
  );

 
// Get the function and file to include - if it's not there, do the board index.
 
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
  {
     
// Catch the action with the theme?
     
if (!empty($settings['catch_action']))
     {
        require_once(
$sourcedir . '/Themes.php');
        return
'WrapAction';
     }

     
// Fall through to the board index then...
     
require_once($sourcedir . '/BoardIndex.php');
     return
'BoardIndex';
  }

 
// Otherwise, it was set - so let's go to that action.
 
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
  return
$actionArray[$_REQUEST['action']][1];
}

?>

AWES0MN

Quote from: NIBOGO on February 27, 2009, 07:59:53 PM
Busque MUNDO-SE.COM desde su busqueda personalizada y sale practicamente lo mismo que en google.

Personalmente me gusta mucho el buscador de SMF
Tienes razón.

Aunque busque así: site:mundo-se.com

y salen todos los post.
Entra ya ha Kebytes.eu - Foro de tecnología. Si es bueno, Why not?

http://kebytes.eu/

nurg

Hola

alguna sugerencia para ubicar el buscador de google donde esta el de smf

Gracias
VISITA MI FORO SMF
Si quieres que te instale un foro SMF no dudes en contactarme.

Advertisement: