Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

read post #5

Quote:
Originally Posted by klaush
Mhhh, thanks, but does not work here with the threadprefixes- 3.5.3.

Any idea?
Reply With Quote
  #13  
Old 01-28-2006, 01:08 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help....

My manage attchments button now shows similar threads pmsl
oh well, all was fine

Whats ya thoughts calorie?
Reply With Quote
  #14  
Old 01-28-2006, 04:11 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Manage Attachments issue confirmed.
Reply With Quote
  #15  
Old 01-28-2006, 04:12 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! Installed.

Is there a way to change number of results when listing the threads? I would like it to show 10 instead of 5. Thanks for the nice hack!
Reply With Quote
  #16  
Old 01-28-2006, 04:20 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You change this in the findtopic.php that you uploaded

Code:
// ######################### SET LIMIT NUMBER ############################
$limit = 5;  // Represents the max results to show.
I presume, i aint no coder thats for sure :nervous:

Quote:
Originally Posted by GlitterKill
Very nice! Installed.

Is there a way to change number of results when listing the threads? I would like it to show 10 instead of 5. Thanks for the nice hack!
Reply With Quote
  #17  
Old 01-28-2006, 04:23 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FYI: fixed duplicate JavaScript function name causing Manage Attachments issue

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

To add text by the icon, look for ft_search_for_existing_topics in the Find Topic newthread_form_complete plugin.
Reply With Quote
  #18  
Old 01-28-2006, 04:24 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Outstanding! Thanks for the quick response and the time saving hack.

EDIT // I changed that number to 10 in the file but it still shows only 5.
Reply With Quote
  #19  
Old 01-28-2006, 04:46 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice 1 calorie...Well done

I have not found any more issues with regards to this hack, all is working well thanks you!
Reply With Quote
  #20  
Old 01-28-2006, 05:03 PM
GlitterKill GlitterKill is offline
 
Join Date: Jul 2002
Location: Nashville
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Were you able to change the results number?
Reply With Quote
  #21  
Old 01-28-2006, 05:11 PM
calorie calorie is offline
 
Join Date: May 2003
Posts: 2,804
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the thanks.

Five is the max you can get unless you go edit the fetch_similar_threads function in the /forum/includes/functions_search.php file and replace LIMIT 5 with LIMIT 10 (two spots inside the function) and then use $limit = 10; in the findtopic.php file.

Without the two edits to the fetch_similar_threads function in the functions_search.php file, $limit is good for zero to five. Anything less than zero would break the query, and without file edits anything over five gets ignored.
Reply With Quote
Reply

Thread Tools

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 03:16 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.04489 seconds
  • Memory Usage 2,295KB
  • 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
  • (1)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
  • (3)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