Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,926 through 15,950 (of 32,503 total)
  • Author
    Search Results
  • #46269
    marizka
    Member

    I have a WordPress (v 3.4.1) site with a custom theme. I have my permalinks set to %postname% and my navigation is hard coded with relative urls (<a href="about">About</a>)

    I have installed bbpress (v 2.0.3) and everything works great until I try to leave the forum page. From the forum page, when I click on any link in the nav, it adds /forum to all my urls resulting in a 404 error.

    In the bbpress settings I have unchecked the “Prefix your forum area with the Forum Base slug (Recommended)” option, and that did not fix it.

    Any help would be appreciated as this site is due to a client by the end of today and I don’t want to use a different Forum plugin.

    #114275
    enderandrew
    Participant

    If I’m reading this correctly, it does like bbPress can put the posts in pending status.

    Here is an Apache error log cranked up to debug level when it happened.

    http://pastebin.com/gF23AQXy

    /** Topic Moderation ******************************************************/

    $post_status = bbp_get_public_status_id();
    if ( !bbp_check_for_moderation( $anonymous_data, $topic_author, $topic_title, $topic_content ) )
    $post_status = bbp_get_pending_status_id();

    #112850

    In reply to: "start new" link

    Create a WordPress page, and use the new topic shortcode: [bbp-topic-form]

    #114302

    Probably out of memory. Both bbPress and BuddyPress are large plugins. Loading up all that code takes resources that your host may not have. If you deactivate one ore the other, does everything come back up?

    #46174
    mememe123
    Member

    I already have Buddypress installed on my wordpress theme. After I install bbpress, I can’t access my dashboard anymore. When I click on dashboard I get this message:

    Server error

    The website encountered an error while retrieving http://www.


    . It may be down for maintenance or configured incorrectly.

    How do I fix this?!

    #46144
    Zephyr
    Member

    Good Day,

    Please forgive me for being a complete Village Idiot in regards to WP + bbPress…

    I am working on a 2nd site, it’s in development right now. I have BuddyPress installed and inactive, bbPress 2.1 RC 2 installed and active (working well so far, I might add).

    I am also using the Custom-Community-Pro theme by ThemeKraft because the young lady that will manage this site is even more clueless than I am and needs the easy CSS updates this provides.

    Per the below (copied in the text I’m referring too at bottom of post), I thought with 2.1 we no longer needed to make child themes, etc., for bbPress to match our WP theme. Am I missing something (most likely)? Do I need to still create a child theme or follow the other directions below on making bbP match my site seamlessly?

    Again, my apologies if this has been addressed elsewhere…

    Thanks and Regards ~ Alisa

    Codex Home → Theme Compatibility

    As of 2.1, bbPress has built-in theme support. All required elements such as front-end editing are included. This means that all functionality will work, even when a theme has no specific bbPress coding.

    All bbPress compat can be overridden using a theme or another plugin. Check bbp-theme-compat template wrappers for what a normal theme should include.

    To customize bbPress::

    Create a new directory within your theme root called ‘bbpress’ for example: wp-content/themes/YOURTHEME/bbpress

    Copy any files from bbPress/bbp-theme-compat/ to the new directory within your theme

    Edit the new files for complete control over bbPress display in the theme

    You can completely disable the included front-end elements by adding the following to your theme’s functions.php:

    add_theme_support( ‘bbpress’ );

    #114281
    Jarret
    Participant

    Yep, always a good idea to make a backup :)

    #114280
    RT77
    Member

    Ok Awesome Thanks Dude ;)

    Will make a backup just in case though..

    #114260

    In reply to: Getting error

    Jarret
    Participant

    You need to increase the memory limit for PHP as it is being exhausted from a script.

    https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    #46074

    Topic: Getting error

    in forum Troubleshooting

    I have installed Buddypress and enabled Forums feature in my wordpress website (using NEWS child theme).

    I’m getting following error:

    Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 122880 bytes) in /home/travels/public_html/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php on line 922

    — SoundManager 2 failed to load (security/load error) —

    soundManager.disable(): Shutting down

    soundManager: Failed to initialise.

    soundManager: Verify that ./soundmanager2_debug.swf is a valid path.

    soundManager: No Flash response within expected time. Likely causes: Loading soundmanager2_debug.swf may have failed (and/or Flash 8+ not present?), Flash blocked or JS-Flash security error.

    soundManager: Getting impatient, still waiting for Flash…

    soundManager::initMovie(): Waiting for ExternalInterface call from Flash..

    soundManager::initMovie(): Got EMBED element (created via JS)

    soundManager::createMovie(): Trying to load ./soundmanager2_debug.swf

    — SoundManager 2 V2.97a.20110123 (AS2/Flash 8), normal polling —

    Can any1 help by this??

    Regards,

    Ankur

    #46051
    AAShepAA
    Participant

    Here is the link to the page I am talking about:

    http://stratoliner.me/topic/churchnerd-org/

    However any reply or post that I make turns out the same way with the sidebar at the bottom and the page messed up.

    The only way I have been able to get any of my forums/replies to look good, has been to add the code I found here on the forums that gives me the option of not having the sidebar (sorry looked but I can find it again).

    I had to modify the base code, but it gave me the ability to do a “full-page” without sidebar. But I have to do that with each and every /page/post/topic etc.. And it really doesn’t solve the problem, because when a new reply is made – it has the same issue.

    Any help is greatly appreciated – I have been tweaking for 2 days now and this is one of the last things.

    Shep

    • This topic was modified 13 years, 5 months ago by Stephen Edgar. Reason: Removed spam topic tags

    If the theme is all you’re worried about, don’t use bbPress 1.x. It’s outdated and no longer under active development, so you’re investing in a dead-end. bbPress 2.1 can be themed to look like anything you want it to later; you’re better off starting clean with the newer engine than trying to fix up the old one because you like the paint. :)

    #113989
    Jaja..
    Member

    @Docchewbacca

    Contact your hosting-provider and ask them to upgrade the PHP memory. Give them an example of your Error and they’ll know what to do.

    http://ocaoimh.ie/2012/05/16/fatal-error-allowed-memory-size-of-67108864-bytes-exhausted/

    Those memory bumps only work if your hosting-provider let you increase this memory. If they don’t and have blocked this feature you have to contact them and ask them friendly to increase it for you.

    Most providers don’t care and help you with this problem but sometimes the very cheap M.F&#krs providers don’t and start complaining about everything that is wrong in this world.

    ;)

    Best changelog I have is in our trac. It outlines every ticket and code change since 2.0 was released.

    Thanks for your offer to help. What do you want to do? You can basically write your own ticket. If you’re familiar with IRC, you can join #bbpress on freenode; many of us idle there together to chat about what we’re working on.

    User profiles are always public, and no – you cannot edit a profile that is not yours unless you are a keymaster.

    If it was a security hole (which it’s not) posting about it in a public forum is a no-no.

    The “…This is how your profile…” string is part of bbPress 1.1, and not part of 2.0, but I see you’re using 2.0 on your site.

    All of this, makes me confused. :)

    MTPrower
    Member

    2.0.3. bbPress 2.1 will be out soon? Do you have a changelog I can look over? I’m excited to see it.

    Also, I’m putting my site on hiatus. I’m tired of it for a while. But you know what I would like to do? I’d like to help with bbPress. I think the total integration with WordPress that bbPress has is one of the best things ever accomplished for the blogging platform. I would love to assist, do some testing, give some of my thoughts, help promote bbPress, and even help with some new features that I have been hoping or wishing I could see in bbPress’s future.

    I don’t know how much help you guys get, but it doesn’t seem like a lot. I wouldn’t ever want to see bbPress die. I want to help, if I may. I know very little about PHP or HTML, but every coder should have a team, to help with the things that coders aren’t best at. I want to help!

    What version of bbPress are you using? I think this issue is already fixed in 2.1 beta 1.

    Also, thanks for the kind words. :)

    #45909
    html_guru
    Member

    When I look at the topics page in the backend word press page, the only data column that shows up is “Freshness”. I tried to make some modifications to the code, and I must have messed it up. Does anybody know what file controls this page?

    #114227

    In reply to: No post content! Help.

    AAShepAA
    Participant

    [RESOLVED] – It was the plugin bbPress Shortcode Whiteist that was causing the problem. Deactivated and I am good to go.

    #112174
    AAShepAA
    Participant

    [SOLVED] for me at least.

    It was the plugin bbPress Shortcode Whitelist that was causing the issues! Deactivated and I am good to go!

    Shep

    MTPrower
    Member

    It has been 24 hours again. This is a very important problem with the bbPress system. Bump.

    I’m being patient. I’ll take as long as I need. My site isn’t going anywhere. I think it should be considered a compliment to bbPress– bbPress is good enough for me not to give up on. And I’ve tried many forums systems.

    Pixeldrum
    Member

    In my profile page bbpress states:

    “This is how your profile appears to a logged in member.”

    <b>You don’t have to be logged in to see a user profile page.</b> I’ve tried this with other member names in the forums in different browsers with cleared out caches. You can see any member profile with the direct URL: http://bbpress.org/forums/profile/username (Try this with any valid user name)

    (Could it be that this security hole causes a lot of spam attacks?)

    On my site, until I did some tweaking with a membership plugin you could not only access the bbpress profile, but also edit the user profile, change the password, whatever. Now that this is more secure I can give an example:

    http://kyebay.ca/forums/admin/Fritzi (styles fall apart)

    I want to redirect author links to a custom bbpress profile page with proper site styles applied and separate the user profile from the bbpress profile.

    How can that be done? Can you point me to the code I need to use? I could really use some help with this. I’ve posted on this matter in another topic, which had no response, because I may not have described the problem properly. Using WP 3.4 with updated Twenty Eleven theme. Please advise.

    #45820
    too_pandish
    Member

    I’m trying to remove the publish_topics capability from the subscriber role when using the bbpress wordpress plugin.

    I checked here for reference, but it may not apply to the plugin version.

    http://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    here’s the code I am using in my theme’s function.php

    function bbp_remove_subscriber_caps(){

    $role_object = get_role( 'subscriber' );

    $role_object->remove_cap( 'publish_topics' );

    }

    add_action( 'init', 'bbp_remove_subscriber_caps' );

    When I print the $role_object it shows:

    [capabilities] => Array

    (

    [read] => 1

    [level_0] => 1

    [edit_topics] => 1

    [publish_replies] => 1

    [edit_replies] => 1

    [assign_topic_tags] => 1

    )

    Which should mean that subscribers can’t create new topics… but the option still shows up on their dashboard. It does however say “You cannot create new topics at this time.” on the forum page within the site. So it seems to be partially working…

    Is this a bug or am I just doing it wrong?

    #113981
    Emil Uzelac
    Member

    Bytes exhausted is most likely due to a “bad” plugin, something else other than bbPress of course. Please see our Theme Reviewers List and see last couple of answers about that: https://lists.wordpress.org/pipermail/theme-reviewers/2012-March/008625.html

    This was about the Theme, but it can apply to plugins as well.

    P.S. Using bbPress on my client site and they’re on a shared GoDaddy hosting and bytes exhausted was never an issue and that’s because there are no plugins that “eat” the memory.

    My 2c :-)

    Thanks,

    Emil

    #114175
    taru.vn
    Member
Viewing 25 results - 15,926 through 15,950 (of 32,503 total)
Skip to toolbar