Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 22 replies - 51 through 72 (of 72 total)
  • @lancewillett

    Participant

    I was able to duplicate this behavior, but don\’t have a fix in mind for it. This is with the latest trunk (revision 1302):

    To repeat, log in as a user and send a message to another user with this subject line: Just wondering how you\'re doing

    When that first message saved to the database, the field value is this: Just wondering how you\'re doing

    So far, so good.

    Now log out and log in as a different user (the recipient), and go to the messages area. Click the subject to open the message, and type a reply.

    Now look in the database (in the \”wp_bp_messages_messages\” table) and you\’ll see that the subject field for the reply is: Re: Just wondering how you\\\'re doing

    Now repeat this four or five times, and you\’ll see that each time the message gets saved extra slashes are added:

    Re: Just wondering how you\\\\\\\'re doing

    Re: Just wondering how you\\\\\\\\\\\\\\\'re doing

    Re: Just wondering how you\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'re doing

    The issue, as far as I can tell, is that when the subject is saved, the escape characters (slashes) from the previous subject line are themselves escaped.

    @lancewillett

    Participant

    Thebigk,

    This isn’t a BuddyPress issue as the rich editing options and settings are handled through WordPress MU.

    From what I could see on a quick search on https://mu.wordpress.org/forums/, the rich editor options will only affect new blogs (not ones already created). For older ones, you might have to manually update the setting in the database with a tool such as phpMyAdmin.

    I’d suggest also digging around more in the MU forums for such terms as “rich editor” or “rich editing” to see if there are more threads on this topic.

    @lancewillett

    Participant

    @Ninh – Sounds like you are on the right track. One word of caution, though: if you are manually copying files from one place to another it’s very easy to lose hidden files, like .htaccess files. These are very important and can cause problems with your install.

    It’s highly recommend to start over with a new download or SVN checkout at the new server location so you are sure to get the correct setup.

    @Dace – Same thing… if you upgraded and only copied certain files you can get into problems. If you are going to upgrade, it’s recommended that you replace the entire BuddyPress install (not just pieces).

    Like I said before–and you can search the forums–this topic is very common and usually comes down to a few things: GD support, htaccess issues, or file permissions on the directory where the avatar images are uploaded to.

    @lancewillett

    Participant

    Great — glad to hear it. Sorry to have missed your previous questions.

    where do i upload the .po file to??

    Anywhere on the server, it doesn’t matter.

    what does this command do exactely

    It takes your PO file and creates the MO for you.

    did you mean.. ”and added the buddypress-spots.mo file there…”

    Yes.

    i have already set up in wp-config.php will this clash with what you have said to doo..

    Hmmm… that I don’t know. I don’t use those configuration settings, myself. I would suggest commenting them out and testing your site. If the language file changes are still working, go ahead and delete those lines from your wp-config file.

    Overall the language file is a better long-term solution since you can make changes for other labels there as well if they come up in future versions, whereas those custom definitions are only specific to a few labels.

    @lancewillett

    Participant

    GD2 image library is not installed on my site, but it was installed on my shared hosting. Is that needed?

    Yes, it is required for uploading avatars and for uploading media to WordPress MU pages and posts.

    @lancewillett

    Participant

    @Dace – I saw your comment in this related thread… but did you try the things that were suggested there: fixing permissions, checking for GD support, .htaccess issues, etc?

    Avatars not uploading is a very common issue, so much that it has an an entry on the FAQs page:

    Why will avatars not upload on my server? This could be a number of things, but make sure you have the GD image library installed. It might also be permissions, so make sure the web server has correct permissions.

    Make sure to check these things (if you don’t know how to check for GD library support, ask your web host) and report any errors in your server logs.

    @lancewillett

    Participant

    Yes, I was able to send and receive messages just fine.

    @lancewillett

    Participant

    Looks like it’s working just fine for me (I created a quick test account).

    @lancewillett

    Participant

    Timothy,

    Are there any errors in your web server logs? If so (and they relate to the messaging being broken), paste them in a Pastie and link to it here.

    @lancewillett

    Participant

    No side effects that I know of, though our setup is still \”young\” (only been live for just over a month) so I don\’t know the long-term implications yet.

    One thing I will mention, though — if you site has been live for a while you\’ll have to do some SQL cleanup in the database to rename things that have been cached (like user activity). For example:

    UPDATE wp_bp_activity_sitewide SET content = replace(content,\' wire:\',\' wall:\');

    What do you have to do different now that you didn\’t before you had the faux translation?

    Actually, the biggest difference is a positive one: instead of hand-changing all the instances of \”Wire\” in the plugin and theme files we keep that in the language file instead. Since the language file (and the bp-custom file) aren\’t in the BuddyPress SVN repo they will never get overwritten when we upgrade.

    @lancewillett

    Participant

    No problem, Fernando.

    Did you read this post? https://mu.wordpress.org/forums/topic.php?id=11046

    @lancewillett

    Participant

    Hey Moonviper,

    In just a brief look at your site, it looks like you are missing some of the CSS rules that help clear floats and such, including div.clear {clear: both;} from the “base.css” file in your home theme.

    I’d recommend not removing that base.css file since it resets elements across the board to help with browser inconsistencies.

    @lancewillett

    Participant

    @Modemlooper Looks like you are using a non-alpha version of bbPress. The most recent alpha release is required to get this to work as it says on line 13 of the readme file:

    You *must* be running the latest alpha of bbPress and at least WPMU version 2.7 for forum integration to work.

    After you try with the alpha release you should see the XLMRPC options.

    @lancewillett

    Participant

    Hi Jane_135,

    You can add the messages, activity, and wire areas as Widgets to any page you want. Look at the file called “home.php” in your home theme to see an example of how BuddyPress does this by default on the home page.

    If you don’t have a home theme, read up on the installation process at https://codex.buddypress.org/getting-started/installing-individual-components/ — look for the “Installing the default home theme” and follow the directions there.

    Also, the explanation of how the themes work (and how the Widgets within the home page file work) see https://codex.buddypress.org/getting-started/using-the-buddypress-themes/.

    @lancewillett

    Participant

    Produlz,

    It sounds like a WordPress MU installation issue (not a BuddyPress issue).

    If you suspect a problem please report it to the support forums but you must include the information asked for in the WPMU bug reporting guidelines!

    There’s lots of threads on this very topic at https://mu.wordpress.org/forums/tags.php?tag=installation.

    @lancewillett

    Participant

    To create a custom translation file just for the purpose of label changes, see my instructions in https://buddypress.org/forums/topic.php?id=1877#post-9927.

    To be honest, that’s all I did with my translation was change “Wire” to “Wall” for the BuddyPress setup at Tucson Digital Arts Community.

    @lancewillett

    Participant

    Michael,

    Getting a custom slug into the page title involves adding something like this into the theme header template:

    <?php wp_title('&raquo;', true, 'right'); ?>

    You can see my notes / comments in https://trac.buddypress.org/ticket/126 for a better example — that was in the home theme, though.

    @lancewillett

    Participant

    @Trcwest

    Here is how I did a custom translation to replace slugs and labels. I’m replacing my language name with spots so you can see how it would work for you.

    1. First I opened the POT file, copied it to a .po version, and then made the changes I wanted in a text editor (most with search and replace, but also had to do some new lines by hand).

    2. I uploaded the .po file to my web server, and ran this from a command line:

    msgfmt -o buddypress-spots.mo buddypress-spots.po

    3. In my bp-custom file (wp-content/mu-plugins/bp-custom.php) I added a language definition:

    define( 'BPLANG', 'spots' );

    if ( file_exists( ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . BPLANG . '.mo' ) ) {

    load_textdomain( 'buddypress', ABSPATH . MUPLUGINDIR . '/bp-languages/buddypress-' . BPLANG . '.mo' );

    }

    4. Then I went into wp-content/mu-plugins/bp-languages and added the spots.mo file there.

    This solution is better (in my opinion) than using the define (‘WPLANG’, ”); in your wp-config.php file, and won’t break when you upgrade BuddyPress.

    @lancewillett

    Participant

    Make sure you hit shift+refresh to clear out the old CSS otherwise you will get design weirdness.

    Duh. Thanks — I should be punished for that one; I am always telling my clients and coworkers to do that when they report CSS issues. ;)

    @lancewillett

    Participant

    Andy,

    I know you’re working on this site, still — but two quick things I noticed right away.

    1. The main navigation links are missing the trailing slash (Home, About, Blog, Forums, etc). When you click the links the pages are redirected to the URL with the final slash added.

    2. The forum is missing some styles — the header and navigation especially.

    @lancewillett

    Participant

    Very cool and useful — thanks.

    @lancewillett

    Participant

    Not sure if I’m late to the game on this one, but I followed the instructions in the bp-forums directory (https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt) and the install went easily and quickly using the latest bbPress (checked out via SVN from trunk).

    I was prepared for a fight after reading this thread, but was pleasantly surprised that it worked the first time with no problems. ;)

Viewing 22 replies - 51 through 72 (of 72 total)
Skip to toolbar