PDA

View Full Version : MySearch Module


PtP
07-12-2004, 09:25 PM
This will add a MySearch module to your CMPS...

In your Admincp - Styles & Templates - Style Manager - Add a new template called "adv_portal_mysearch".

Insert this code into the template:


<script language="JavaScript" type="text/javascript">
function fiSearchFormMaxSubmit(form) {
var goToThisUrl='http://mysearch.myway.com/jsp/cfg_redir.jsp?id=AX006085&url=http://mysearch.myway.com/jsp/GGmain.jsp?';
goToThisUrl+='searchfor='+document.fiSearchForm.searchfor.value;
window.open(goToThisUrl);
return false;
}
</script>
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbullet] MySearch</b></span></td>
</tr>
<tr>
<td class="alt1" align="center"><br />
<a href="http://www.myway.com/" target="_blank"><img src="$stylevar[imgdir_misc]/myway.gif" border="0" alt="MyWay"></a><br /><br />
<form method="get" name="fiSearchForm" id="fiSearchForm" onsubmit='return fiSearchFormMaxSubmit(this)'>
<input type="text" name="searchfor" size="20" maxlength="255" value='' /> <br /><br />
<input type="submit" value="Search" />
<br /><br />
</td>
</tr>
</table>
<br/>


Save the template!


Still in your Admincp - vBa CMPS - Add Module

- Module Title - MySearch
- Module Identifier - Leave blank
- OR Template to Include - mysearch
- Activate and select the column you want it in.
- Save and you are done.


- Copy attached myway.gif into your style/misc directory.
- Both light and dark background transparent gifs are supplied so use the one that suits your style.
- Make sure you put the gif in every misc directory of every style you use.

Merjawy
07-12-2004, 09:31 PM
Thanx Ptp, but what does my search do? is it different from the search module already in CMPS?

Our Sponsors
 

PtP
07-12-2004, 09:36 PM
Sorry should have explained more I suppose :(

http://www.myway.com/

It is a search engine that when used searches google,yahoo,askjeeves,and look smart all at once and gives you the results on a tabbed page where you can tab between all the results.

PtP
07-12-2004, 09:42 PM
Oh its also running live here (http://www.oznetgamer.com/) down the bottom right hand side.

Our Sponsors
 

Merjawy
07-12-2004, 10:01 PM
Thnx :)

Kengan
07-18-2004, 06:27 AM
thanks !!

Chuckie
07-18-2004, 10:01 AM
Just wanted to mention that MySearch is listed as Adware/Spyware. It will add Adware/Spyware scripts to your visitors PC's. Your members that use Spybot Immunize and Spyblaster 3.2 will not be able to use this feature as these programs block MySearch access.

Not to rain on a decent man's work PtP, just I hate adware/spyware in any form.

dcraftjr
10-13-2004, 03:57 PM
im really mad at mysearch cause it uses adware to install its toolbar into my browser.