Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,601 through 16,625 (of 32,503 total)
  • Author
    Search Results
  • Aahan Krish
    Participant

    In case it helps, I have identified the code that determines the text. It’s in wp-contentpluginsbbpressbbp-includesbbp-common-template.php but it needs to be modified by adding a function in functions.php, and I don’t know how to do that.

    Anyway, this is the code:

    /** Home Text ********************************************************/

    // No custom home text
    if ( empty( $args['home_text'] ) ) {

    // Set home text to page title
    if ( $front_id = get_option( 'page_on_front' ) ) {
    $pre_front_text = get_the_title( $front_id );

    // Default to 'Home'
    } else {
    $pre_front_text = __( 'Home', 'bbpress' );
    }
    }

    Aahan Krish
    Participant

    I just installed bbPress 2.0.2 forum plugin for WordPress, and would like to change the text of link Home to iGeek (or anything else, for that matter).

    So the breadcrumb Home › Forums becomes iGeek › Forums (or something like that). How do I do that?

    #112180
    Aahan Krish
    Participant

    @thetalltree : Take a look at the forum index of bbpress.org, and you’ll notice that there are at least 2 spam posts. SPAM! And what’s even more alarming is that they are still there!

    Take my advise, ask elsewhere. (Try asking on wordpress.stackexchange.com)

    My $0.02! :)

    Aahan Krish
    Participant

    I am currently modding my own bbpress installation (and I all I know is CSS).

    My idea would be search Google for ‘free bbpress themes’, find the one with the functionality that you want – – in your case, something that looks like bbpress.org – – and then design it your way with custom css.

    You get my idea? Good luck! :)

    Jimfire
    Member

    I downloaded bbpress because the bbpress.org looked so nice. This is exactly the look I want in my forum. When I load the bbpress that I downloaded, it doesn’t look anything like this.

    I am so bummed. I’m not a great coder, so if it’s going to involve a lot of php work, I’m out of luck.

    My site is running WP 3.3.1, with the Twenty Eleven theme. Is there anything I can put my hands on to get a forum that looks like this one?

    Jim

    #42645

    Topic: Custom profile fields

    in forum Plugins
    Rambomst
    Member

    I am having an issue getting custom profile fields to work.

    I have used the following code as a wordpress plugin and a bbPress plugin:

    function set_my_profile_info_keys($myarray) {

    $myarray = array(

    ‘testfield’ => array(0, __(‘TestField’))

    );

    return $myarray;

    }

    add_filter(‘get_profile_info_keys’, ‘set_my_profile_info_keys’);

    However this doesn’t show the field on a users profile to allow them to edit it. I have also tried other variations of this code I have found on this forum and others but to no avail.

    Any help getting this working would be much appreciated.

    #112193

    Does the site homepage still come up OK? Do you get a white screen? Do you get an error message? Does /wp-admin/ still give you the WordPress login screen? What is your URL?

    Simply saying it’s broken doesn’t really help us point you in the right direction ;)

    #109326

    In reply to: Where is my Forum?

    The Newb
    Member

    I have to agree with thruxton, this all may sound like elementary settings to you tech guys but to a newb…its wierdly complicated to set up.

    I have a Themeforest template I installed my self on WP in less time LOL.

    I also agree that bbpress looks like a great set up, and still very much want to run it. Im not a quitter ;)

    so far I set up a forum page, made 5 topics with test text, added a link to my menu’s and sidebars (all while signed in to my WP site) not my bbpress persay…thats my issue, I cant seem to set up this log in page, I have no clue what this URI is

    instructions say “make a log in page” yet there is no such thing in BB as a “page”.

    So I then made a WP page and called it forum. and the log in shortcode worked! except it would let me make a log in??

    Then I wondered how the BB forum I previously made with 5 topics, was to get linked up with this new WP page called “forum”

    I bin up one side and down da udder with this thing, couple hrs a night after work for the last 3 days!! geeeez I feel re taw did

    There…I feel better now that I vented…wife doesn’t wanna hear it

    #112204

    Yes, it is still being maintained.

    The plugins listed on bbpress.org are for bbPress v 1.x.

    The current version of bbPress is 2.0.x and the plugins for it can be found on WordPress.org

    https://wordpress.org/extend/plugins/search.php?q=bbpress

    Eventually the plugins listed on bbpress.org will be archived to help avoid confusion, but the bbPress project is very much alive :)

    #109325

    In reply to: Where is my Forum?

    http://anetz.in/forums/ should be the spot :)

    #112191

    If you can’t login to your site via FTP/SFTP then you need to contact your web host as there is a bigger problem around here :

    Sorry I do not have time to provide you with the exact code.

    However as jjj already said there are tons of examples on Google.

    http://ottopress.com/2010/wp-quickie-kses/

    Satish
    Participant

    ok..

    as Guatam suggested, I added the following code to my function.php file

    add_action('bbp_init', '_bbp_allow_pre_tag', 10);

    function _bbp_allow_pre_tag() {

    global $allowedtags;

    $allowedtags = array( 'name', 'class', 'id' );

    }

    but still its not working.

    Can you please directly give me the code I need to paste into my function.php file ?

    I need to allow pre tag with following attributes to it name=”code” class=”c”

    so basically I must allow “pre” tags with “name” and “class” attributes.

    No you should not edit core (*ever*), you should use the filter that is available in the code you just posted bbp_get_allowed_tags.

    You need to look into filters https://codex.wordpress.org/Function_Reference/add_filter

    Satish
    Participant

    got something inside bbpressbbp-includesbbp-common-template.php file.

    /**

    * Output all of the allowed tags in HTML format with attributes.

    *

    * This is useful for displaying in the post area, which elements and

    * attributes are supported. As well as any plugins which want to display it.

    *

    * @since bbPress (r2780)

    *

    * @uses bbp_get_allowed_tags()

    */

    function bbp_allowed_tags() {

    echo bbp_get_allowed_tags();

    }

    /**

    * Display all of the allowed tags in HTML format with attributes.

    *

    * This is useful for displaying in the post area, which elements and

    * attributes are supported. As well as any plugins which want to display it.

    *

    * @since bbPress (r2780)

    *

    * @uses allowed_tags() To get the allowed tags

    * @uses apply_filters() Calls 'bbp_allowed_tags' with the tags

    * @return string HTML allowed tags entity encoded.

    */

    function bbp_get_allowed_tags() {

    return apply_filters( 'bbp_get_allowed_tags', allowed_tags() );

    }

    what should I do with it inorder to make pre tag allowable.

    I feel like, editing the core isn’t a good idea.

    Is there a way to handle this via my template ?

    Can you please give me the code that I must paste inside my function.php file to allow <pre name="code" class="c"> to my forum members.

    You can filter it using the bbp_get_allowed_tags filter bbPress provides.

    John Conners
    Participant

    I’m working on a simple plugin that effectively fires:

    do_action( 'edit_post', $id );

    on any topic, forum, etc. when edited, created, trashed, spammed, split, etc to flush the topic and forum out of the cache.

    I’ve almost got it working and am just getting trashing / untrashing to work then will put it up somewhere to let others work on it. While it’ll work in my case where I’ve not got a bbPress aware theme it may need some tweaking / improvements for all cases.

    Satish
    Participant

    <b>Gautam Gupta</b> tried to help me with this code:

    global $allowed_tags;

    $allowed_tags=array('name','class','id');

    I pasted it inside function.php file; unfortunately its not working.

    I’m using https://wordpress.org/extend/plugins/google-syntax-highlighter/ plugin. and want my bbpress forum members to make use of pre tag and this plugin highlights the codes they post on the forum.

    It uses the following syntax: <pre name="code" class="c">

    please help.

    #112108
    Zigster
    Member

    Hey Anetz,

    I have “Site Wide” forum enabled (bbpress) and I’ve disabled group forums. They can still make groups, but they don’t have group forums.

    I’m new to WordPress and Website development, just know some basic HTML.

    Thanks, I see how to change the permalink now that’s awesome. I can’t believe I missed it, spent ages looking it. It’s in the “All pages” tab and it’s under the title.

    Whenever I make a “new forum” category it automatically creates it at /forums/forum/new-category.

    I don’t understand why I need “/forums/forum”, I’d rather just have it at /forum if that’s possible.

    I’ll continue to experiment too and I’ll post back if I make any progress.

    Let me know if you find anything. :)

    #112097
    Haris Nadeem
    Member

    Thanks! That perfectly worked with my theme as well =)

    #110530
    Jon Brown
    Participant

    Just switched a Genesis based site I’m developing from 2.0 to 2.1-r3774. I was a bit confused by the broken templates, but then realized the Genesis code had been pulled out and found and installed Jared’s BBPress Genesis extend (0.8.1) plugin which now makes everything is look good OOTB again.

    https://wordpress.org/extend/plugins/bbpress-genesis-extend/

    There are only a dozen dummy posts and _no_ custom templates yet so I wouldn’t really expect it to explode, but I start customizing forum templates in a few days and it seemed to make sense to start with 2.1.

    It depends on what your setup is, however you should be able to put this in your theme’s function.php and get it to work. The reason I know this is because I’m doing it on one of my bbPress installs.

    add_filter( 'bbp_get_single_forum_description','ja_return_blank' );
    add_filter( 'bbp_get_single_topic_description','ja_return_blank' );
    function ja_return_blank() {
    return '';
    }

    No problem.

    Hopefully in a future release (2.2) this will be a bit easier and their will be some direct filters in place :)

    Haris Nadeem
    Member

    Thanks a lot jaredatch! I just fixed them :)

    #110756

    This is fixed in the upcoming 2.1 release :)

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