Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[Ajax] Relevant thread Checker Before new Post Details »»
[Ajax] Relevant thread Checker Before new Post
Version: 3.7.001, by NAZIA NAZIA is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.1 Rating:
Released: 06-28-2008 Last Update: 06-28-2008 Installs: 32
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

[Ajax] Relevant thread Checker Before new Post

What will this hack do?
This AJAX hack automatically fetch the related thread from the data base of the forum and show their link above the editor..
As shown in screen below





If there is no relevant thread to the given subject then it will show this screen



How to Install?
Step1: Download this attachment and upload it from your admincp > Plugins & Products> Manage Products > [Add/Import Product] Page..

Step2: Go to vBulletin Options> Message Posting and Editing Options




Now Scroll it down and select the options at the bottom of that page..




Installation Time: 30 Seconds.
Product upload: 1
It will add two new templates automatically...
-----
If you like this hack plz marked it as installed..
Thanks buddies...

This mod is working fine in IE,Firefox,Opera...

Some screen shots of Urdu Version of this hack are attached below...

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-29-2008, 08:37 AM
M-Tuning's Avatar
M-Tuning M-Tuning is offline
 
Join Date: Jul 2005
Location: Winschoten (NL)
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheProphet View Post
Here are the dutch translation phrases.
Thanks :up:
Reply With Quote
  #13  
Old 06-29-2008, 08:48 AM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M-Tuning View Post
Thanks :up:
No problem, just edit the translation to your own needs...
Reply With Quote
  #14  
Old 06-29-2008, 10:32 AM
swissknife swissknife is offline
 
Join Date: Mar 2004
Location: Hamburg
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have it run complettly on the own server and not using parts from yours? ( the script )
Reply With Quote
  #15  
Old 06-29-2008, 11:27 AM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by swissknife View Post
Is it possible to have it run complettly on the own server and not using parts from yours? ( the script )
Obviously we can do this..
Step1:upload the attachment file in your forum directory...
Step2:then you need to edit one template...
go to: Styles & Templates>Style Manager>edit template Option>nazia_header

Replace the nazia_header with the following code..
Code:
<script type="text/javascript" src="clientscript/jquery-1.1.3.1.pack.js"></script>
		<script type="text/javascript">
			$(function(){
				$("#inputthreadtitle").bind("blur", function(){
					var value =$(this).val(); 
					$('td#similarthreadcheckcontent').html('<img src="$stylevar[imgdir_misc]/13x13progress.gif" />');
					$.ajax({
						type: "GET",
						url: "ajax.php",
						data: "do=getsimilarthreads&title="+value,
						success: function(msg){
							$('td#similarthreadcheckcontent').html(msg);
							 }
					});
				});
			});
		</script>
All is done
Enjoy....
Reply With Quote
  #16  
Old 06-29-2008, 03:57 PM
entertain entertain is offline
 
Join Date: May 2007
Location: Bavaria
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

your modification is working fine with the Internet Explorer, but with firefox the similar threads aren't shown.

Do you have an idea why?


cu
entertain
Reply With Quote
  #17  
Old 06-29-2008, 04:07 PM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by entertain View Post
Hello,

your modification is working fine with the Internet Explorer, but with firefox the similar threads aren't shown.

Do you have an idea why?


cu
entertain
My all screen shots are taken from Firefox..
Which version of FF you are using?
But I have tested it on 2,3 version of FF,and also test it in Opera, Here are the screen shots..
Reply With Quote
  #18  
Old 06-29-2008, 04:09 PM
entertain entertain is offline
 
Join Date: May 2007
Location: Bavaria
Posts: 435
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using version 3.

But I think the problem is existing because of the Adv. Editing Options modification.

*Uninstall*
Reply With Quote
  #19  
Old 06-29-2008, 07:33 PM
avsunforum avsunforum is offline
 
Join Date: Feb 2008
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wooww Thank You Very Much
Reply With Quote
  #20  
Old 06-29-2008, 09:25 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this working on forums with template cache turned on?
Reply With Quote
  #21  
Old 06-29-2008, 09:32 PM
Jase2 Jase2 is offline
 
Join Date: Dec 2007
Location: USA
Posts: 1,575
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Related?: https://vborg.vbsupport.ru/showthrea...imilar+threads

Anyway, does this put much strain on the server, esp with big boards?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07251 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete