Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,326 through 15,350 (of 32,503 total)
  • Author
    Search Results
  • htz77
    Participant

    Has a solution been found for this yet? When viewing any page of my Forum, my Menu (from wp_nav_menu) actually shows my NEWS tab (the LI element) (the normal “posts” post-type, for the blog section) with the “current_page_parent” class. So my forum looks as if it’s in the News section. I do have a Forum tab in my menu, but it is the Forum index page (using a shortcode). I suppose i can just use CSS to fix all this, but i would think bbPress would be able to avoid incorrectly triggering the “current_page_parent” class on the wrong element.

    #119051
    Rethink
    Participant

    Wordpress and bbPress are up to date. This is part of a WordPress multisite install.

    http://anabaptistworship.com/category/community-music/

    I am using a custom child theme and there is no error when I switch to twentyeleven.

    I recently started getting this error, even on pages that aren’t part of bbpress on my site. I’m not sure when it started–maybe with a recent update?


    Error:

    Warning: Missing argument 2 for _bbp_has_replies_where() in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1381

    Fatal error: Call to a member function get() on a non-object in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1384


    Lines 1381-1385 of the file it mentions:

    function _bbp_has_replies_where( $where, $query ) {
    
        // Bail if no post_parent to replace
        if ( ! is_numeric( $query->get( 'post_parent' ) ) )
            return $where;
    

    Any suggestions? Thanks!

    #119036
    htz77
    Participant

    I have a custom WP_Query outside the main loop, in my header.php, and also another one in footer.php. On my Forums List page (the top/base level of bbPress that lists all my Forums), the custom WP_Query in both header.php and footer.php, no longer works. It shows another instance of the bbPress Forums List, instead of showing the correct content (as it does on every other page of my site, including all other bbPress pages). My custom WP_Query is
    $args = array(
    'post_type' => 'page',
    'page_id' => 218
    );
    $the_query = new WP_Query( $args );
    while ( $the_query->have_posts() ) : $the_query->the_post();

    the_content();
    endwhile;
    wp_reset_postdata();

    I also tried get_page, which also didn’t work.
    $page_id = 218;
    $page_data = get_page( $page_id );
    $page_content = apply_filters('the_content', $page_data->post_content);
    echo $page_content;

    I tried using a bbPress ShortCode in a WP-Page called “Forums”, and then also without a page, just using bbPress Permalink “Forums”, without a wp-page and shortcode. Same problem either way.

    Why would bbPress conflict with these core WP functions? And why would it happen ONLY on the Forums List page? I also tested this in TwentyEleven, and the problem is there too.

    #119022
    tamarazuk
    Participant

    Hi,

    I am unable to view the topic or reply content. With debug on I receive the following error

    WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.’ at line 2] SELECT SQL\_CALC\_FOUND\_ROWS wp\_posts.* FROM wp\_posts JOIN wp\_icl\_translations t ON wp\_posts.ID = t.element\_id AND t.element\_type IN (‘post\_topic’) JOIN wp\_icl\_languages l ON t.language\_code=l.code AND l.active=1 FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.post\_parent = 647) AND wp\_posts.post\_type IN (‘topic’, ‘reply’) AND (wp\_posts.post\_status = ‘publish’ OR wp\_posts.post\_status = ‘closed’) AND t.language\_code=’en’ ORDER BY wp\_posts.post\_date ASC LIMIT 0, 15

    I have had this error since I installed this plugin over a month ago and have not been able to fix it. At that time I found this ticket1 which lead me to this 2 line change2. I decided to add these two lines but that did not help either.

    I have switched themes to Twenty Ten bbPress, Twenty Eleven, and the standard Twenty Eleven. I have also disabled almost all plugins (not WPML because I’ve had bad experiences with disabling and re-enabling it). None of this troubleshooting actions have helped. I then sat around waiting for an update, but unfortunately one has not come yet.

    Since we are reaching the launch date I would like any help from anyone who has encountered this issue and successfully fixed it.

    Thank you so much! Tamara

    • This topic was modified 13 years, 3 months ago by tamarazuk.
    #119017
    N3RI
    Participant

    I have the same problem.

    #119011

    In reply to: Mark topic as closed

    zaerl
    Participant

    The class is “status-closed”. You can change the title of a topic in this way:

    add_filter('the_title', 'custom_the_title', 10, 2);
    
    public function custom_the_title($title, $post_id) {
        if(get_post_type($post_id) === bbp_get_topic_post_type() &&
            bbp_is_topic_closed($post_id)) {
            return '[Resolved] ' . $title;
        }
    
        return $title;
    }
    
    • This reply was modified 13 years, 3 months ago by zaerl.
    • This reply was modified 13 years, 3 months ago by zaerl.
    #119004
    zaerl
    Participant
    bbp_get_user_profile_url( $user_id = 0, $user_nicename = '' )
    

    is the function for retrieving the user profile URL. If you don’t pass an ID it takes that current user ID.

    \wp-content\plugins\bbpress\bbp-theme-compat\bbpress\user-details.php
    \wp-content\plugins\bbpress\bbp-theme-compat\bbpress\user-favorites.php
    \wp-content\plugins\bbpress\bbp-theme-compat\bbpress\user-subscriptions.php
    \wp-content\plugins\bbpress\bbp-theme-compat\bbpress\user-topics-created.php
    

    are the template files that you can override in your own template.

    #119003
    counterfoxx
    Participant

    Hi,

    I have created a custom registration which works and has custom fields. In my header I have added code which checks if the user is logged in. When logged in I want to have a link to ‘My Profile’ for the user. I would like to know where I can find out this information and where it is generated.

    Also I would like to know what files create the user profile page, as I would like to customize it.

    Thanks for your help in advance.

    #118997
    applesqaz
    Participant

    yep currently i have no reason to use BBpress. The above reply or elese where on the forum is that it is only 500 lines of code. Okay thanks no thanks.

    Im here to download and use this program as how the demo look, not how it looks minus 500 lines of code. You could write Download BBPress minus 500 lines of code see how many download.

    Like I said Im willing to pay for theme. I dont see logic of withholding it. All it does is make me forget about bbpress. Not everyone installing these scripts is a programmer / designer. 500 lines might as well be 1 million to me and others.

    I thank the guys who created this for their great effor, it looks nice.

    #118943
    bjstone906
    Participant

    I’ve found where the code lives! Now I don’t know how to change it to point to the bbpress profile (see below).

    &lt; ?php printf(__(&#039;Logged in as <a href="%1$s">%2$s.'), get_option('siteurl') . '/forums/users/', $user_identity); ?&gt; </a><a href="" title=""></a> 
    

    I’ve tried changing the href to

    href="http://retreadwerks.com/forums/users/%1$s" 
    

    but that’s not working either. I dont know what bbpress users for its profile url but I’ll keep looking. In the meantime does anyone have any suggestions?

    • This reply was modified 13 years, 3 months ago by bjstone906.
    • This reply was modified 13 years, 3 months ago by bjstone906.
    • This reply was modified 13 years, 3 months ago by bjstone906.
    eBierek
    Participant

    Hi,

    I’m wondering if anybody have some advice how to achieve this:

    I have created 3 roles called; member, steeringgroup and board, with Justin Tadlocks Members plugin.
    Now I’d like to restrict those roles to the following bbpress forums:

    Category forum A (can only be viewed by logged in users, in role member, steeringgroup and board)
     - Forum
     - Forum
    
    Category forum B (can only be viewd by logged in users, in role steeringgroup and board)
    - Forum
    - Forum
    
    Category forum C (can only be viewd by logged in users, in role board)
    - Forum
    - Forum
    

    Not logged in guests should not see anything of the forums, they will be redirected to a sign-up page. (have fixed this one).

    Currently all 3 category forums and sub forums are visible to all logged in users at all times.

    Running WordPress 3.4.2, bbPress 2.1.2, Members 0.2.1

    Thank you in advance for any help/advice.

    /emily

    #118924
    nchiari
    Participant

    Hi everyone!

    Iโ€™m using bbPress (last version, with lastest WP too in a single site) and have the General Forums activated (not the group ones). I activated the option to use the WP WYSIWYG visual editor for the comments, which had a black background and a white text color. Usually it worked very well, but one day (too far ago), the color of the text changed to gray (check the image below).

    I donโ€™t remember changed anything on the code. Maybe it was a plugin update or something like that, but I couldnโ€™t change it back.

    Thanks!

    Example: http://gameshock.vg/foros/topic/juegos-populares-nacionales-y-peronistas

    enter image description here

    #118896

    In reply to: Problem with shortcode

    nirzol
    Participant

    I don’t understand.
    I used the buddypress default theme –> shortcode not work
    change the slug –> not work
    Try this solution : http://mysitemyway.com/support/topic/infocus-bbpress-20-root-slug –> not work
    change to twety theme forum theme –> not work
    desactive plugins…

    [bbp-single-forum id=44] doesn’t work on forum page…. ๐Ÿ™

    But [bbp-topic-index] this shortcode work.

    what can I do more ?

    #118895
    renai42
    Participant

    hey John,

    I appreciate your response.

    I’m sorry, but I don’t agree bbPress’ code or the process of implementing it is nicely documented. In fact, very little of it is documented that I can see — and much of what does exist refers to bbpress 1.x. As an example, I found it almost impossible to find any documentation this week on how to install a new bbPress 2.x theme, or how to modify existing themes. For a WordPress plugin … this is pretty unusual.

    I appreciate that this is an open source community … I guess I’m disappointed because I feel what bbPress is doing has the potential to be revolutionary — and that its difficulty of implementation is limiting that potential. WordPress has needed what bbPress is doing for many years.

    Cheers,

    Renai

    #118889
    Paul Hermanson
    Participant

    I replaced with the following:

    #118888
    Paul Hermanson
    Participant

    I can’t get my freaking code to show up. What gives?

    #118877
    Paul Hermanson
    Participant

    Using Compatibility version: bbpress is calling upon my main sidebar widget area. Where is this code? I created a new widget area in functions.php in my existing theme called “Forum Sidebar” so that I can put my bbpress widgets as a sidebar on the forum. (I have added widget areas successfully before). I created one forum category here: http://musiclearningcommunity.com/wordpress/forums/forum/maximize-music-learning/ In every php document in bbp-theme-compat, I replaced:

    (I can’t get my code to show up!) argh.
    with the following: ….

    I do not see any changes – my main sidebar persists. Thank you for your help! Theme: Addington, bbPress version: 2.1.2, website: http://www.musiclearningcommunity.com/wordpress`

    Max
    Participant

    Hi there – I have a forum on a membership site running:

    bbpress 2.1.2, buddypress 1.6.1, wordpress 3.4.2

    with a premium theme.

    The site owners have asked if we can add the ability for users to upload photos and embed video into forum posts. The rich tinyMCE editor doesn’t include the standard media uploader button, and even though in my Settings for bbPress I have the option to embed video/flickr/etc checked, when I paste the code in it defaults to a link instead of the embed object. I’m not very familiar with either bbPress or buddypress, so any help is greatly appreciated. I’ve attached a screenshot of the current forum editor.

    Because the site is a membership site and the forums are protected, the link won’t help much but here it is: http://www.innercircletheater.com.

    I’m more than happy to pay someone to implement these components. Also, I’ve tried adding the bbpress post tools plugin, but it breaks my theme.

    Thanks!
    Shannon

    screenshot of the current forum editor

    #118864
    dobrado
    Participant

    Hi! ๐Ÿ˜€

    I’m having some troublse in vBulletin to bbPress convertion.

    Wordpress 3.4.2
    bbPress: 2.1
    vBulletin Database: 4.1.6
    Php: 5.4.4
    Using MAMP (Mountain Lion)

    When I try to convert the vBulletin database, it stuck in 33k replies.
    If I try to stop and resume the convertion, it stuck again.

    Converting replies (33300 - 33399)
    Converting replies (33200 - 33299)
    

    apache.log:

    [Mon Oct 15 12:56:40 2012] [notice] Digest: generating secret for digest authentication ...
    [Mon Oct 15 12:56:40 2012] [notice] Digest: done
    [Mon Oct 15 12:56:40 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
    [Mon Oct 15 12:58:44 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/cabana/.DS_Store
    [Mon Oct 15 12:58:46 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/area51/.DS_Store
    [Mon Oct 15 13:44:15 2012] [notice] child pid 34894 exit signal Segmentation fault (11)
    [Mon Oct 15 13:44:19 2012] [notice] child pid 34785 exit signal Segmentation fault (11)
    [Mon Oct 15 13:57:39 2012] [notice] child pid 35000 exit signal Segmentation fault (11)
    [Mon Oct 15 14:20:35 2012] [notice] child pid 34801 exit signal Segmentation fault (11)
    [Mon Oct 15 14:29:38 2012] [notice] child pid 34800 exit signal Segmentation fault (11)
    [Mon Oct 15 14:37:55 2012] [notice] caught SIGTERM, shutting down
    [Mon Oct 15 14:49:15 2012] [notice] Digest: generating secret for digest authentication ...
    [Mon Oct 15 14:49:15 2012] [notice] Digest: done
    [Mon Oct 15 14:49:15 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations
    [Mon Oct 15 14:49:43 2012] [notice] child pid 38524 exit signal Segmentation fault (11)
    

    And sorry for my really bad english! ๐Ÿ˜€

    #118842

    In reply to: Problem with shortcode

    nirzol
    Participant

    up. someone can help plz ?
    Thx

    dailydose
    Participant

    Currently on Bwater that I customized. I’m on bbPress Version 2.1.2 tried to find what version I am on, on WordPress but can’t seem to find, but do know that Im getting Updates to Update to the WordPress Version : 3.4.2 So take it I am on the old one. I don’t want to Update as I’m Petrofied of loosing all my hard Work that’s took me a year to do, and states in my Update’s that if I do Update, I will loose all my Customizations. RIGHT.. Hoping ANYONE can help me out on this one, I have sat for 4 whole Day’s and Nights trying to figure this out, and has now given up ๐Ÿ™ I have not toched any bbPress css or has edited it in anyway to say in advance. There seems to be 2 Issues wrong. The Layout.
    When I choose the bbPress Default compat theme, The top half is fine, but when we get to the Create New Topic in: section it’s half Cut off you cant even see the Submit button. Widgets are showing fine though.
    I’m not to fussed about having set by default but would like to have it as a full page width, which I have done followed all Instructions! of even going into my Page setting the page attributes to Full-Width-no-sidebar Option. Then changed to the Twenty Ten (bbPress) plugin theme which made it Full width, but my Avatar is placed right at the Top Left hand of my page which is odd, and my Widgets are on the page also, which shouldn’t be there if I have set the page to full width. also the Widgets are @ the bottom of my page but scatterd all over my Forum ughhh. I have read through all of the Forums regarding this matter (Topic) Tried for myself but still does not look right. Please can ANYONE be so kind to help me on this matter PLEASE. Cant sit for another 4days trying to figure this out very frustrating really, and a Shame as I really like this bbPress its the only theme that looks nice on my site. Now if I can only get it to work! I have tried absolutly everything before coming to the forum unless absolutly ness.
    any step by step code help as I am not that savvy with all codes as of yet but know alittle.
    Link to the page it’s on http://dailydoseoflovely.com/forums/forum/which-blog/

    #118825
    ironman
    Participant

    Dear netweb Thank you for your information. I came up with how to make favorites page but I will still wait for the sharing of the codes as my clients are asking for more and more customization of the bbpress forum as they uses the forum daily bases.
    thanks again for your information.

    solcjoye
    Participant

    Okay, I am throwing this out there… I THINK I have / had the same problem you are dealing with (again, I think) and may have figured out a solution? Sorry if this is a waste of time… So, I wanted the shortcode to immediately show my main category with all of my subcategories because as you said the index was totally boring, non-descriptive etc. So, I found the numerical ID in the URL of the category (a ### three digit number, mine happened to be 309) and plugged that into [bbp-single-forum id=309] and that worked? So, now when I navigate to that specific page, it automatically opens up to the main + sub category view and not the index view. Again, apologies if this was a waste….

    #118818
    Stephen Edgar
    Keymaster

    Please see this thread regarding the code used here on bbPress.org

    What theme does this site use?

    #118814
    dreamspray
    Participant

    Hi,

    how do I exclude addthis from my forum posts. There are no addthis checkbox in the post area so I suppose that I have to put some code in the bbpress forum template?

    Windsurfing Forum

    Best regards Claes

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