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)

mad@Max 09-10-2008 05:21 PM

Doesnt matter.

maidos 09-10-2008 05:22 PM

thanks for the fix

JVSP 09-10-2008 05:40 PM

working great now... Thanks for all your help.

Also in ajax_search.php I had to fill out the full address or the search results in vbadvanced wouldn't add /forum in it

Like:
Code:

echo "<a href=\"http://www.xxxxx.com/forum/showthread.php?t=".$result['threadid']."\" title=\"".$alt."\">" . $result['title'] . "</a><br />";

maidos 09-10-2008 05:45 PM

how do i really change the bg color of the result window aswell of the background for Search results? and possible to add strokes on the search window?

Nordinho 09-10-2008 09:48 PM

Quote:

Originally Posted by mad@Max (Post 1619004)
Mod reaploaded.
I simulate situation with path "site/forum/" on my localhost. Now it worked if you add your path (setting in first post).

Thanks...brilliant mod

Ray2khax 09-10-2008 10:03 PM

Very nice mod! I love it and are going to be installing right now. Very nice job on it.

Nordinho 09-11-2008 12:42 AM

Can posts that a user doesn't have permission to view be removed from the search results?

AzaDiyaR 09-11-2008 10:11 AM

wow thank you very much :D this is very cool ;)
working ;)
www.azadiwelat.org/cmps_index.php

JVSP 09-11-2008 03:00 PM

Quote:

Originally Posted by fxlr8 (Post 1618516)
thanks..



How can I get the search window to look the same in both IE and FF.
https://vborg.vbsupport.ru/external/2008/09/43.jpg
Top pic is IE
Bottom is FF

Got it fixed, I just had to add padding in the code in the lsearch template.

mad@Max 09-11-2008 03:02 PM

Nordinho, i can made option like "Group ID, who can use [AJAX] Live Search"...
fxlr8, padding is default for each style.

Nordinho 09-12-2008 11:36 AM

Quote:

i can made option like "Group ID, who can use [AJAX] Live Search"...
hmm..that's not what I meant. I searched my testsite as a guest and in the searchresults a post showed up that is located in my moderator forums. Clicking it gave a no permission page. I would like to remove the the post that a user isn't allowed to view from the search results. Hope this is more clear.

mad@Max 09-12-2008 03:49 PM

Script protect special forum from guest.

Max Kwiatkowski 09-14-2008 08:09 PM

Good job! Thank you.

Julrou 09-18-2008 12:28 PM

Hi !

Great mod, but does not work properly on my board.
I've got this error :

Code:

Fatal error: Call to undefined function: str_ireplace() in /home2/wb59376/forums/ajax_search.php on line 48
I don't use vbadvanced.


Can you help me please ?
Thks:)

Jul'

mad@Max 09-18-2008 03:10 PM

In php file change str_ireplace on str_replace.

Julrou 09-18-2008 06:07 PM

Quote:

Originally Posted by mad@Max (Post 1624892)
In php file change str_ireplace on str_replace.

Yes ! That's great !! It works fine now :up:

Thanks a lot, man ! ;)

rmxs 09-24-2008 12:20 PM

Works goooooood..

Byt i use greek in my site and i get some ? at the end of topics..

I know this happends because cut the titles after some lettes how can i make it to use all the title....

mad@Max 09-29-2008 10:42 PM

In version 1.3 i'm add shown forums with threads in result.
rmxs, you wana remove trimming titles?

Quantnet 09-30-2008 02:58 AM

install the new version and the result no longer shows.
In the result window, there is only 2 words Thread and Forum

mad@Max 09-30-2008 05:06 AM

Quantnet.org, try now, i reupload mod. Just replace ajax_search.php.

RobbieZ 09-30-2008 05:10 AM

I like it.. installed

maidos 09-30-2008 11:50 AM

just installed the new version still not working :/

rmxs 09-30-2008 12:03 PM

In new version i try to search in greek and i get...

PHP Code:


Database error in vBulletin 3.7.2
:

