Quote:
Originally Posted by coderphp
this is not an error
the Mod is supposed to work only on forum's pages
not tested on VBAdvanced or any other Mod
thanx 
|
You need Edit code if you wanna to use with CMPS.
* /forums/ or /forum/ , It's mean forum root name.
You just change /forums/ to your site's forum root name.
===========================================
1. ajax_search.php-------------
Quote:
echo "<a href=\"showthread.php?t=".$result['threadid']."\">" . $result['title'] . "</a><br />";
--->
echo "<a href=\"/forums/showthread.php?t=".$result['threadid']."\">" . $result['title'] . "</a><br />";
|
2. "headinclude" template--------------
Quote:
var url="ajax_search.php"
url=url+"?query="+word
xmlHttp3.onreadystatechange=stateChanged3
xmlHttp3.open("GET",url,true)
xmlHttp3.send(null)
---->
var url="/forums/ajax_search.php"
url=url+"?query="+word
xmlHttp3.onreadystatechange=stateChanged3
xmlHttp3.open("GET",url,true)
xmlHttp3.send(null)
|
3. "header" template-----------------
Quote:
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
--->
<form action="/forums/search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
|
Good luck