Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 14,351 through 14,375 (of 26,873 total)
  • Author
    Search Results
  • 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.

    Satish
    Participant

    I’m not able to find the file, in which this bbp_get_allowed_tags is present..

    You can filter it using the bbp_get_allowed_tags filter bbPress provides.

    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. :)

    #111794
    Everton
    Member

    Hi

    I’m also looking to do this – move my buddypress install to a new url. Is it possible to export/import everything? Do I just need to copy the tables from WordPress?

    Regards

    EB

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

    #42615
    thetalltree
    Member

    I would like to disable ahref tags in the forum posts so users cannot add links to external websites within a post. In addition to that, I would also like to stop the automatic phrasing of links. For instance, if someone enters ‘http://www.bbpress.org&#8217; I would like it to appear as plain text instead of a clickable link.

    I made a plugin as mentioned by ‘jonich0n’ in the following post but it is not working:

    How can I disable HTML in posts?

    I uploaded this plugin in my wordpress plugins folder and then activated it from the wordpress ‘installed plugins’ page. Is there where it is supposed to be uploaded?

    #59901
    Milan Dinić
    Participant

    Since this topic tops Google SERP, just to note that for bbPress 2.0 (ie. bbPress as a WordPress plugin), there is a plugin bbPress Digest that does something similar as requested in first post.

    #112152

    In reply to: 2.1 wysiwyg errors

    #112066
    SK
    Participant

    I ended up overwriting my installed bbpress files with new ones via FTP. JJJ says you should delete all bbpress files and then write the new ones there.

    #112065
    intimez
    Participant

    @OC2PS

    I was testing and got the same error message using the standard upload (didn’t use the plugin you have listed) but after I clicked on Installed Plugins and went back to try it again, it went through fine. At that point, I see two bbpress installs listed with the 2.0.2 version active and 3786 inactive.

    Very strange.

    #42603
    intimez
    Participant

    I’m testing with the following:

    wordpress3.3.1, buddypress1.5.4, bbpress2.1r3786

    After activating buddypress and then going all the way up to the forum part, what exactly is the step to get it configured? I do not want to use Group Forums. I click on Install Site Wide Forums it tells me it is installed.

    This was a problem before the 2.1 beta so …

    What is being done in the 2.1 beta that addresses this?

    How should users configure it via upload if they are not using plugin search?

    #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

    BlinkyBill01
    Participant

    Woot! Found it. I literally opened every .css file on my site (252 files) and searched. Turns out, the Gantry Framework css/wordpress.css file had the following code in it:

    /* Other */

    .rt-wordpress tr.even td {padding: 5px;background: #666666;border-bottom: 1px solid #ddd;}

    .rt-wordpress tr.odd td {padding: 5px;background: #333333;border-bottom: 1px solid #ddd;}

    That was overwriting the code in the bbpress.css file.

    Mark this one as closed. :P

    #112064

    I’m I really can’t say because I use SVN to sync up with the latest version. Maybe jjj will have some input.

    #112063
    SK
    Participant

    Having trouble installing 3786.

    Extracted everything. Renamed plugin to bbpress. Put bbpress in zip archive bbpress.zip

    From WP Admin > Plugins > Add New > Upload

    Selected bbpress.zip

    Selected Yes from “update existing plugin” dropdown (I am using Easy theme and plugin updgrades https://wordpress.org/extend/plugins/easy-theme-and-plugin-upgrades/ )

    Clicked upload.

    Getting this message:

    Unpacking the package…

    Installing the plugin…

    Destination folder already exists. ...../wp-content/plugins/bbpress/

    Plugin install failed.

    Please help!

    #112140
    SK
    Participant
    #112145

    1. Unfortunately right now, without writing a plugin, there is no way accomplish this. So if you make someone a moderator, they will be a moderator for the entire site.

    2. I’m not 100% sure on the compatibility with bbPress, but I would try https://wordpress.org/extend/plugins/simple-local-avatars/

    Sorry, I’ve been closing threads that are “done” due to getting bumped by spammers. Hopefully when the site gets upgraded to 2.1 this won’t be an issue.

    I deleted the snippet because it is now a full plugin available here

    https://wordpress.org/extend/plugins/bbpress-custom-css-file/

    :D

    #112062

    Awesome, thanks for reporting back. If you find any bugs please come back and report them :)

    #112143

    In reply to: Upload Avatars

    My recommendation https://wordpress.org/extend/plugins/simple-local-avatars/

    Not 100% sure it will work with bbPress, but it *should*.

    #112061
    jamieskella
    Member

    Just thought I’d post back in the event anyone else is considering doing the same but it hesitant:

    Installation was seamless, and I have had no problems what-so-ever running it.

Viewing 25 results - 14,351 through 14,375 (of 26,873 total)
Skip to toolbar