Forum Replies Created
-
@zageek – I had not built the Ruby on Rails website but was originally responsible for improving upon it. After getting into the code and looking at how unusable the site was for users, I recommended that we start the whole site over rather than try to patch something together. After looking at the requirements the client wanted, BuddyPress seemed like a natural fit.
@designoddysey I will let you know when those are published to my website.
Fixed this issue. Use the Functions.php file inside of /bp-themes/deprecated/bphome in the 1.1rc branch.
Because I intend to move to 1.1 with a parent-child theme, I’ve been liberal in changing the bp core files to make it work with my deprecated theme as a temporary fix but there are two issues with 1.1 and old themes that I ran into.
Registration:
There is a function called ‘get_edit_html’ that is deprecated from the BP_XProfile_Field class. (it still exists in a deprecated class extension but it’s having a hard time finding it). I simply moved it back into the BP_XProfile_Field Class and everything works again.
Activation:
Even with the functions.php file correct, it fails to find the activation page because it tries to use the new activation screen from 1.1. You need to add the following to LINE 9 of bp-core/bp-core-activation.php. This will check if you’re using a legacy theme and then default to looking for the activate.php in your bphome theme.
if ( file_exists( WP_CONTENT_DIR . '/bp-themes' ) )
return false;My next steps:
These issues and changes to the core only apply to deprecated themes. I will do a fresh BP install of 1.1 when we are ready for the parent-child theme.
Site launch in t-minus….4 days!
I wrote something like this for a site today and when I post to the wire from the home page, it records under my recent activity but does not actually post to my wire. I’m probably missing some preset variables for the user id.
“You posted on wire”
vs.
“You wrote on your own wire”
The target wire is not being defined somewhere. I have to finish it for a client review tomorrow so I’ll post what I find!