Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Find Topic: Existing Topics Check Details »»
Find Topic: Existing Topics Check
Version: 1.0.0 d, by calorie calorie is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 01-27-2006 Last Update: 02-01-2006 Installs: 39
Uses Plugins Template Edits
Additional Files  
No support by the author.

A permitted port of https://vborg.vbsupport.ru/showthread.php?t=59940

Quote:
Originally Posted by Velocd
This hack will allow you and your members to check for existing topics, or similar ones, of the thread you plan to create when at newthread.php. This should help to prevent double topics that often appear from newbish members who neglect to use the search feature. It uses the exact functions as the "similar threads" feature, therefore has the same accuracy.
Screenshot: https://vborg.vbsupport.ru/attachmen...chmentid=15629

Thanks to Velocd for permitting the port. :up:

Velocd's Signature (https://vborg.vbsupport.ru/member.php?u=9503):

My OpenSource (as in do with them what you want no need to ask for permission) Scripts: 7/25/04 ? Article Bot 1.1, vB3 Member Album 2.0, BB Code Functions, Advanced Search w/Member Conditions, Eggdrop IRC Manager, IRC Manager for mIRC, Existing Topics Check

02 Feb 2006: fixed to prevent Array bit from showing atop the popup display results page
29 Jan 2006: some JavaScript tweaks to get this to work for Turkish and other languages
28 Jan 2006: fixed duplicate JavaScript function name causing Manage Attachments issue
28 Jan 2006: initial release of port

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 01-29-2006, 01:28 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #33  
Old 01-29-2006, 01:51 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #34  
Old 01-29-2006, 02:29 PM
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Location: Broken Arrow, Oklahoma
Posts: 475
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #35  
Old 01-29-2006, 07:47 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #36  
Old 01-29-2006, 08:20 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The fix is in the thread,.... #16
Reply With Quote
  #37  
Old 01-30-2006, 12:24 PM
KOKS@LN KOKS@LN is offline
 
Join Date: Dec 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 01-30-2006, 12:26 PM
Lizard King Lizard King is offline
 
Join Date: Jan 2005
Location: Mersin
Posts: 907
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 01-31-2006, 08:36 AM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #40  
Old 01-31-2006, 09:39 AM
IrPr IrPr is offline
 
Join Date: Mar 2005
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and works fine !
but see included screenshot,
whats ARRAY at the top?
Reply With Quote
  #41  
Old 02-02-2006, 05:45 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04567 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete