Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,726 through 17,750 (of 32,499 total)
  • Author
    Search Results
  • #108608

    Does this little bit of code in the functions.php work? Is this the plugin you are talking about?

    https://bbpress.trac.wordpress.org/ticket/1575

    I’ve actually tried using the search bar here several times but it wasn’t working for a while, it was just bring up a broken page (I don’t think it was a 404). But it seems to be working now.

    Is there any way to create two separate search bars? Or drop down options like in Buddypress to search Members, Groups, Forums, Posts?

    #108566
    kineticllc
    Member

    I got a little more info from the theme (Sofa OPNPress from ThemeForest) owner… these are his words exactly:

    “Yeap, I’m afraid breadcrumbs will not work with BBpress. And I think there’s no function or a plugin that will actually do the job properly. This theme is using Dimox breadcrumbs function (see http://sum.mx/4apyd2). Maybe you could ask for author advice on that subject… as far as I can see all the breadcrumbs logic relies on if-else clauses and if there’s a clause that can be used to “detect” BBpress – you are on the horse.”

    To answer your question, and I’m sure I’m over simplifying, I guess I was just going to use short codes to get the forums to show up and then rely on the built in breadcrumbs to do their job. But if I could figure out at least what is causing the conflict and causing the page to break the I could fix that and if 2 breadcrumbs were show I’d settle for that. Or, said a different way, if the main site breadcrumbs are more important to me than the forum breadcrumbs if that makes sense.

    I’m more of a frontend coder with the ability to do minor tweaking to existing function files which is why I’ve gotten to this point. It’s a bit over my head on how best to address it. I hate being the unique scenario guy but would love to use bbpress for facilitating my community interaction. Any more help is deeply appreciated.

    Thanks!!

    #108623
    travis.hill
    Participant

    Ah! that makes sense. Yeah, I wouldn’t want everyone to have the ability to post a shortcode. But the challenge sounds easy enough.

    Thanks!

    #108622

    I have them turned off for now, as many shortcodes assume the post author has the trusted ability to post content, which for forums might not be best.

    It would be a rather simple plugin to create, although you’d probably want some kind of UI to map shortcodes to user roles. You may not want every registered user to post a poll, but you might want to allow users to use code formatting, for example.

    #39790
    travis.hill
    Participant

    Does the bbPress plugin (2.0-RC-4) allow shortcodes from other plugins?

    I wish to enter a poll into a discussion using wp-polls, but the shortcode comes through instead of the poll.

    http://skullclan.com/topic/features-poll/

    Thanks!

    #108620
    remstar
    Member

    Thank you for assisting me.

    The site is: http://www.actorexpo.co.uk/blog

    I opened header.php and the div class reads as follows:

    <div class=”padder”>

    I went to the RTL Stylesheet and looked up “padder”

    this is the code:

    div#content .padder {

    margin-left: 225px;

    margin-right: 0;

    border-left: 1px solid #e4e4e4;

    border-right: 0;

    -moz-border-radius-topright: 6px;

    -moz-border-radius-topleft: 0;

    -webkit-border-top-right-radius: 6px;

    -webkit-border-top-left-radius: 0;

    -moz-border-radius-bottomright: 6px;

    -moz-border-radius-bottomleft: 0;

    -webkit-border-bottom-right-radius: 6px;

    -webkit-border-bottom-left-radius: 0;

    }

    div#content .left-menu {

    float: right;

    }

    div#content .main-column {

    margin-right: 190px;

    margin-left: 0;

    }

    Is there something in here that is making all my text align in the center?

    Is it the margins??

    Thank you

    #108619
    Gautam Gupta
    Participant

    Ok, got it. You need to remove <div class="center"> and the associated </div> from your theme (probably header.php and footer.php). Or just remove class="center".

    #108618
    Gautam Gupta
    Participant

    Can you please provide a link to your forums? :)

    #39783
    remstar
    Member

    Hi

    New to buddy press and BP Themes, so forgive me.

    I installed it all easily, created a child theme and activated it.

    Now all my content on the site is center aligned where i’d prefer it to ALL be Left aligned.

    I have looked in CSS files in both and don’t know which bit to change, i have no idea what margin does what or where floating postions float to.

    So if anyone could give me a simple ‘beginners’ response with how to simply ‘Align all my content text to the Left’ – i’d be extremely grateful.

    A Million Gazillion thanks :)

    #108607

    The search in bbPress 2.0 is purposely limited. It’s possible to remove the restriction with code (a small plugin) but I wouldn’t recommend it, since the actual number of users that search your forums is surprisingly small.

    For an example, had you searched these forums, you would have found several topics about this already. Instead you naturally skimmed the site, didn’t see an immediate answer anywhere, and asked your question. :)

    #108546

    Yes. Delete the plugin via your favorite FTP program, and see if things come back to normal. If so, you need to do some trouble shooting to see what the conflict is. If not, you still need to trouble shoot, but at least you know bbPress isn’t the problem. :)

    #108609

    Good question. The main reason it loads all the time is shortcodes. bbPress doesn’t have any way to know that the_content contains a shortcode when the head of the page is being processed, so including it all the time is the safest bet for most people.

    If you want to dial in your installation, you can wrap the CSS enqueue in a is_bbpress() check. is_bbpress() returns true when WordPress is loading up a bbPress specific page.

    #39781
    blueorange
    Member

    Ok, so my problem has been restricting a certain role to read private forums. No matter what I did the topics in the private forum weren´t visible.

    This was fixed as soon as I added the read_hidden_forums() capability. I assume that is not normal since the forums are set to <i>private</i> and not <i>hidden</i>.

    Anyway, thought I´d share that with the rest.

    Great plugin :-)

    B

    #39780
    al3xander
    Member

    hey guys,

    i’m currently using a wpms installation and bbpress.

    i would like to load the stylesheet which bbpress has, only to load on bbpress specific pages, why would it load on on the blogs startpage anyway? :)

    is there a way to do that?

    regards,

    alex

    #108558

    Maybe an easier way to get a unique sidebar for your forums is to try this:

    1. Make a file in your active theme called bbpress.php.

    2. Copy the contents of your page.php into bbpress.php.

    3. Instead of calling get_sidebar(), put your custom sidebar code there

    4. Done.

    Since you seem satisfied with everything else, this should be the easiest may to get by for now. I’ll take a look through the instructions again and try to put something more in-depth together soon.

    #108579

    :) Yay! Thanks!

    #39773
    kamimado
    Member

    I am using WordPress 3.2.1 and installed the bbpress 2.0 RC4 plugin. Immediately after activating the plugin, I could no longer access anything on my site. Not the home page. Not the Dashboard. What I keep getting are the following errors.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 30720 bytes) in/home4/paperwin/public_html/yousuckatkorean/wp-content/plugins/bbpress/bbp-admin/bbp-settings.php on line 589

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 71 bytes) in/home4/paperwin/public_html/yousuckatkorean/wp-includes/taxonomy.php on line 2624

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 24 bytes) in/home4/paperwin/public_html/yousuckatkorean/wp-includes/taxonomy.php on line 2631

    I searched the support forum for “error after install bbpress 2011” but couldn’t find much.

    I tried re-uploading the bbpress plugin folder, but to no avail.

    It seems like a WordPress issue rather than a server issue since the server is telling me that my error is coming from the WP directory, and I’m able to access other sites on the same server.

    Any ideas on how to solve? Is it safe to simply delete the bbpress plugin folder? Will that solve the problem?

    I don’t know what the ‘taxonomy.php’ file does. Should I re-upload a virgin copy of it?

    Any help would be VERY much appreciated. Thank you!

    regards,

    Ryan

    #39769
    CodeMunkyX
    Member

    Pulled my hair out a few hours on this one … not sure why I didn’t dig into the plugins initially and look for this, but must have been sleep deprived as usual ;)

    It seems bbPress 2.0 and Jigashop use the exact same menu positions … so when I installed bbPress (jigashop already installed) … I could not for the life of me figure out how to create forums… after searching around i saw that there was indeed supposed to be a Forums custom post type menu, but in my installation I could not find it.

    So, yeah if anyone else needs to install these 2 plugins then just find menu_position where the custom post types are setup and change them to be unique numbers.

    Hopefully this will be helpful to the next person that encounters this.

    Anointed
    Participant

    Right now the loop replies is calling the loop as follows:

    <?php while ( bbp_replies() ) : bbp_the_reply(); ?>

    <?php bbp_get_template_part( 'bbpress/loop', 'single-reply' ); ?>

    <?php endwhile; ?>

    This is combining the topic and the replies into the same query to be output by the loop-single-reply.php template file.

    Request:

    Separate out the calls to get the topic and then the replies after that function. (use 2 sep functions to call topics/replies)

    Reason:

    It is VERY difficult for me to style the original topic separately from the replies.

    *Yes, I know that everything is currently in a table format so styling topics and replies is not really feasible, however I am working on building some custom forum templates without tables. This would make building custom templates a bit easier.

    agree?

    #39766
    travis.hill
    Participant

    Starting a new topic as I don’t wish to clutter the VERY USEFUL threaded discussion here:

    http://bbpress.org/forums/topic/bbpress-20-theme-compatibility

    I’ve been over this topic a few times and can’t for the life of me get what I desire to work, or maybe it’s working and I’m missing something.

    My current setup:

    WordPress 3.2.1 (single site setup

    **Child Theme**

    BuddyPress 1.2.9 (disabled forums)

    bbPress 2.0-RC-4

    My goal is simple: I wish to use a different sidebar within my forum pages to display information that is forum specific, rather than my default sidebar’s contents and widgets.

    I’m pretty fluent in WordPress, customizing things and the like. I understand how to display different sidebars and such within WordPress, depending on pages, etc..

    My issue:

    When I activated bbPress and navigated to my forum, everything displayed a treat. It was PERFECT (minus some CSS for colors and width, etc). I figured I would be cracking into the code just to get it to display correctly within my theme, but it put it right where it belonged within my theme.

    When I decided I would like to take advantage of a different sidebar, things started to go out of place.

    Following along with the discussion at http://bbpress.org/forums/topic/bbpress-20-theme-compatibility, I:

    1. Copied the files within wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/

    into my child theme folder:

    wp-content/themes/%child-theme-dir%/ – minus fuctions.php and style.css.

    2. I added add_theme_support( ‘bbpress’ ); into my child theme’s fuctions.php file.

    Upon uploading and refreshing, my theme was broken. The forums were being displayed above everything. At the time, this wasn’t much of an issue, as I figured I could modify the files I copied within wp-content/themes/%child-theme-dir%/ much the same way I modified BuddyPress templates to work within my child theme, but alas, these modifications did not work. In other words – any modifications I made to files from plugins/bbpress/bbp-themes/bbp-twentyten/ into themes/%child-theme-dir%/ did not work.

    3. Instead of “merging” bbPress functions.php and css/bbpress.css with my child theme files, I copied bbPress’s functions.php, created a new file within my child theme, copied the contents of bbPress’s functions.php into this file and included it from my functions.php file. I used an @import clause within my child theme CSS file to import bbpress.css. This all seemed to work, as using Firebug confirmed bbpress.css was imported.

    Again I uploaded and refreshed, but the theme is still broken, much the same way it already was.

    So for now I’ve reverted everything back to the “vanilla” install of bbPress, and everything is back to normal, minus a unique sidebar.

    Any and all help is greatly appreciated!

    Thanks!

    #108562

    Thanks a ton for this. :)

    #39767

    I like a lot of you on here obviously want bbpress to be implemented into my site.

    And I like a lot of you have been having issues getting everything installed and working correctly.

    I’m writing this post because I got things going finally on my site and it really isn’t as hard as I was making it and some of you are from what I’m seeing.

    I just wanted to share a few simple things that I learned along my journey and hopefully this post can steer some of you in the right direction.

    My forum is located at http://www.theurbantwist.com/community by the way. Ignore banner at top of page as that’s just a placeholder for when I get my official forum logo designed.

    First things first…

    I followed the instructions to a “t” from this post:

    http://bbpress.org/forums/topic/bbpress-20-theme-compatibility

    I have a custom theme, so I copied all files over, created child theme and all of that jazz, and added theme support.

    At this point I just knew that I was going to be finished because when I went to dashboard, it stated that my theme now had bbpress support. Everything was coming together just as how the instructions above would lead me to believe.

    The feeling was brief as when I actually went to the forum page, it was completely blank other than the breadcrumb trail at the top…my header and footer was present but everything else in the middle (the content area) was gone.

    So me being familiar with wordpress themes and because I’m so used to “pimping” out themes for wordpress…I tried to do the same with bbpress, so I dissected and went over the code in those files I copied over into my main theme as if it were a wordpress theme and changed some things around thinking I needed to add some template tags here and there to get forum to work.

    I did all of that and guess what? Nothing changed…same blank space as before.

    So I then went into the plugin file itself and tried modifying the theme from there.

    Still…nothing changed.

    So I went backwards through the steps and started deleting steps to get back to where I was at originally and along the way, after I removed the theme support for bbpress, the forum showed up on my page. The CSS wasn’t matching my theme, but at least I had a start.

    I then modified my css file to match certain elements of the twenty-ten default bbpress theme and mow I’m making progress. The theme is pretty much right where I want it be.

    The only thing that was missing was that I wanted a topic listing of all topics on forum front page.

    And here is where things really got easy and I wish I would have done this from the start.

    I simply created a page.

    I named page “community” to match my forum settings and I added 2 lines of code.

    [bbp-forum-index]

    [bbp-topic-index]

    And voila! Now I have forum just the way I want it barring a couple of graphical changes which I’m working on.

    The reason I went in detail about how I came to a solution for myself is that sometimes we do a LOT of unecessary stuff to get to where we need to be. I’ve wasted a LOT of time trying to manipulate the plugins files and my theme’s files, when all I needed to do was to create a page.

    Bottom line and this is definitely something you should try if you are having problems.

    1. Install and activate plugin.

    2. Add a Page

    3. Add those 2 lines of code above.

    4. Publish.

    You then have your forum. And that’s a start. :-)

    Cheers!

    #108506

    If that plugin is only for bbPress 2.0, yes please :)

    #107948

    Patches welcome. :)

    #108535

    Either delete the physical WP page, or put the bbp-forum-index short-code in it. bbPress assumes if there is a page already where the slug is, that you are manually overriding it.

Viewing 25 results - 17,726 through 17,750 (of 32,499 total)
Skip to toolbar