![]() |
this makes using tags finally usefull
GREAT mod!!! Congrats! |
Great Tools .. Thanks
|
This would be great if upgraded for vb4...
|
This mod is BRILLIANT! Can't believe it's buried so deep down.
I've written my own plugin that forces a tag search whenever any search term under 3 characters is present, and in conjunction with that, this works like a charm! With just my plugin, searches like this: "camera xy review" would redirect just to the tag "xy". Now, in conjunction with this mod, the same search will provide highly relevant results. |
FYI there is a easily-fixable but potentially-exploitable bug in this mod:
1. tags are not escaped, so a tag like "mike's" will give you a DB error 2. regex characters in tags will cause database errors, i.e. if you search for: [tag] To address this, I used the following addition to the code: $qtag = str_replace(array(']','[','\\','^','$',',','|','?','*','+','(',')','\''),a rray('\\]','\[','\\\\','\\^','\\$','\\,','\\|','\\?','\\*','\\+' ,'\\(','\\)','\\\''),$qtag); You can also use $vbulletin->db->escape_string() to fix issue #1, but that doesn't cover the regex characters. |
Moved to graveyard per authors request - https://vborg.vbsupport.ru/showthread.php?t=274938
|
All times are GMT. The time now is 03:19 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:
|