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)

kalisekj 02-27-2011 12:12 AM

Here Is a Good Solution Folks:

I copied all the contents of Template : mrnasesimilarthreadcheck_header
Then I edited Template: newthread
I put my cursor right below $postpreview and pasted the contents I copied from Template: mrnasesimilarthreadcheck_header

I saved it.

Now The Mod works perfectly. Muwahahahaha Enjoy!

lDaFreshKid 02-27-2011 01:01 AM

What's the thing called in vbulletin options? I can't find it. I only see it installed in the manage products!

can anyone help.

eh69 02-27-2011 12:14 PM

Quote:

Originally Posted by kalisekj (Post 2167375)
Here Is a Good Solution Folks:

I copied all the contents of Template : mrnasesimilarthreadcheck_header
Then I edited Template: newthread
I put my cursor right below $postpreview and pasted the contents I copied from Template: mrnasesimilarthreadcheck_header

I saved it.

Now The Mod works perfectly. Muwahahahaha Enjoy!

You are talking about vB 4? I cant found $postpreview, I have only {vb:raw postpreview} and paste this template doing nothing...

kalisekj 02-27-2011 01:31 PM

I am on VB3.84 , The option is in VBoptions, Message Posting and Editing Options, towards bottom in that category, I also modified my /includes/functions_search.php , searched for LIMIT and changed 5 to 7 on 2 parameters to make it 7 results instead of 5, of course you will have to update counters in maintenance and update your similar threads again for the new amount to show. ENJOY!

With the above you can also put a if condition on it to exclude or include certain forums or usergroups. <if condition="in_array($forumid, array(1,2,3))"> or not in forum <if condition="!in_array($forumid, array(1,2,3))">

AndrewRich 03-07-2011 08:19 PM

Installed and working on mousepad.mouseplanet.com. I changed the template to use the newer version of jQuery. I would like to have it only search the specified forums but do not want to hard-code those forumIDs into the templates. How can I reference the array that the AdminCP code uses for the list of excluded forumIDs?

kalisekj 03-08-2011 02:05 AM

you can do usergroups which only have access to certain forums

Instar 04-03-2011 09:08 PM

Hey there someone can fix this?

Code:

Warnung: Die Aufrufe von fetch_template() sollten mit der Klasse vB_Template ersetzt werden. Templatename: mrnasesimilarthreadcheck_header in [path]/includes/functions.php (Zeile 4097)

Warnung: Die Aufrufe von fetch_template() sollten mit der Klasse vB_Template ersetzt werden. Templatename: mrnasesimilarthreadcheck_main in [path]/includes/functions.php (Zeile 4097)

Parse error: syntax error, unexpected T_STRING in /htdocs/forum/includes/class_core.php(4432) : eval()'d code on line 27


Simon Lloyd 04-05-2011 07:19 PM

Have you uploaded all the files to the correct place?, what version of vb are you using?

iMaverick 04-16-2011 10:29 PM

Any chance of getting this on vBulletin 4?

lodos0677 04-24-2011 10:17 AM

4.1.3 no working ? :(


All times are GMT. The time now is 05:30 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.01539 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)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