Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 59,451 through 59,475 (of 64,450 total)
  • Author
    Search Results
  • #61255
    bssfi
    Member

    Hi again

    I am just trying to post the banners in a thread.

    The plugin is already enabled, so that’s not the problem. Most of the banner codes seem to have the closing backslash missing in the closing img tag. It seems that bbpress is particularly fussy when it comes to this type of code.

    fel64
    Member

    Bugs, enhancements etc. should go on http://trac.bbpress.org. It’d be great if you put this up there.

    #61253
    kannued
    Participant

    If you have the latest version of bbpress (.8.3), you need to activate the plugin that allows images.

    #2545
    bssfi
    Member

    This is a regular problem on my forum. bbpress seems to remove the image part of the banner as there is missing code. Usually I can work out where the missing tag goes. In the case of the following TradeDoubler code, I can’t! Any suggestions much appreciated.

    <script type=”text/javascript”>

    var uri = ‘http://impgb.tradedoubler.com/imp?type(img)g(16463372)a(1422608)&#8217; + new String (Math.random()).substring (2, 11);

    document.write(‘<img src=”‘+uri+'” border=0>‘);

    </script>

    #60980
    Elias
    Member

    I experienced the same problem, and deactivating the “Use Display Name” plugin fixes it for me too. Something in the “Use Display Name” plugin may be broken. (But with previous version of bbPress, it works fine.)

    There is another strange thing. The “display names” from WP are still displayed after deactivating the plugin, but only in the topic listings, not in the threads. This isn’t exactly what I’d expected…

    #53285
    byko
    Member

    were do i put .po file ?? i am a noob

    #61192

    In reply to: Plugin: Gravatar

    suzkaw
    Member

    Here is a link to mine: http://www.68kb.com/2007/10/25/bbpress-plugin-68-gravatars/

    From browsing your code mine is way way basic. :) Just one function and one call. Also mine only uses the posters registered email as well.

    livibetter
    Member

    This plugin can validate more deeper. Not only the HTML tag’s attributes, but also the contents of attributes. You can set your own regular expression for attributes. For example, you want limit users to post Flash videos only from YouTube or Google, then you can restrain the src attribute.

    Sample posts: This post shows you an embedded YouTube video and this has a image floating at right side.

    Visit Plugin page or directly download HTMLTagAttributesValidator.php.

    Any comments on this plugin are very welcome.

    #61241
    livibetter
    Member
    #2538
    intellivision
    Participant

    I’ve tried editing usernames in the db to no avail.

    How can I have users like $tevie show the “$” on their posts in topic.php — just show the whole name. Out of the box, bbPress simply ignores the funny chars, so we see “tevie” as the post’s author.

    ASCII equivalents too, like the copyright symbol (damn phpBB loose username validation).

    I’m willing and able to edit the few usernames in the db by hand. I have a few of these funny char names from my port from phpBB.

    #61232
    livibetter
    Member
    <?php
    /*
    Plugin Name: NoNewsPostsForMembers
    Plugin URI: https://bbpress.org/forums/topic/no-new-posts-for-members
    Description: No New posts for members
    */

    function NoNewsPostsForMembers($roles) {
    $roles['member']['capabilities']['write_posts'] = false;
    return $roles;
    }

    add_filter('get_roles', 'NoNewsPostsForMembers');
    ?>

    Put it in my-plugins with any filename.php you like. Activate it. Then this should work.

    #61231

    In reply to: mail send problem

    chrishajer
    Participant

    Sounds like you don’t have an SMTP server. Can you send mail from the command line? You’re not on Sourceforge are you?

    https://bbpress.org/forums/topic/users-dont-receive-password-after-registration?replies=24#post-349

    #2537
    bluegeek
    Member

    Hello!

    I want to restrict new posts in bbpress only to moderators and admins. What is the best way to do it?

    I’ve found a very simple way editing capabilities.php but I would like to avoid editing the source code.

    'member' => array(
    'name' => __('Member'),
    'capabilities' => array(
    (...)
    'write_posts' => false,

    Thanks.

    #61230
    _ck_
    Participant
    #2535
    pezelle
    Member

    Great software – I love the approach take with WordPress and BBpress – simple, clean and elegant.

    Are you planning on adding photo upload capability for forum posters?

    #61221
    chrishajer
    Participant
    #60922
    chrishajer
    Participant

    Which changes did you make? Did you apply the 745c.diff patch from trac?

    https://trac.bbpress.org/ticket/745

    #61219

    In reply to: Upgrade problems

    chrishajer
    Participant

    Check these related posts, all tagged with 745:

    https://bbpress.org/forums/tags/745

    745 is the trac ticket where the bug was recorded:

    https://trac.bbpress.org/ticket/745

    There is a patch attached to that ticket that seems to solve the problem:

    https://trac.bbpress.org/attachment/ticket/745/745c.diff

    Upon reading more closely your report, this may not be related to your problem at all. I don’t know if I’ve ever seen your problem before. It is sort of related since it’s about db-mysqli.php and db.php. Maybe that patch will fix things up for you.

    #2533

    Topic: Upgrade problems

    in forum Installation

    I upgraded as instructed on bbpress’ upgrade page, but received the following errors:

    Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93

    Warning: main(/home/pinewood/public_html/bbpress/bb-includes/db.php) [function.main]: failed to open stream: No such file or directory in /home/pinewood/public_html/bbpress/bb-settings.php on line 93

    Fatal error: main() [function.require]: Failed opening required ‘/home/pinewood/public_html/bbpress/bb-includes/db.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/pinewood/public_html/bbpress/bb-settings.php on line 93

    I used my old config file, templates, and plug-ins (I never had an htaccess file though?). Any thoughts?

    #58174

    In reply to: bbSync

    zenonx
    Member

    I have exactly the same problem (after posting comment I’m no longer admin in bbpress). Using previous version doesn’t fix it.

    #60921
    sethi2000
    Member

    I am still getting error after making all the recommended changes

    Warning: mysqli_get_server_info() expects parameter 1 to be mysqli, boolean given in /home/.mascot/digitalguruz/sheetudeep.com/bbpress/bb-includes/db-mysqli.php on line 80
    Cannot select DB.

    #61217
    livibetter
    Member

    I made some changes to have paginated search results on relevant post. However, I am not sure is this what you need. You need to modify two files: search.php in root of bbPress and search.php of your template files.

    Replace if block start at line 9 in search.php of root of bbPress with:

    if ( $q = stripslashes( $q ) ) {
    add_filter( 'bb_recent_search_fields', create_function( '$f', 'return $f . ", MAX(post_time) AS post_time";' ) );
    add_filter( 'bb_recent_search_group_by', create_function( '', 'return "t.topic_id";' ) );
    $bb_query_form->BB_Query_Form( 'post', array(), array( 'per_page' => 5, 'post_status' => 0, 'topic_status' => 0, 'post_text' => $q, 'forum_id', 'tag', 'topic_author', 'post_author' ), 'bb_recent_search' );
    $recent = $bb_query_form->results;

    $bb_query_form->BB_Query_Form( 'topic', array( 'search' => $q ), array( 'post_status' => 0, 'topic_status' => 0, 'search', 'forum_id', 'tag', 'topic_author', 'post_author', 'count' => 'found_rows' ), 'bb_relevant_search' );
    $relevant = $bb_query_form->results;
    global $relevant_round_rows;
    $relevant_found_rows = $bb_query_form->found_rows;
    $q = $bb_query_form->get( 'search' );
    }

    I added a query parameter 'count'=>'found_rows' to second $bb_query_form for retrieving total post count. And I added global $relevant_found_rows to pass to template search.php (you can use bb_load_template to do same thing).

    Insert the following code just before second <?php endif; ?> from bottom in template search.php

    <div class="nav">
    <?php
    $uri = $_SERVER['REQUEST_URI'];
    if (false !== $pos = strpos($uri, '?')) {
    $uri = substr($uri, 0, $pos) . '?q=' . urlencode($q) . '%_%';

    if (!isset($page))
    $page = 1;

    global $relevant_found_rows;
    echo paginate_links(array('base' => $uri, 'format' => '&page=%#%', 'total'=>ceil($relevant_found_rows/$bb->page_topics), 'current'=>$page));
    }
    ?>
    </div>

    Should look like:

    <?php if ( $relevant ) : ?>
    <h2><?php _e('Relevant posts')?></h2>
    <ol class="results">
    <?php foreach ( $relevant as $bb_post ) : ?>
    <li><h4><a href="<?php post_link(); ?>"><?php topic_title($bb_post->topic_id); ?></a></h4>
    <?php echo bb_show_context($q, $bb_post->post_text); ?>

    <small><?php _e('Posted') ?> <?php bb_post_time( __('F j, Y, h:i A') ); ?></small>

    </li>
    <?php endforeach; ?>
    </ol>
    [insert the code above here]
    <?php endif; ?>

    You can find paginate_links in bb-includes/wp-functions.php.

    #61216
    chrishajer
    Participant

    I was not happy with bbPress search functionality a long time ago, now I just live with it. The results were always weird looking to me.

    Anyway, now I just use Google to search my site if I want to find anything. Something like:

    site:mysite.com term1 term2 at google.com does the trick. Of course, the content needs to be indexed at Google for that to work. An alternative I heard about was Google Custom Search Engine:

    http://www.google.com/coop/cse/

    I have no idea how that works but it’s an option.

    I think doing what you propose with the search results would require a lot of work (having 3 sets of search results complicates it in my mind), but maybe one of the plugin writers will show an easy way to do what you propose. Maybe you could perform all three searches and aggregate the results, then paginate them. That would be easier than breaking them into title matches, recent posts and relevant posts. That begs for having advanced search options anyway. Like, why can’t you search for a user’s name? I thought you used to be able to, but searching my forum now for a known user name doesn’t return anything like “User Name matches”: I thought it used to.

    Looking at how a user profile works is interesting. If you click on a user’s name to get to profile.php?id=the_user_id, you’ll see a paginated list of all posts made by that user ordered by the last time they replied (so, that user’s posts in the order that they made them, most recent first) and a list of threads started, I think. Maybe a plugin could be written to replace the search queries with something like what profile.php does, except instead of selecting all posts and threads for a user (which are returned in $posts and $threads) maybe you could do a similar query with your search term, in all the fields you want to check, then return that? Hmmmm…

    I think search is a weak point for lots of blogging platforms and forum software, and I think getting it right is important, so it’s worth looking into.

    Good luck.

    (sorry: edited version substantially)

    #2532
    krussell
    Member

    I’m looking for advice on how to modify the search functionality to paginate the results that are returned; i.e. the default functionality returns N matches in each of the following categories: thread title, recent posts and relevant posts, but I would like to allow a user to scroll through repeated pages of search results.

    I’ve had a look at search.php and this is structured around returning a fixed number of results for each query, which effectively hides anything that doesn’t come up in the first N results of the search. The concept of listing the results of 3 different queries in one results page also seems to be incompatible with providing a pagination mechanism (which list do you paginate?). I feel that the default method of handling search results is a bit limited and confusing for users familiar with a typical Google-style search that returns one simple list in multiple pages.

    I have had a look at the code, but I’m no PHP guru; is there any way of getting the sort of results I would like without fundamentally rewriting the search mechanism?

    p.s. not being overly critical here – I think bbPress is a great piece of work!

    #61215
    Trent Adams
    Member

    That doesn’t seem like the same plugin that I use from Stefano that does the same thing!

    http://www.40annibuttati.it/comment-quicktags-for-bbpress/

    Trent

Viewing 25 results - 59,451 through 59,475 (of 64,450 total)
Skip to toolbar