vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - [AJAX] Live Search (https://vborg.vbsupport.ru/showthread.php?t=189970)

PoetJA-1975 11-02-2008 07:35 AM

Thanx ;)

Jacquii.

mad@Max 11-02-2008 11:24 AM

My mod does't have connection with vbseo:)

LordNinja 11-19-2008 02:01 AM

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

mad@Max 12-13-2008 07:58 PM

Mod is updated.
I grouped the templates and added another template.
LordNinja
Quote:

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
For what? Link of your forum get from vb setting. This link get my variable.

LordNinja 12-15-2008 02:23 AM

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=""
        var url=hurl+"ajax_search.php"

then people will make you less questions like you read in the first page of this thread :)

nice mod, anyway :)

mad@Max 12-15-2008 07:52 AM

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.

LordNinja 12-16-2008 02:06 AM

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

mad@Max 12-20-2008 06:57 PM

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 .

Quantnet 12-20-2008 10:11 PM

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.

mad@Max 12-20-2008 11:20 PM

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
  • Page Generation 0.01237 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete