The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cyb - Check If Already Posted Details »» | |||||||||||||||||||||||||
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
|
Comments |
#42
|
||||
|
||||
Cyb,
Thanks for the hack. A question: It seems to me that when you do the search you take the string entered for the title and throw it in the search here: &query='+document.vbform.subject.value+'. If I understood this right, and from the hack's behavior in my forums, it's looking for a complete, closed string, not for individual words. It's searching for ALL words. What I'm seeing happening is lots of topics with similar titles not being found because of this, when IMHO it should be looking for ANY of the words in the topic title. Please let me know if I understood this wrong. Thanks! |
#43
|
|||
|
|||
just INSTALLED Cyb ... great job!
|
#44
|
||||
|
||||
Installed on my test forum. getting this database error on the popup window when pressing the check button...
Code:
Database error in vBulletin 3.6.4: Invalid SQL: SELECT * FROM search AS search WHERE searchhash = '988d44f247e6410275625fa424f5f84d' AND userid = 1 AND completed = 1; MySQL Error : Unknown column 'completed' in 'where clause' Error Number : 1054 Date : Thursday, December 28th 2006 @ 12:30:08 AM Script : http://127.0.0.1/search.php?do=process&titleonly=1&query=testing Referrer : IP Address : 127.0.0.1 Username : Eros Classname : vb_database |
#45
|
|||
|
|||
Another good one:up: installed
Thanks |
#46
|
||||
|
||||
Great hack Cybernetec :up:, but unfortunately I don't know how to exclude certain forums (like the Publicity ones) from the hack's search. Is there any template editing involved or is there an option in the ACP that I'm missing?
|
#47
|
|||
|
|||
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. Upgrade info: Import XML, allow overwrite. Check new screenshots... |
#48
|
||||
|
||||
really cool nice updates mate i like it much nominated
|
#49
|
|||
|
|||
Quote:
Quote:
|
#50
|
||||
|
||||
hi cyb i love all of ur hacks but can u do this thing add ajax thing when u put title of the thread it will automaticly search for the thread if its already posted?
|
#51
|
||||
|
||||
Updated ...
Nice and thanks again |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|