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)

MrZeropage 12-24-2008 08:08 PM

Thanks alot, but please check the XML, is it not complete english...

dvbusuario 12-24-2008 08:56 PM

Please, translate the .xml in English...

Thank you!

mad@Max 12-24-2008 09:45 PM

Sorry, i forgot translate this part. Reuploaded:)

dvbusuario 12-24-2008 10:44 PM

Thank you, I Translate in Spanish

Install!!!:up:

mad@Max 12-24-2008 11:46 PM

Thanks, add in first post.

MAK-upl 12-25-2008 02:04 AM

Quote:

Originally Posted by mad@Max (Post 1693180)
Sorry, i forgot translate this part. Reuploaded:)

Well... not exactly...

Code:

<description>Ď?čńę ?ĺ? ďĺđĺ?ŕăđ??ęč ńňđŕ?č?</description>
What? :confused:

If it works gonna translate it to polish.

MrZeropage 12-25-2008 07:23 AM

Fine, thanks.

Really fantastic would be a template-adaption so that this complete functionality works within the original navbar-dropdown-menu "search", so typing in the input-field there and having the results below.

Any chance ?

mad@Max 12-25-2008 03:07 PM

I was make that sometime...

MrZeropage 12-26-2008 06:09 AM

looking forward to it, this really would be NICE

mad@Max 12-26-2008 08:21 AM

You may copy and paste template lsa_main bottom (in navbar):
HTML Code:

                                                <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
                                        </div>
                                </form>

And in module Live Search Replace comment string
PHP Code:

//$vbulletin->templatecache['navbar'] = str_replace('<!-- / NAVBAR POPUP MENUS -->', '<!-- / NAVBAR POPUP MENUS -->'.$lscode, $vbulletin->templatecache['navbar']); 


FiMeTi 12-27-2008 03:10 PM

Hi buddys...could someone help me get the searchbox into this .gif i?ve attached?

I?m using this code. But how can I put the box into that .gif? :D
Thx!! ;)

Code:

<form action="search.php?do=process" method="post">
                                        <div id="tb-searchdiv">
                                                <div id="tb-searchbox"><input type="text" id="search_input" name="query" tabindex="1001" maxlength="128" value="$vbphrase[search_forums]" onfocus="if(this.value=='$vbphrase[search_forums]')this.value='';" onblur="if(this.value=='$vbphrase[search_forums]')this.value='';" onkeyup="showHint(this.value)" /></div>
                                                <input type="hidden" name="do" value="process" />
                                                <input type="hidden" name="quicksearch" value="1" />
                                                <input type="hidden" name="childforums" value="1" />
                                                <input type="hidden" name="exactname" value="1" />
                                                <input type="hidden" name="s" value="$session[sessionhash]" />
                                                <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                                        </div>
                                        </form>

Code:


CSS line

#searchbox { float:left; background: url(searchbox.gif); width:201px; height:17px; margin:0; padding:3px; }

with this .css line for example, but how to fixx it in the code above??

mad@Max 12-27-2008 06:18 PM

Look in source on my site (samforum.ws):
html code between <!-- SearchBox --><!-- /SearchBox -->
css code
Code:

#tb-searchdiv{float:right;padding:8px 5px 0 0;text-align:center;line-height:13px;cursor:default}#tb-searchdiv a{color:#000;font-size:11px;text-decoration:none;cursor:pointer}#tb-searchbox{padding:4px 11px 11px 22px;width:119px;background:url(images/as4/global/toolbar_searchbox.png) no-repeat;text-align:left;height:14px}#tb-searchbox input{border:0;padding:0;width:119px;background:#fff;color:#000;font:12px/12px 'Lucida Grande',Verdana,sans-serif;height:14px;outline:none;cursor:text}

FiMeTi 12-27-2008 07:24 PM

thx bro for the fast and competent support! ;)

TimberFloorAu 12-27-2008 07:29 PM

has anyone got this demoed on a english forum please?

zippys 12-30-2008 10:07 PM

Great addon!! Ive gotten most of the fixes done myself, theres just one last one i cant figure out...

http://img255.imageshack.us/my.php?i...20553pmbx8.png

Theres a little overhang on each search result and also when you hover over, but when you hover then move off, it disappears.

Any suggestions?

Quantnet 01-16-2009 02:55 AM

The results are displayed in increasing order of time. that means the oldest result is on top.
Which queries inside the code that we change to rearrange them in decreasing order.

David Gillaspey 01-19-2009 04:18 AM

Quote:

Originally Posted by zippys (Post 1697475)
Theres a little overhang on each search result and also when you hover over, but when you hover then move off, it disappears.

Are you by chance seeing the problem in Firefox and not in Internet Explorer?

I had the same problem; I do my development in Firefox. It took me several hours of work to find a solution.

Firefox handles padding differently than Internet Explorer, apparently. See

http://www.ozzu.com/website-design-f...la-t24024.html

Within the Live Search Templates group, in the lsa_main template, look for

Code:

<div id="search_results" style="padding: $stylevar[cellpadding]px; width: $vboptions[lsa_width]; height: $vboptions[lsa_height]; overflow: auto;">
The width and padding are both set using variables. In Firefox, the padding gets added to the width, making those table rows too wide for the "popup" window that encloses them. That's why they appear to extend beyond the right edge of the popup window, I believe.

I haven't yet checked the results in Internet Explorer, but I solved the problem in Firefox by hardcoding the width in this snippet of code to a value that's equal to the desired width of the popup window minus the amount of the left and right padding.

That will get you close, anyway. I actually had to make the popup window slightly narrower than I calculated it should be (I don't know why that was necessary), but eventually found a width value that resolved the problem.

See attachment (116KB), which shows the results of a lot of tweaking I did to the code.

Thanks, mad@Max, for making this mod available.

vietfancy 02-03-2009 05:40 AM

doesn't work with special characters (vietnamese)

redlabour 02-04-2009 06:07 PM

Does it work with Ä,Ö,Ü,ß (german Characters)?

fukdawrld 02-05-2009 05:11 AM

New version wouldn't work for me..I had to reinstall the older version. It just gives me a black box with no results.

vietfancy 02-05-2009 05:57 AM

Quote:

Originally Posted by redlabour (Post 1734472)
Does it work with ?,?,?,? (german Characters)?

I don't think so.

mad@Max 02-07-2009 12:38 PM

Continue (v2.0) of this mod is here: https://vborg.vbsupport.ru/showthread.php?t=204517

Das UndergrounD 02-07-2009 04:00 PM

Should not have placed this advertisement:

https://vborg.vbsupport.ru/external/2009/02/94.jpg

dvbusuario 02-15-2009 06:29 AM

Que no era mas sencillo que me hubieras preguntado a mi directamente Das ;) "Monito"

Das UndergrounD 02-18-2009 01:50 AM

Quote:

Originally Posted by dvbusuario (Post 1744605)
Que no era mas sencillo que me hubieras preguntado a mi directamente Das ;) "Monito"

Ya lo saque, pero la busqueda no me funciona, no me aroja ningun resultado.

Search does not work, I do not give any result

Das UndergrounD 02-21-2009 03:16 AM

Help please

RobbieZ 09-16-2009 04:37 PM

nevermind.. fixed it

vBMerkezi 06-06-2012 06:16 PM

thank you


All times are GMT. The time now is 01:33 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.02297 seconds
  • Memory Usage 1,787KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (28)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