Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Alex Cragg
    Participant

    @epicalex

    @whitbyglennk – What was the issue in the end? I’m having the same problem. What did the hosts need to change?


    Alex Cragg
    Participant

    @epicalex

    When inviting users, instead of their avatar and name showing up like with the group invitation process, it shows up -1, and then does the are you sure dialog when trying to invite.

    Also, when I just went to create a new event, all of the fields were pre-populated with the title of the previous event I’d created.


    Alex Cragg
    Participant

    @epicalex

    It did, cause that was where I found it ;) but I just svn updated and it wasn’t there, so there must have been a problem when I uploaded via ftp last time. The last line that should be there ends in that code, so it must have duped it.

    Just come across another problem. I created an event, and assigned a group to be its host. The forum topics from that group are showing up. Not sure if that is a bug or a feature, but in my case, I wouldn’t want all the forum topics from my team’s executive committee showing up on an event about welcoming new members!


    Alex Cragg
    Participant

    @epicalex

    Surely if the paths are coded dynamically, it shouldn’t matter what it’s called? Could use the plugin_basename and basename functions?

    However…I changed the name to bp-events, and the plugin activated, but I have some stray code in my header lters.php' ); } ?>

    Seems like it’s just been left in at the end of the file.


    Alex Cragg
    Participant

    @epicalex

    Just working on a clean install of BP, and tried activating bp-events, running trunk. I get the following error a couple of times on different lines:

    Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of do_action(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /wp-content/plugins/bp-events/bp-events.php on line 2221

    and also Failed opening required ‘/wp-content/plugins/bp-events/bp-events-cssjs.php’ (include_path=’.:/usr/local/php5/lib/php:/usr/local/lib/php’) in /wp-content/plugins/bp-events2/bp-events.php on line 21

    @matthijsv You could look at how WP constructs the calendar, ie how it populates it with posts, and work from that.


    Alex Cragg
    Participant

    @epicalex

    Jeff and Paul, thanks both for your replies. After my original post, I thought it would make sense to read the changelog, so I found it was just a renaming. As for the issues I was having with the CSS, I’m not sure what caused it, but I think it might have been because I still had bp-sn-framework activated, even though nothing was referencing it.

    I deleted that, and started again from the default theme, adding back in my custom.css, and everything is back to normal. On with the debugging…


    Alex Cragg
    Participant

    @epicalex

    OK, just read the changelogs, it’s just a renaming. But still, I don’t see why the layout has borked.


    Alex Cragg
    Participant

    @epicalex

    OK, done that. I’m now getting an error after the first creation screen, and this error in my logs

    WordPress database error Unknown column ‘avatar_thumb’ in ‘field list’ for query INSERT INTO wp_bp_events ( , referer: http://domain.com/members/admin/events/create/

    It appears as though the plugin isn’t creating that field in bp-events.php, I can’t find any reference to it anyway, and then in bp_events_classes.php, avatar_thumb and avatar_full have commands to have information inserted into them in the save() function.

    I added the necessary lines to add those fields in the sql create and everything works…


    Alex Cragg
    Participant

    @epicalex

    OK. There seems to be larger problems afoot. I wanted to start from scratch, to try and sort issues with the event fields, so I dropped all the event tables and deleted all the plugin files.

    I re-uploaded and went to the plugin admin page. Activated the plugin, and checked the mysql tables; nothing had been created. I tried a few other things to try and get the tables created. Logged out and in, went to the event settings page, resaved settings. Still no new tables.

    I then took the sql code from the plugin and created the tables manually. When I then tried to create an event, it tells me an error has occurred.

    Mariusooms, you said that this should work with a fresh install, but something doesn’t seem to be right!


    Alex Cragg
    Participant

    @epicalex

    About the missing icons, it’s when viewing an event, so /events/event-name .

    I’ve added code to the screen.css so that the images show. Also added a rule so that the event icon shows on the recent activity stream.

    Can I commit them to the svn, or send you the file? Or was I the only one who didn’t see them anyway?!


    Alex Cragg
    Participant

    @epicalex

    For the missing icons, I’ve checked the css, and the source file screen.css, and there aren’t actually any rules set up for styling the list items.

    http://svn.ywamnetworks.com/bp-events/trunk/events/_inc/css/screen.css

    Also, just noticed that the link to create a new event says “Create a Event”, not ‘an’.

    I just set up a new event, and the issue with the location still exists.

    Is there a trac where I can submit patches?


    Alex Cragg
    Participant

    @epicalex

    OK, well I had a few problems to start with, mainly due to remnants from the previous plugin version’s structure.

    Another thing to note is that I tried putting the events directory in the framework directory rather than the default theme directory, and that caused things not to work. I think it would be better, and in line with groups and member directories, if events could be added to the framework, not just the theme.

    When I look at an event that was already created prior to installing this version, I see the location as it should be, however, when going to the front end admin screens, the location is set to the tagline. Updating the location instead adds the new location to the recent news, and leaves the location unchanged IN THE FRONT END ADMIN SCREENS.

    There are no icons for the event menu list.

    Event invite isn’t working, but I don’t think it is for groups either.

    The ajax loading icon has gone from the widget; although the ajax change in newest etc still works, without the loading icon it isn’t necessarily clear that anything is happening.

    Also for the widget, can we have event details back in?

    Going to domain.com/events doesn’t bring anything up; I’m assuming that this will be where the calendars will be put back in?

    This is definitely a step in the right direction. Things seem cleaner. But some of those features really need building back in once this base is established.


    Alex Cragg
    Participant

    @epicalex

    Fantastic! I’m running a live blog on trunk, (yeah yeah I know), and really need the events plugin working for the site to work. Downloading from trunk now, will give feedback in due course.

    Thanks for your work on this.

Viewing 13 replies - 1 through 13 (of 13 total)
Skip to toolbar