Invalid SQL:
SELECT FROM thread WHERE `titleLIKE '%ΝΕΑ%' AND `thread`.`forumidNOT IN (,54,197,210,6,62,8,12,127,108,119,82,122,10,46,204,207,136,48,79,11,49,206LIMIT 50;

MySQL Error   Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (cp1251_general_ci,COERCIBLE) for operation 'like'
Error Number  1267
Request Date  
TuesdaySeptember 30th 2008 04:06:16 PM
Error Date    
TuesdaySeptember 30th 2008 04:06:16 PM
Script        
http://www.χχχχ.com/Vb/ajax_search.php?query=%CD%C5%C1
Referrer      http://www.χχχχ.com/Vb/index.php
IP Address    
Username      
Classname     vB_Database
MySQL Version 
5.0.51a-community 

When i search english the results comes byt the greeks is ?????? and the topic is blank..only forums on results

Quantnet 09-30-2008 12:39 PM

Uploaded the latest files and no result displayed.

mad@Max 09-30-2008 01:41 PM

rmxs, Quantnet.org, what you use collations mysql and tables?

maidos 09-30-2008 02:58 PM

max can you reply to my msg, the new version isnt working :(

mad@Max 09-30-2008 04:37 PM

It is error in a trim title. Soon i rewrite it:)

rmxs 09-30-2008 06:52 PM

connection collation utf8_collation_ci

MySQL charset: UTF-8 Unicode (utf8)

Quantnet 09-30-2008 10:19 PM

Quote:

Originally Posted by mad@Max (Post 1633880)
rmxs, Quantnet.org, what you use collations mysql and tables?

sorry, i don't understand your question.
Version 1.2 used to work. When I updated to 1.3, it no longer works.
I reverted to 1.2, it does not work.

Do you modify sql table somewhere?

rmxs 10-01-2008 06:25 AM

login to your phpmyadmin and check this.. connection collation, MySQL charset,and table collation

mine is
connection collation utf8_collation_ci

MySQL charset: UTF-8 Unicode (utf8)

Tables
latin1_swedish_ci

mad@Max 10-01-2008 09:01 PM

Mod is updated.
In the file ajax_search.php: "If you use cp1251 collation your tables, uncomment below strings"

Quantnet 10-02-2008 02:01 AM

Same result. The box is empty with 2 headers Thread and Forum
It's frustrating

Here is the search piece of code I have in my navbar template

Code:

<!-- search -->
                <if condition="$show['searchbuttons']">
        <td align="right" nowrap="nowrap" valign="top">
                <if condition="$show['member']">
                        <form action="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]" />
 <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
 
<div id="tb-searchdiv">
<div id="tb-searchbox"><input type="text" id="search_input" name="query" tabindex="1001" maxlength="128" value="$vbphrase[live_search]" onfocus="if(this.value=='$vbphrase[live_search]')this.value='';" onblur="if(this.value=='$vbphrase[live_search]')this.value='';" onkeyup="showHint(this.value)" /></div>



</div>
</form>



<div id="search_results" class="smallfont" style="position:absolute;top:150px; right:30px; left:50%; border: 2px solid #999999; color:grey; background-color: #F8F8F8 ;  padding: 10px; display:none;overflow:auto; height:200px">
<div align="left"><a href="#" onClick="overlayclose('search_results'); return false">Close</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>
                        <tr>
                               



                        </tr>
                        </table>
                        </form>
        <!-- / search -->


Quantnet 10-02-2008 02:19 AM

Both the version in the php and js still show 1.2

maidos 10-02-2008 06:07 AM

the live search is still not working, updated the new version but still..
worked fine on 1.2

rmxs 10-02-2008 06:08 AM

work ok also for greek..

Byt sometimes when i make search say no results byt if i hit enter normal search return me some results.

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

Quantnet.org, you use ISO-8859-1 charset. I think problem is here...

Quantnet 10-02-2008 02:45 PM

Quote:

Originally Posted by mad@Max (Post 1635485)
Quantnet.org, you use ISO-8859-1 charset. I think problem is here...

What do I have to do to fix this? Any change I have to make to the php or js files?

mad@Max 10-02-2008 03:19 PM

Quantnet.org, needed a write convert function.

Quantnet 10-02-2008 06:04 PM

ok, thanks for the response.
I'll uninstall this mod as it seems to be out of my reach.

nesta1 10-02-2008 11:21 PM

1.2 work and 1.3 not work


All times are GMT. The time now is 01:37 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.03452 seconds
  • Memory Usage 1,826KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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