Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,526 through 15,550 (of 32,581 total)
  • Author
    Search Results
  • #117924
    @mercime
    Moderator

    You could add the following to your stylesheet:

    #bbpress-forums ul,  
    #bbpress-forums li a{
        color: #555;
    }
    
    bartleynen
    Participant

    Hi Henning,

    Funny I came across your topic. I’ve been looking for days for a way to integrate bbPress into a memership site using Optimizepress. I was starting to feel kinda lonely as I began supposing I was the only one with this wish.

    I was thinking maybe we could help each other. I think it’s reasonable to assume nobody will come along and help us out here after 6 days. I suppose we’re on our on own on this one. So if you feel like it, you can contact me at bart.leynen(at)gmail.com and we can see if we can mean something for each other…

    Thanks

    Bart

    We can always come back later and post the solution here…

    #117905

    Topic: Newbie question

    in forum Installation
    offduty
    Participant

    I am using WP 3.4.2 & bbPress 2.1.2 at http://oldfiredog.com/

    I am new to WP & bbPress but am learning. I have created the above site and have created some forums but can not seem to get to them while on my site. In edit mode I can choose view though and see the forum on my site. I do have the theme desk mess mirrored in use 2.0.4 I just need to know how to access my forums on my site as I have been able to create them and view them in in dashboard > edit mode > view mode but not on my site. I have changed themes to twenty ten but it does not seem to make a difference.

                                               Thanks Rich
    
                            Thanks Rich
    
    #117898
    matthiaswh
    Participant

    That’s the right place in the file, but the wrong edit. You would replace everything between those curly brackets with “return true;”, so it would look like this:

     function bbp_check_for_flood( $anonymous_data = false, $author_id = 0 ) {
    
        return true;
    }
    

    This does affect a core file in the bbpress plugin, so anytime you update you will have to make this change again.

    I’ll send you an email! I have a love/hate relationship with iMember. It gave us a ton of trouble on our old host, but is working great on Synthesis WP hosting.

    #117890
    jezza101
    Participant

    Hi, I’m struggling a bit to get started with bbpress plugin dev, I’ve managed to write plugins for WP in the past thanks to the WP codex. Looking at other threads I see the advice is to look at the WP documentation or look at examples – I’ve tried both and getting a bit stuck. If anyone has some time to help me get hooked into the API it would be much appreciated – after that I should be able to start creating some cool stuff!

    So my first experiment is to try and update a post within a topic. Looking at the append signature plugin I can see they use the bbp_get_topic_content filter. If I were updating “the_content” in WP I would do something like this:

    function bbp_topic_content_append_text( $content = '') { 
                $content = $content . 'SOME_TEST_TEXT';
    
                        return $content;
        }
    
        add_filter( 'bbp_get_topic_content', 'bbp_topic_content_append_text');
    

    But this doesn’t do anything when I load a topic? Can anyone point me in the right direction? Thanks πŸ™‚

    • This topic was modified 14 years, 1 month ago by jezza101.
    • This topic was modified 14 years, 1 month ago by jezza101.
    #117836

    In reply to: Child/Sub forums

    cocktail5555
    Participant

    Sorry, it’s not letting me post the whole section of the code. BUT, I only need one part of that changed Im thinking.

    #117832
    cocktail5555
    Participant

    How do I change this code so that one of the drop downs lists only the sub forums? Thanks! πŸ™‚

                                 bbp_get_form_topic_forum() ) ); ?>
    
    
    
                                 bbp_get_form_topic_forum() ) ); ?>
    
    • This topic was modified 14 years, 1 month ago by cocktail5555.
    • This topic was modified 14 years, 1 month ago by cocktail5555.
    • This topic was modified 14 years, 1 month ago by cocktail5555.
    #117824
    smiga
    Participant

    jeeni, latest plugin code can be found on https://github.com/pippinsplugins/bbp-mark-as-read

    #117809
    goddess_dix
    Participant

    Thanks so much for all the work on this! My first bbPress, as the plugin makes it more accessible.

    Having an issue with the Fancy Editor. One of my plugins (WP-Amazon) is forcing a button onto the editor for shortcodes. Since the shortcode is turned off and the button breaks the layout, is there a way to force it not to display on forum pages?

    I realize this is plugin specific but my thinking is that it can’t be the only rogue plugin, so if there’s a reasonably easy way of suppressing a particular button, it could help others. Thanks for any suggestions you may offer.

    #117807
    bradsucks
    Participant

    I want to override the bbPress page I get when I go to mysite.com/forums/ with a WordPress page containing bbPress shortcodes but I haven’t been able to get it to work.

    • My WP page slug is ‘forums’ and contains:
      [bbp-topic-index]
      [bbp-topic-form]

    • In my bbPress settings my ‘forums base’ is set to ‘forums’.

    I’ve tried a bunch of other things (like setting the WP page template to ‘bbPress – Forums (Index)’ and deleting archive-forums.php in my theme. Nothing seems to work.

    Also if I change the the page slug & permalink to ‘forums2’ and visit that, it works as intended.

    Any ideas? I’m thinking about an .htaccess workaround but that seems excessively hacky. Thanks.

    #117799
    Todd Lyons
    Participant

    I used these instructions ( http://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/#c-set-up-sitewide-forums-only ) to try to install bbPress. Site is two days old, so all software and plugins are new (and I’ve only added BP and bbP).

    The forums work, but I can’t get a link to show in the header:

    http://unifyyoseikan.org/forums

    I’ve tried many things, including:
    – Reinstalling bbPress several times
    – Deactivating bbPress so the Directories link to connect “Discussion Forums” and the Forums Page can be set, then reactivating bbPress.
    – Keeping or deleting the Forums Page (having it exist prevents forum from working)
    – Kludging, by manually creating a page with a different url (/discuss) which forwards to /forums with the url redirection meta tag.
    – Reading and re-reading the afforementioned instructions, some parts of which don’t make sense to me. e.g.: “Since you are setting up Sitewide Forums only, a) Disable (uncheck) Discussion Forums in the Settings > BuddyPress > Components panel”

    So far the ugly kludge is the only thing that provided both a link in the header and a successful load of the /forums page.

    • This topic was modified 14 years, 1 month ago by Todd Lyons.
    #117795
    RiGoRmOrTiS_UK
    Participant

    Just to add, it almost seems like the form content for bbpress isn’t pushing the div.container margin down for some reason. Is there any CSS code I could add to the bbpress CSS file to force the height of the form to push the div container down to fit?

    Removing what I highlight in the image makes the content visable but when reszing the editor it doesn’t resize the container but this all works like a dream when editing the very first post in the thread which is causing me utter confusion…

    Laughing Cat
    Participant

    ok found a solution

    function my_custom_bbp_stylesheet(){
    
        wp_deregister_style( 'bbp-default-bbpress' );
        wp_enqueue_style( 'bbp-default-bbpress', get_stylesheet_directory_uri() . 'mystylesheet.css' );
    
    }
    add_action( 'bbp_enqueue_scripts', 'my_custom_bbp_stylesheet' );
    
    #117786
    smiga
    Participant

    Downloaded the latest version of code.

    -“Mark all as read” works fine, tried for 439 topics at once, worked fast.
    -“Unread forum topics” under profile seams to be working (initially I had case when new topics did not appeared as unread, but I was not able to repeat and catch exact case how I got it)

    One remark – when user registers new topic or reply and do not wait 10 seconds his own topic appear as unread. Would be good to mark those immediately as read.

    #117751

    In reply to: Importing from phpBB 3

    Buovjaga
    Participant
    #117749
    Stephen Edgar
    Keymaster

    Did you run ‘Repair Forums’ after the import?
    https://codex.bbpress.org/repair-forums/

    Is this the correct URL for your new forums? httpp://elanillounico.com/forums

    #117748
    cocktail5555
    Participant

    Hello,
    I am new to WP and BBpress. Slowly learning the ropes as I play with the software. πŸ™‚

    I have my forums setup like this:

    States
    - Alabama
      - Swap Meet
      - Bulletin Board
    - Alaska
      - Swap Meet
      - Bulletin Board
    - Arizona
      - Swap Meet
      - Bulletin Board
    - Etc.
    

    I am sending users to a page that holds the “Create Topic” block to post directly into one of these forums. Problem is the user only has one drop down menu for selecting the forum to post in. That is a very large drop down list and could be confusing to the users.

    I would like to add a second drop down menu for selecting the sub-menu to post in.

    Example: User gets taken to the create topic page, fills in the information, select their state from drop down menu #1, then selects the sub forum. Press submit and it gets posted in the correct forum.

    How do I go about doing this?

    Please keep in mind that I am new to all of this and detailed directions would be greatly appreciated.

    Thanks SO much!

    #117744
    RiGoRmOrTiS_UK
    Participant

    I’ve got a strange layout issue on my bbpress forums where if you try to edit a “reply” in a topic the page content is cut off by a div; this doesnt effect editing the very first post of any topic however; which is strange because all the code, CSS classes etc look the same. I thought maybe a bbpress reply page used a different template.. but I’m not sure.

    Please see image.

    Link to image with further details

    Certainly hope someone can help as this is driving me nuts and I’ve spent ages getting the rest of bbpress to fit my theme only to discover this bug now πŸ™

    Please help!

    #117741
    castresana
    Participant

    Just tried again and the reply the window gives me is:


    Repair any missing information: Continue

    Conversion Complete

    No replies to convert

    No tags to convert

    Converting topics (47000 - 47999)

    Any ideas? Thanks!

    #117723
    Laura
    Participant

    Hi, I am having trouble installing the group component of buddy press. I follow all the directions and have created a file in my host root directory and pasted the code they said to. Despite this I go to the menu for groups and create a group – it says form valid and that is as far as it goes. The group is not in the directory and I can’t go on to the other things such as settings, avatar etc… I am not good at code or complex stuff like the rest of you so can any of you give me easy to understand suggestions or a way to get the group component live. Thank you so much!!
    Laura

    #117709
    Philip John
    Participant

    I’m creating a customised forums front page for bbPress, by listing forums in a different way to the bbPress default.

    Essentially what I’m trying to do is replace the use of bbp_list_forums() with a second, nested bbPress loop so that I have greater control over how the sub-forums are displayed.

    I know I can use the ‘before’ and ‘after’ parameters of bbp_list_forums() but that doesn’t give me as much control as I need.

    The only question I found that came close was this one which doesn’t actually provide a definitive answer.

    Code won’t paste nicely here so it’s over here: http://wordpress.stackexchange.com/questions/64681/creating-nested-forum-loops-in-bbpress

    See the bbp_list_forums() reference – in place of that I want another “while (bbp_forums())…” loop but how do I do that without interfering with the main loop?

    Thanks

    • This topic was modified 14 years, 1 month ago by Philip John. Reason: dodgy formatting fix
    • This topic was modified 14 years, 1 month ago by Philip John. Reason: try again
    • This topic was modified 14 years, 1 month ago by Philip John. Reason: *sigh* linking to code instead
    #117706
    johni33
    Participant

    Great, that works ok.

    Only thing is that is a global limit for both the widget and the main forum display and I’d like to have more showing when viewing the forum than when viewing the widget on the front page, is this possible (maybe calling a custom version of the form)?

    t.sjogren
    Participant

    Hi

    I am trying to remove the “Right Now in Forums” with a function but i donΒ΄t know hoe to target it. Someone how knows?

    Code below:

    
    function disable_default_dashboard_widgets() {
    
        // Right Now Widget
    
        remove_meta_box('dashboard_right_now', 'dashboard', 'core');
    
        // Comments Widget
        remove_meta_box('dashboard_recent_comments', 'dashboard', 'core');
    
        // Incoming Links Widget
    
        remove_meta_box('dashboard_incoming_links', 'dashboard', 'core');
    
    
        // Plugins Widget
    
        remove_meta_box('dashboard_plugins', 'dashboard', 'core');
    
    
        // Quick Press Widget
    
        remove_meta_box('dashboard_quick_press', 'dashboard', 'core');
    
    
        // Recent Drafts Widget
    
    
        remove_meta_box('dashboard_recent_drafts', 'dashboard', 'core');
    
    
        // WordPress Blog Feed
    
        remove_meta_box('dashboard_primary', 'dashboard', 'side');
    
    
        // Other WordPress News
    
    
        remove_meta_box('dashboard_secondary', 'dashboard', 'side');
    
    
    // bbPress widget 'Right Now in Forums'bbp-dashboard-right-now
    // *******Does not work right now *******//    
    remove_meta_box('bbp_dashboard_right_now', 'dashboard', 'core');}
    
    if (!current_user_can('manage_options')) {
        add_action('wp_dashboard_setup', 'disable_default_dashboard_widgets');
    
    }  
    
    #117686
    Stephen Edgar
    Keymaster

    Have you seen the shortcodes included with bbPress?
    https://codex.bbpress.org/shortcodes/

    • This reply was modified 14 years, 1 month ago by Stephen Edgar.
    #117681
    castresana
    Participant

    Hello everybody!

    I have a bbPress 0.9.0.7 forum running that works great. http://elanillounico.com/v5/foro
    It has it’s users linked to my WordPress 3.4.2. http://elanillounico.com/

    I wanted to migrate the bbPress to bbPress 2.1.2 (actual version) but I guess I am doing something wrong.
    The new url for the forum is: http://elanillounico.com/forums

    WHAT I AM DOING…

    First of all I’m installing bbPress 2.1.2 plugin and I activate it in my WordPress.

    Second I go to Tools – Forums – Import Forums, I select the bbPress1, I insert the db options and select all the options that suit my server so it doesn’t overload.

    I start the process and I wait until it finishes saying “No tags to convert” and then… I am getting this error πŸ™

    WordPress database error: [Table 'my_database_forum.bb_term_relationships' doesn't exist]
    SELECT convert(term_relationships.object_id USING "utf8") AS object_id,convert(term_taxonomy.term_taxonomy_id USING "utf8") AS term_taxonomy_id,convert(terms.name USING "utf8") AS name FROM bb_term_relationships AS term_relationships INNER JOIN bb_term_taxonomy AS term_taxonomy USING (term_taxonomy_id) INNER JOIN bb_terms AS terms USING (term_id) LIMIT 0, 1000

    Apart from this, the installation does not go right. When I go to my forums, the forums themselves are all right. But the topics are all mixted up. It looks like if the answers to the original topics are now topics as well, so I have the forums with all of the messages as if they were topics, they are not linked as if they were lost the id that linked them.

    Any idea of what this means and why this happened??

    Question I have: Do I have to upgrade first to version bbPress 1.1 before I upgrade to bbPress 2.1.2?

    Thank you very much! πŸ™‚
    Juan C.

    • This topic was modified 14 years, 1 month ago by castresana. Reason: needed to complete the issue
Viewing 25 results - 15,526 through 15,550 (of 32,581 total)
Skip to toolbar