vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Cyb - Check If Already Posted (https://vborg.vbsupport.ru/showthread.php?t=115947)

Valter 05-17-2006 10:00 PM

Cyb - Check If Already Posted
 
=======
Release of this hack for vB v3.6:
https://vborg.vbsupport.ru/showthread.php?t=122990
=======


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.


Click INSTALL if you like this hack.

Valter 05-18-2006 03:47 AM

Reserved.

apdcanari 05-18-2006 03:54 AM

Not working for me...

Buttons...

:surprised:

Stop 05-18-2006 04:32 AM

installed and works fine.
thanks a lot

projectego 05-18-2006 07:18 AM

Sounds interesting, I'll give this a try now. Thanks, Cybernetec. :)

TTG 05-18-2006 09:16 AM

Already installed this one .. but thanks anyway.

hawgjaw 05-18-2006 11:21 AM

Thanks alot worked perfect here.

PabloAM 05-18-2006 11:40 AM

In need remove the Navbar of the popup, please help me

Rickie3 05-18-2006 12:41 PM

this is really handy thankyou *installed*

Snake 05-18-2006 08:48 PM

Looks good to me. :)

Mouse_cats 07-18-2006 08:14 AM

thanks alot good hack

bada_bing 07-18-2006 04:19 PM

Installed on vb 3.5.3 and works

caliman 07-19-2006 02:09 AM

Works the first time.
But if you change your title and hit it again, it does not get any results.

I||usi0nz 07-31-2006 04:15 PM

nice, i'll try it out man :)

Valter 08-01-2006 07:23 AM

Quote:

Originally Posted by caliman
Works the first time.
But if you change your title and hit it again, it does not get any results.

I have no similar problems. Also noone else reported that this happens.

caliman 08-01-2006 09:29 PM

Quote:

Originally Posted by Cybernetec
I have no similar problems. Also noone else reported that this happens.

Try it in Firefox browser. That is what I was using.

PennylessZ28 08-01-2006 09:47 PM

Nice idea

Nathan2006 08-02-2006 01:34 AM

Very useful

thank you

Install ;)

Valter 08-02-2006 06:08 AM

Quote:

Originally Posted by caliman
Try it in Firefox browser. That is what I was using.

Most of time I'm using FF.

engedi05 08-02-2006 10:00 AM

I have installed it.. very very nice..

caliman 08-02-2006 06:24 PM

Quote:

Originally Posted by Cybernetec
Most of time I'm using FF.


ok... i'll try it again.

Valter 08-04-2006 08:28 AM

vB 3.6 version:
https://vborg.vbsupport.ru/showthread.php?t=122990

Chicago_VLNU_4s 09-22-2006 01:51 AM

nice

Ziki 09-29-2006 06:56 PM

Cyb,

You should change the plugin hook placement to newthread_start that works aswell to avoid unneccasary template usage on every page

Valter 07-28-2007 07:45 AM

v1.5
-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.

Import product XML, allow overwrite.

kemalyanal 01-31-2008 06:45 PM

Thanks
It Works Fine But only English..

Example: If I search as "Küçük" don't support. It seems küçük

It Donn't support "ü,ç,ı,ş...".etc.


All times are GMT. The time now is 06:34 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.01214 seconds
  • Memory Usage 1,758KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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