vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - [Ajax] Check for similar thread before posting a new one (https://vborg.vbsupport.ru/showthread.php?t=201651)

Black Tiger 11-05-2010 01:38 PM

Your welcome. I knew it was there under vboptions, just could not remember the exact subsection, that's why I gave the search option.:)
Glad you've found it.

Itchy Nips 11-05-2010 03:25 PM

yeah, i must have misread the instructions:
Quote:

2.Import the attached file using the Product Manager. Go to your vBulletin settings and search for 'Check for similar threads?'.
I read that as 'check for similar threads' is located in Admincp -> vBulletin Options in its own category.

in any case, thanks.

Black Tiger 11-05-2010 04:01 PM

Yes that was my first interpretation too when I installed it the first time.;)

Alfa1 12-30-2010 02:25 PM

Quote:

Originally Posted by Simon Lloyd (Post 2109664)
Just wrap the contents of these templates in a conditional
mrnasesimilarthreadcheck_header
mrnasesimilarthreadcheck_main
HTML Code:

<!-- show the following in the listed forums -->
<if condition="in_array($forumid, array(1,2,3))">
CODE FOUND IN THE TEMPLATE
<else />
</if>


Same can be done for usergroups. Overall, ranking users will have less need for this functionality than newbies.
Like this:
HTML Code:

<!-- show the following to the listed usergroups -->
<if condition="is_member_of($bbuserinfo,1,2,3)">
CODE FOUND IN THE TEMPLATE
</if>

It would be nice to have a setting for usergroups in adminCP though.

Mind that jquery 1.4.4 is out, so the listed version of jquery.min.js (1.2.6) is outdated.

So in mrnasesimilarthreadcheck_header
replace:
HTML Code:

<script type="text/javascript" src="clientscript/jquery-1.2.6.min.js"></script>
With:
HTML Code:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>

Scalemotorcars 01-29-2011 10:12 PM

Ive read this entire hack and the older one and still cant find how to reduce or increase the results returned. Can someone post the solution. Thanks....

Eduardo Leon 01-30-2011 12:05 AM

hahaha excelent Add On ..

Thnx for share this ;) !

Scalemotorcars 01-30-2011 04:50 PM

Had to uninstall. I got it working but couldn't prevent it from pulling rss feeds, even after excluding that forum and rebuilding the similar threads.

Someone needs to write up a How To on this hack. Its actually a very good ideal but unless you know your way around VB it can easily discourage less experienced admins.

Real chick

#1. After you install run your "rebuild similar threads" in maintenance.
#2 It works off the VB default "similar thread" so to change how many results are displayed you need to change the VB default for the same. Its in one of your php files but I cant remember the one right now. Its not in the plugins or templates.
#3 Just because you don't get a result doesn't mean its not working. It just means you have nothing similar. Try more words in the title and you will see results.

Like I said this really needs a Read Me included.

eh69 02-26-2011 08:42 AM

When this will be ported to vB4? :(

Welshy2008 02-26-2011 09:56 AM

Quote:

Originally Posted by eh69 (Post 2167059)
When this will be ported to vB4? :(

There is one Here

eh69 02-26-2011 02:17 PM

Not working:

This thread is in the Modification Graveyard.

This modification cannot be downloaded.


All times are GMT. The time now is 04:07 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.02673 seconds
  • Memory Usage 1,741KB
  • 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
  • (4)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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