Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,276 through 16,300 (of 32,503 total)
  • Author
    Search Results
  • #113331
    spelly1337
    Member

    I only want people to register to the forums =/ isnt this possible?

    #113330
    POS2012
    Participant

    It is the same as to register in WordPress.

    http://yourdomain.com/wp-login.php?action=register

    When registered in WP they can participate in the forum. At least my test forum works like that. :-)

    #113250
    POS2012
    Participant

    Any developer / code genius that would like to look at this?

    POS2012
    Participant

    Ok, I had to install the very last WP.

    Now it works, but not with the embed code. I need to use the

    http:// http://www.youtube.com/watch?v=(videoIDhere)

    That is the best also I recon :-)

    POS2012
    Participant

    Have you done anything else than installing bbPress 2.1?

    Any configuration?

    I have tried to paste YouTube original URL and the short embed URL, but none of those are working. I’ll do some more testing with turning off different plugins to see if that affects it.

    Thanks for clearing it up :-)

    Lynq
    Participant

    This is what happened to me… it my help someone else.

    I deactivated all of my plugins by accident trying to hunt down a piece of code inside a custom plugin.

    This caused my forum to disappear and continually 404, although everything was still there.

    By changing my Permalinks and then changing them back to what they were originally this issue is fixed.

    Good luck to anyone who reads this!

    Settings > Permalinks > Save (Try just saving first, if that doesn’t work, then change them, save them and then change them and save them again).

    villagora
    Participant

    Hi,

    I’ve notice an error in the bbp_current_user_can_access_create_reply_form() function :

    indeed, the return apply_filters tag is “bbp_current_user_can_access_create_topic_form” instead of “bbp_current_user_can_access_create_reply_form”.

    Some comments are also copy/paste from bbp_current_user_can_access_create_topic_form() function.

    That’s all, a small fix for the next release please ? :)

    Thanks

    #44361

    I have installed BBpress on my wordpress site and all of a sudden when i go onto my forums page the categories are not showing its just a white page with template :( i have tried re installing and still no luck

    Please help :)

    #44352

    Topic: Theme on this side?

    in forum Themes
    Dykarna
    Member

    I really like the theme on this side, how can I get my site to look like in a similar way without having to write lots of code? Perhaps this is a theme that you made ​​yourself or is it a theme that’s out to just bbPress.

    In any case, I think it looks good and I would like something similar

    #113274
    Dykarna
    Member

    Thanks for your help.

    I hope someone else can find out what to do because I don’t know s**t :-/

    #113273
    SK
    Participant

    not a good idea to harcode filenames in the code. I meant rename the files that you have uploaded.

    #113272
    Dykarna
    Member

    Can i change that in the code or…?

    POS2012
    Participant

    There are a few things I really always look at when participating in a forum, and that is “role”, “total number of posts” and “registry date” of the ones who answers the topic.

    By looking at those few informations I quickly make up my mind as to how much weight I should put on the persons opinions.

    If the person has 1256 posts and was registered 09.09.2008, then I often would add more weight to that person’s opinions than a person with just 5 posts and registered 04.20.2012…

    So, is there a way to add some php code tp for instance

    wp-content/plugins/bbpress/bbp-theme-compat/bbpress/loop-single-reply.php

    to get:

    – User’s total number of posts

    – User’s registry date

    I was able to get the user’s role by following this:

    http://bbpress.org/forums/topic/displaying-user-role-beside-their-replies

    Thank you :-)

    #113271
    SK
    Participant

    Another thing…I looked at the code https://bbpress.svn.wordpress.org/branches/plugin/bbpress.php and it seems to seek bbpress-sv.mo not bbpress-plugin-sv.mo so you might try renaming the file again (sorry!)

    #113099
    POS2012
    Participant

    Thank you for posting this :-)

    Added to my 2.1

    #113268
    SK
    Participant

    I don’t think you missed anything in config as your WP is in Swedish and this is also reflected in your opening HTML tag

    <html lang="sv-SE" dir="ltr">

    For some reason bbPress is not picking up the correct language files and falling back on English.

    Typically it is due to missing, incorrectly named or incorrectly placed language file.

    But I can see your .po at http://vaxmora.se/wp-content/languages/bbpress/bbpress-plugin-sv.po

    #113267
    Dykarna
    Member

    OK I did.

    No change *???* still ENG and I did as you told me twice :-/

    New DL and I put it in

    /vaxmora.se/wp-content/languages/bbpress/

    bbpress-plugin-sv.mo AND bbpress-plugin-sv.po

    Do I miss anything in config?

    #113262
    Dykarna
    Member

    Strange!! No change here :-(

    Whats missing for me?

    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-->

    #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!

    #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.

    Garth Koyle
    Member

    Where am I supposed to add this??

    add_filter( 'bbp_show_lead_topic', '__return_true' );

    #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' ); ?>

Viewing 25 results - 16,276 through 16,300 (of 32,503 total)
Skip to toolbar