zaerl (@zaerl)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 762 total)

  • zaerl
    Participant

    @zaerl

    grep -lIire ‘You must be logged in’ .

    /bbp-theme-compat/bbpress/form-forum.php
    /bbp-theme-compat/bbpress/form-reply.php
    /bbp-theme-compat/bbpress/form-topic.php
    /bbp-themes/bbp-twentyten/bbpress/form-forum.php
    /bbp-themes/bbp-twentyten/bbpress/form-reply.php
    /bbp-themes/bbp-twentyten/bbpress/form-topic.php

    Are you using bbp-theme-compat?


    zaerl
    Participant

    @zaerl

    There’s no such thing as BBLANG in bbPress +2.0. It is a global define’d constant of the old standalone branch.


    zaerl
    Participant

    @zaerl

    Hi. The wordpress gettext template file is bbp-languages/bbpress.pot. You have to use a specific program for translating the strings. I use POEdit cause it works on all my machines.

    http://www.poedit.net/download.php

    Open POEdit and “create a file from template” on the “file” menu. There are a lot of strings taken out of the context and so I suggest you to check the source file line if you have problems.

    Building a dictionary from widely used translations (WordPress/Akismet/Others) can speed up the process cause a lot of strings are the same of WordPress.


    zaerl
    Participant

    @zaerl

    @masada I’m about to release an “unread topics” plugin. Check this repository: https://github.com/zaerl/za-bbpress-unread-topics cause it will be populated soon with the files (hopefully this weekend). I’ve spent a lot of times on it cause I wanted to create the final solution for this “problem”.


    zaerl
    Participant

    @zaerl

    Put this code somewhere in your theme functions.php

    https://gist.github.com/4086011

    Otherwise you can change the roles editing the bbPress gettext file. Check ‘\wp-content\plugins\bbpress\bbp-languages\bbpress.pot’, create a .po for your language (if you already hasn’t one) and change the string “Key Master” at line 3311. If you don’t know what I’m talking about I can generate the file for you.


    zaerl
    Participant

    @zaerl

    Try refreshing the permalink structure on /wp-admin/options-permalink.php


    zaerl
    Participant

    @zaerl

    This particular error occurs when WP can’t unzip the .zip file. Check if you have enough space on disc or that you haven’t hit the quota. Also check if you have the permissions for doing such operation. Have you ever updated other WP plugin?


    zaerl
    Participant

    @zaerl

    > If I use English slugs

    What “english slugs”? Are you using a multi-language plugin such as WPML?


    zaerl
    Participant

    @zaerl

    Probably the problem here is that your CSS is included the wrong way. Long story short: if a permalink is used and the style is included with a relative path then the browser will try to retrieve the CSS from the apparent folder. Let’s make an example in order to circumvent my horrible english. This page URL is: http://bbpress.org/forums/topic/style-changes-after-modifying-slugs/

    If I include a CSS in this way:

    [link rel='stylesheet' href='style.css' type='text/css' /]

    the browser will try to download:

    http://bbpress.org/forums/topic/style-changes-after-modifying-slugs/style.css

    which is obviously wrong. Check your page source and maybe trace an eventual 404 error with Firebug. Or provide me a link to your forum and I will check it for you.


    zaerl
    Participant

    @zaerl

    > When I changed the slugs for the pages into Spanish

    What do you mean? You changed the permalink structure? Or do you loaded a es_ES gettext catalog?


    zaerl
    Participant

    @zaerl

    WordPress and bbPress use $_SERVER['HTTP_HOST'] here and there and this is a bad thing if a reverse proxy is involved.

    If you are using Apache mod_proxy use:

    http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypreservehost

    If you’re an nginx guy go with:

    proxy_set_header Host $http_host;

    Also check if you are using HTTP_X_FORWARDED_HOST in the correct way, in order to get the “real” IP address of the request.

    Do not touch bbp_verify_nonce_request.


    zaerl
    Participant

    @zaerl

    “I would happy to test your first release!”

    That’s great. Write me at za AT zaerl.com. I will send you the prototype. I need to solve a problem regarding merged/splitted topics but the plugin is ready.


    zaerl
    Participant

    @zaerl

    Are you sure you selected the right ID from the admin page? The shortcode accept a numeric ID, not the slug.


    zaerl
    Participant

    @zaerl

    You can import BuddyPress data from http://example.com/wp-admin/tools.php?page=bbp-converter

    It supports BuddyPress forums as far as I know.


    zaerl
    Participant

    @zaerl

    I’m glad but yours is a workaround the problem. Maybe in future release bbPress will reconsider the FORCE INDEX.


    zaerl
    Participant

    @zaerl

    1) Create a bbpress.php file in the root directory of your theme (or archive-forum.php).

    2) bbPress is a plugin and so every single function that are include()d are automatically available on the global scope. Take a look at the bbpress() function.

    3) By testing. bbPress isn’t obtrusive and at 99% it will not raise problems.


    zaerl
    Participant

    @zaerl

    Maybe the email has been catalogued as spam. It is a common problem especially if you are using a shared host or something similar. The admin can activate the user in the admin area at http://example.com/wp-admin/users.php

    The activation codes are unique.


    zaerl
    Participant

    @zaerl

    > how about shortcode single topic tag?

    Do you mean a shortcode that display all topics which have tag N? [bbp-single-topic-tag id=N]


    zaerl
    Participant

    @zaerl

    Unfortunately this forum has a lot of problems with HTML entities.


    zaerl
    Participant

    @zaerl

    Create a custom archive file called archive-forum.php


    zaerl
    Participant

    @zaerl

    You can export WP data from the /wp-admin/export.php page.


    zaerl
    Participant

    @zaerl

    It’s in wp-content/plugins/bbpress/bbp-includes/bbp-core-shortcodes.php. Don’t edit a core file. Use a filter.


    zaerl
    Participant

    @zaerl

    The function doesn’t accept an array. See get_avatar: http://core.trac.wordpress.org/browser/tags/3.4.2/wp-includes/pluggable.php#L1583

    bbp_topic_author_avatar(0, 80);


    zaerl
    Participant

    @zaerl

    Please provide a link otherwise I cannot help you.


    zaerl
    Participant

    @zaerl

    “disable the ability to create new accounts”: Admin panel -> Settings -> General -> Anyone can register (no)

    “What’s the prefered way for a newbie to do that? “: Admin panel -> Forums -> All forums -> The selected forum -> right column (Visibility)

    “Are these the preferred plug-ins?”: yes indeed

    “Do I just copy the code that the author lists into my .htacess file?”: yes, those two vulnerabilities affect every single non-trivial piece of dynamic web software, not only WordPress

Viewing 25 replies - 1 through 25 (of 762 total)