Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 14,326 through 14,350 (of 32,522 total)
  • Author
    Search Results
  • #133877
    w4rrenz
    Participant

    Hey guys,

    Looking for a bit of help with integrating bbPress into a theme called Directory.

    I’ve set it up, installed plugin and created forum – on my forums page I don’t have any forum listing, not even “There are no forums” comes up.

    I looked to do the work around method which was to use the shortcode on a page, but this breaks the page and still shows nothing – when I say it breaks the page I get no footer if I choose the full width template, or I get the same as the link below if I choose default template.

    So obviously the issue lies in the theme’s template not interacting well with bbPresses setup, how would I go about setting up a page template that’ll work with bbPress?

    http://www.moiravillage.info/dev/forums/forum/moira-community/

    That is the bbPress forum page

    WP Version 3.5.1
    bbPress 2.3.1

    Any help would be hugely appreciated!

    Thanks,

    Warren

    #133870
    ronangelo
    Participant

    On line 889 of your theme’s styles.css you have a style that hides the replies

    .reply {
        display: none;
    }

    Just remove it.
    Or you could add this code if you have a custom css option.

    #bbpress-forums .reply {
        display: block;
    }

    At this moment there is not a shortcode that will do this. I assume you meant “Create New Topic”?

    You could easily create a link that goes to the editor on whatever forum you want.

    Such as linking to http://yoursite.com/forums/forum/some-forum/#new-post.

    That article is out of date and is no longer correct for the newly released 2.3.x.

    With current version of bbPress, you only files that need to be in your theme are the files you plan on changing.

    For example if you want to tweak the CSS, then you would copy the bbpress/templates/default/css/bbpress.css to [your-theme-directory]/css/bbpress.css and bbPress will automatically use your version instead.

    This goes for almost all the bbPress template files. For example, let’s sayo you want to edit the bbPress search page. You would copy bbpress/templates/default/bbpress/content-search.php to [your-theme-directory]/bbpress/content-search.php.

    The only time you would really need to copy and create the entire bbPress template would be if you need it to be theme independent, eg distribute it.

    Hopefully that makes some sense 🙂

    pndalal
    Participant

    I’m trying to follow this tutorial to create a child theme, but I’m having trouble on Step 6, where it asks me to copy the default theme from wp-content > plugins > bbpress > bbp-themes > bbp-twentyten.

    There is no bbp-themes folder anywhere in the bbpress directory. The closest thing I found to a themes folder is the templates folder, which does contain some default styling. Could someone please explain to me how I can make Step 6 work? Or could you perhaps link me to an up-to-date tutorial?

    Thanks!

    I’d try contacting the developer, Yoast, and see if the can add a setting to disable the WP SEO plugins if bbPress is detected (is_bbpress()), which would allow you bbPress to use its own breadcrumbs on bbPress pages and use WPSEO breadcrumbs on all other areas of the site.

    Alternative he could also make his plugin disable the bbPress breadcrumbs all together.

    #133834

    You’ll likely see a plugin popup in the WordPress.org repo soon that will prevent the need to deal with any code directly.

    #133829

    The info below does not address the OPs question for performance, but rather is an answer to the questions regarding emails being sent out all together.

    This does happen unfortuantly and it’s usually do to the server setup. We see this a lot with shared hosting.

    The WordPress function that handles email, wp_mail() (more info here), uses the PHP mail function to send it’s emails (bbPress uses this as well). Many hosting environments have a throttle on how many emails can be sent using their SMTP servers, which are used by default.

    The solution is to use a different SMTP server/service to send out the emails and not rely on the default one hosting provider’s server uses.

    The first thing you will want to do is install one of the many SMTP plugins that are available on the WordPress.org plugin repository. I’ve used WP SMTP before without any issues.

    After that’s installed you’ll want to configure that plugin to use your new SMTP service.

    Sometimes you can ask your host for this information and by just using their SMTP service through the plugin will fix the issue. Other times it doesn’t, which means you’ll need a new SMTP service all together.

    There are a ton of great paid SMTP services available, most should be suitable. SendGrid seems to be a popular one, which gives you 40,000 emails/month for $10.

    It’s not ideal that emails don’t always “just work” out of the box, however it almost always boils down to the web host. Especially when some emails send out fine but others don’t go through.

    #133816
    Tbermudas
    Participant

    Hello

    I’m trying to modify the latest topics widget with CSS. I want to show the widget like the IMAGE 1, but with my poor knowledge of CSS i can obtain only the IMAGE 2.

    Help

    I’m using the following:

    float: left;
    height: 30px;
    width: 30px;
    }

    What can I add to show my widget similar to IMAGE 1? Only the image and text, not the comments and likes icon.

    Thanks

    Simpas81
    Participant

    Hello,

    please how to show a button “Create New Forum” inside the widget? any shortcode?

    Thank you,
    Simone

    #133809
    Anonymous User 5853594
    Inactive

    I would like to see an option on the settings page to turn on the visual editor instead of fidgeting around with placing code somewhere…

    #133805
    premitheme
    Participant

    Good version, but it break some tiny things in posting unfiltered HTML and codes snippets, I wish to see bbPress 2.3.2 soon

    Same thing here, for example when trying to add class name for pre tag it breaks.

    #133798
    Nashwan D
    Participant

    Good version, but it break some tiny things in posting unfiltered HTML and codes snippets, I wish to see bbPress 2.3.2 soon 🙂

    I wonder why you didn’t give us some time to test Changeset 4867 ?!

    #133771
    Kaenim
    Participant

    Edit – Sorry, the latter error was because I missed part of my functions.php code to comment out. Editing accordingly.

    I’ve been using the following code, originally found in my functions.php to change “Key Master” to “Administrator”:`function my_custom_roles( $role, $user_id, $user_role ) {
    if( $role == ‘Key Master’ )
    return ‘Administrator’;

    return $role;
    }

    add_filter( ‘bbp_get_user_display_role’, ‘my_custom_roles’, 10, 3 );`

    Which returns the error: “Warning: Missing argument 3 for my_custom_roles() in /home/kaenim/public_html/test/wp-content/themes/bsky/functions.php on line 216” above my avatar.

    Does anyone know what this “argument 3” is, or how I could modify this code to work in 2.3.1? I’d ask in the original discussion, but it’s several months old and to be honest, I’m simply not aware of what bbPress’ forum policy is regarding reviving old topics; I figured making a new topic would be best.

    #133767
    Arturo
    Participant

    i’ve pasted in functions.php the code in the codex page to re-activate the editor and i’ve this error

    Parse error: syntax error, unexpected T_VARIABLE

    any help for this?

    Thanks!

    #133761

    In reply to: New editor ??

    We turned off the visual editor in 2.3.1 because of issues users were having losing formatting when switching between visual and HTML modes.

    We put up a snippet with the 2.3.1 release to re-enable it.

    Enable Visual Editor

    #133760

    Try hitting Tools > Forums > Repair Forums

    …and run the “Remap existing users to default forum roles” fixer.

    Basically, blog admins aren’t always forum admins, they need to also be Key Masters. Sounds like you lost (or never had) the Key Master role.

    It may be worth approaching this differently in a future version, and trusting administrators implicitly.

    #133747

    Topic: New editor ??

    in forum Troubleshooting
    Darren1981
    Participant

    Hey all,

    Just noticed a new update and also noticed that this update removes the new editor.. Ive added the code to my custom functions file to make the new editor display..

    Was there a reason the new editor was removed ?? I hadn’t had any issues with it as of yet and am not sure if i should revert back to the old one or not.

    Regards, Darren

    #133739

    Instructions to enable the visual editor are here.

    #133734

    In reply to: Conflict with Jetpack

    Sheri Grey
    Participant

    Jetpack developers are tracking this issue at https://wordpress.org/support/topic/foreach-error-in-223-update and there is a changeset posted there if you feel comfortable editing the core code before a stable update gets released.

    #133729
    Mike Stott
    Participant

    Hi

    Is there a time / place location where I can promote extensions that have been written for bbPress (including discount codes?).

    Is this the time and place? can anyone suggest an alternative?

    #133713

    Drop feedback about bbPress 2.3.1 here!

    See the 2.3.1 milestone on Trac for changes.

    From the blog post:

    Also in bbPress 2.3.1, we’ve disabled the use of WordPress’s visual editor (aka TinyMCE.) The HTML editor is still available, and works extremely well. If you want to enable the visual editor again, we’ve added a code snippet to the codex that will turn it back on for you.

    #133699
    tmbn
    Participant

    How do I display the username on every forum page. Like:

    You are logged in as [USERNAME] or You are logged in as [Guest]

    Also,

    Is there a shortcode for displaying the username ?

    #133682
    jason102178
    Participant

    WordPress Version: 3.5
    BBpress Version: 2.3

    I know this question has been asked alot on how to embed video and add youtube videos, I know how to do this by simply posting the link in the topic…. and it will automatically insert the youtube video…

    But my problem is i want to have a few video tutorials that i want to insert and the mp3 or mp4 files are located on my server, i dont want to upload them to youtube…

    so i was wondering if their was a way to use my own videos, i have already tried inserting the link that points to my server http://mysite.com/video.mp3 and it will not work that way..

    So i tried creating a topic from the admin and use the insert media and it did not work that way , then i tried using a plugin to allow jw player shortcode and it did not work that way either… this is one of the plugins i tried using http://wordpress.org/extend/plugins/bbpress2-shortcode-whitelist/ with no sucess…

    Then i tried adding this code to my functions.php

    add_filter(‘bbp_reply_content’, ‘jwplayer_tag_callback’);
    add_filter(‘entry_content’, ‘jwplayer_tag_callback’);
    add_filter(‘bbp-reply-content’, ‘jwplayer_tag_callback’);
    add_filter(‘entry-content’, ‘jwplayer_tag_callback’);

    this method did not work, it seems almost impossible to add my own video from my server, most the topics are super old 3 to 4 yrs old which really doesnt apply to the latest version of bbpress since so much of the code has changed, if someone could help me out or point me in the right direction i would appreciate it…

    I am not trying to let my users be able to use shortcodes as i read they are a security risk and i am not trying to let my users be able to upload or use their own videos from a strange server..

    I just want to be able to use my own videos instead of using youtube.

    #133681
    Thrifty T
    Participant

    I recently installed bbpress on my site (great plug-in, by the way). I’m currently working out the kinks.

    One of my biggest problems is that the search function doesn’t work. See http://www.churchofficehelpdesk.com/test where I’m using the shortcode. I’ve used words that I know are on the site. Not only do they not show up, but “sorry, no results were found appears multiple times on the results page.”

    Thanks for any help!

Viewing 25 results - 14,326 through 14,350 (of 32,522 total)
Skip to toolbar