Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,626 through 16,650 (of 32,522 total)
  • Author
    Search Results
  • #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 :)

    #59902

    Thanks for the link to the plugin. Feel free to start a new thread about it, locking this one as its 4 years old :)

    #110529
    fruitbat2000
    Member

    I was having the same prob Tuomas, but then realised I needed to insert a link to the stylesheet within my header template.

    Putting <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/bbpress.css"> directly AFTER the <?php wp_head(); ?> tag allows you to override the styles provided by the stylesheet in the plugin folder.

    Hope that helps :)

    #112148
    SK
    Participant

    There are no conflicts.

    Also went to WP Admin > Settings > Permalinks and hit Save.

    For some strange reason only subforums are behaving badly.

    www.domain.com/forum/f/forum-name/subforum-name returns 404.

    I tried monkeyman’s rewrite analyzer and have been told that the rewrite rule is working; something else is in the way.

    I tried putting print(debug_backtrace()); after function set_404() { in wp-includes/query.php but did not get any intelligible debug information…all that happens is: a single word Array gets prefixed to the top of the 404 page.

    I have also discovered that in the database, in the table wp_posts the value stored in column guid for these subforums is http://www.domain.com/forum/f/subforum-name i.e. without the parent forum’s slug.

    If I try to visit www.domain.com/forum/f/subforum-name then I do get to the subforum page. Funnily enough, the breadcrumbs on that page depict the correct path including the parent forum.

    Curiously, when I create a new subforum, the guid field for it is www.domain.com/?post_type=forum&#XXX;p=YYYY If I try to follow that URL, I end up at forums base.

    I should point out that this messed up parent-child relationship is only occuring for bbPress…I have many hierarchical pages in WP, and they all seem fine.

    #42602
    removing1
    Member

    I installed bbPress 2.0.2 on my WordPress 3.3.1 site and I can’t get the shortcodes to work. If I add a shortcode to any of the forums it just shows the [shortcode].

    http://www.rmminc.org/forums is blank the forums I created don’t show up on the page.

    Below are two forums I setup

    http://www.rmminc.org/forums/forum/homelessness

    http://www.rmminc.org/forums/forum/poverty

    #112151

    In reply to: 2.1 wysiwyg errors

    Quoting is something we have on our radar for core. Hopefully for 2.2.

    As far as the existing posts parsing the html in the editor, I ran into that problem myself today. We’ll look into that.

    For reference, here’s is how I was able to replicate this:

    Use a link in the editor when making a post, eg:

    <a href="http://bbpress.org">bbPress</a>

    Everything seems fine. Until you go back and edit the post and then are presented with

    http://www.jaredatchison.org/files/Screen%20Shot%202012-03-02%20at%205.49.44%20PM-OTIItv7mSR.png

    10-4 :)

Viewing 25 results - 16,626 through 16,650 (of 32,522 total)
Skip to toolbar