1. The glory of the 20th Icon Contest is yours for the taking!
    Dismiss Notice
  2. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  3. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  4. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

The resources search is garbage

Discussion in 'Site Discussion' started by Xonok, Apr 4, 2018.

  1. Xonok

    Xonok

    Joined:
    Mar 27, 2012
    Messages:
    3,039
    Resources:
    8
    Spells:
    3
    Tutorials:
    5
    Resources:
    8
    This thread was a while back. While it would be nice if normal search didn't ignore tags, advanced search works fine, so I have no further objection.
     
  2. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,434
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    The UX is indeed garbage. I am well aware of that. This is the second time Grubby tries to use our search on stream without success. I have some plans for a way to improve it when in our upcoming XenForo 2.0 release.
     
  3. doom_sheep

    doom_sheep

    Joined:
    Oct 18, 2008
    Messages:
    786
    Resources:
    0
    Resources:
    0
    For the love of god, let us search icons in a grid. There is no reason why 64x64 pixel images should be limited to 10 on your monitor at a time.

    Also, while searching for the warcraft 2 bloodlust icon I couldn't find it no matter what... until searching "btnbloodlust" instead. Might want to take a look at that.
     
  4. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,116
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Can confirm.
     
  5. Kyrbi0

    Kyrbi0

    Joined:
    Jul 29, 2008
    Messages:
    8,349
    Resources:
    2
    Models:
    1
    Maps:
    1
    Resources:
    2
    Hey, now a grid is a great idea (for icons at least). : )
     
  6. Ether

    Ether

    Joined:
    Nov 13, 2017
    Messages:
    741
    Resources:
    3
    Skins:
    3
    Resources:
    3
    Doesn't look garbage to me. I usually find things I am searching for. :) You just have to scroll your way down.

    Wanna know which really is suckingly problematic?
    The filters. Whenever I try to put some tag and apply filters like "undead and missile"
    Damn, I get really out of place results. I even see an orc unit and that orc guy is 100% not neither undead nor missile. And there's a lot more unrelated.
     
  7. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,116
    Resources:
    1
    Maps:
    1
    Resources:
    1
    That's because of the uploaders choosing more tags than necessary for their resources.
    doom_sheep is right. Not everything related to what you write shows in the search not even if a resource name contains a word you've written. It's trying to be too exact and that's not good, it's restrictive.
     
  8. Ether

    Ether

    Joined:
    Nov 13, 2017
    Messages:
    741
    Resources:
    3
    Skins:
    3
    Resources:
    3
    I think there is an option where one can select where forum to find it. If I check 'model section' only or anything else, the search will work on it.

    When I want my skins, I check the advanced options with skins repositories only then I see skins. I guess that is what the checkboxy features want to werk.
     
  9. deepstrasz

    deepstrasz

    Map Reviewer

    Joined:
    Jun 4, 2009
    Messages:
    15,116
    Resources:
    1
    Maps:
    1
    Resources:
    1
    No. I tried doom_sheep's search on the general field and the proper icon field and the same. Plus, when searching for a specific type of resource you don't want other stuff in the way.
     
  10. TriggerHappy

    TriggerHappy

    Code Moderator

    Joined:
    Jun 23, 2007
    Messages:
    3,784
    Resources:
    22
    Spells:
    11
    Tutorials:
    2
    JASS:
    9
    Resources:
    22
    I think I suggested this before but I would try using something like DataTables | Table plug-in for jQuery. You should be able to integrate it with XF's database and this way you can have full control over how the search is handled. I have something similar for WC3 Maps and it works great. The only downside is if there are major changes to the XF database structure you will have to update your code, but it may be worth it for the extra flexibility.

    If you want to stick to to XF search system then I have some suggestions.
    • I think making some filters more obvious would help. For example, in the maps section the "Warcraft 3 Maps" dropdown filter should be automatically selected. The author filter could also maybe be moved above the tags. You have to scroll down to see the author filter.
    • You cannot search twice. After the first search a site-wide search is applied. It's very counter intuitive.
    • A checkbox to include substandard resources in a search would be helpful.
    • The long list of tags is kind of jarring at first. Maybe show the most popular tags first, then have a "show more tags" button which reveals the rest of the more uncommon ones?

    Overall I wouldn't call the current system garbage but it has a few flaws which can be annoying.

    If you need any assistance with any of this I'd be more than willing to help out. :thumbs_up:
     
  11. Noob Mher

    Noob Mher

    Joined:
    Mar 7, 2019
    Messages:
    20
    Resources:
    0
    Resources:
    0
    True I search for a fel orc I get a Night Elf backpack!
     
  12. Chaosy

    Chaosy

    Joined:
    Jun 9, 2011
    Messages:
    10,915
    Resources:
    17
    Maps:
    1
    Spells:
    10
    Tutorials:
    6
    Resources:
    17
    function searchMaps(searchString) {
    let arr = [];
    for(let map of db.maps) {
    if(map.name.includes(searchString)) {
    arr.push(map)​
    }​
    }

    return arr;​
    }

    Here you go, a better search system than the current one. All you need is a input box.

    I would not mind contributing since this annoys the hell out of me, but since Xenforo is made in php I'll pass. Hate the language.
     
    Last edited: Mar 10, 2019
  13. Xonok

    Xonok

    Joined:
    Mar 27, 2012
    Messages:
    3,039
    Resources:
    8
    Spells:
    3
    Tutorials:
    5
    Resources:
    8
    Kinda annoys me now that this is the title I chose.
     
  14. Ralle

    Ralle

    Owner

    Joined:
    Oct 6, 2004
    Messages:
    11,434
    Resources:
    22
    Tools:
    3
    Maps:
    5
    Tutorials:
    14
    Resources:
    22
    I have a fix for it in the XF2 migration of the site. ETA maybe this year...
     
  15. Nudl9

    Nudl9

    Joined:
    Nov 9, 2006
    Messages:
    2,369
    Resources:
    28
    Icons:
    11
    Skins:
    1
    Maps:
    16
    Resources:
    28
    It would be nice if we could do like google search and add colons to search for a specific phrase like "grass" to only find things with grass in title.
     
  16. Archian

    Archian

    Site Director

    Joined:
    Jan 1, 2006
    Messages:
    2,969
    Resources:
    12
    Skins:
    1
    Tutorials:
    11
    Resources:
    12
    Me and Ralle have talked about this many years ago. And as Ralle says:
    I know that Ralle is improving the search function for Hives next upgrade. We are sorry it has taken this long, but needless to say we are aware of the issue and are working on a permanent solution.
     
  17. Kyrbi0

    Kyrbi0

    Joined:
    Jul 29, 2008
    Messages:
    8,349
    Resources:
    2
    Models:
    1
    Maps:
    1
    Resources:
    2
    A...

    *cracks knuckles*

    Permanent solution.
     
  18. Map Designer

    Map Designer

    Joined:
    May 2, 2011
    Messages:
    1,166
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    explosive and explosion give the same results.
    incinerate and incineration give the samre results.

    I like it.