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)

WiseOne38221 07-09-2007 02:25 PM

How did you get it to work? I placed the .js file in clientscript folder, yet it does nothing...and yes, I set it to enabled...

Carlos2 07-09-2007 02:29 PM

You have to put the js file in clientscript in ftp, after, install the atachment. It seems that you didnt installed because it doesnt appear in installed products, but is there, you have to go to vbulllettin options in your panel, and search in the post and editing options, there above you have to enable and you will see it working.

WiseOne38221 07-09-2007 03:15 PM

I did ALL that, exactly following instructions and it DOES work except it won't search the threads and I get a page done w/errors on bottom left of IE7...JavaScript not right or something...

Invalid ID 07-09-2007 03:30 PM

Works great

bashy 07-09-2007 03:54 PM

Dont work for me, Dont even show the wording.
I have IE 7 and Firefox 2.x

I alreay have a manual button to click to search the thread title for similar posts
could this conflict in anyway?

Although i think unlikely due to the many members having the same/similar issues?

Can you let me know the manual template/file edits please?

In your instructions it says

Important:
It adds 2 new templates, it changes 1 template and it edits 2 files

What file edits does this do? Doe the Product automatically do these?


This link (aaded my url) does not show any threads, just a blank page!!!!
http://yourforums.com/ajax.php?do=ge...ads&title=test

But i know similar threads work, click this link
http://www.bashys-place.com/forums/f...20place%20&f=7

Smoothie 07-09-2007 04:11 PM

I'll add this again, for most of the people having problems. Out of the 4 browsers I use, only 2 displayed similar threads. The other 2 browsers showed nothing. I can see the text that says " when you enter a title the system will search, etc." but in only 2 of the browsers after entering a title and clicking the message box do I get a list of similar titles. The other 2 browsers do nothing.

axi 07-09-2007 05:13 PM

not working for me either

mred 07-09-2007 07:08 PM

Nice Mod but it is not working in MS IE, in FF it's working fine. Can you please look into that problem? :) TNX

Michael Biddle 07-09-2007 07:25 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=81626" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=81626</a>

tanyeri24 07-09-2007 08:06 PM

omg!! you really rock! very nice!

but also at me onlye works with firefox :) If will work with iE would be great job! Please support it. thanks

MrNase 07-09-2007 09:39 PM

All those who have clicked 'install' should have gotten an eMail.

Most problems should be fixed: I tested it on Safari, Opera and FF and all three are running fine. :)


bashy: The product file does ALL the work for you. All you have to do is enable it under the 'message posting and editing options' in your AdminCP once it's installed. :)

4x4 Mecca 07-09-2007 09:39 PM

I see that it's updated, but the original post doesn't show the bugs, or what was fixed.

WiseOne38221 07-09-2007 09:44 PM

It worked! Thanks sooooooo much! I voted for you!

MrNase 07-09-2007 09:46 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1287066)
I see that it's updated, but the original post doesn't show the bugs, or what was fixed.

It's in the first post of the thread at the very bottom just above the download link. :)


WiseOne38221: It's the least I can do after the problems with the initial release. :o

mred 07-09-2007 10:00 PM

Great! Your support could not be better.
Thanks for that usefull modification.

MrNase 07-09-2007 10:00 PM

Is working with IE? :)

WiseOne38221 07-09-2007 10:12 PM

Yes, thanks, MrNase! It works perfect with IE7 and my members have already hoorah'd, LOL. I voted for you for MOTM!

:)

steven s 07-09-2007 11:12 PM

I'm dumb. I just didn't understand this at first.
But now how can I make the simillar threads fluid?

Lizard King 07-09-2007 11:41 PM

Working pretty good thanks for the fix MrNase

Smoothie 07-10-2007 01:03 AM

Quote:

Originally Posted by MrNase (Post 1287065)
All those who have clicked 'install' should have gotten an eMail.

Most problems should be fixed: I tested it on Safari, Opera and FF and all three are running fine. :)


bashy: The product file does ALL the work for you. All you have to do is enable it under the 'message posting and editing options' in your AdminCP once it's installed. :)

:up: All good in the hood! Thanks.

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"]);


hondaprelude88 07-10-2007 06:01 PM

I think a great addition to this would be the ability to have it show just similar threads in just the specific forum your posting in.

jasculs 07-10-2007 06:24 PM

This is a very awesome mod.

I have the open local links in same window modification on my forum. For this mod is there any way I can have the searched similar threads show up in a new window when clicked while still having my other local links throughout my forum still open in the same window?

Here is the mod I'm using:

https://vborg.vbsupport.ru/showthread.php?t=130966

Smoothie 07-10-2007 06:32 PM

Quote:

Originally Posted by hondaprelude88 (Post 1287772)
I think a great addition to this would be the ability to have it show just similar threads in just the specific forum your posting in.

not sure why you'd wanna do that because if a similar thread exits in another forum, the users should look there first before posting a new one.

hondaprelude88 07-10-2007 06:58 PM

The reason I ask is I run a car forum, It would be nice to have it only show posts that are similar for that specific car or gen of car specific forum, not all cars in the whole forum. Does this make since? Just a thought.

Mecho 07-10-2007 07:31 PM

Quote:

Originally Posted by Lizard King (Post 1287763)
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.

i have already 13x13progress.gif but i did as u said too . still i can not c any picture .
and would u plz tell me what is GARS ?
thanks

Lizard King 07-10-2007 07:39 PM

Gars is : http://www.thevbgeek.com/forumdisplay.php?f=26

Upload 13x13progress.gif to your style misc folder.

MrNase 07-10-2007 08:21 PM

Oops I thought 13x13progress.gif is a vBulletin image because it is in my vB 3.6.7 package (see screenshot). :)

I am glad that it's finally working. I was running that Add-on on my community from day one and my members didn't report any problems. :D

Lionel 07-10-2007 09:49 PM

Quote:

Originally Posted by Lizard King (Post 1287763)
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"]);


Nice work! Thanks.

Mecho 07-11-2007 12:10 PM

Quote:

Originally Posted by Lizard King (Post 1287847)
Gars is : http://www.thevbgeek.com/forumdisplay.php?f=26

Upload 13x13progress.gif to your style misc folder.

Thanks man . it working well now and perfect :)

thanks MrNase for release this great hack too. installed and rated 5 ;)

MrNase 07-11-2007 02:37 PM

Quote:

Originally Posted by Mecho (Post 1288326)
thanks MrNase for release this great hack too. installed and rated 5 ;)

You're welcome! :)


All times are GMT. The time now is 06:49 AM.

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.01608 seconds
  • Memory Usage 1,834KB
  • 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
  • (11)bbcode_code_printable
  • (13)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
  • (40)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