Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 19,526 through 19,550 (of 32,499 total)
  • Author
    Search Results
  • #102795

    bbPress isn’t more or less SEO friendly than any other forum software. Considering it uses almost the exact same permalink rewriting code as WordPress. The bbPress plugin for WordPress will offer custom permalink options and I’ll look into allowing for this.

    #94722

    Made some changes to sub-forum functionality and display. Using the WP_Query class it’s possible to retrieve and manipulate almost any combination of forums and subforms, so what’s currently in bbPress plugin core is going to be an iterative process that I hope some of you are able to contribute to. :)

    #94713
    Willabee
    Member

    “First pass at user profiles and front-end user profile editing is now in the plugin branch. Props GautamGupta for the original patch as part of one of his Google Code-in tasks.”

    So.. will this extra function be easily shut off or are we gonna have to rip it out? Or is it gonna detect wether BuddyPress is activated?

    #94712
    Erlend
    Participant

    That’s excellent news about W3 Total Cache, I’m very glad to hear you’re paying attention to the big cache plugins. WP+BP+BB is no joke laughing matter ;)

    #94707

    First pass at user profiles and front-end user profile editing is now in the plugin branch. Props GautamGupta for the original patch as part of one of his Google Code-in tasks.

    Please test this extensively as it was a huge changeset. You may need to deactivate/activate bbPress, and/or view your permalinks and save them to force a flush. This will not be required in the future.

    r2688 brings about a few new $bbp variables; current_user and displayed_user. Those of you familiar with BuddyPress will understand how these work. Also the 3 template loop globals ($bbp_forum_template, $bbp_topic_template, and $bbp_reply_template) are now objects attached to the main $bbp global, renamed to forum_query, topic_query, and reply_query.

    #36408
    TSKTom
    Member

    I’d like to remove these lines:

    Allowed Markup:

    BBcode a blockquote code em strong ul ol li img font strike center u hr

    Showing Code

    To display code just put it between backticks code (top left corner of keyboard)

    Image Tip:

    Upload images to Imgur and use their URL with the “IMG” button above.

    How do I go about it ?

    #97888

    what is it that you dont understand?

    Just edit bb-load.php on line 25.

    From

    error_reporting( E_ALL ^ E_NOTICE );

    to

    error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE);

    #102988

    what is it that you dont understand?

    Just edit bb-load.php on line 25.

    From

    error_reporting( E_ALL ^ E_NOTICE );

    to

    error_reporting( E_ALL ^ E_DEPRECATED ^ E_NOTICE);

    #77535

    In reply to: All RSS Feeds Broken?

    Lazza
    Participant

    I think I’ve created a quite strong code for the RSS. It allows plugins to apply their filters (example: smilies!!!). It fixes problems with double apersand encoding and ” ” not working well with UTF-8. It also fixes the date of items which is not valid if you use localization, even if the options array sets “false” on “localize”.

    Feel free to try the code for yourself, it works with stock bbPress 1.0.2. You JUST need to put this content in your rss2.php (check the theme folder).

    <?php
    header( 'Content-Type: text/xml; charset=UTF-8' );
    echo '<' . '?xml version="1.0" encoding="UTF-8"?' . '>' . "n";
    bb_generator( 'comment' );

    function datefix($buffer) {
    /*
    * fix della data in modo da tenerla in inglese, rispettando
    * le specifiche dei feed RSS
    */
    return gmdate('D, d M Y H:i:s +0000', $buffer);
    }

    function callback($buffer)
    {
    /*
    * sistema il codice rimuovendo la doppia codifica di "&" e
    * rimuove il carattere "&nbsp;" che crea problemi con UTF-8
    * in questo modo ho il testo del post dopo che i plugin (tipo
    * le faccine) hanno applicato le loro modifiche html e ritorno
    * il codice html senza entities ma in forma pura
    */

    $single = str_replace("&", "&", $buffer);
    $spaced = str_replace("&nbsp;", " ", $single);
    return html_entity_decode($spaced);
    }

    ?>
    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
    <title><?php echo $title; ?></title>
    <link><?php echo $link; ?></link>
    <description><![CDATA[<?php echo $description; ?>]]></description>
    <language><?php esc_html( bb_option('language') ); ?></language>
    <pubDate><?php echo gmdate('D, d M Y H:i:s +0000'); ?></pubDate>
    <?php bb_generator( 'rss2' ); ?>
    <textInput>
    <title><![CDATA[<?php _e('Search'); ?>]]></title>
    <description><![CDATA[<?php _e('Search all topics from these forums.'); ?>]]></description>
    <name>q</name>
    <link><?php bb_uri('search.php'); ?></link>
    </textInput>
    <atom:link href="<?php echo $link_self; ?>" rel="self" type="application/rss+xml" />

    <?php foreach ($posts as $bb_post) : ?>
    <item>
    <title><?php post_author(); ?> <?php _e('on')?> "<?php topic_title( $bb_post->topic_id ); ?>"</title>
    <link><?php post_link(); ?></link>
    <pubDate><?php

    ob_start("datefix");
    bb_post_time('U');
    ob_end_flush();

    ?></pubDate>
    <dc:creator><?php post_author(); ?></dc:creator>
    <guid isPermaLink="false"><?php post_id(); ?>@<?php bb_uri(); ?></guid>
    <description><![CDATA[<?php

    ob_start("callback");
    post_text();
    ob_end_flush();

    ?>]]></description>
    </item>
    <?php endforeach; ?>

    </channel>
    </rss>

    Sorry for comments in italian.

    BTW @ yoyopop, I don’t remember in which topic, but I read on this forum that the problem is related to some plugins having extra spaces in their code before the opening “<?php” tag. Check it…

    #36395

    Topic: My Style

    in forum Showcase
    MathiasB
    Member

    http://www.webcreatures.be

    There can you take a look at my customized bbPress setup :)

    #36390
    Snat
    Member

    Hey,

    I have currently converted my IP.Board site over to bbPress but having a bit of a design issue.

    I am current looking for a way so that on the index page, only one level of sub forums are shown in a row. So basically like this.

    Main Forum

    – Sub Forum 1, Sub Forum 2

    I have found some examples that shows how to list the sub forums like that but I have played about with it and I haven’t been able just to get it to show just one level of sub forums.

    My current index code is as follow. I would be very grateful if someone could help me with this.

    http://wordpress.pastebin.com/8Gt738EP

    Thanks.

    #97969

    In reply to: bbPress error

    Rich Pedley
    Member

    open up plugins/bbpress/bbpress.php do you see:

    /**
    * Plugin Name: bbPress
    * Plugin URI: http://bbpress.org
    * Description: bbPress is forum software with a twist from the creators of WordPress.
    * Author: The bbPress Community
    * Author URI: http://bbpress.org
    * Version: plugin-bleeding
    */

    #103069

    In reply to: bbPress error

    Rich Pedley
    Member

    open up plugins/bbpress/bbpress.php do you see:

    /**
    * Plugin Name: bbPress
    * Plugin URI: http://bbpress.org
    * Description: bbPress is forum software with a twist from the creators of WordPress.
    * Author: The bbPress Community
    * Author URI: http://bbpress.org
    * Version: plugin-bleeding
    */

    #94702
    Snat
    Member

    Thanks for that John. Will have a look on Trac and see what I can help with.

    Thanks for the reply :)

    Jaja..
    Member

    Okay, i have been reading this forum for a few hours now and i need somebody to tell me what’s best.

    First, i have installed bbPress once before, a few months ago to give it a try and see if it was something for me because i’m a fan of the WordPress system and it’s plugins.

    It worked very good i had no problems because i just needed some basic plugins nothing fancy, but it was only a testing install and never got public before i deleted it.

    But now i need to get things going and start building for some project.

    I have this project where 2 different game-based sites have to match each other and become one, it’s a game-blog and game-forum based site so thats why i was first thinking of a WordPress site along with a bbPress forum. Very simple and deep integrated in each other to keep both working together.

    But when i read this support forum it makes me turn around a few times and not knowing what to do best. Should i go for the bbPress (standalone) version or should i wait for the bbPress WordPress plugin.. I don’t know how things are working out on that side but it feels like this plugin take forever,, No i don’t wanna be rude to all people working on it, (only respect) but is there a time-period set for this plugin to be released?

    And if there is one, will it become Beta first and after 2 or 3 years a final and stable product?

    What will happen to people (forums) using the bbPress standalone version? will there be a settings option so we could update or upgrade our standalone version to the WordPress plugin version without losing the forum-data?

    Or should we start all over again with a fresh clean install?

    And yes, i’m already thinking of switching to the plugin based bbPress because i think the standalone version will not be supported and looked after when the plugin version goes live.

    Also something i would like to know, i’ve also read a few spam topics with people having trouble catching spam bots..

    Is this a regular thing? Because it’s bbPress, it attach spam bots like every clean installed WordPress site will have a spam message in 5 days without doing anything on the site..

    I don’t mind if there is something to catch those gangsters but if bbPress has some kind of “weak” (spam) based code i will not like the forum idea for my site.

    Don’t get me wrong, i don’t mind to delete a spam message once in a while but if i daily need to delete 25 spam messages while i have running a spam-catch plugin it will not make me very happy..

    So could anybody tell me what to do?

    I like the bbPress system because it’s “easy” to customize and you’re not working in all the same community themes like you see on most forums..

    #94700

    Just pushed an update through that is a solid first pass at forum and topic freshness. Some testing would be awesome.

    Things @todo on this front: sub-forum tree topic/reply walking, better hierarchical reply support (topic walker), and go get a burrito (dinner)

    :)

    #94699

    It is not currently in the plugin but is a must-have before beta.

    Depending on your level of experience with writing importers and exporters, it might be a good idea to get started now and prepare for some minor changes in data storage that might happen along the way.

    The plugin isn’t really meant to completely replace the stand-alone version in my eyes, since they are two totally different approaches to a similar need. So without being vague to the point if unhelpful, it really comes down to how urgently you need to make the switch and how much work you’re willing to put into getting there.

    If it were me, I’d concentrate efforts towards the plugin since it could use the most eyes on the code right now, and is more likely to see advancements and enhancements in the future.

    #94698
    Snat
    Member

    Quick question if no one minds (not sure if it has been asked before or not as I can not find it by searching for it).

    Does bbPress Plugin have migration from the current stand alone bbPress in mind or is that something that is planned after the main release or something that is not planned yet ?

    Just wondering as some clients wants to move from IP.Board to bbPress and I am not sure if I should write a import plugin now to the current version or wait until the plugin is fully released.

    Nice work btw :)

    Will pop onto Trac later and see if there is anything I can help out with.

    #97949
    Metal
    Member

    Resim eklemek için veya yazıyı kalınlaştırmak için tıklama yeri butonlar yokmu yaww nasıl bir forum sistemi bu :(

    #103049
    Metal
    Member

    Resim eklemek için veya yazıyı kalınlaştırmak için tıklama yeri butonlar yokmu yaww nasıl bir forum sistemi bu :(

    #94694
    Commentguerir
    Participant

    edit : we can activate anonymous posting on editing file bbp-includes/bbp-users.php on editing this code :

    function bbp_allow_anonymous () {

    return apply_filters( ‘bbp_allow_anonymous’, get_option( ‘bbp_allow_anonymous’, false ) );

    }

    change false -> true

    #97772
    _ck_
    Participant

    This is likely a permissions bug with 1.1 dealing with anonymous posts being edited by admin.

    Someone will have to look through the code (if the bug can be duplicated).

    #102872
    _ck_
    Participant

    This is likely a permissions bug with 1.1 dealing with anonymous posts being edited by admin.

    Someone will have to look through the code (if the bug can be duplicated).

    #92984
    zaerl
    Participant

    Cause wp_head isn’t automatically called by WordPress. It’s a template tag function that themes’ authors usually put between head elements.

    https://codex.wordpress.org/Function_Reference/wp_head

    #94688
    Rich Pedley
    Member

    It’s fairly easy to do ;)

    check the style.css in the included twentyten child theme and you’ll see this:

    /**
    * Theme Name: bbPress - Twenty Ten
    * Theme URI: http://bbpress.org
    * Description: Adds bbPress forums to Twenty Ten theme
    * Author: The bbPress Community
    * Version: 0.1
    * Template: twentyten
    * Tags: bbpress, black, blue, white, two-columns, fixed-width, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style
    */

    The template denotes another available theme that you are making this the child of. If you include the main style sheet, you don’t need to re-reference everything. eg. @import url("../twentyten/style.css");

    So create a new theme directory by including that, and copy all the other files(ie not style.css) from plugins/bbpress/bbp-themes/bbp-twentyten (not forgetting to rename the Theme name)

    However you might want to copy in the default style, this start’s with:

    /* bbPress Style
    
    */

    Then you need to check where the get_header(), get_sidebar() & get_footer() are in your parent theme.

    If they are in this order:

    get_header();
    /* Content */
    get_sidebar();
    get_footer();

    you don’t have to do anything.

    However if they are in a different order you may need to adjust, currently they reside in the following files:

    page-bbp_form.php

    author.php

    taxonomy-bbp_topic.php

    single-bbp_topic.php

    single-bbp_reply.php

    single-bbp_forum.php

    page-bbp_topics.php

    page-bbp_front.php

    and I think that is all that’s needed! (untested though)

Viewing 25 results - 19,526 through 19,550 (of 32,499 total)
Skip to toolbar