Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 50,901 through 50,925 (of 64,459 total)
  • Author
    Search Results
  • #75137
    bobbyh
    Member

    I think maybe it’s a bug? The code at line 657 is:

    return sprintf('<img src="$1%ssupport-forum-$2%s.png" alt="[$3%s]" title="[$3%s]" style="vertical-align:top; margin-right:0.3em; width:14px; height:14px; border-width:0;" />$4%s', $this->iconURI, 'sticky', __('sticky', 'support-forum'),$label);

    Instead of $ 1 % (added spaces so it’d render on bbpress) shouldn’t it be %1$? c.f. http://us3.php.net/manual/en/function.sprintf.php

    Likewise, replace all the other integers, e.g. it should be %2$.

    Oddly, this function was changed in 3.0.2.

    You can reverse the $ and % signs here and in the other function at line 680.

    #75136
    johnhiler
    Member

    It’s a known bug with the plugin. There’s a patch posted on the plugin page, but it looks like it hasn’t been incorporated into the official distribution:

    https://bbpress.org/plugins/topic/support-forum/page/3/#post-1565

    #15114
    Arturo
    Participant

    i’ve installed on bbpress 1.0 rc-3 the fantastic plugin support forum version 3.0.6 but for sticky-important topic i’ve this error:

    Warning: sprintf() [function.sprintf]: Too few arguments in /…/html/forums/my-plugins/support-forum/support-forum.php on line 657

    Warning: sprintf() [function.sprintf]: Too few arguments in /…/html/forums/my-plugins/support-forum/support-forum.php on line 680

    any idea why i’ve this problem? thanks for all the help

    #74897

    In reply to: 404.php Not working

    chrishajer
    Participant

    I don’t think there was a 404.php template until the 1.0 version. What did you do to create one and how did you expect it to work?

    You could always do a custom error page with Apache and .htaccess, but I understand you wanting to create a 404.php template page (like WordPress and bbPress in the 1.0 series.)

    #75133
    michael3185
    Member

    If it doesn’t sound like a silly question… are you pointing the browser URL at the exact place you put the bbPress files?

    Rhys Wynne
    Participant

    Hi all!

    I’m upgrading a plugin to use the administration menus, rather than editing within the plugin itself. I have used admin functions before (such as add_action), but for the life of me I can’t figure out why I’m having problems adding it this time around.

    Basically, on activation of the following plugin I get a “this plugin has caused a fatal error” (but it is activated), and on deactivation I get “Warning: Cannot modify header information – headers already sent by (output started at /home/britain/public_html/forum/bb-plugins/top-posters-code.php:32) in /home/britain/public_html/forum/bb-includes/pluggable.php on line 232”.

    Here is the code

    <?php
    /*
    Plugin Name: Show Top Posters (backup)
    Plugin URI: http://www.gospelrhys.co.uk/bbpress-plugin-show-top-posters
    Description: Readers with the most postes are displayed on your bbpress forum, with their names (linked to their website if they provided one). Based on the <a href="http://www.pfadvice.com/wordpress-plugins/show-top-commentators/" target="_blank">Show Top Commenters</a> plugin for WordPress by <a href="http://www.savingadvice.com" target="_blank">Nate Sanden</a>
    Version: 1.2
    Author: Rhys Wynne
    Author URI: http://www.gospelrhys.co.uk
    */

    add_action('bb_admin-header.php', 'show_top_posters_admin_page_default');
    add_action('bb_admin_menu_generator', 'show_top_posters_add_admin_page');

    function show_top_posters_add_admin_page() {
    bb_admin_add_submenu(__('Show Top Posters'), 'use_keys', 'show_top_posters_admin_page');
    }

    function show_top_posters_admin_page_default() {
    echo "test";
    }

    function show_top_posters_admin_page() {
    echo "test";
    }

    function show_top_poster_text() {
    echo "test";
    }

    ?>

    Any suggestions?

    #73774
    Derek Herman
    Member

    I want to list the few tags that each topic has associated with it on the forum.php or front-page.php like how WordPress does with the_tags(), but not have the delete link or tags form. As it is right now I can’t find a function that will just list the topics tags outside of the topics.php, can someone help me please?

    The new Freelance Switch bbPress forum is going live in 2 or 3 days and this is literally the last things that I need to do.

    #75126
    chrishajer
    Participant

    You have the latest stable bbPress then, 0.9.0.5? When you log in as keymaster, what version is shown at the bottom of the backend admin screens?

    What is your database name and what is the table prefix from your bb_config.php?

    #15111
    iang
    Member

    I want to display a list of all the users on my blog (wbs80.com) and their profile information.

    I have been looking at the bbpress code and trying several tests…but unfortunately without success.

    My approach is to get the list of profile keys, get the list of users and for each user display the username and profile information. The code segment that I have is:

    <?php

    require_once (‘../../bb-load.php’);

    global $bddb;

    $profile_keys = get_profile_info_keys();

    //print_r($profile_keys);

    $userinfo = $bbdb->get_results(“SELECT * FROM $bbdb->users WHERE user_status = 0 ORDER BY ‘ID'”);

    //print_r($userinfo);

    foreach ($userinfo as $key) {

    $metainfo = $bbdb->get_results(“SELECT * FROM $bbdb->usermeta WHERE user_id = $key->ID”);

    // ???

    }

    ?>

    I don’t know how to use the “profile_keys” value(s) to access the “metainfo” data structure and extract the data.

    Any help would be greatly appreciated!

    #75113

    In reply to: Logging Out Error?

    johnhiler
    Member

    This plugin should do something similar, and hopefully won’t give you any errors. :-)

    https://bbpress.org/plugins/topic/members-online/

    #75125
    msstenq
    Member

    I am using the latest bbpress i belive

    and i have showavatar plugin enabled

    it told me to put

    <?php if(function_exists(‘pws_get_avatar’)) pws_get_avatar(); ?>

    in post.php which i did, and the avatars started showing

    but the database thing i do not get, i went to mysql admin and the database is their, and its bbph01

    #75124
    chrishajer
    Participant

    That table name looks wrong (based on the table name from the Simple Online List you posted in the other topic). What version of bbPress are you using and how are you getting the avatars to show? Plugin?

    monstet5_bbp01.bb_online

    Looks like monstet5_bbp01 is the database name, and bb_ is the table prefix, and online is the table name created by the Simple Online List?

    If that’s the case there, how do you have an options table here with no table prefix, just a database name?

    Unless you used bbp01. as your table prefix instead of bbp01_?

    chrishajer
    Participant

    Also, can you get phpinfo() for your server? Just put this into a file and call it up in a browser:

    <?php
    phpinfo();
    ?>

    If you save that as a file called info.php, you can load in your browser at http://www.example.com/info.php or http://www.example.com/bbpress/info.php depending on where you installed it.

    #75033
    r-a-y
    Participant

    Hi Sam,

    Did the var_dump.

    Here’s the result:

    array(2) {
    [0]=>
    string(1) "2"
    [1]=>
    string(1) "1"
    }
    string(0) ""

    [EDIT]

    I should state that I forgot to clear the memcached service. How do I go about doing that?

    #75111

    In reply to: Logging Out Error?

    johnhiler
    Member

    bb_online looks like it’s from the Simple Online plugin?

    https://bbpress.org/plugins/topic/simple-onlinelist/

    If you deactivate the plugin, does the problem go away?

    #50427

    In reply to: Importing from vanilla

    michael3185
    Member

    Shameless plug for a theme… I tried Vanilla for a while, along with everything else out there. I went for bbPress because everything worked or was easily modifiable (and I’m no PHP expert!)

    I created a Vanilla-ish theme for bbPress as I loved its simplicity. You can get it it http://getfiles.letsdoo.org and see it in action (with restrictions) at http://mbforum.letsdoo.org.

    #75086
    thion
    Member

    I’m using “Human Test for bbPress” with RC3 and it’s working perfectly, spam bots has been stopped.

    #15109
    msstenq
    Member

    http://www.monstershideout.com/page_id1055/forums/topic.php?id=7

    If you look at the post, it looks fine, the avatar, shows, but i get this msg? What do i do?

    bbPress database error: [Table ‘monstet5_bbp01.options’ doesn’t exist]

    select option_value from options where option_name = ‘gravatar_local’ limit 1

    #75109
    _ck_
    Participant

    It sends all the invisible code before the webpage that your browser requires to understand the language, etc.

    In theory commenting it out is very bad but for some reason with bb-gzip it’s being triggered twice which should not happen and is bad. The fix I gave you is a lazy workaround for now until I have time to address it properly one day (and might need a completely different fix with bbPress 1.0.1 etc)

    Sam Bauers
    Participant

    “from now on” means “as of bbPress 1.0”

    #15106
    msstenq
    Member

    http://www.monstershideout.com/page_id1055/forums/

    I can register and log in fine, but when i hit log out

    http://www.monstershideout.com/page_id1055/forums/bb-login.php?logout

    i get this error msg

    bbPress database error:

    [Table ‘monstet5_bbp01.bb_online’ doesn’t exist]

    SELECT * FROM bb_online WHERE user_id = 2 LIMIT 1

    Warning: Cannot modify header information – headers already sent by (output started at /home6/monstet5/public_html/page_id1055/forums/bb-includes/db-mysql.php:130) in /home6/monstet5/public_html/page_id1055/forums/bb-includes/pluggable.php on line 232

    ???

    #75048
    Josh Leuze
    Member

    Thanks so much for the links Ipstenu!

    I figured if there was a way out of YAF, it would most likely be to phpBB. Surprised I didn’t find this in my own searches.

    If I can just get this data out of YAF, I think it will all be downhill from there :)

    #75110
    johnhiler
    Member

    A few people struggled with that exact problem in this thread… several solutions were mapped out:

    https://bbpress.org/forums/topic/bbpress-integration-plugin-for-wpmu#post-36870

    Here’s to hoping one of them works for you!

    ps are you using ck’s or SuperAnne’s plugins to ensure cookie compatibility between bbPress v 0.9 and WordPress v. 2.7?

    #15103

    I have searched the forum for answers to this, and there are certainly lots of threads on the topic. But no matter what I try, I get an error about the “admin” account already existing, and the install fails.

    I recently tried to install bbPress 0.9.0.5 with WordPress MU version 2.7.1 and I keep running into trouble. The bbPress installation, when trying to integrate and share the database, will not allow me to specify the “admin” account as the bbPress key master. It fails saying that this account exists already.

    Has anyone run into this? Should I be using a different version of bbPress? Does it matter that I already installed BuddyPress plugin, version 1.0-rc-3 ?

    I have seen several tutorials on the bbPress – buddyPress – WPMU combo, but I don’t think they were using the very recent versions that I have. SO if anyone has very current experience, that would be extremely helpful. Or perhaps I just need to use older versions that match the tutorials.

    #75032
    Sam Bauers
    Participant

    You could also try restarting your memcached service to clear any potentially bad buffers.

Viewing 25 results - 50,901 through 50,925 (of 64,459 total)
Skip to toolbar