Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,576 through 17,600 (of 32,499 total)
  • Author
    Search Results
  • #106101
    Clicknathan
    Participant

    You’re right, BJ, and I removed my additional call that I’d placed in there, and it still works. I’d LOVE a tutorial…once I get this finally figured out and down perhaps I’ll try and write one.

    I was just getting comfortable using BBPress 1.0 and now it’s a whole new game. :)

    I already much prefer the plugin though, if only for the unified backend and easier integration of users.

    #40068

    Topic: How can I …?

    in forum Themes
    amirsaam
    Member

    1. How can I show something after the last post?!? You know that the last post has no id to use that. I wanna show the Closed Topic messege after the last post but it come under topic title :( http://up8.iranblog.com/images/61frq7cfblw4039p3jvv.png the code is this:

    <div id="entry">
    <h2<?php topic_class( 'topictitle' ); ?>>
    <span id="topic_labels"><?php bb_topic_labels(); ?></span><?php topic_title(); ?> <span id="topic_posts">(<?php topic_posts_link(); ?>)</span>
    </h2>
    <?php do_action('under_title', ''); ?>
    <?php if ($posts) : ?><?php foreach ($posts as $bb_post) : $del_class = post_del_class(); ?>
    <?php bb_post_template(); ?>
    <?php endforeach; endif; ?>
    <?php if ( topic_is_open( $bb_post->topic_id ) ) : ?>
    <?php if(bb_is_user_logged_in()) { echo post_form();} ?>
    <?php else : ?>
    <div id="closed">
    <h1>موضوع قفل شده‌است</h1>
    <p>شما نمی‌توانید به موضوع‌های قفل‌شده پاسخی دهید.</p>
    </div>
    <?php endif; ?>
    </div>

    2. How can I fix this problem? http://up8.iranblog.com/images/6z4otkp479qzah6tr5.png

    #40065
    miruru
    Member

    I’ve installed a spoiler plugin which uses html tags as bbpress does not accept shortcodes within posts. The spoiler plugin is called enhanced-ss.

    The plugin works fine within WordPress Posts but does not seem to work within bbpress posts. I am using the latest wordpress version, buddypress version and bbpress 2.0.

    The code is available here –> http://pastebin.com/AkH7eNJ4

    Is there a reason why it does not display within a bbpress post?

    #40063
    venividi
    Participant

    I want to use ‘bbPress Topics list’ widget, outside widget.

    I’d very happy that someone let me know the code to use it outside widget.

    Thank you in advance.

    #106100
    Jaja..
    Member

    @ Clicknathan,

    Did you copy-/paste all files from the plugins (bbPress folder) to your Child Theme folder?

    If you did so, you have the functions.php file from bbPress inside the Child Theme folder and i have been looking inside that functions.php file and at line: 120 there is already a code that says:

    public function add_theme_support() {

    add_theme_support( 'bbpress' );

    }

    Thats why i didn’t added the add_theme_support code.

    Everything seems to work for me but i really have no idea if i’m doing it correct.

    If somebody has a tutorial website that explains it better (how to setup a Child Theme bbPRess) post it here.

    I would like to learn it the right way, not that i’m telling other people wrong info.

    #100698

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    Thanks JJJ.

    I love how easy it is to understand the WP Codex.

    At this point i’m looking at this page:

    http://phpdoc.ftwr.co.uk/bbpress-plugin/

    But it’s not as easy as the WP codex.

    #105798

    In reply to: bbPress 2.0 – FAQ

    Jaja..
    Member

    Thanks JJJ.

    I love how easy it is to understand the WP Codex.

    At this point i’m looking at this page:

    http://phpdoc.ftwr.co.uk/bbpress-plugin/

    But it’s not as easy as the WP codex.

    #100697

    In reply to: bbPress 2.0 – FAQ

    I’ll be putting together a codex in the coming weeks. Just dropping an update that eventually we can unsticky these topics and have a real place for documentation.

    #105797

    In reply to: bbPress 2.0 – FAQ

    I’ll be putting together a codex in the coming weeks. Just dropping an update that eventually we can unsticky these topics and have a real place for documentation.

    #107339

    If you have a custom theme (one which you control and maintain yourself) you can create a file named ‘bbpress.php’ in the root of your theme to act as the “wrapper” template for all of your forum content.

    #106099

    Template files prefixed with ‘page-‘ are for WordPress pages, and also reserved for actual Page Template designs. It’s a bit confusing, but you quickly adapt. :)

    WordPress custom post types use the ‘archive-‘ prefix to denote the default fallback template file if you have not created a WordPress page using the page template in its place.

    You could also create a WordPress page with the slug ‘forums’ and make a template called ‘page-forums.php’ and bbPress would default to that too. There are several ways to skin this cat, and bbPress comes with the ones that are tho most flexible.

    #40061

    I’ll be on a work related trip through October 1, so my availability to help will be diminished. In the meantime be sure to keep your eyes out for plugin conflicts, and please document any duplicatable bugs you find at http://bbpress.trac.wordpress.org.

    Moderators, the power is yours. :)

    #108902

    Use the code in the bbp-core-widgets.php file as your guide. It is it’s own tutorial.

    #108993

    The function it serves is allowing Groups to have a discussion forum. :)

    Currently groups cannot have multiple forums. They will be able to in future versions.

    #108264

    Here’s an update. I was able to get further by adding the following to ‘step3’ of the bbpress.php file.

    ini_set("memory_limit", "500M");

    but, it seems the import script lags behind incredibly.

    Is there no way to run this on the command line?

    Is there any reason why it is so inefficient with memory usage?

    #40052
    Justin Mason
    Member

    We are creating a custom theme and have been trying to activate “hot tags” like those being used on wordpress.org/forums and other boards. I’ve searched around the board and found threads that are pretty dated and the code isnt working. BBPress has probably moved past most of the old suggestions.

    What do I need to do to add the tag heat map to an area on my custom theme on mysite.com/discuss?

    #109063
    cocoa
    Member

    It worked! Thank you so much, anointed! Now just have to sort out how to format those pesky Gravatars, but I hope I can handle it on my own (wouldn’t want to waste your time!) :)

    #109009

    In reply to: Full Width forum

    Anonymous User 8347663
    Inactive

    But i am a really bad css coder. :(

    Is it possible to pay anyone or get some extended tutorials?

    #108260
    Doug Smith
    Participant

    I found that bumping the memory limit up in my php.ini wasn’t enough. If I’m reading the WordPress admin code right, it sets a memory limit which may actually be lower than what you’re trying to use and it overrides your settings.

    I added the following overrides to my wp-config.php file and that allowed me to complete the import. This was on a local machine with a large forum so you would probably want to try it with a lower limit to start.

    define('WP_MEMORY_LIMIT', '2048M');<br />
    define('WP_MAX_MEMORY_LIMIT', '2048M');

    #40046
    robot6
    Member

    I looked at “http://codex.wordpress.org/Using_Permalinks&#8221;, it reads: “For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields.”

    I can’t seem to be able to use the recommended link structures with bbpress forums and topics such as /%post_id%/%postname%/.

    Will the permalink structure greatly affect the loading time of my different pages or has this issue been resolved with the latest version of WordPress?

    #109076
    Jaja..
    Member

    Thats strange because i copied the bbPress files from the plugin to my WP theme (child theme) and start editing from that file.

    Im inside: wp-content > themes > my-child-theme > bbpress > loop-single-reply.php and i just deleted the entire basic avatar calling code because it pulling out the name, link and avatar in one php code with a in between.

    I didn’t like that because it wasn’t easy to customize so i deleted that bit and placed my own easy template tags.

    <div class="mpm-reply-author-avatar"><a href="<?php bbp_reply_author_url(); ?>"><?php bbp_reply_author_avatar(array('size' => '80')); ?></a></div>

    Link and title are working, avatar showing up only at 40px.

    Maybe something wrong with my Child Theme setup?

    Strange because i have done 2 days of editing and changing a lot of bbPress codes without any errors and all changes is made showed up.

    #109062
    Anointed
    Participant

    Line 642 of your theme stylesheet says:

    .reply {
    float: right;
    margin: 10px 0 0;
    }

    The float right is causing the problem. If you remove that rule, then the forums work just fine, however I am guessing it will have other side effects on the theme which I can’t determine myself.

    #109074
    ineken
    Member

    hi you can use css ;)

    #108914

    In reply to: jDate and Jalali dates

    amirsaam
    Member

    John I need this answers…

    bbPress 1.1 is translated 50%, if we don’t have a Jalali date format we cannot publish it :(

    #106096
    Clicknathan
    Participant

    Having trouble getting the BBPress theme templates to work as well…

    1. I followed all of the original post’s instructions, but making changes to the templates doesn’t come through on the live site.

    2. I tried creating a child theme as per BJ’s suggestion above, but that wasn’t successful for me.

    3. Pulled my remaining hairs out trying other solutions.

    Just thought I’d mention. :)

Viewing 25 results - 17,576 through 17,600 (of 32,499 total)
Skip to toolbar