WordPress.org

Ready to get started?Download WordPress

Forums

3.1 Upgrade, now user and site search not working (25 posts)

  1. jugoretz
    Member
    Posted 3 years ago #

    Since upgrading to 3.1, in the Network Admin page, I can see the list of sites and list of users. But I can't search either of those lists as I used to.

    Even when searching for something (a username or a site name) that I know is there (I can see it right in the list), the search function returns no results.

    With close to 1700 users and 1900 sites, I don't want to have to look through every page to find the exact one I need to get. Anyone else experiencing problems with this function?

  2. Crap. I'm getting the same.

    Edit: correction - I'm only getting this on partials. If I type in the username *exactly* then it finds it.

  3. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    You need to use explicit trailing wildcards now.

    nac* or nacin will find me. nac will not. (*cin will also not work.)

  4. jugoretz
    Member
    Posted 3 years ago #

    Aha. I see that now--it works with the explicit trailing wildcard.

    But it's really too bad about the preceding wildcard not working, at least. It was very helpful before, when students didn't remember their exact usernames, to be able to search a partial.

    Any chance that will come back?

  5. Yeah, pete filled me in. :D

    (I think he told me before and I forgot)

  6. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    They should be able to search by email still, which is nice. It actually detects the @ and automatically knows to search the email field. Pretty nifty.

    With regards to leading wildcards, that is something we considered, but decided against straight-up implementing it. Trailing wildcards are okay on performance cause it can search the start of the field, but leading definitely hurt the DB. (I actually think that leading is just as bad as both leading and trailing, but I haven't confirmed.)

    It's not easy to reverse it, but it should be possible in a plugin. You'll have to hook into WP_User_Query.

  7. jugoretz
    Member
    Posted 3 years ago #

    Thanks, Andy. That makes sense.

  8. antonbalds
    Member
    Posted 3 years ago #

    Hi..
    I have some problem when I search user using their email, I have a case which i must to show how many user using email from yahoo.

    I try using * example yahoo.com* or *yahoo.com or *yahoo.com*
    it doesn't work.

    i wonder if i miss some clue..or in WP 3.1 doesn't support case like that??

    thanks..

  9. Andrew Nacin
    Lead Developer
    Posted 3 years ago #

    @antonbalds: Currently *@yahoo.com won't work in a network (without a plugin as I mention above). But it would be a worthy enhancement for a future version of WordPress.

  10. antonbalds
    Member
    Posted 3 years ago #

    @Andrew : i see. Ok thanks for explanation, maybe just for now i must search from Db or just find a plugin.

    thanks..

  11. tommcgee
    Member
    Posted 3 years ago #

    The way I used to add existing users to a blog was to go to that blog's Dashboard and use the Super Admin/User panel. I could do a search for the name, click the edit link on the one I wanted, and assign that user a role.

    Now I have to search in the Network Admin users, search for the user with wild cards, copy their email address, then navigate to the individual blog's Users panel and paste it in, while assigning a role.

    I know it's not the end of the world, but it's a step backwards in terms of manageability.

  12. http://wordpress.org/extend/plugins/add-users-sidebar-widget/

    or, if the user has added a comment to that site... you have their email address in the backend of that site and don;t need to look them up in network admin.

  13. dscottS3
    Member
    Posted 3 years ago #

    Does anyone have an issue when they click edit after searching for a site? When I do so it kicks me back to the network "main" page.

    I've realized out that the sitename is in the URL and if I remove it from the url it works.

    http://mydomain.com/path/sitename/wp-admin/network/site-info.php?id=99999

    Again, if i remove the sitename it works fine...Suggestions?

  14. dscottS3 - Yes and it will be fixed in 3.1.1 :)

    http://core.trac.wordpress.org/ticket/16720

  15. dscottS3
    Member
    Posted 3 years ago #

    Awesome! Thanks Ipstenu.

  16. kejebe
    Member
    Posted 3 years ago #

    I used to be able to search for Sites but now it isn't working even if I try using a wild card?

    If I click the link for sites I see a list of all my network sites. I have one that is called template. I can see it on the very first page of sites it lists out. If I type template into the search box it comes back with zero matches. If I type temp* I also get zero matches.

    The only changes made to the site are as follows.

    When I first set up my network on a fresh install I chose the default settings. Later, I found it made the main blog so it didn't start with www. Seeing as I wanted my main blog to start with www I followed these directions. Everything is working perfectly as far as I can tell aside from this one problem I have located.

    I currently have about 60 sites using using sub-domains. I have checked the majority of them and they are all working. I can add new sites with not problems. Plugins are working.. Everything is working except for the search feature in the Network Sites Admin page.

    Any ideas would be appreciated.

    Sincerely,
    Kevin.

  17. Daniel Bachhuber
    Hand Built
    Posted 3 years ago #

    Kevin, I have your same problem as well (search doesn't work at all for sites). I haven't had the time to look further and see whether there's a ticket in Trac, etc.

  18. DrLightman
    Member
    Posted 3 years ago #

    I doesn't work for me either, the site search. I don't understand what it searches for? The domain? If I have a site with domain "www.example.org" it doesn't work if I type in the box any of:

    www .example. org (anti auto link)
    example.org
    example

  19. It works fine for me on all sites.

    Site Search
    You're not searching for the domain, you're searching for the sitename. So if your sitename is 'camels', you can search for 'cam*' and get 'camels', and 'camisoles' listed :)

  20. DrLightman
    Member
    Posted 3 years ago #

    Searching for titles, doesn't work for me either.

    If a blog is titled "Example Blog", searching for "Exam" or "Exam*" or "Exam%", doesn't return any results :(

  21. Tim Moore
    Moderator
    Posted 3 years ago #

    @DrLightman: The site search works for me, on multiple installs, just as Ipstenu pointed out. Do you have any mu-plugins or network activated plugins that may be interfering?

  22. If a blog is titled "Example Blog", searching for "Exam" or "Exam*" or "Exam%", doesn't return any results :(

    Okay, what's the blog NAME, not the title, the NAME.

    Like 'camels' is titled 'meals on camels' and 'camisoles' is 'Shirts I live in!'

  23. ivantus
    Member
    Posted 3 years ago #

    Would it be possible to search again users using their email address in future versions or should I install a version before 3.1 again?

  24. You can still search by email. You can't search by *@gmail.com but ipstenu@gmail.com works fine.

  25. DrLightman
    Member
    Posted 3 years ago #

    Ipstenu:
    Okay, what's the blog NAME, not the title, the NAME.

    Like 'camels' is titled 'meals on camels' and 'camisoles' is 'Shirts I live in!'

    Sorry but I don't understand what are you asking me.

    Under Settings>General>'Site Title' of my domain mapped "awesomeblog" to www/.awesomeblog/.com I put "Awesome blog".

    Now if I search for "awesome" from my/.mainsite/.com/wp-admin/network/sites.php, I don't see any results.

    I run WP 3.1.3 network install, with WP Super Cache and other plugins of course, but they shouldn't interfere with that dashboard function(s), I suppose.

Topic Closed

This topic has been closed to new replies.

About this Topic