Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 63,826 through 63,850 (of 64,487 total)
  • Author
    Search Results
  • #955

    Topic: Avatars in bbpress

    in forum Plugins
    ardentfrost
    Member

    So, I just started using bbpress 3 days ago mostly because phpbb is God awful when it comes to spammers (akismet is pretty awesome on my homepage, so I assumed it would also be awesome in forums).

    At any rate, I installed a copy as a test and have been playing with it, got kinda sad that avatars weren’t supported (and didn’t want to make people get gravatars just to have an avatar, esp since gravatar service was down the other night). So I wrote my own avatar functions.

    I have everything I did on my forums, or you can just go check it out at http://www.rayd.org/forums2/

    My question is, can what I did be done in a plug-in? I know I can put my two ground-up functions in a plug-in file, but the one I don’t know how to do is the way I added a spot for a link to an avatar in profile pages. Here’s the link to me describing what I did, and the quote from what I’m talking about:

    http://www.rayd.org/forums2/topic/6?replies=1

    bb-includes/functions.php line 1388: Added avatar info to the array in function get_profile_info_keys(). Looks like this:

    array(‘user_email’ => array(1, __(‘Email’)), ‘user_url’ => array(0, __(‘Website’)), ‘from’ => array(0, __(‘Location’)), ‘occ’ => array(0, __(‘Occupation’)), ‘interest’ => array(0, __(‘Interests’)), ‘avatar_loc’ => array(0,__(‘Avatar URL’)))

    As you can see, adding that little avatar stuff at the end of that array definition not only easily added the spot to the page, but put it in the database and allowed me easy access to it in my other functions.

    I’d love to make this into a plug-in, I just don’t know how to do that. Any advice would be great :)

    #50025

    In reply to: bbPress new Theme

    Great Work. Please release ist… i need it for 10 news bb’s :)

    #953

    Topic: My Template Victory

    in forum Themes
    Trent Adams
    Member

    While in the beginning it would seem that modifying templates is the hardest thing in the world to do, once you understand the way that bbPress looks at templates (my-templates and then bb-templates), it is really not that bad.

    I managed to get bbPress to almost look like my blog after working on it for awhile.

    http://blog.trentadams.ca

    http://blog.trentadams.ca/forum/

    I have some small changes to do, but it seems to work for me for now!

    Trent

    #51318

    What are your $bb->domain and $bb->path settings (found in bbPress’ config.php file)?

    #51366

    What version of bbPress are you each using?

    #51361

    bbPress no longer uses the dropdown menu (what if your blog had thousands of users on it? It’d be really hard to find you!).

    Instead, you should be able to enter your WordPress account’s login name into the form as you install bbPress.

    But, there is a problem with your config.php

    The values for $bb->akismet_key, $bb->wp_table_prefix, $bb->wp_home, and $bb->wp_siteurl should all be contained in single quotes (') like

    $bb->wp_home = 'http://patrimoineacadien.com';

    EDIT: I removed some potentially sensitive information from your post above.

    #51369

    It’s probably a “white space” issue.

    Make sure there are no spaces or tabs or new lines or anything before the <?php or after the ?> in bbPress’ config.php file.

    #51254

    ear1grey,

    Actually MultiViews looks for topic.php if it hasn’t found topic/, but otherwise you’re spot on.

    You can also use RewriteRules which forces the server to do the same thing ‘manually’.

    hywl51,

    When you request that URL, Apache’s MultiViews or RewriteRules (whichever you are using) loads topic.php. That file then prepares a bunch of data and displays it with my-templates/topic.php (If that file exists) or bb-templates/topic.php (otherwise).

    If you are familiar with the way WordPress works, it may not help much :) This is one area where WordPress and bbPress are quite different.

    #50866

    ColdCN, that’s strange.

    Does the information here help? https://bbpress.org/forums/topic/185

    #51347

    You can hook into the bb_new_user hook (see bb-includes/register.php: bb_new_user() ), but by the time that hook is fired, the user is already in the database, and the new user has been sent an email.

    In the next version of bbPress, you’ll be able to hook into bb_verify_email(). (https://trac.bbpress.org/changeset/549)

    #51335

    The following plugin should work, but I have not tested it.

    <?php

    /*

    Plugin Name: Ignore Edit Lock

    Plugin URI: https://bbpress.org/forums/topic/263

    */

    function members_ignore_edit_lock() {

    global $bb_roles;

    $bb_roles->role_objects['member']->add_cap( 'ignore_edit_lock', true );

    }

    add_action( 'bb_got_roles', 'members_ignore_edit_lock' );

    ?>

    Save that bit of code as members-ignore-edit-lock and put it in bbPress’ my-plugins/ directory.

    #51332

    What version of bbPress are you using?

    #50681

    berg80, thanks for the info. The documentation has been updated: https://bbpress.org/documentation/integration-with-wordpress/

    #50614

    bbPress’ table prefix should never be the same an WordPress’. That will cause many problems, as you may have experienced.

    bbPress uses the following tables. Don’t delete the ones marked with a *, since WP uses those too (hence the problem).

    forums

    posts*

    topics

    topicmeta

    users*

    usermeta*

    tags

    tagged

    These all look like bb_forums (or whatever bbPress’ table prefix is in your case) in your database.

    #51317
    Trent Adams
    Member

    Thanks for the reply. I have included the generic php file and it seems to be working. Of course, how could I test it?!

    Trent

    #51360

    I beleive you… Don’t worry, I don’t blame your article. It’s very well written; no joking :).

    Thanks for your support. By the way, nice to meet you.

    Hope you can help.

    Here is my config.php:

    define(‘BBDB_NAME’, ‘per my WordPress wp-config.php’); // The name of the database

    define(‘BBDB_USER’, ‘per my WordPress wp-config.php’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘per my WordPress wp-config.php’); // …and password

    define(‘BBDB_HOST’, ‘ localhost’); // 99% chance you won’t need to change this value

    $bb_table_prefix = ‘bb_’; // I chose that my bbPress prefix start with bb_.

    $bb->domain = ‘www.patrimoineacadien.com’; // Not sure which domain to choose here? http://www.patrimoineacadien.com is my WordPress domain.

    $bb->path = ‘/bbpress/’; // My bbPress folder is title bbpress as shown in this FTP path: (/public_html/blogue/bbPress). My WordPress folder is title blogue as shown in this FTP path: (/public_html/blogue/bbPress).

    $bb->name = ‘Babillard PatrimoineAcadien.com’;

    $bb->admin_email = ‘** MODERATED**’;

    $bb->mod_rewrite = false;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = -4; (Eastern Daytime)

    define(‘BBLANG’, ‘fr_FR’);

    $bb->akismet_key = ** MODERATED**;

    $bb->wp_table_prefix = ** MODERATED**; // I’m sure about my WordPress database prefix!

    $bb->wp_home = http://patrimoineacadien.com; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = http://patrimoineacadien.com; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    When I add wp_home & wp_siteur1 URL as http://patrimoineacadien.com , I get the following error: Parse error: syntax error, unexpected ‘:’ in /home/patrimoi/public_html/blogue/bbpress/config.php on line 53 at http://patrimoineacadien.com/bbpress/bb-admin/install.php?step=1 . I retrieve this URL http://patrimoineacadien.com under my WordPress Options General.

    #51359
    astereo
    Member

    You’re doing something wrong in the config. (Don’t blame my article ;))

    Chances are, your WP information is not matching up in your BBpress config. Post your config file here (just take out the db passwords) and I’ll be glad to help.

    #51316
    Atsutane
    Member

    Remove bad behavior from your my-plugins folder and follow this http://www.homelandstupidity.us/software/bad-behavior/installing-and-using-bad-behavior/

    #948

    Hello again,

    Consider that I’m using http://www.devlounge.net/articles/the-ultimate-bbpress-guide/1/ guide to install bbPress, I was brought to the forum setup screen, but my WordPress admin account username is not in the dropdown menu listing. There’s no dropdown menu listing. Without this menu listing, my WordPress integration will not be possible: forum admin login will not be the same as WordPress.

    How can I resolve? I’ve tried many different combinations within Config.php with no success in obtaining the account username in the drop down menu listing.

    What do you suggest?

    #51253
    ear1grey
    Member

    You’ll have noticed that there’s no “topic” subdirectory inside your “forums” directory, so what I think you’re asking is “is bbPress really serving a page that doesn’t physically exist on my hard drive?”

    The answer is yes, bbPress generates the page on the fly, so there is no stored page that has the content of that URL.

    Apache’s MultiViews option makes this happen because the server tries to find the best match to your URL. It looks first for forums and finds it, so then it looks for topic in forums, which doesn’t exist, so it tries the next best thing, which is to look for an index of some kind, and it finds the bbPress index.php.

    When bbPress runs (through index.php) it still sees the originally requested url, so the fact that it’s a request for topic/242 is spotted by the code – it’s a simple as stripping the integer value from the string and using that as the primary key for the database lookup.

    Briefly, the sequence is that index.php loads bb-load.php, bb-load.php loads your config.php, which specifies where your DB is (so the content can be generated), config.php then loads bb-settings.php which is where most of the core request-processing is done.

    At least… that’s what I got from looking through the code :) A core dev. might be able to describe it better.

    #947

    Thanks for replying,

    If a member request reset time limit to re-edit a specific posting, is it possible to configure within bbPress Admin?

    #946
    yottabite
    Member

    Originally posted at http://forum.blandname.com/topic/11

    Using http://cow.neondragon.net/stuff/reflection/ I was able to add reflection to the blandname bbPress theme.

    Here’s how it works:

    You’ll need two files to make this happen.

    Put both files in either /my-templates or /bb-templates, CHMOD them to 755, and edit your header.php file accordingly.

    In my case:

    <script type="text/javascript" src="/my-templates/reflection.js"></script>

    <script type="text/javascript" src="/my-templates/prototype.js"></script>

    Was added before the last div tag in the header.php file.

    In order to make the reflection work, make sure to add class="reflect" to any img tags you wish to have reflecting and looking all mac daddy cool.

    #51252
    hywl51
    Member

    Hi Atsutane

    Let’s explain the question clearly:

    https://bbpress.org/forums/topic/242?replies=4

    For url above, I want to know which page that url will finally located on. I guess all request will be first directed to index.php, but how about the next step and which page on earth will be directed to display the main body of page.

    I am not native English, I don’t know if I have made the question clear.

    Thanks for you kind response.

    hywl51

    #935
    Trent Adams
    Member

    I was wondering if anyone has figured out how to get Bad Behavior working with bbPress. If you just upload the WP plugin up to the my-plugins folder as is, it just makes it so you cannot access your site at all. It would be great to get this working. Anyone have a clue?

    Trent

    #942
    midnightsun
    Member

    Hello,

    I’m currently having a problem with being able to start a new topic when I am logged in as a ‘member’ I have tried re-installing bbpress but it hasn’t helped.

    Anyone got any advice? Any help would be great!

    Rich

Viewing 25 results - 63,826 through 63,850 (of 64,487 total)
Skip to toolbar