Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,901 through 14,925 (of 32,503 total)
  • Author
    Search Results
  • #124479
    sureshtmp-456
    Participant

    Hi

    I have a wordpress(3.4.1) installation adb bbpress 2.2.2 plugin.

    For some reason whenever any tag like , , , etc… are put in the content of a topic, it get removed while saving the topic. Even the tags allowed by default are removed while saving.

    So basically a line like

    I am going to and will need

    will become

    I am going to and will need

    after saving.

    I have tried putting and surrounding the content, but it does not help.

    I have also tried “bbpress post toolbar” plugin but that kind of messes of with my theme
    and too many things start breaking so I removed this.

    I have already spent few days on this issue. Can someone help ?

    thx
    -Suresh

    #124471

    Hi @rkarel,

    Welcome to the forums. If I understand correctly, to do what you want, you’ll likely need to dive into the templates and start writing some custom code.

    bbPress comes with a very basic set of templates to get you started, so that you can quickly get started using it. Once you want to customize the look and feel, it’s very similar to WordPress, where you’ll need custom code to do it.

    Check out the documentation to get started. There are lots of hints and tips in there.

    #124453

    In reply to: vbulletin to bbress

    Stephen Edgar
    Keymaster

    Yes, a vBulletin importer is included with bbPress.

    See https://codex.bbpress.org/import-forums/ to help get you started.

    #124441
    Lynq
    Participant

    If you go into pages and add a new page called, forum-registration or whatever. Then add the shortcode – [bbp-register] – this will create a page for you containing the forum registration. Then you can link to that page anywhere in your bbPress or WordPress theme.

    Good luck!

    #124416
    Stephen Edgar
    Keymaster

    How about a break

    inline?

    Can we deal with all “ kinds “ of “ breaks?

    Edit: Use backticks not an apostrophe!

    Try bbp_insert_topic(), bbp_insert_forum(), and bbp_stick_topic()

    #124413

    Let’s test some code formatting.

    `backticks`

    How about some code tags inline in sentences?

    What about pre tags:

    tags
    are
    neat
    
    #124406
    marcello.vicidomini
    Participant

    I think I figured out a cleaner way: I just wanted a list of links to the forums, not the whole loop with all the columns, so I searched for the code of the Forums list plugin in bbpress.php and used its name in the the_widget() function, like this:

    the_widget('BBP_Forums_Widget');

    It’s working well for me.

    #124405

    Topic: Post Body Text Color

    in forum Themes
    rlrandolph
    Participant

    I cannot for the life of me figure out what CSS code is causing the text to be grey on the body section of a new forum post.

    Any help would be appreciated.

    http://troythunderbaseball.com/forums/forum/8u/

    Josh
    Participant

    Hi folks,

    Ultimate Tinymce developer here.

    I was just made aware of this issue by one of your faithful followers, who pointed me over here to this thread.

    He had some code he was using which allowed Ultimate Tinymce to work with the new WP and new BBPress. Here is the code:


    function jwl_bbpress_mceallow( $args = array() ) {
    $args['teeny'] = false;
    return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'jwl_bbpress_mceallow' );

    I have added the code to my plugin… which we are currently testing… and will be available in my next plugin release (version 3.9).

    If I may be of any additional help, please don’t hesitate to contact me by using my form here:

    Contact Me

    Kind Regards!

    #124400

    Topic: Q and A using bbpress

    in forum Themes
    knaveenchand
    Participant

    I am trying to design a Question and Answer theme by customizing bbpress where Topics will be Questions and Replies will be Answers. I am able to change the display names and slug names of ‘Forums’, ‘Topics’ and ‘Replies’ into ‘Sectors’, ‘Questions’ and ‘Answers’ respectively using str_ireplace functions. (Please note that I have also changed ‘Posts’ into ‘Answers’). Its pretty easy until here. The problem I am facing is this:

    When the single topic is displayed, the headers appear like this:

    Author | Answers
    Admin | What is the Capital of USA?
    User1 | It's hmm.. I don't know.
    User2 | I think its New York.
    User3 | No Guys its washing ton.

    The first post is in fact the Question. Unfortunately it also appears under Answers. I understand that I have to deal with the loop now because all posts looped in this topic naturally appear under Posts (in my case ‘Answers’). This was how bbpress is designed. But is there a way where I can have a different header for the very first post in my single topic and rest of the posts will have different header. For example:

    Author | Question
    Admin | What is the Capital of USA?

    Author | Answers
    User1 | It's hmm.. I don't know.
    User2 | I think its New York.
    User3 | No Guys its washing ton.
    Author | Answers

    How do I get this? Do I have to edit the loop or call it twice? If so, how do I set the query to get only first post in the first block and all posts minus first post in the second block.

    Would appreciate any help. Thank you.

    PS: I am using bbpress 2.2.3 along with Skeleton Theme (which has inbuilt theme support for bbpress).

    #124388
    Lynq
    Participant

    Create a page and call it whatever you want.

    Put the shortcode inside the page and you got an editable page.

    All shortcodes are here: https://codex.bbpress.org/shortcodes/

    #124383
    hepdoll
    Participant

    Thanks for your feedback guys! I ended up hard-coding the changes in register.php, but I’d much prefer to do it the way you describe because it would allow my client to customize that text anytime they want.

    Can you point me to guidance on how to use the shortcode (and override the already-existing register.php)? robbiegod, I’d love to hear if you figure out how to redirect people back to the forum.

    Thanks!

    #124329
    Clicknathan
    Participant

    What I was looking for was bbp_topic_freshness_link();

    #124327
    apet083
    Participant

    Thanks Stephen. Unfortunately the web.config made no difference 🙁 Neither did changing the permalinks to every option or removing slugs etc.
    I also tried setting up a fresh WP Install with a clean copy of bbPress but it did the same thing.
    I am stumped and completely out of options at the moment :-/
    I look at my network stack trace and notice when I hit “Submit” the error code returned is a 302 Moved Temporarily, this is when it redirects to the wrong URL.
    Debugging the code, it seems to hit the same place in query.php about 2-3 times meaning it’s loading the correct page, getting redirected to the wrong page, then loading the wrong page…
    Thanks anyway, hopefully someone else will have this problem with a solution at some point!

    #124201
    niangari
    Participant

    Hi everybody! Ok, after 10 hours of research and trying, I surrender and ask to people who know more than me.

    I’m trying to change the default tab “home” of each buddypress groups for the “forum”, so I can Hide or delete the “home” tab and only use the forum.

    I’ve tried hundreds of different codes I’ve found on diferent blogs and with some changes I made but no one does ANYTHING in the way the tabs are shown or oppened in the groups.

    The last one I tried is this one (the simpliest one) http://screencast.com/t/tJE8UFQy7

    There is also the root in which I created the bp-custom.php file.

    I can’t think anything to fix this. Please could anybody help me with this? Does anybody thing about anything that is causing this?

    Thank you all!

    #124193
    bbarton
    Participant

    Having trouble copying over the template. I basically want to use a different header file called get_header(‘bb’) for the BB templates. I read the codex and a few other post and no luck. Here’s what I’ve done:

    Uploaded most recent bbPress Plugin and WordPress install

    This is what bb plugin tree looks like:

    -includes
    -languages
    -templates
    –default
    —bbpress FOLDER
    —css FOLDER
    —extras FOLDER
    —js FOLDER
    bbpress-functions.php

    From my understanding of the bb theme-compatability codex, I copied the contents of the extras folder into a folder in my theme called bbpress.

    I added add_theme_support( ‘bbpress’ ); to the after_setup_theme hook

    Now it should work!?! Should I be copying the contents of default folder into the bbpress folder of my theme?

    #124190
    robbiegod
    Participant

    Is there a parameter that goes with the bblogin shortcode that you can tell what url to redirect too after someone logs in? I want it to always go to my forums homepage, but that doesn’t seem to work.

    I made a new page and added the bblogin shortcode in the main content block. Problem is after i login using this forum it keeps me on this page instead of sending me to the forums main page.

    Got any ideas how to change the redirect_url via the shortcode?

    #124173
    robbiegod
    Participant

    hepdoll –

    what i did was i made a new page and used the shortcode to show the register form like Lynq said. I could add whatever text above the form i wanted in the main content block.

    This creates a new problem. When i use this form, it doesnt redirect me to where my forums are…I will make my own thread to see if i can an answer to that question.

    #124119
    Stephen Edgar
    Keymaster

    The entire site here at bbpress.org is powered by WordPress and bbPress

    Have you looked at using some shortcodes on WP pages to get what you are after?
    https://codex.bbpress.org/shortcodes/

    Theres widgets too https://codex.bbpress.org/widgets/

    #124115
    Lynq
    Participant

    Have you setup the page using the shortcode?

    #124114
    imagei
    Participant

    nope….
    OK – here is some of the code from firebug. :

    #bbpress-forums ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
    }
    #bbpress-forums li {
    list-style: none outside none;
    margin: 0;
    }

    These are the styles that I would have thought controlled the bulleting of lists but the code seems to already indicate no style for the unordered lists?
    I have tried adding both:

    list-style: none;

    and:
    list-style: none !important;

    and:
    list-style: none outside none !important;

    to all of the #bbpress style entries that I can find (only in firebug preview, not actual changes) but the little blighters remain steadfast.

    ?????

    #124064
    Pietro
    Participant

    So Guys ??
    No any help ?? 🙁

    #123125
    erwinodendaal
    Participant

    More about this problem:

    In a page I pasted the shortcode [bbp-forum-index]. This shows the forums that are available. The url of one forum is for example:
    http://www.stichtinginspiratiekring.nl/forums/forum/ledeninformatie/
    That url is not correct. All urls that are generated are not correct.

    I changed the permalinks to standard. That gives for example a url as:
    http://www.stichtinginspiratiekring.nl/?forum=ledeninformatie

    404 again.

    #123124
    Stephen Edgar
    Keymaster

    If you are just trying to copy/move forums/topics/replies from a bbPress 2.2.3 install eg site1.com to a bbPress 2.2.3 install on site2.com you can ‘export’ these via WordPress’ built-in tools (/wp-admin/export.php) and then import to site2.com using the Import (/wp-admin/import.php) tool.

    If you are importing from bbPress ‘Stand Alone’ 1.1 or 1.2 you should look for a file named ‘bb-config.php’ and that will contain the correct info you need to import with the bbPress Forum Import tool.

    eg.

    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for bbPress */
    define( 'BBDB_NAME', 'my_database_name' );

    /** MySQL database username */
    define( 'BBDB_USER', 'my_database_username' );

    /** MySQL database password */
    define( 'BBDB_PASSWORD', '1234567890' );

    /** MySQL hostname */
    define( 'BBDB_HOST', 'localhost' );

    And a little further down in that file is the bbPress table prefix
    $bb_table_prefix = 'bb_';

    They are the values you would use in the bbPress Import Tool setting.

Viewing 25 results - 14,901 through 14,925 (of 32,503 total)
Skip to toolbar