![]() |
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. :)
|
All times are GMT. The time now is 06:29 PM. |
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:
|