Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,476 through 15,500 (of 32,503 total)
  • Author
    Search Results
  • #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 13 years, 5 months 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 13 years, 5 months ago by Philip John. Reason: dodgy formatting fix
    • This topic was modified 13 years, 5 months ago by Philip John. Reason: try again
    • This topic was modified 13 years, 5 months 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 13 years, 5 months 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 13 years, 5 months ago by castresana. Reason: needed to complete the issue
    #117678
    @mercime
    Moderator

    > Ideally Iโ€™d like this an option in the settings but Iโ€™m happy to edit
    > the file for now

    Dashboard Settings > Forums — Per Page > Topics 15 Per Page
    Change 15 to the number you want

    #117677
    Paul Whitener Jr.
    Participant

    I’ve found a solution for this. It involves adding support for custom post types in the activity feed. As ‘forum’ is a custom post type you can add this (as well as other) post type’s updates to activity feeds.

    The solution is over in the BuddyPress forums:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/display-custom-post-types-in-activity-feed/

    The code that I got working is here:
    http://pastebin.com/VJ6pR9az

    Add ‘forum’ to the $media array to see sitewide forum activity. It only appears to work for content added after this is set up.

    The version of the code at the bottom of this page:
    https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/display-custom-post-types-in-activity-feed/

    Is intriguing to me as it allows you to customize the phrasing of the activity notices, but I was unable to get it to work.

    #117675
    @mercime
    Moderator

    > Yikes, I forgot to list one of the most important features I need. 6)
    > Integrated comments between the forum and the comment field of posts.

    You mean WP Post comments integrated with bbPress forums? I hope that’s not a deal breaker because as far as I know, either someone has still to create a plugin that can do that and release it OR you have to code it OR you have to hire a developer to make the plugin for you.

    re #1 – bbPress is responsive but needs some more tweaking https://bbpress.trac.wordpress.org/ticket/1933

    re #2 – like the left or right column at http://testbp.org/discussion/

    re #3 – hmm, haven’t seen a plugin like that, but it could be done

    re #4 – Nothing is perfect in this world. bbPress works all right out of the box. So unless you have a private community, then just like many forum scripts out there, you’d need some anti-spam plugins or better yet, an active community which tags spams so admin/keymaster or moderators can delete such posts and/or members

    re #5 – yes, easy to use

    #117672
    johni33
    Participant

    I’d like to have some control over the number of recent topics shown in the [bbp-topic-index] shortcode, presently it shows 15 items which is a too many for my liking.

    Where is the limit set and can it be changed without disturbing the normal forum display?

    Ideally I’d like this an option in the settings but I’m happy to edit the file for now.

    John

    #117670
    stoeffel-media
    Participant

    Sooo. is there a way to put it in my theme somehow? Maybe a php code-snippet I could use?
    Thx…

    #117646

    In reply to: Category Help

    williamalake
    Participant

    Sorry, it didn’t print the code. But I removed some code and it worked!

    leanderbraunschweig
    Participant

    Hi there – and sorry upfront for yet another question with regards to bbPress-Themes…

    • I have been doing thorough research in the forums, no answers for me…
    • Versions: WordPress running 3.4.2, bbPress is 2.1.2

    My situation_

    I have setup bbPress to work with my custom theme (OptimizePress) and embedded the [bbp-forum-index]-shortcode into a single page (“forum”). Here I could obviously pick a site-template and therefore the forum is nicely embedded into my site-layout.

    Since I cannot continue using shortcodes & (slug-)pages for dynamically generated topics, I went ahead and followed the customization instructions. I can ensure that the right (template-)files are called upon (inside my /theme-directory) because I played around with content-single-forum.php f.ex. and also checked for the correct CSS-reference.

    I also followed the instructions concerning the functions.php (in /theme):

    add_theme_support( 'bbpress' );
    remove_action( 'bbp_enqueue_scripts', 'bbp_theme_compat_enqueue_css' );
    

    Now I need to wrap the forum-specific template-files with the page-template used by my custom theme. I already tried integrating the bbPress-code into the exisiting page-template with no positive result (no server-response or strange loop-behaviour).

    Either I went down the right road but am weak in skill at modifying PHP-Code or there is a far easier approach I haven’t seen/figured out yet (which again doesn’t compliment me on my skill-level…).

    Anyways, maybe someone can help me out / hint me into the right direction.

    Thanks so much in advance,
    Regards

    Henning

    sb05
    Participant

    WordPress 3.4.2 / bbPress 2.1.2 / site: bit.ly/OVo94w

    Have never used bbPress before so bear with me.

    The main problem is all non-admin/author/etc users (including public) cannot see any of the posts (confirmed with a test account as both a basic and paid user). Anybody that’s not a user essentially can see the posts though. Can provide screenshots or test logins if needed.

    As if that wasn’t bad enough, after a WordPress update, a cropped version of the main logo for the site started showing up on the forum index after ‘Forums by’.

    There also seems to be an issue with public visibility of all the forums on the index (have checked permissions/etc). They all show up to a logged in user but only 2 of them show up for a non-registered/public user and bots indexing the site.

    Have tried a number of things so far that i have found in other topics here: Disabling Akismet (and a number of other plugins to see if there are any conflicts), Deactivating and Reactivating bbPress, deleting and re-creating the forums, and more.

    At this point I am a little lost, and not sure how to fix these and really would like to avoiding having to completely re-install bbPress/Wordpress.

    Thanks for your help in advance.

    #117613
    Colin Tedford
    Participant

    I had similar confusion. After reading this thread and the one Roger linked (and verifying that I was thus able to alter bbPress CSS), I edited https://codex.bbpress.org/theme-compatibility/ to hopefully prevent anyone else getting confused in the same way.

    When you learn something that seems like it should be in the documentation, please add it to the documentation for the rest of us!

    Rasheed Bydousi
    Participant

    Hello, I am using TwentyEleven and bbPress 2.1.2

    TwentyEleven has a width limit 980px and that is OK.

    I want to integrate bbPress but I want it to be 100% full screen width.

    I do not want the whole site to be 100% full screen width.

    I just want the forums to be 100% and the rest of the site to be 980px.

    The problem div id=bbpress-forums is inside div id=page

    page {
    
        margin: 0 auto;
        padding: 0 25px;
        width: 980px;
    }
    

    I donโ€™t know how to separate these divs.

    Any help? Thanks

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