Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advanced portal Search ( google search )
#1
HI


Author: OmidKarimzadeh ( ! Omid StaR ! )
mian link: http://mods.mybb.com/view-resource/advan...tal-search
Support: http://mybbskin.ir
web: http://iran-talk.ir

Please go to

ACP >>> Templates & Style >>> Themes >>> Your Theme >>>portal>>>portal_search

Please replace the previous



<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
  <tr>
  <td><strong>{$lang->search_forums}</strong></td>
  </tr>
  <tr>
  <td align="center">
  <form method="post" action="{$mybb->settings['bburl']}/search.php">
  <input type="hidden" name="action" value="do_search" />
  <input type="hidden" name="postthread" value="1" />
  <input type="hidden" name="forums" value="all" />
  <input type="hidden" name="showresults" value="threads" />
  <input type="text" name="keywords" value="" />
  {$gobutton}
  </form><br />
  <span>
  (<a href="{$mybb->settings['bburl']}/search.php">{$lang->advanced_search}</a>)
  </span>
  </td>
  </tr>
  </table>
  <br />
  <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
  <tr>
  <td><strong>{$lang->search_forums}</strong></td>
  </tr>
  <tr>
  <td align="center">
  <form method="get" action="http://www.google.com/search" target="_blank" >
  
  <p align="center">
  
  <input type="text"   name="q" size="31"
   maxlength="255" value="" />
  <input type="submit" value="جستجو"/>
  <input type="radio"  name="sitesearch"
   value="iran-talk.ir" checked /> google search <br />
  </p>
  </form>
  </div>
  
  <br />
  <span>
  (<a href="{$mybb->settings['bburl']}/search.php">{$lang->advanced_search}</a>)
  </span>
  </td>
  </tr>
  </table>
  <br /> 


find:

 value="iran-talk.ir"

adding your site Instead iran-talk.ir


Good luck
Omid Karimzadeh (!ArTiN!)
http://mybulletinboard.ir


Sample:


Attached Files Thumbnail(s)
   
Reply
#2
Thanks for sharing. Can be useful.
Why is MyBB FREE? Because "Free never tasted so good"!
And what we (the users) can do is [...]
Reply
#3
(11-14-2013, 11:57 AM)Flavius Popa Wrote: Thanks for sharing. Can be useful.

have a good time my friend Heart
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)