vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Live Search 1.0 (AJAX) (https://vborg.vbsupport.ru/showthread.php?t=154694)

Quantnet 08-12-2007 01:50 AM

There seems to be a problem with +,++ or +++ (maybe more but this is what i just noticed)

When search for C++, it shows all thread that has C in it (which is so many). It shows the same results for C+, C++, C+++, C++++, etc

Something with how you parse the + sign

Quantnet 08-12-2007 02:16 AM

ideas for future enhancements:

Options to apply this mod to Search this thread (search for post) and Search this forum (search for thread title as before)

coderphp 08-12-2007 02:40 AM

Quote:

Originally Posted by Quantnet.org (Post 1315583)
There seems to be a problem with +,++ or +++ (maybe more but this is what i just noticed)

When search for C++, it shows all thread that has C in it (which is so many). It shows the same results for C+, C++, C+++, C++++, etc

Something with how you parse the + sign

Indeed it is a bug
the + sign is not appearing in the php script
i think the problem is concerned to using GET method for sending variables
ill check that & tell u soon

Quote:

Originally Posted by Quantnet.org (Post 1315596)
ideas for future enhancements:

Options to apply this mod to Search this thread (search for post) and Search this forum (search for thread title as before)

thanx for the improvments
of course ill add them in the future version :)

Quantnet 08-12-2007 03:35 AM

I just check for different browser platform and here is where everything is different. I tested with IE7, Opera and FF.

For IE7 (The Live Search word is on top of the search box instead of on the left of it and the popup stay on the right)
https://vborg.vbsupport.ru/

For Opera (looks fine but the search result is right aligned
https://vborg.vbsupport.ru/

For FF (this looks perfect)
https://vborg.vbsupport.ru/


I include here the search code which I insert into navbar template (I have a highly customized style). I would really appreciate if you can see what's wrong

Code:

<!-- search -->
                <if condition="$show['searchbuttons']">
        <td align="right" nowrap="nowrap" valign="top">
                <if condition="$show['member']">
                        <form action="/forum/search.php?do=process" method="post">
        <else />
                        <form action="search.php$session[sessionurl_q]" method="post">
        </if>
        <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                                <td style="font-size:10px" title="nohilite">

                                        <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]" />


Live search <input type="text" name="query" size="25" class="header_search_field" onkeyup="showHint(this.value)" />
</form>
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>

                                       
                                </td>
        <td nowrap="nowrap" id="navbar_search" class="smallfont">&nbsp;<a href="search.php$session[sessionurl_q]">Options</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                        </tr>
                       
                        </table>
                        </form>
        <!-- / search -->


Magnumutz 08-12-2007 05:43 AM

My style is also HEAVILY modified and i had a lot of trouble making it work. But this depends on th Browser... IMO FF is the best browser...

coderphp 08-12-2007 08:17 PM

Quote:

Originally Posted by Quantnet.org (Post 1315617)
I just check for different browser platform and here is where everything is different. I tested with IE7, Opera and FF.

For IE7 (The Live Search word is on top of the search box instead of on the left of it and the popup stay on the right)
https://vborg.vbsupport.ru/

For Opera (looks fine but the search result is right aligned
https://vborg.vbsupport.ru/

For FF (this looks perfect)
https://vborg.vbsupport.ru/


I include here the search code which I insert into navbar template (I have a highly customized style). I would really appreciate if you can see what's wrong

Code:

<!-- search -->
        <if condition="$show['searchbuttons']">
    <td align="right" nowrap="nowrap" valign="top">
        <if condition="$show['member']">
            <form action="/forum/search.php?do=process" method="post">
    <else />
            <form action="search.php$session[sessionurl_q]" method="post">
    </if>
    <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td style="font-size:10px" title="nohilite">

                    <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]" />


Live search <input type="text" name="query" size="25" class="header_search_field" onkeyup="showHint(this.value)" />
</form>
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>

                   
                </td>
    <td nowrap="nowrap" id="navbar_search" class="smallfont">&nbsp;<a href="search.php$session[sessionurl_q]">Options</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
            </tr>
           
            </table>
            </form>
    <!-- / search -->


id dont know what is the problem
ill check the code and let u know

thanx

rainyleaves 08-13-2007 05:17 AM

Quote:

Originally Posted by Quantnet.org (Post 1315617)
I just check for different browser platform and here is where everything is different. I tested with IE7, Opera and FF.

For IE7 (The Live Search word is on top of the search box instead of on the left of it and the popup stay on the right)
https://vborg.vbsupport.ru/

For Opera (looks fine but the search result is right aligned
https://vborg.vbsupport.ru/

For FF (this looks perfect)
https://vborg.vbsupport.ru/


I include here the search code which I insert into navbar template (I have a highly customized style). I would really appreciate if you can see what's wrong

Code:

<!-- search -->
                <if condition="$show['searchbuttons']">
        <td align="right" nowrap="nowrap" valign="top">
                <if condition="$show['member']">
                        <form action="/forum/search.php?do=process" method="post">
        <else />
                        <form action="search.php$session[sessionurl_q]" method="post">
        </if>
        <table cellpadding="0" cellspacing="0" border="0">
                        <tr>
                                <td style="font-size:10px" title="nohilite">

                                        <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]" />


Live search <input type="text" name="query" size="25" class="header_search_field" onkeyup="showHint(this.value)" />
</form>
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>

                                       
                                </td>
        <td nowrap="nowrap" id="navbar_search" class="smallfont">&nbsp;<a href="search.php$session[sessionurl_q]">Options</a> <script type="text/javascript"> vbmenu_register("navbar_search"); </script></td>
                        </tr>
                       
                        </table>
                        </form>
        <!-- / search -->



This can help you... :)

Just add <br /> abobe of the 'header' code.

Quote:

<br />
<form action="search.php?do=process" method="post">
<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]" />
Live search <input type="text" name="query" size="25" class="header_search_field" onkeyup="showHint(this.value)" />
</form><br />
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>

Quantnet 08-13-2007 05:47 AM

Thanks for helping but it does not make any difference

rainyleaves 08-13-2007 05:56 AM

Quote:

Originally Posted by Quantnet.org (Post 1316343)
Thanks for helping but it does not make any difference

Oops!!
Sorry my mistaken.

This code...
Red <br />.
Quote:

<br />
<form action="search.php?do=process" method="post">
<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]" />
Live search <input type="text" name="query" size="25" class="header_search_field" onkeyup="showHint(this.value)" />
</form><br />
<div id="search_results" class="smallfont" style="position:absolute; border: 2px solid orange; color:blue; background-color: white; width: 300px; padding: 8px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">x</a></div>
</div>

Quantnet 08-13-2007 07:30 AM

Again, I appreciate your help a great deal.

i added as suggested, edited other part of the template to no avail.


All times are GMT. The time now is 12:52 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.01472 seconds
  • Memory Usage 1,796KB
  • 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
  • (3)bbcode_code_printable
  • (7)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