1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. 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,042
    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,219
    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:
    753
    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:
    10,674
    Resources:
    1
    Maps:
    1
    Resources:
    1
    Can confirm.
     
  5. Kyrbi0

    Kyrbi0

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

    Ether

    Joined:
    Nov 13, 2017
    Messages:
    622
    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:
    10,674
    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:
    622
    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:
    10,674
    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,665
    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,611
    Resources:
    18
    Maps:
    1
    Spells:
    11
    Tutorials:
    6
    Resources:
    18
    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,042
    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,219
    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,149
    Resources:
    26
    Icons:
    11
    Skins:
    1
    Maps:
    14
    Resources:
    26
    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,795
    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:
    7,881
    Resources:
    1
    Models:
    1
    Resources:
    1
    A...

    *cracks knuckles*

    Permanent solution.
     
  18. map designer

    map designer

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

    I like it.