Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cyb - Check If Already Posted Details »»
Cyb - Check If Already Posted
Version: 1.5, by Valter Valter is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.8 Rating:
Released: 08-03-2006 Last Update: 01-23-2007 Installs: 309
Uses Plugins Template Edits
 
No support by the author.

vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177936


=======

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.

Show Your Support

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

Comments
  #32  
Old 10-07-2006, 09:11 PM
ymy ymy is offline
 
Join Date: Feb 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghanem
Thank you very much
working fine with my Arabic foum :up:
click install
Reply With Quote
  #33  
Old 10-07-2006, 09:18 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)

To upgrade: Import XML, allow overwrite.
Reply With Quote
  #34  
Old 10-10-2006, 10:00 PM
InTeNsE-HuMoR InTeNsE-HuMoR is offline
 
Join Date: Sep 2006
Location: Northern Ireland, UK
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is great but.. It still searches forums that I have set to exclude from being searched. Any ideas what i'm doing wrong?
Reply With Quote
  #35  
Old 10-10-2006, 10:25 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi InTeNsE-HuMoR,

This option is to exclude "Check If Already Posted" function in selected forums, not to exclude forums from searching. This can be done via standard forum options.
Reply With Quote
  #36  
Old 10-10-2006, 10:36 PM
InTeNsE-HuMoR InTeNsE-HuMoR is offline
 
Join Date: Sep 2006
Location: Northern Ireland, UK
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank-you Cybernetec, problem solved!
Reply With Quote
  #37  
Old 10-31-2006, 11:07 PM
CRUEL9 CRUEL9 is offline
 
Join Date: Oct 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There 3.5.5 version?
Reply With Quote
  #38  
Old 11-01-2006, 11:23 PM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CRUEL9
There 3.5.5 version?
This one works with 3.5.x too.
Reply With Quote
  #39  
Old 11-17-2006, 10:59 PM
quadinfotech quadinfotech is offline
 
Join Date: Sep 2006
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack is great but I imported the xml and the button didn't show up so I manually added $cybcheckifposted to newthread template but still nothing, this used to work with 3.6.1 but now it doesn't, using 3.6.3, any idea?
btw hack is enabled.

never mind, got version 1.4 and problem solved, thanx again for this great hack
Reply With Quote
  #40  
Old 12-15-2006, 03:45 AM
sturdy sturdy is offline
 
Join Date: Aug 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to do this Query directly on the database ?
If found a modification for the WoltLab Burning Board and need this as posted, but that it works for the VB

PHP Code:
$istopic $db -> query_first ("SELECT * FROM bb".$n."_threads WHERE topic='".addslashes($topic)."'");
if (
$istopic['topic'] == $topic$error .= '<li>Topic is already posted...</li>'

I would like to have this feature because not everybody who posts a new thread will check via this button.
So this feature if the thread is really already posted the user will not able to submit this topic until he changes his threadtitle
Reply With Quote
  #41  
Old 12-20-2006, 10:13 AM
sturdy sturdy is offline
 
Join Date: Aug 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does nobody can do this change for me ?
Reply With Quote
Reply


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 01:05 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.04608 seconds
  • Memory Usage 2,314KB
  • Queries Executed 25 (?)
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_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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