![]() |
Quote:
There's something funny about you agreeing it needs to be kept simple and then asking for a new feature in the same post. I don't understand this keep it simple mentality at all. This is a purpose-driven hack. It's going to get used by the people who need it and not used by the people who don't. Keeping it simple to have it be more "accepted" by the community really serves no purpose. In any case, I'm not advocating turning it into something massively complex; I think it's a great hack and I'm offering suggestions to make it even better. Things like: Subcats for bugs/trouble reasons A way to edit bugnotes. Email notification Are not huge things, and in fact can use the stuff vb3 already has built in. I'm advocating change here for the good of everyone who uses this hack. Otherwise it's going to go the way of other hacks I have seen - everyone just goes off and does their own private modifications and the main hack itself dies. There must be 30+ vb2 hacks I've seen that happen to. Let's work on making this thing better then. It's massively useful for a lot of vb owners. |
Quote:
Quote:
You could eMail me, if you want to take a look. :) |
concerning the mySQL v3 - v4 questions that float throught this thread:
I'm running a forum on a virtual hosting with some company that isn't going to upgrade anytime soon. The host runs with 3.23.58 Since i really really really wanted this hack i went snooping throught the source and on the mySQL site. The only fulltext search thing in the script is the "MATCH AGAINST IN BOOLEAN MODE". The mySQL manual stats Quote:
|
@Roderik
Quote:
@Stadler If you want you can send me a copy - kirby(at)gmx.net |
Damn :) should have kept reading till the botom of the page :)
Since i was bored i made a little function that makes a nice mySQL 3 string of where statements to "replace" the full text indexing. Function works, didn't try the sql output but it's already 3.00 AM... Hope you can do something with it to make the thing fully mySQL 3 compatible PHP Code:
Code:
AND ((name LIKE '%word1%' OR description LIKE '%word1%') AND (name LIKE '%word2%' OR description LIKE '%word2%') AND (name LIKE '%word4%' OR description LIKE '%word4%') AND (name NOT LIKE '%word3%' OR description NOT LIKE '%word3%') AND (name NOT LIKE '%word5%' OR description NOT LIKE '%word5%')) |
Nice one :)
But I fear it's not fully compatible:
Although I think the performance wouldn't be good. Anyway, it's in interesting point to start with. |
as i said, was bored, didn't even install the mod yet zo i based what $keywords would be from the little example at the mySQL manual :)
Quote:
PHP Code:
Quote:
But it can be fixed too :), by replacing * with % and in the code that builds of the sql we remove the %'s from the strings Quote:
name NOT LIKE '%".$kwmin[$i]."%' so name won't contain $kwmin[$i] what does the ~do other than de - ? Quote:
Quote:
|
|
So is this hack stable now? Is it safe to install without having problems?
EDIT: I threw the risk and I'm glad I did. Worked flawlessly. Thanks alot. :) |
Hey Kirby,
any news on a news version or something else? Maybe you can change the displayed location in the navbar based on the forum where the bugtrack is installed. |
All times are GMT. The time now is 04:36 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|