Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 17,226 through 17,250 (of 32,500 total)
  • Author
    Search Results
  • #110073
    Anointed
    Participant

    Just bumping it up as I still can’t find a conditional to use for determining if I am on the forum front/homepage.

    *I am not using shortcodes but rather custom templates

    also need a few other conditionals please:

    What conditional can I use to see if I am on a topic-tag, or topic-tag-edit page?

    finally, conditional for being on the users/users-edit page?

    *trying to change titles around above the breadcrumbs in my template. and also using conditionals to remove breadcrumbs when on user page as they dont work on user pages yet.

    thanks

    #110168

    Best way to stay updated is to subscribe to this topic. :)

    MT Prower
    Member

    I need help performing a basic function. I have a WordPress blog with bbPress installed as a plugin. I would like all of my forums pages (ever) to show up on a custom two-column WordPress page template that I made (template-twocolumn.php) rather than the default three-column template for my site’s theme. I can put a forums shortcode on a WordPress page with a custom template, but the forums will still really just be using the three-column template, and it will show when I click any links to a new forums page. Can someone please help me make it so that the entirety of bbPress uses one particular non-default template page style?

    I have WordPress 3.2.1 and bbPress 2.0. My website is at http://www.vgreboot.com/ . Thanks.

    #40525
    trivum
    Member

    I have an issue that seems to be with the theme I am using. When I install bbPress, it doesn’t register a title when I look at my view source code. I also get an “Error 404” message in the breadcrumbs of my site’s theme (NOT in the bbPress breadcrumbs).

    I don’t get this when I switch to a default WP theme, so it seems related to my theme (WPzoom’s Manifesto).

    I have run a buddypress update plugin thinking this might help, but it doesn’t. I also get this message with BuddyPress compatibility: “Your active theme does not include bbPress template files. Your forums are using the default styling included with bbPress.” (I’m fine with the bbPress default styling, by the way. Just wondering if the first part of that message might relate to my problem in any way.)

    Thanks in advance for any suggestions.

    #110165

    Despite the inflammatory remarks from their team in the topic you linked me to, I tweeted the Pagelines guys about getting access to their forums or getting things figured out together.

    Considering you are paying them for support, I think the ball is in their court. If there’s a problem with their theme and bbPress they need to put a guy on it and send me a theme to test, similar to how StudioPress and Genesis handled it for the 2.0 release.

    If bbPress is doing something that’s causing headaches, I’m happy to fix it – the difference being that bbPress’s code is immediately accessible to them, and their themes are not to me.

    #40514
    djlynchpin
    Member

    I tried to install from plugin in wp admin and got api error. So i dwnlded full version and ftp’d it to my server. Then when I try to activate it I get the following error: Plugin could not be activated because it triggered a fatal error.

    Fatal error: Out of memory (allocated 26214400) (tried to allocate 291800 bytes) in /home/lynchpin/public_html/wp-content/plugins/bbpress/bbpress.php on line 449

    I upped my php.ini to 64m , tried adding code to wp-config and htaccess. Nothing has worked. Any suggestions? I’d even be willing to let someone log into it and take a look. Help Please!

    #109887
    David
    Member

    I believe the only options available in shortcodes are for [bbp-single-forum id=$forum_id] and [bbp-single-topic id=$topic_id].

    I agree that (a lot) more would be very useful.

    #110109
    David
    Member

    One cool option I forgot to mention earlier…

    If it’s important for you to have the topics of each forum listed on your forum index page you can call them individually by using a shortcode for a particular parent forum (in this case, using WP’s do_shortcode):

    <?php echo do_shortcode('[bbp-single-forum id=1234]') ?>

    where 1234 is the ID number of the parent forum. I’ve experimented with this for a *Category* type parent forum and it works well. I imagine it would do the same thing for a *Forum* type parent forum. You’d obviously want to lead it with a header title for the parent forum.

    Call each parent forum this way and you’ve got a nicely organized index page. (NOTE: you can call individual (non-parent) forums this way too but by default they call the entire single forum template part that includes the form. If you’re interested in messing with this it’s handled in [your bbPress directory]/bbpress/content-single-forum.php.)

    The disadvantage is that it’s built manually for each parent so any new parent forums will have to added manually as well, but you do have a lot of control.

    #110108
    David
    Member

    @LifeFreeOrDie, I can’t answer your question completely but maybe I can give you a little help.

    You can order your forums by defining the Order in the respective Forum’s admin page. Counting starts at 0, which is the default.

    Creating sub-forms is simply a matter of creating a parent forum and then for each child (sub-) forum make that parent forum the Parent in Forum Attributes. (Parents that are defined as type Forums can contain their own topics but parents that are Categories only contain other forums.)

    Unfortunately, in the forums index sub-forums are necessarily presented with their topic and reply counts in parenthesis as defined in bbp_list_forums() in loop-single-forum.php. What’s worse: there is no containing element around the count so it’s not possible to style those separately from the sub-form name. [@johnjamesjacoby or other admin: Can this be updated outside of core code?]

    However, you can style the sub-forums with CSS as they are listed as a

      .

      #40501
      #110079
      David
      Member

      @alieninformer, thanks for sharing!

      You can also call an alternate sidebar in bbPress just as you can in your base WP install, so <?php get_sidebar('alternateside'); ?> would call sidebar-alternateside.php and that file can be kept in the WP theme folder so that it could be shared with other non-bbPress pages.

      #106125
      Crisium
      Member

      @John,

      I have tried to follow you procedure for getting bbPress intergrated into my current theme. After 10 hours of copying/pasting directories, files, adding code… I finally gave up.

      As you said your self the bbPress as only one theme that supports it and that is the theme you have created, which is a modified twentyten. I think the bbPress fails as user friendly, because I need to manually change things on my harddrive and code to get my current theme to work.

      Apparently there are not very many forum plugins for wordpress (well, not that many good ones). I would like to use yours and this is also why I invested 10 hours of my time trying to integrate it.

      I’m going to try and explain what I have done, perhaps I misunderstand something with your procedure:

      1. I’m using WordPress 3.2.1, theme Suffusion, forum bbPress 2.0

      2. With this installment I can see I need to use your procedure description:

      If this is not a custom theme under your control (meaning you are not the author) you’ll want to copy the entire “/bbpress/bbp-themes/bbp-twentyten” folder into your “wp-content/themes/%YOURTHEMENAME%” folder, and modify your style.css to make it a custom Child Theme of whatever your current theme is.

      3. I copy my folder: C:inetpubwwwrootwpwp-contentpluginsbbpressbbp-themesbbp-twentyten and paste it into C:inetpubwwwrootwpwp-contentthemessuffusion

      4. This means I now have a folder in my suffusion directory called “bbp-twentyten”

      5. I now open the style.css file in the “C:inetpubwwwrootwpwp-contentthemessuffusionbbp-twentyten” directory and add “@import url(“../style.css”);”

      6. I modify the styles.css file in the “C:inetpubwwwrootwpwp-contentthemessuffusionbbp-twentyten”, so that the plugin header now says “template: suffusion”

      7. I now open the functions.php file in the “C:inetpubwwwrootwpwp-contentthemessuffusion” directory and add: add_theme_support( ‘bbpress’ );

      As I understand your procedure that is what I’m suppose to do? Did I miss something?

      regards,

      Peter

      #107961
      sjd4
      Participant

      RewriteEngine on

      RewriteCond %{HTTP_HOST} ^yourdomain.com$

      RewriteRule ^folder/folder/?(.*)$ “http://yourdomain.com/folder/$1″ [R=301,L]

      Sorry, my ISP requires a lot of escapes

      #109883
      eraleks
      Member

      I just can’t make this work… :(

      If I click on the show source code I can find the problem, but I just don’t get where and how I can remove the avatars in the files provided.

      You can see my forum here: http://revyportalen.no/forums/forum/revyportalen-forum-2/

      Help is very much appreciated! Especially if someone could point me straight to the solution since I don’t really know css :/

      Aleks

      #110106
      Trobee
      Member

      I don’t know if this is possible at the moment. I started writing a plugin to try and add this functionality but my knowledge of php is not good enough.

      I have achieved a similar solution, though it lacks some functionality, by using a multisite wordpress install, and having each site with its own forums, and making each site only viewable to members. Then, if you want a user to be able to see a forum you make them a member of the site. The downside of this is that you have multiple forum areas.

      I have created some shortcodes to allow you to list forums from multiple sites on single page, but have not got around to adding it as a plugin yet.

      If you would like to try it out then you can grab the code from the pastebin link here https://bbpress.org/forums/topic/multisite-displaying-forum-list and just create an empty folder in your plugins directory, then copy the text from pastebin into a new php file in that folder.

      The usage is a bit strange and explained in the other thread

      #40493

      There’s just an extra quotation mark on line 103 of bbp-core-widgets.php. It appears in the login widget’s login button. :)

      #109781

      In reply to: "Page not found" error

      grafics
      Participant

      So I thought we had the 404 issue resolved, but not quite. Forum Directory showing (used short code on page) and links from there to primary forums works just fine. I have now discovered that child forums get 404 error. Updated permalinks, tried default theme, still no luck. Tried making the “parent” forum a category, no joy that way either.

      Tried moving the bbp-twentyten template files into child theme (and adding theme support to functions.php) and everything went haywire.

      One thought is to use pages with shortcodes for the child forums, but this site is going to have tons of child forums so that is not an appealing option and would not be user friendly for the client.

      Any ideas?

      #110077
      Gautam Gupta
      Participant

      Thanks for the share! You might want to use is_bbpress() function (found in bbp-includes/bbp-common-template.php instead of $uri = $_SERVER['REQUEST_URI']; if ( strpos($uri,'YOUR-FORUM-BASE') !== false ) {

      I have wrapped your code blocks in backticks for easier reading. :)

      #107959
      sjd4
      Participant

      Yeah, I eventually uncommented the code and went the .htaccess route. I was hoping someone with more php experience or a developer could identify the issue based on those few changes.

      #110100
      Anointed
      Participant

      Because the skeleton plugin adds the capability of adding theme templates which do not require added markup such as the header/footer/etc.

      The way it is now, bbPress has a bunch of twentyten specific templates which handle all the output for bbPress. Each of these templates carries the overall ‘layout’ for twentyten instead of just what is output by bbPress.

      If my understanding is correct, I would create a single bbpress.php file that holds just the twentyten layout. ‘The_content’ would then be auto replaced according to what page you are on.

      This would mean that in order to get a custom setup in any theme, I would only have to modify one template file, ‘the twentyten base layout’ instead of modifying every file.

      Basically I am trying to find a way of making it easier for me to build and market bbPress templates that work in any theme.

      An example would be people that don’t want a sidebar. You would simple change the bbpress.php file to remove the sidebar, change the css attribute for the content area to be fullwidth and your done. You don’t have to modify the other bbPress templates.

      *Yeah, I know, there are shortcodes, custom page templates etc already avail, but trying to find an even better approach.

      #40464
      Anointed
      Participant

      I am using custom theme templates from bbPress within my own theme. So no shortcodes or creating pages etc.

      What I am trying to do is to show the list of most recent topics below the forum list on the forum homepage.

      I am using the following code:

      <div id="forum-front" class="bbp-forum-front">
      <div class="entry-content">

      <?php bbp_get_template_part( 'bbpress/content', 'archive-forum' ); ?>
      <br><br>
      <h3><?php _e( 'Recent Topics: ', 'bbpress' ); ?></h3><br />
      <?php bbp_get_template_part( 'bbpress/content', 'archive-topic' ); ?>

      </div>
      </div><!-- #forum-front -->

      This seems to work, however, the pagination for the topics is wrong. Currently it tries to go to /forums/forum/last-forum-title/page/2/

      It should go /topics/page/2/

      Using the default bbPress templates within my own theme, what would I add to the archive-forum.php file in order to show recent topics with pagination that works right?

      *I saw that devpress managed to pull it off, so asked over there as well.

      #40457
      jabre
      Member

      Is there a way to protect, hide or remove the RSS-Feeds of topics and replies?

      I’m using bbpress 2.0 and Buddypress for a protected community. Thanks to “private buddypress” everything is protected, even the feeds require a login. Only the BBPress 2.0 Feeds aren’t protected.

      I’m using the solution in this thread:

      http://bbpress.org/forums/topic/combining-bbpress-rss-feed-with-wordpress-rss-feed-possible

      to combine the feeds into one, which is successfully protectet by the private-buddypress-plugin.

      Using this code

      remove_filter( 'request', 'bbp_request_feed_trap' );

      I can force the forumfeeds to be protected but if I enter username and password I get a weird feed.

      Is there a more “elegant” solution to this problem? It would be great if I can protect the original forum-feeds but removing them completly would do the trick too.

      #110045
      Anointed
      Participant

      What did the theme author have to say?

      To have something like this happen in a single browser means he obviously coded something specific to Safari that isn’t working right.

      #108218
      Anointed
      Participant

      Suggestion:

      Please consider adding the topic status to the topic_class()

      This will make it very easy for me to style resolved/not-resolved differently to give it a little flair.

      It would also be nice to not have the ‘urgent/resolved/etc’ placed before the topic title. Provide an off switch and a function where I can simply place the code where I want it to show up.

      *I can do that myself, but it would make upgrades difficult

      #40459
      paulmarshall
      Member

      Hi

      I’ve recently installed bbPress plugin to my WordPress blog and am having a few problems. Wondered if somebody could help me please.

      The forum index is fine – added using shortcode to a page on the website:

      http://bristolornithologicalclub.co.uk/?page_id=926

      But viewing the forum and it seems to use a page template with a sidebar. I would like it full width.

      http://bristolornithologicalclub.co.uk/?forum=2011-sightings

      As my php skills are non existent I asked the theme developer for help and he came back with the following:

      “Yesterday I installed the plugin and checked things. The plugin has many template files and it is difficult to figure out which template is ‘exactly’ used for the forum page. May be they are custom post types/taxonomies.

      Further, we will need to implement the full width for topics, forum, author and other such pages. If you could ask the plugin authors about any specific hook, I can help you out further. You just need to ask them how to detect whether the current page is from bbPress plugin. (Any post type or page type hook).”

      Any help gratefully appreciated.

      Best wishes

      Paul

    Viewing 25 results - 17,226 through 17,250 (of 32,500 total)
    Skip to toolbar