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

Mesohu 05-04-2008 09:05 AM

Installed , thanks for the update.

punchbowl 05-04-2008 09:37 AM

Quote:

Originally Posted by RMS-Chef (Post 1507720)
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.

Agreed. I'd like it to check similar threads on submit then either post the new thread or return with a list of similar threads above the subject and the body of the new thread ready for a c&p.

Jase2 05-04-2008 10:04 AM

No! This was on a big board - they don't seem to have any problems.

markbolyard 05-07-2008 12:48 PM

Thank you. This has now been set as my Favorite mod of all time in my profile. Nice work Cyb!

ecihanuysal 05-10-2008 10:18 PM

with one word - perfect ;)

steve1966 05-27-2008 11:49 AM

thanks

does anyone know how i can change the colour of this text Check If Already Posted in the post box i want it to show red

thanks

Astrof 06-03-2008 10:28 PM

Excellent hack, thanks a lot!

Hannan 06-27-2008 05:10 AM

Nice mod,
thanks

digicom 06-27-2008 01:23 PM

Many thanks apprciated :up:

chatzworld 06-28-2008 06:41 PM

realy would be nice to have this in AJAX

Mrdby 07-10-2008 09:32 PM

not working on 3.7.2

rul3z 07-10-2008 10:06 PM

its working very good with me ... iam using 3.7.2

my question is: how can i change the text on the button itself?

Valter 07-11-2008 06:58 AM

In Phrase Manager. Search for "Check If Already Posted".

SSJB_7 07-22-2008 12:06 AM

thanks for me in the old times the most boring things was to search for same post lol.

BucWiLd 07-22-2008 12:17 AM

very nice thank you

lostguy 07-25-2008 12:53 PM

This will be better if can control which USERGROUP can use the option and VIEW it . We have few sections forbidden for other user if they try use that option might able view sum of the content that forbidden for them .

Plus if posible make Check URL options too..Which have option tick to check URL if been post or not .

lg

ALSALAFE 07-25-2008 01:15 PM

thanks

raja811 08-06-2008 07:01 PM

Thanks

Ghanem 11-14-2008 09:28 AM

Thank you for the mod

When I hilight the button "Check if already posted" it shows directly the drop down choices
How can I adjust it so it shows it only when I click the that button https://vborg.vbsupport.ru/external/2010/06/3.gif

DungBeetle 12-07-2008 10:28 PM

I have one problem. We use žćšč. letters.

This come up when we search with this letters included koko??injca and must be kokošinjca, so then cant make a good search. Can be fixed.

Thanks

celikforum 02-25-2009 11:25 AM

<div align="left">one does not find the issues, not on the site also says that about</div>

algert 05-24-2009 06:18 AM

How do i check the forum/section ID's? cause i want to disable it on some sections..

brz299 05-27-2009 08:48 PM

Install

relaxiha 07-20-2009 02:38 AM

working on 3.8.3

Ava-Kyrillos 08-10-2009 12:44 AM

Will carry
Thanks :-)

icemann 12-30-2009 09:16 AM

Would be nice to see this work on vb4. :cool:

Fivestones 12-15-2010 03:45 PM

great hack Thanks

PAKIDIL 09-17-2011 10:44 AM

is there any way to force user to check if the thread already posted or not

varlier 12-18-2011 07:49 PM

thanks for you job


All times are GMT. The time now is 03:28 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.01166 seconds
  • Memory Usage 1,779KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete