vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Cyb - Check If Already Posted (https://vborg.vbsupport.ru/showthread.php?t=177936)

Valter 05-02-2008 10:00 PM

Cyb - Check If Already Posted
 
Info:
User can check if the same/similar thread already exist when posting new one. Button is shown right after the thread title field in newthread form. When button is clicked then javascript code opens popup window with search results. Entered thread title is used as search query. Additionaly you can choose to search thread titles only or entire posts, to show results as threads or posts, to search current forum only or all. You can also exclude forums in ACP, set default pop-up window dimensions,...

All search permissions (by usergroups, forums) will be applied here too.


Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

2. OPTIONAL (for very customized styles - if button not shown):
In newthread template find: <td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
Below it add: $cybcheckifposted


To set options go to: AdminCP > vBulletin Options > Cyb - Check If Already Posted


Versions:
v1.0 - May 18. 2006.
-Initial Release
v1.1 - Aug 04. 2006.
-Release of this hack for vB v3.6
v1.2 - Aug 05. 2006.
-Uncached template bug fixed
v1.3 - Sep 20. 2006.
-Added option to exclude forums
-Added Product Version Checking
-Compatibility with different styles improved
-Few other improvements in code (new hook location, removed 1 template,...)
-Few other improvements in code (new hook location, removed 1 template,...)
v1.4 - Oct 08. 2006.
-Fixed bug (button not automatically added to the newthread form on vB 3.6.2)
-Fixed some validation issues (mentioned by ForumDog)
v1.5 - Jan 24. 2007.
-Added menu with search options which automatically expands when you mouse-over button.
-Search options in ACP changed. Now you just set default values for options shown to user.
v1.6 - May 03. 2008.
-Compatible with vBulletin 3.7
-Minor bugs fixed


Click INSTALL if you like this hack.

pow6713 05-03-2008 11:13 AM

thanks , it works :up:

Mrdby 05-03-2008 11:20 AM

perfect!

mktrilogy 05-03-2008 12:32 PM

i have seen this in some forums i have visited, its ajax though. when u type the thread title = onclick it will seach thru ajax the similar title and auto displays relevant titles. hope this one will evolve like that as well :) thanks anywayz, installed.

leginag 05-03-2008 04:12 PM

It is a useful mod, I get a lot of duplicate threads when there is some hot news, or a new release in my forum.

I second the idea of using ajax to automatically check, because I know a lot of users will be too lazy to click the button. There was a 3.6 version, but that had a few issues. Is it possible Cyb?

crkgb 05-03-2008 06:45 PM

Yup. Ajax would be nice ))

SCuN 05-03-2008 10:13 PM

great mod :D installed

Jase2 05-03-2008 10:16 PM

I've also seen AJAX ones. You type the title and it will begin to search for similar ones, then show the results under the title box. That would make this mod even better!

RMS-Chef 05-04-2008 05:21 AM

Quote:

Originally Posted by Jase2 (Post 1507401)
I've also seen AJAX ones. You type the title and it will begin to search for similar ones, then show the results under the title box. That would make this mod even better!

Would be nice for smaller forums I am sure. I would worry about resource usage if it did it all the time, every time on a big board.

cagbaazee 05-04-2008 08:34 AM

hi i hv install it but when i test it, but it doenot show or tell whethere there is any similar threads or not. What is wrong with mod. Can u tell me to resolve it. Thanks


All times are GMT. The time now is 07:08 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.01188 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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