Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp-events widget search and directory search not working

  • Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    Hi,

    I’d really appreciate some help here.

    I have bp-events istalled on a bp 1.1.3 and events search is not working – not through the widget and not when I click a specific letter in the directory.

    what i got for any of them is blank results (not even saying no events were found etc.),

    I tried all your suggestions here such as downloading from trunk, deactivating the plugin and then activating again but nothing seems to be working for me.

    this is getting quite urgent for me as I have some deadlines around that so help would be much appreciated.

    Thanks,

    Shai

Viewing 9 replies - 1 through 9 (of 9 total)
  • Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    bumping this – any ideas anyone?

    if someone has a working (unchanged) copy of this plugin i’d love to get the zip to so i can try.

    Thanks,

    Shai

    Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    Just one more thing here.

    I just did a clean install of wpmu 2.8.6 and then bp 1.1.3

    i installed bp-events (what’s available on trunk) without any other plugins so totally clean installation no customizations what so ever and I still get the same results i described in initial post.

    Please help!!!!! :-)

    Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    ok – another shot -

    can someone zip and send me a working bp-events folders that he is running?

    I would like to see if there are any code differences.

    e-mail is shaisimchi@gmail.com

    Thanks,

    Shai

    Avatar of hatiro
    HaTiRo
    Participant

    @hatiro

    shaisimchi,

    I’m running an altered version of 1.1.2 and WPMU 2.8.6, and have exactly the same problem.

    I’m not a coder but am trying to look at the differences between the events code and the groups code which is what I beleive it is based on.

    It looks as though it has something to do with AJAX as the groups search uses a jQuery function(“form#search-groups-form”) in bp-groups/deprecated/js/directory-groups.js

    I say this as when you search on the groups directoy the page doesn’t refresh.

    I can’t see anywhere, where the events pages calls an ajax function to complete the action.

    Also, I’ve noticed that the pagination doens’t work for me after 10 events (i.e. moving to a second page) but that could just be me.

    If you get any joy with this let me know…

    Likewise, I’ll do the same.

    Avatar of hatiro
    HaTiRo
    Participant

    @hatiro

    OK, I’ve found the solution, after running through a lot of the files, I managed to get down to ajax.php in bp-sn-parent/_inc. in there you will see functions calling the -loop.php files.

    Simply duplicate bp_dtheme_ajax_directory_blogs() function and insert events where blogs is.

    This will then allow the directory and the search functionality to work in events….

    If this works for you don’t forget to change the red light to a green light..

    Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    Hi,

    Thanks but I still have a question.

    the events-loop doesnt reside under bp-sn-parent.

    it is under bp-default inside an events folder.

    i tried copying the ajax.php to the same location where it is in the bp-sn-parent and changed the method like you said referencing the right path to the events-loop.

    this had no affect at all. where are these methods called from – maybe if i know that it will make it easier.

    Thanks,

    Shai

    Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    ok – i got the hang of it and its working!!!

    one more thing – when i am in the directory page (events-loop) i have the join event button next to each event.

    when i click on it it disappears and nothing happens (its not joining the event) and when i refresh the button is back there (it is working fine from within the event). Have you noticed that?

    seems similar to the first problem (is there another ajax call for that?)

    Thanks for your help!!!!

    Shai

    Avatar of shaisimchi
    shaisimchi
    Participant

    @shaisimchi

    ok. i found that one and fixed it.

    here is the solution:

    in the same ajax.php file there is function called:

    bp_dtheme_ajax_joinleave_group

    I duplicated this function and replaced the string group with event throughout the entire function.

    Seems to do the trick :-)

    Thanks,

    Shai

    Avatar of hatiro
    HaTiRo
    Participant

    @hatiro

    Shai,

    I hadn’t noticed the join leave function as I’m currently not using that part of the functionality, but glad that we managed to get it working…

    Is your pagination working when you have more than 10 events?

Viewing 9 replies - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.