![]() |
super mode
10x mate just one question ...can i set it up to search just within one forum or just within one category ? 10x again |
Quote:
|
CraiovaOnLine, Yes, add after
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
more instructions please, not so clear... it's for forms, not for my default search, uninstalled as not needed, thanks
|
The following is the contents of the vbulletin_live_ajax_search.js file:
Code:
/** Thanx, Jacquii. |
Here:
Code:
/** |
it seems that the search function works well under the site.com/forum/ but when you move to a different place like site.com/wiki/ and do a search from there, it will return error.
I tried to search in the top level domain site.com/ and it returns something like this http://www.site.com/ 67.86.193.xxx /ajax_search.php?query=and www.site.com Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3 (.NET CLR 3.5.30729) 404 Please contact admin if you can not find the content you are looking for. This should be easy by using relative path instead of absolute path? |
Hi MAXIM :)
Actually- I have the 1st version installed at http://JPiCForum.info - it works just fine with vBSEO installed - I've installed the current version on http://DiscussWLS.com - and the it does not work with vBSEO installed. Not only that - but I could not find the edit to make it work on the vBadvanced page. You probably need to clarify the instructions in the download folder. So my question - Can you make the 1st version upload available for download again please? Thanx, Jacquii. |
OMG. Use lasted version of mod also files.
|
you can find ver 1.2 a few page back. Someone posted it there.
|
Thanx ;)
Jacquii. |
My mod does't have connection with vbseo:)
|
Found the problem with subdirs like /forum
You should replace: $vboptions[bburl] with: $vbulletin->options[bburl] on line 78 of ajax_search.php ($vboptions[bburl] return only yourdomain.com while the new var return yourdomain.com/forum or whatever is your full bb url) I also recommend mad@Max put this line (add before 15th line) on clientscript/vbulletin_ajax_live_search.js: var hurl="" then people will easier find what to edit |
Mod is updated.
I grouped the templates and added another template. LordNinja Quote:
|
mad@Max,
i know it. i was talking about 2 different things. the first one (bburl) is because $vboptions[bburl] return only the domain, not the full url of the forum, like $vbulletin->options[bburl]. then search works (results are shown on the float panel) but all result links are to "domain.com/showthread.php" instead "domain.com/forum/showthread.php" then you have a 404 when click it. the second (the recommendation i made you) is just to make the file edit easier for those who have vBAvanced. example: Code:
var hurl="" nice mod, anyway :) |
Look, in the main settings vb, while vb installing, you must write path to your main page (like site.com) and to forum (like site.com or site.com/forum), second url get my variable :)
PS if your forum placed in site.com/forum and you set $vbulletin->options[bburl] as site.com, you will get error. |
Try yourself.
Forum Name: My Site Forums Forum URL: http://www.mysite.com/forums Homepage Name: My Site Homepage URL: http://www.mysite.com $vbulletin->options[bburl] return http://www.mysite.com/forums $vboptions[bburl] return http://www.mysite.com vBulletin 3.7.2 |
So, i rewrite many functions in my mod, but most importantly i got rid of files, now just one product :)
PS Some features i took from Advanced Quick Search - with AJAX by ChangUonDyU . |
Max, you shouldn't remove the old version files when you update in case people still need the old versions if something breaks.
I'm looking for the old 1.32 version if anyone still have it. |
Ok, if you need this version, take it. :)
|
thanks max.
Do you know how to get the Thread and Forum on top of your search result? You can try to do a search at my forum and see it's not like at your forum. I don't know where do you use lsearch template. |
Quantnet.org, i advice you to install a new version:)
|
Quote:
|
Quantnet.org, try comment this string in module Live Search AJAX
PHP Code:
|
It's a no go. Try both.
Try to adjust the window size, location and it doesn't affect at all. |
Mb this is some conflict, because on clear forum all worked:)
|
Hi mad@Max. :)
I still use Version 1.0 and it works just sm00th. Made a few style changes and did not want to update it. ^^ My question: Since this hack makes querrys for searchs, is it not able to abuse this hack? Freaks might use it all the day... even bots? Thx ;) |
Yes, hack makes queries, but not large. In any case, the search can be switched off for guests (handly). In next version i will make option for this:)
PS Now you can limit order for the threads output (optional), thus can reduce the load. |
Ok, I installed it and want it to make use of the standard-search-box in the navbar-dropdown.
I get it working/searching, but the popup-window is MUCH too large, the settings do not take real effect... Maybe I did not integrate it correctly in the template ? in NAVBAR I did replace Code:
<input type="text" class="bginput" name="query" size="25" tabindex="1001" /> Code:
<input type="text" class="bginput" id="search_input" name="query" size="25" maxlength="$vboptions[lsa_maxsym]" value="$vbphrase[lsa_live_search]" onfocus="if(this.value=='$vbphrase[lsa_live_search]'){this.value=''}; showHint();" onblur="if (this.value==''){this.value='$vbphrase[lsa_live_search]'}" onkeyup="showHint();" tabindex="1001" /> |
Not can be:) Window is resizeable and movable in settings. I just check it, if put live search in default vb search field.
|
Ok, I am looking forward for your hint :)
|
Can you give me screenshot?
|
sure - see attached ... working fine in Firefox but not in IE7
(sorry language on screenshot is german) |
hi i see 1 problem!
if you installed on domain/forums/ is fine ! but for subdomains not working and waiting ! for example : forums.mydomain.com/ !! waiting but domain.com/forums/ is working and fine! |
Please give me refer to your sites to study the problem.
|
@nesta1:
I am not using subdomains, it is domain/board/ or was your posting not refered to my problem ? ;) @mad@Max: I will first try something else on a fresh 3.7.4 and then come back to you... |
MrZeropage, on fresh board mod is worked...
|
sorry, but I now tried a new fresh test-vBulletin and it does the same (in IE)
|
Oh, you right, f*cking ie :) Soon will fix it.
|
Version 1.6:
fixed bug of pop-up window in ie and limit the number of displayed results group permission search by your own forums sort results of search |
All times are GMT. The time now is 02:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|