vb.org Archive

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

Invalid ID 07-10-2007 02:50 AM

Thanks again

4x4 Mecca 07-10-2007 05:13 AM

I get this error in firefox, it doesn't work for me in IE either.

Code:

Error: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLDocument.queryCommandState]"  nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame :: http://www.myforum.com/clientscript/vbulletin_textedit.js?v=364 :: anonymous :: line 1469"  data: no]
Source File: http://www.myforum.com/clientscript/vbulletin_textedit.js?v=364
Line: 1469


lolo? 07-10-2007 09:43 AM

thx work fine for me

edit small probl?me:
Quote:

Uncached templates: mrnasesimilarthreadcheck_header (1)
Uncached templates: mrnasesimilarthreadcheck_main (1)

TheMilkCarton 07-10-2007 09:51 AM

Brilliant. I love how assertive it is... it really prevents people from using the excuse "Well I searched and couldn't find anything".. when posting a new thread. :)

*Installed!!*

EDIT: Small question/feature request:

Would it be too intensive to add the parent forum to the "Forum" column? So say I was posting in this forum, it would say "vBulletin Modifications > vBulletin Add-ons" instead of just "vBulletin Add-ons"? Not the best example, but the location can be very vague if it doesn't show a breadcrumb.

Alternatively, what about at least wrapping a link around the forum name in the forum column? So they can at least click to visit the forum.

Anyway, I haven't even looked at the templates/plugins yet.. I may be able to make this modification easy enough, but I still thought I'd share the idea. :)

Lizard King 07-10-2007 11:07 AM

Quote:

Originally Posted by lolo? (Post 1287442)
thx work fine for me

edit small probl?me:

Hook : cache_templates
Code:

if (THIS_SCRIPT == 'newthread')

{
$globaltemplates[] = 'mrnasesimilarthreadcheck_header';
$globaltemplates[] = 'mrnasesimilarthreadcheck_main';
}

This will take care of your problem

MrNase 07-10-2007 11:52 AM

Quote:

Originally Posted by Lizard King (Post 1287491)
This will take care of your problem

Thanks, I included it into the product file. :)

lolo? 07-10-2007 12:58 PM

Quote:

Originally Posted by Lizard King (Post 1287491)
Hook : cache_templates
Code:

if (THIS_SCRIPT == 'newthread')

{
$globaltemplates[] = 'mrnasesimilarthreadcheck_header';
$globaltemplates[] = 'mrnasesimilarthreadcheck_main';
}

This will take care of your problem

Quote:

Originally Posted by MrNase (Post 1287521)
Thanks, I included it into the product file. :)

great work fine thanks :up::up:

sunrise2006 07-10-2007 01:57 PM

Thanks, it's great mod. I installed it.

Mecho 07-10-2007 05:08 PM

is it possible that u add one picture like this : https://vborg.vbsupport.ru/external/2007/07/24.gif
when this system is trying to find similar topics ??? so ppl know something trying to happen :D

thanks

Lizard King 07-10-2007 05:43 PM

Quote:

Originally Posted by Mecho (Post 1287731)
is it possible that u add one picture like this : https://vborg.vbsupport.ru/external/2007/07/24.gif
when this system is trying to find similar topics ??? so ppl know something trying to happen :D

thanks

It already have a picture but something is wrong within the picture. Download images/misc/progress.gif to your computer and rename it to 13x13progress.gif and reupload it.

I also modified the hack to work with GARS , here is the how to.

Open GARS_newthread and search for
Code:

$GARS_options[options]
Replace it with
Code:

<!-- / subject field -->
$GARS_options[options]

Open newthread_form_complete plugin and add the following just after
Code:

            $vbulletin->templatecache["newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$vbulletin->templatecache["newthread"]);
Code:

            $vbulletin->templatecache["GARS_newthread"] = str_replace('</head>',fetch_template('mrnasesimilarthreadcheck_header').'</head>',$vbulletin->templatecache["GARS_newthread"]);
            $vbulletin->templatecache["GARS_newthread"] = str_replace('name=\"subject\"','id=\"inputthreadtitle\" name=\"subject\"',$vbulletin->templatecache["GARS_newthread"]);
            $vbulletin->templatecache["GARS_newthread"] = str_replace('<!-- / subject field -->', fetch_template('mrnasesimilarthreadcheck_main'),$vbulletin->templatecache["GARS_newthread"]);



All times are GMT. The time now is 12:49 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.02316 seconds
  • Memory Usage 1,745KB
  • 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
  • (7)bbcode_code_printable
  • (6)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