vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Find Topic: Existing Topics Check (https://vborg.vbsupport.ru/showthread.php?t=106529)

Tulsa 01-29-2006 01:28 PM

Wonderful hack! :) Thanks.

Now I am a bit code challenged. I found where you suggest to add the text but I'm not at all sure how to go about doing it?

Any help would be greatly appreciated.

To be more precise, I'm wanting the text to sit next to the icon so they don't have to mouse over to see it. At attention getter as it were.

calorie 01-29-2006 01:51 PM

After you install go to vB ACP -> Plugin System -> Plugin Manager -> look for Find Topic -> click Edit -> find the following:
Code:

<td><img name=\"findicon\" src=\"" . $stylevar['imgdir_button'] . "/findicon_off.gif\" alt=\"" . $vbphrase['ft_search_for_existing_topics'] . "\" onClick=\"ft_popWindow()\" /></td>
Replace with the following:
Code:

<td><img name=\"findicon\" src=\"" . $stylevar['imgdir_button'] . "/findicon_off.gif\" alt=\"" . $vbphrase['ft_search_for_existing_topics'] . "\" onClick=\"ft_popWindow()\" />" . $vbphrase['ft_search_for_existing_topics'] . "</td>

Tulsa 01-29-2006 02:29 PM

Thank you very much. Worked like a charm. I also got to learn something new today about phrases since I wanted the text to be different. You provided me with what I needed to learn it though. :)

Mastar 01-29-2006 07:47 PM

Hey Calorie the hack I love and is enterferring wid the attachment upload in vb? When manage attachment is clicked it starts searching for similar topics.

Any suggestions?

bashy 01-29-2006 08:20 PM

The fix is in the thread,.... #16

KOKS@LN 01-30-2006 12:24 PM

Quote:

Originally Posted by calorie
FYI: some JavaScript tweaks to get this to work for Turkish and other languages

Re-install the XML product, allowing overwrite, and if you're using 'thread prefixes' reapply the change.

Already done, even tried uninstalling and reinstalling. It still gives an HTTP 406 error when we type Turkish characters :ermm:

BTW, Thread prefix isn't installed.

Lizard King 01-30-2006 12:26 PM

Quote:

Originally Posted by KOKS@LN
Already done, even tried uninstalling and reinstalling. It still gives an HTTP 406 error when we type Turkish characters :ermm:

BTW, Thread prefix isn't installed.

It works for me with Turkish characters since the beginning ;) Maybe there is a problem with your character set.

calorie 01-31-2006 08:36 AM

The JavaScript escape() was replaced with the vB JavaScript PHP.urlencode() in case that was an issue, but a 406 error is a client-side thing, meaning basically that the server cannot send the requested page back to the browser because the browser thinks the page is not acceptable.

See http://www.checkupdown.com/status/E406.html and http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details.

IrPr 01-31-2006 09:39 AM

installed and works fine !
but see included screenshot,
whats ARRAY at the top?

calorie 02-02-2006 05:45 PM

FYI: fixed to prevent Array bit from showing atop the popup display results page

FTP the findtopic.php file, overwriting the old file, to upgrade


All times are GMT. The time now is 03:28 AM.

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.01050 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_code_printable
  • (2)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
  • (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