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)

bashy 01-28-2006 12:45 PM

read post #5 ;)

Quote:

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

Any idea?


bashy 01-28-2006 01:08 PM

Help....

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

Whats ya thoughts calorie?

Zelda-King 01-28-2006 04:11 PM

Manage Attachments issue confirmed.

GlitterKill 01-28-2006 04:12 PM

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!

bashy 01-28-2006 04:20 PM

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!


calorie 01-28-2006 04:23 PM

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.

GlitterKill 01-28-2006 04:24 PM

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.

bashy 01-28-2006 04:46 PM

Nice 1 calorie...Well done

I have not found any more issues with regards to this hack, all is working well thanks you!

GlitterKill 01-28-2006 05:03 PM

Were you able to change the results number?

calorie 01-28-2006 05:11 PM

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.


All times are GMT. The time now is 11:26 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.01113 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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