Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 32,076 through 32,100 (of 64,516 total)
  • Author
    Search Results
  • SK
    Participant

    Could WP Super Cache tags do the job?

    https://wordpress.org/extend/plugins/wp-super-cache/faq/

    How do I make certain parts of the page stay dynamic?

    There are 2 ways of doing this. You can use Javascript to draw the part of the page you want to keep dynamic. That’s what Google Adsense and many widgets from external sites do. Or you can use a WP Super Cache tag to do the job but you can’t use mod_rewrite mode caching. You have to switch to PHP or legacy caching.

    There are a few ways to do this, you can have functions that stay dynamic or you can include other files on every page load. To execute PHP code on every page load you can use either the “dynamic-cached-content”, “mfunc”, or “mclude” tags. The “dynamic-cached-content” tag is easier to use but the other tags can still be used. Make sure you duplicate the PHP code when using these tags. The first code is executed when the page is cached, while the second chunk of code is executed when the cached page is served to the next visitor. To execute WordPress functions you must define $wp_super_cache_late_init in your config file.

    dynamic-cached-content example

    This code will include the file adverts.php and will execute the functions “print_sidebar_ad()” and “do_more_stuff()”. Make sure there’s no space before or after the PHP tags.

    <!--dynamic-cached-content--><?php
    include_once( ABSPATH . '/scripts/adverts.php' );
    print_sidebar_ad();
    do_more_stuff();
    ?><!--
    include_once( ABSPATH . '/scripts/adverts.php' );
    print_sidebar_ad();
    do_more_stuff();
    --><!--/dynamic-cached-content-->

    mfunc example

    To execute the function “function_name()”:

    <!--mfunc function_name( 'parameter', 'another_parameter' ) -->
    <?php function_name( 'parameter', 'another_parameter' ) ?>
    <!--/mfunc-->

    mclude example

    To include another file:

    <!--mclude file.php-->
    <?php include_once( ABSPATH . 'file.php' ); ?>
    <!--/mclude-->

    That will include file.php under the ABSPATH directory, which is the same as where your wp-config.php file is located.

    Example:

    <!--mfunc date( 'Y-m-d H:i:s' ) -->
    <?php date( 'Y-m-d H:i:s' ) ?>
    <!--/mfunc-->

    #112809

    In reply to: CSS Issue

    I am having the same issue with Oxygen. You can see it here:

    http://englishintirol.com/ESiT/full-width-test/

    Tried the ‘.bbp-forums .hentry . . . ‘ as suggested above, tried playing with a variety of table settings, with no result. I’ve looked in Safari Web Inspector which suggests it could be in bbpress.css, tried playing around with bbpress.css as a result, also with no joy. Any help would be appreciated.

    #113257
    SK
    Participant
    #112817

    In reply to: Where is Dashboard?

    webismuk
    Member

    Is there a seperate back end that I am missing?

    There must be options, I cannot think that bbpress is that primitive compared to all the other forum software I have seen.

    Thanks

    #44318
    Dykarna
    Member

    I think I’m looking and googling to find out how I’m doing step by step to change the language on my bbPress side but I find nothing. Maybe I’m bad at searching :-)

    Someone who can “step by step” to tell me how and where I go to do it

    Big thanks

    #113233
    Torsten Landsiedel
    Participant

    Yes, I know. I wrote this is in my first post:

    I see this on http://de.forums.wordpress.com and I know this is not the latest version running there.

    Thank you for hoping with me … ;-)

    #113232
    POS2012
    Participant

    No problem :-)

    But again, YOUR question was regarding the http://de.forums.wordpress.com

    I am a fresh user of bbPress, but as far as I can see that forum us the “old” stand alone version of the bbPress. At least the code says so in the RSS generator:

    <!-- generator="bbPress/1.1-alpha-2539" -->`

    In that case I am not the one that can help. I don’t even know who is leading the bbPress project :-)

    Hope you get the help you need from others here!

    #113231
    Torsten Landsiedel
    Participant

    Oh, sorry! You are absolutely right. Without the context I thought this is not the right line, but with the context it is quite obvious that you are correct! Sorry again.

    #44312
    bjj_pl
    Participant

    How to replace one string of text with another one?

    Example, change ” :heart: => spade ” in each and every topic and reply.

    BDISGUSTING
    Member

    I have the same issue, the op’s site seems to have disappeared so hopefully someone else has found a solution.

    #113230
    POS2012
    Participant

    Ok, I have no idea about the bbPress.org and wp.com relationshop.

    However I believe that is the correct place to alter the RSS feed :-)

    Here is the code in syntax:

    // Display the feed
    header( 'Content-Type: text/xml; charset=' . get_option( 'blog_charset' ), true );
    header( 'Status: 200 OK' );
    echo '<?xml version="1.0" encoding="' . get_option( 'blog_charset' ) . '"?' . '>'; ?>

    <rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom"

    <?php do_action( 'bbp_feed' ); ?>
    >

    <channel>

    <title><?php bloginfo_rss( 'name' ); ?> » <?php _e( 'All Topics', 'bbpress' ); ?></title>
    <atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
    <link><?php self_link(); ?></link>
    <description><?php //?></description>
    <pubDate><?php echo mysql2date( 'D, d M Y H:i:s O', '', false ); ?></pubDate>
    <generator>https://bbpress.org/?v=<?php bbp_version(); ?></generator>
    <language><?php echo get_option( 'rss_language' ); ?></language>

    <?php do_action( 'bbp_feed_head' ); ?>

    #113229
    Torsten Landsiedel
    Participant

    “If you alter that you could probably get the RSS title to say whatever you’d like.”

    I can’t alter any files, because I am requesting this change for an existing WP.com support forum, for which I am the moderator ( but not admin!). And after requesting it elsewhere, they told me to come here in this forum and put my request in this forum …

    BTW, I think you found just the title for the HTML page and not the rss feed.

    purplesea
    Member

    I’m trying to make a topic creation form in a single page all by itself for a specific forum I created.

    So I created a shortcode function using the code below.

    bbp_get_template_part(“bbpress/form”,”topic”);

    and when I put this code into the page, I was able to make the topic creation form all by itself as I wanted.

    But my question is how can I set a specific forum to write?

    I see there’s a dropdown menu I can select the forum I want to write. But in default the dropdown menu selector set to the very first forum.

    I want to have a specific forum selected as a default. Or if I can get rid of the dropdown forum selector and specify which forum I want to write, that’s fine too.

    So I looked at the codes but I couldn’t figure out how to specify a specific forum to write.

    I found the following code from form-topic.php and I guess I have to change the code somehow to specify the default selected forum.

    <?php bbp_dropdown( array( ‘selected’ => bbp_get_form_topic_forum() ) ); ?>

    Does anyone know how to do this?

    Thanks in advance.

    Dave953
    Member

    Wow!

    Thank you for your generous reply. At this moment, your reply will be much more useful to others in the community who have the ability to ‘swim in the deeper end of the pool’…something I aspire to.

    The more I thought about it, the more I leaned against ‘threading’. This article was most useful in weighing the pros and cons: “Against Threaded Conversations on Blogs”. It’s located here: http://climbtothestars.org/archives/2008/06/02/against-threaded-conversations-on-blogs/

    Thanks again,

    Dave

    Jennifer M. Dodd
    Moderator

    Those two themes are presented as examples of what can be done, comment-style and bbPress-style. You can copy the template files in /templates to your child WP theme and modify them there if you want to override them.

    You can use filters in your theme’s functions.php or a separate plugin with add_filter.

    The filters that are available to date are:

    $file = apply_filters( 'ucc_btr_template_redirect', $file );

    Used in template_redirect to figure out which template file to use; checks child theme, parent theme, and then defaults to plugin template files. Override if you want to specify single-topic.php or twentyeleven.php.

    $expires = apply_filters( 'ucc_btr_expires', 3600 );

    Sets the cache expires.

    return apply_filters( 'ucc_btr_reply_class', $classes, $class, $reply->ID, $topic->ID );

    Add classes to the reply container.

    return apply_filters( 'ucc_btr_in_reply_to_link', $before . $link . $after, $args, $reply, $topic );

    Creates the “Reply to this” link.

    return apply_filters( 'ucc_btr_cancel_in_reply_to_link', '<a rel="nofollow" id="cancel-in-reply-to-link" href="' . $link . '"' . $style . '>' . $text . '', $link, $text );

    Creates the “Click here to cancel reply” link.

    $include = apply_filters( 'ucc_btr_replies_template', STYLESHEETPATH . $file );

    Override the template to use for comment-styled replies (replies.php).

    #44271
    crankeith
    Member

    Greetings,

    I was wondering if there is a plugin or setting that allows you to convert RSS feed posts into Topics. I have another plugin that is a modal window that collects feedback and I would like each feedback post to be placed in a Forum as a topic. This is for the bbPress plugin for wordpress, not the standalone.

    Thanks,

    Andrew

    sagajagds
    Member

    Just wanted to check if it’s currently a bug / feature or I’m missing something obvious! <a href=”http://www.anytimefitnesslocations.net/

    “>http://www.anytimefitnesslocations.net/

    #110569
    sagajagds
    Member

    Please test it. It’s new code with a new approach, so I’d like to get some fresh eyes on things right away to avoid a long beta period like 2.0 had.

    #113249

    Sorry for my misunderstanding. I do some research on this page and found these lines :

    <form id=”tag-form” method=”post” action=”https://bbpress.org/forums/tag-add.php&#8221; class=”add:tags-list:”>

    <p>

    <input name=”tag” type=”text” id=”tag” />

    <input type=”hidden” name=”id” value=”41539″ />

    <input type=”hidden” name=”page” value=”1″ />

    <input type=”hidden” id=”_wpnonce” name=”_wpnonce” value=”52b8e94f11″ /><input type=”hidden” name=”_wp_http_referer” value=”/forums/topic/tags-widget-function-for-bbpress-20″ /> <input type=”submit” name=”submit” id=”tagformsub” value=”Add Tag” />

    </p>

    </form>

    The problem is, bbpress.org is using version 1.1 and the 2.1 don’t come with a tag-add.php. However I do find it in the buddypress bp-forums folder (which is a group forum and do different thing)

    The value=”41539″, value=”52b8e94f11″, and value=”/forums/topic/tags-widget-function-for-bbpress-20″ seems to vary between post. But until now I still working on the actual value.

    #113248
    POS2012
    Participant

    Can you tag a post when NOT replying to a topic or writing a new one?

    Here in bbPress.org I can (as logged in) tag topics I have not participated in. In this way I can make the forum even more cross-indexed etc.

    See the “tags” module to the left here :-)

    Can you do that in your bbPress 2.1 ?

    #113247

    I’m using bbPress 2.1 too but the tag function doesn’t seem to be missing, and I able to add tag without going to the backend. What are you missing?

    #110568

    Is it possible to insert a search form in the forum header? I have tried to create it my theme’s searchform.php with these code :

    <form id=”search” name=”searchform” method=”get”>

    <input type=”search” id=”ts” name=”ts” title=”Search Topics” placeholder=”Search Topics” />

    <button type=”submit” value=”search” id=”searchsubmit”>Search</button>

    </form>

    <form id=”search” name=”searchform” method=”get”>

    <input type=”search” id=”rs” name=”rs” title=”Search Replies” placeholder=”Replies” />

    <button type=”submit” value=”search” id=”searchsubmit”>Search</button>

    </form>

    The first one search for topics when in a specific forum (e.g. http://www.yourdomain.com/forums/forum/test)

    The second one search for replies when in a specific topic (e.g. http://www.yourdomain.com/forums/topic/this-is-a-test)

    The problem is, I just want the first one to appear in “/forums/forum/test” and the second one in “/forums/topic/this-is-a-test”. Where should I insert those codes?

    Or do anyone here have a better idea to make a search form? I tried to make a bbpress search-by-categories page but I’m kinda stuck.

    #113118

    If you’re getting an error message talking about memory it is nothing to do with bbPress compatibility

    #113117
    jmessick
    Participant

    I was experiencing a similar problem. Sometimes I couldn’t get the page to load at all. Other times the main page would load but other pages would not. I contacted tech support for my host (gator) and asked about increasing PHP memory. They actually came back with the answer that I was not using a theme which was 100% compatible with bbpress. Switching to “bbPress (Twenty Ten) 1.2 by WordPress and bbPress teams” seems to have taken care of the problem.

    I would suggest that if you are getting white screens on some or all of your webgsite after activating the bbpress plugin that the first think to do wo uld be to make sure you are using a bbpress compatible theme.

    #113246
    POS2012
    Participant

    I found that if I go do wp-admin and then to Forum/Topics – and then click “Edit”, I’ll get access to add tags.

    Can I some how add this to the forum topic’s thread to add tags as I can do here at bbPress.org?

    This is the code there:

    I think this is the form start:

    <form name="post" action="post.php" method="post" id="post">

    Then comes this:

    <div class="tagsdiv" id="topic-tag">
    <div class="jaxtag">
    <div class="nojs-tags hide-if-js">
    <p>Add or remove tags</p>
    <textarea name="tax_input[topic-tag]" rows="3" cols="20" class="the-tags" id="tax-input-topic-tag" >my tag 1,my tag 2</textarea></div>
    <div class="ajaxtag hide-if-no-js">
    <label class="screen-reader-text" for="new-tag-topic-tag">Topic Tags</label>
    <div class="taghint">Add New Tag</div>
    <p><input type="text" id="new-tag-topic-tag" name="newtag[topic-tag]" class="newtag form-input-tip" size="16" autocomplete="off" value="" />
    <input type="button" class="button tagadd" value="Add tag" tabindex="3" /></p>
    </div>
    </div>
    <div class="tagchecklist"></div>
    </div>

    A hidde field that probably is important:

    <input type='hidden' id='post_ID' name='post_ID' value='44' />

    Then the main post button:

    <div id="publishing-action">
    <img src="http://domain.com/wp-admin/images/wpspin_light.gif" class="ajax-loading" id="ajax-loading" alt="" />
    <input name="original_publish" type="hidden" id="original_publish" value="Update" />
    <input name="save" type="submit" class="button-primary" id="publish" tabindex="5" accesskey="p" value="Update" />
    </div>

    Can I use this for anything?

Viewing 25 results - 32,076 through 32,100 (of 64,516 total)
Skip to toolbar