Page 1 of 2

New Search Page

Posted: Sun Mar 10, 2019 2:30 am
by jmo1121109
One of the most requested features of site history has been to search for games by name. The current search functionality for users and games was both severely lacking so I made the new page called "search" you should now see in your menu bar. I also made the header have more space so the entire row of menu options can fit below the logo, but this change is to a cached file so you may not see the extra header space until the next time your browser refreshes your cache.

Quick highlights:
1. Searching for users by type, such as donator, banner, mod, etc
2. sorting by columns, allows you to target the users or games you're looking for.
3. New information about games available. This page is now the first place on the site you can see how many people are spectating a game and see if the game has a Game Director assigned to it.
4. The parameters are all in the URL, so you can easily share a search on the forum or via pm or bookmark it for later use.

While I have done a lot of testing, and the mod team has done even more, it's entirely possible certain search parameters will not work. If you notice something not working please let me know here.

Thanks to our donators for making additions to the site like this possible!



*Legal Notice: Usage of this new search tool waives all user rights to later accuse the developer of wrong doing based on its functionality. If you have questions about site usage based on the new page or this thread it is your responsibility to get them cleared up. The Development Team will not be held liable for any confusion you may have.

Re: New Search Page

Posted: Sun Mar 10, 2019 2:33 am
by jmo1121109
For example, here is a link to see all of the games in the ODC 2019 tournament:
http://www.webdiplomacy.net/detailedSea ... bmit=Check

Edit: Please note that if you use the site at https://www, https://webdiplomacy, or http:webdiplomacy you'll need to adjust my url to that. Since logging into 1 of the 4 virtual directories does not log you into all of them. Yes, it's dumb, yes we'll fix it at some point.

Re: New Search Page

Posted: Sun Mar 10, 2019 6:04 am
by jmo1121109
Planned fixes:


Edit:
Fixed Issues
1. Time joined column now shows year instead of time.
2. Search ignores leading and trailing white space when searching for users and games by name.

Re: New Search Page

Posted: Sun Mar 10, 2019 8:15 am
by Mercy
It is interesting that people are still spectating finished games!

Re: New Search Page

Posted: Sun Mar 10, 2019 9:11 am
by RoganJosh
Nice!

There is no "next" button to, say, display results 51--100?

Re: New Search Page

Posted: Sun Mar 10, 2019 4:36 pm
by jmo1121109
Mercy wrote:
Sun Mar 10, 2019 8:15 am
It is interesting that people are still spectating finished games!
The spectating record never is deleted from the DB, so you'll be able to see how many people were watching it at the time the game ended.

Re: New Search Page

Posted: Mon Mar 11, 2019 4:20 am
by Squigs44
With the added Search link up top, when I am in the forum there are so many links that the logo covers up half of the home link. I don't run into this problem on mobile, just my desktop. I'm running Chrome. Not a big deal, just an aesthetics thing.

Edit: I now see that there is a message about caches and such causing this issue. How do I fix this?

Re: New Search Page

Posted: Mon Mar 11, 2019 1:58 pm
by jmo1121109
What browser are you using?

Re: New Search Page

Posted: Mon Mar 11, 2019 3:15 pm
by Squigs44
jmo1121109 wrote:
Mon Mar 11, 2019 1:58 pm
What browser are you using?
Chrome, but I figured it out now. Although now the logo is sitting up top which gives the header a lot more space and it looks altogether too tall compared to before. Guess I'll get used to it.

Re: New Search Page

Posted: Mon Mar 11, 2019 4:36 pm
by jmo1121109
The size difference is exactly 20 pixels it’s the size of the menu line of words and should be hardly noticeable

Re: New Search Page

Posted: Mon Mar 11, 2019 5:31 pm
by Durga
Squigs44 wrote:
Mon Mar 11, 2019 4:20 am
With the added Search link up top, when I am in the forum there are so many links that the logo covers up half of the home link. I don't run into this problem on mobile, just my desktop. I'm running Chrome. Not a big deal, just an aesthetics thing.

Edit: I now see that there is a message about caches and such causing this issue. How do I fix this?
same

Re: New Search Page

Posted: Mon Mar 11, 2019 5:59 pm
by flash2015
Durga wrote:
Mon Mar 11, 2019 5:31 pm
Squigs44 wrote:
Mon Mar 11, 2019 4:20 am
With the added Search link up top, when I am in the forum there are so many links that the logo covers up half of the home link. I don't run into this problem on mobile, just my desktop. I'm running Chrome. Not a big deal, just an aesthetics thing.

Edit: I now see that there is a message about caches and such causing this issue. How do I fix this?
same
Can you post a screenshot? Have you tried opening an incognito window and logging into webdip?

Re: New Search Page

Posted: Mon Mar 11, 2019 6:00 pm
by flash2015
It looks fine for me on Chrome or Firefox.

Re: New Search Page

Posted: Mon Mar 11, 2019 6:09 pm
by Durga

Re: New Search Page

Posted: Mon Mar 11, 2019 6:25 pm
by flash2015
Hmmm. I don't have that problem. Just tried on Chrome on my home machine (Windows) and my work box (Linux) and it seems like everything scales OK

https://imgur.com/a/NKzIIL4
https://imgur.com/a/ttbpLiZ

I also tried on Chrome on Android and it seemed fine too (looks more like the second image).

Re: New Search Page

Posted: Mon Mar 11, 2019 6:28 pm
by flash2015
Are you potentially opening webdip on a high definition laptop? What is the resolution?

Re: New Search Page

Posted: Mon Mar 11, 2019 8:13 pm
by Squigs44
It fixed it when I went into my browser settings and cleared my cache (not my cookies though).

Re: New Search Page

Posted: Mon Mar 11, 2019 8:53 pm
by jmo1121109
You just need to clear your cache and it will move the image up.

Re: New Search Page

Posted: Tue Mar 12, 2019 12:26 am
by jmo1121109
Here's a handy diagram of how to clear your cache on any desktop or laptop
https://fabricdigital.co.nz/assets/How- ... raphic.jpg

This shouldn't be a problem for anyone on mobile because the header is dynamically adjusted based on the number of menu elements on a screen size under a certain width

Re: New Search Page

Posted: Tue Mar 12, 2019 5:06 pm
by VillageIdiot
Love it!

Think we could be throw a column sort function on there just as gravy?