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
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!!!!!
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
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.
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..
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
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
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
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?