Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 9,276 through 9,300 (of 26,874 total)
  • Author
    Search Results
  • #148891
    Robkk
    Moderator

    not sure but you probably have to set a max width for oembed embeds

    http://www.wpbeginner.com/wp-themes/how-to-set-oembed-max-width-in-wordpress-3-5-with-content_width/

    add the code to your functions.php in your child theme.

    change 600 to whatever number you want as the width, im sure you could copy the function to width to height and also do the height to.

    if the code doesnt work , look at the comments and try that user posted code. (i havent tried any of these codes so i dont know if they work really, if they dont just delete the function from your child functions.php)

    for images (using img quicktag) i think you can use css

    #bbpress-forums div.bbp-reply-content img, #bbpress-forums div.bbp-topic-content img {
    max-width: 100%;
    height: auto;
    }

    for images (posted by link using oembed , imgur , flickr picture, instagram picture) the oembed code that i linked to should do the same for these.

    #148888
    slayne76
    Participant

    Hi,
    I run a couple of different bbpress installations, of course they’re both up-to-date (2.5.4)

    I noticed that on both installations, when you trash a topic, and you try to “un-trashit” you receive a nonce error.

    I’m not sure if this issue depends on my personal configuration, but of course i disabled all other plugins and used a fresh wp install.

    Being a PHP developer I digged inside the core files of bbpress and I noticed that in includes/topics.php on line 818 the nonce is generated with

    wp_nonce_url( add_query_arg( array( '_wp_http_referer' => add_query_arg( array( 'post_type' => bbp_get_topic_post_type() ), admin_url( 'edit.php' ) ) ), admin_url( sprintf( $post_type_object->_edit_link . '&action=untrash', $topic->ID ) ) ), 'untrash-' . $topic->post_type . '_' . $topic->ID )

    so the “sent” nonce is basically untrash-topic_<ID>, while the nonce check on wordpress (on post.php line 265 is:

    check_admin_referer('untrash-post_' . $post_id);

    or basically untrash-post_<ID>.

    Can anyone tell me if other people found out a similar issue untrashing topics or is it just me? Thanks in advance for your support 🙂

    Paul
    Participant

    Hello, I have the same problem after upgrading from 2.3.2 to 2.5.4. I’ve tried different themes and had the same issue on all.

    I found that changing the Forum Root from forums to something else fixed the issue. This might help identify root cause.

    #148873

    Topic: BBPress at Root

    in forum Installation
    tatort
    Participant

    Hi,

    i dident find a new version of BBpress Standalone. So i install WordPress an add BBPress via Plugin.
    First my URL look like these:
    Forum-Root = http://forum.domain.de/forums/forum/
    Forum-Forums = http://forum.domain.de/forums/forum/test1/
    Forum-Tropic = http://forum.domain.de/forums/topic/ins-herz-zuerst/
    ;-(
    But after deaktivate (Prefix all forum content with the Forum Root slug (Recommended))
    it lock like
    Forum-Root = http://forum.domain.de/forum/
    Forum-Forums = http://forum.domain.de/forum/test1/
    Forum-Tropic = http://forum.domain.de/topic/ins-herz-zuerst/

    This look better but i dident want to use WP as CMS oder Blog. I only want a root install.
    Look like
    Forum-Root = http://forum.domain.de/
    Forum-Forums = http://forum.domain.de/test1/
    Forum-Tropic = http://forum.domain.de/topic/ins-herz-zuerst/
    is there a way to do that?

    #148860
    Robin W
    Moderator
    if (is_bbpress()) :
     div class=”abc”
    else :
     div class=”xyz”
    endif;

    translates to

    if you are on a bbpress screen/page/display [as opposed to a wordpress blog post or page, a home page or anything that isn’t bbpress]

    the use div class abc

    if you are on any other type of page use class xyz.

    Many themes use if statements checking against ‘conditional tags’ to style areas for instance the conditional tag is_home() checks whether this is the home or index page.

    Jerry
    Participant

    Got it solved! First, sorry for all the responses. I got lazy in posting the above instead of searching for the solution in the wordpress codex first. Turns out there is a function to return to the current blog, which I inserted within the “if” statement. Specifically, it is “restore_current_blog();”. Here is the working code:

    <?php
    /* 
    		Plugin Name: Recent bbpress Topics
    		Plugin URI: http://whosgotbooks.com/wp-content/plugins
    		Description: A plugin to display recent bbpress topics across the network
    		Version: 1.0.0
    		Author: Jerry Caldwell
    		Author URI: http://whosgotbooks.com
    		License: Open Source
    */ 
    /*
    Here is the shortcode required [recent-bbpress-topic]
    */
    function recent_bbpress_topics_shortcode() {                  
      recent_bbpress_topics(); }
      add_shortcode( 'recent-bbpress-topics', 'recent_bbpress_topics_shortcode' );
    
    //Add Recent Topics to BBPress
    function recent_bbpress_topics() {
    		switch_to_blog(9);
      if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 7 ) ) ) { 
          bbp_get_template_part( 'bbpress/loop', 'topics' );
          restore_current_blog();
          }
    // Hook into action
    add_action('bbp_template_after_forums_loop','recent_bbpress_topics');
    } ?>

    For anyone who wants to use this, a few more points. One, don’t forget the formatting for style.css. Two, I changed that formatting within a child theme. Three, I can’t guarantee you will have the same results with your formatting as I have made many other formatting changes the past few months for my site. Lastly, I did not “network activate” my plugin. I only activated it on the main site.
    As I get time I will add comments and try to increase the functionality of this plugin. Right now it is very basic. Maybe I’ll get good enough to publish it?

    Jerry
    Participant

    Update on this. It turns out my code was insufficient. If have fixed it, sort of, which has led to another problem. First, here is the updated code:

    <?php
    /* 
    		Plugin Name: Recent bbpress Topics
    		Plugin URI: http://whosgotbooks.com/wp-content/plugins
    		Description: A plugin to display recent bbpress topics across the network
    		Version: 1.0.0
    		Author: Jerry Caldwell
    		Author URI: http://whosgotbooks.com
    		License: Open Source
    */ 
    function recent_bbpress_topics_shortcode() {                  
      recent_bbpress_topics(); }
      add_shortcode( 'recent-bbpress-topics', 'recent_bbpress_topics_shortcode' );
    
    //Add Recent Topics to BBPress
    function recent_bbpress_topics() {
    	switch_to_blog(9);
      if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 7 ) ) ) { 
          bbp_get_template_part( 'bbpress/loop', 'topics' );
          }
    // Hook into action
    add_action('bbp_template_after_forums_loop','recent_bbpress_topics');
    } ?>

    Using the line “switch_to_blog(9);” works great to get the topics from site 9 to the main site. But now my problem is; it brings some unwanted behavior. The main content looks great, but the sidebars change to the format of site 9. Perhaps this has become a wordpress issue and not a bbpress issue? Perhaps I need to use code in addition to “switch_to_blog(9);” that prevents the unwanted behavior? If I need to change this to a wordpress thread, please let me know and I will. Otherwise, if you can provide a solution, that would be great.

    #148840
    Stephen Edgar
    Keymaster

    So to be clear, you feel that if I were to implement a work around for ‘last active time’ or wait to install BBPress version 2.6 that I can confidently run BBPress on a forum that size?

    Indeed, as you stated you need a fairly robust server though it sounds like you already have that. As bbPress 2.6 continues development I’d suggest you set yourself up a test install on your local PC and do some benchmarks and test the vBulletin importer as ~6.5 million posts will take a bit of time to import and familiarising yourself with how this works is worth knowing so you know what has to be done before you switch over your live site.

    Is ‘last active time’ really the bottle neck? As I understood this issue, it had to do with bbPress sharing the DB table with the WordPress posts.

    Yes, ‘last active time’ is the primary bottleneck as by default we sort topics based on the latest reply in a topic, though if a topic has no replies this is slotted in also.

    The full technical details of this are here https://bbpress.trac.wordpress.org/ticket/1925, it is not the easiest read and as there are two potential methods discussed. Primarily because of this ticket is why bbPress 2.6 is running late as there is a boat load of testing to be done to make sure we don’t break backwards compatibility.

    Lastly, do you have a target date for v2.6?

    3 weeks late 😉

    #148839
    superaven
    Participant

    Hi Stephan,

    Thanks for your reply.

    So to be clear, you feel that if I were to implement a work around for ‘last active time’ or wait to install BBPress version 2.6 that I can confidently run BBPress on a forum that size?

    Is ‘last active time’ really the bottle neck? As I understood this issue, it had to do with BBPress sharing the DB table with the WordPress posts.

    Lastly, do you have a target date for v2.6?

    Thanks again,

    Allen

    #148834
    superaven
    Participant

    Hi,

    We’re contemplating moving our website to WordPress and are looking at integrated forum options to replace an older version of vBulletin we’re running now. I know vBulletin to WordPress bridges exist, but I’m hesitant as its been a nightmare bridging it to our current CMS and hoping to also not have to maintain two separate scripts, never mind theming them both as well.

    Anyhow, I was informed that BBPress shares the same database table as WordPress and that migrating a forum as large as ours would have a massively negative effect on our WordPress install and properly affect our posts pretty bad.

    Our vBulletin forum has approximately 180,000 members, 100,000 threads and roughly 6.5 million comments.

    Any suggestions on how we might best proceed in a forum solution should we go the WordPress route for the rest of our website? I did see Simple:Press and saw it runs off a different table… Hate to be superficial, but looking at the website, it doesn’t really inspire confidence. (no offense)

    Thank you in advance for any input or insight that can help us make a decision.

    Jerry
    Participant

    I have been working for about 5 days to get topics from a forum on one site to show on my main page, which is a separate site. I’m running current versions of wordpress multisite, bbpress, and buddypress on my main page.

    I found some code via my searches and created a simple plugin. It works to display topics from a separate site on my main page. That was a victory for sure. The problem I am now having is the formatting! Arrghh! I cannot get it to format correctly.

    I know that others have been wanting to do this, so perhaps someone else can get me to the final step and we can publish a good plugin. Here is the code:

    <?php
    /* 
    		Plugin Name: Recent bbpress Topics
    		Plugin URI: http://whosgotbooks.com/wp-content/plugins
    		Description: A plugin to display recent bbpress topics across the network
    		Version: 1.0.0
    		Author: Jerry Caldwell
    		Author URI: http://whosgotbooks.com
    		License: Open Source 
    */ 
    
    function recent_bbpress_topics_shortcode() {                  
      recent_bbpress_topics(); }
      add_shortcode( 'recent-bbpress-topics', 'recent_bbpress_topics_shortcode' );
    
    // ! // Add Recent Topics to BBPress
    function recent_bbpress_topics() {
      if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 8 ) ) ) { 
          //bbp_get_template_part( 'bbpress/loop', 'topics' );
          bbp_get_template_part( 'loop', 'topics' );
          }
    // Hook into action
    add_action('bbp_template_after_forums_loop','recent_bbpress_topics');
    
    } ?>

    I have been trying to get this to format with bbpress.css. I managed to changed the css on one of my sites to get things how I want, but I can’t with this function. Here is a link of how I want things to look: http://whosgotbooks.com/book-reviews/
    And here is the link of the main page, where I can’t quite get it the way I want it: http://whosgotbooks.com/

    Here is the bbpress.css that worked on the review page, but doesn’t work for the main page:

    li.bbp-topic-title {
    	float: left;
    	text-align: left;
      overflow: hidden;
    	width: 75%;
    }
    #bbpress-forums li.bbp-body ul.topic {
    /*	border-top: 1px solid #7D573A; */ 
      border-top: transparent;
    	overflow: hidden; 
      display: inline-table;  
    	padding: 8px;
      width: 22%;
    }

    To get the books somewhat organized on the main page, I had to change width to 20% on the bbp-topic-title class above, and the bbp-body ul.topic changes do not help on the main page.
    This is the extent of my abilities. I would love to get rid of those annoying dots as well. Hopefully someone can help me get the rest of the way.
    Thanks…

    Miatsu
    Participant

    Hello,

    I’m actually using WordPress 3.9.1, BuddyPress 2.0.1 et bbPress 2.5.4 .

    For my website I have created differents forums for each user group. This forums will directly be displayed in the main menu as submenus.

    Is there a way to choose to display each forum submenu ONLY if the user is log in and a members of the group ?

    I have found some solution to filter menu by role, but in my case it will be the group that should be used to filter the menus elements.

    Thanks in advance !

    #148816
    mattmatt88
    Participant

    Hello,

    I have a WP multisite with different blogs but i want a single forum that is used by every blog. So every forum and post should be visible for every site.

    There was a topic 3 years ago: http://bbpress.org/forums/topic/wordpress-multisite-single-forum/

    Look like that is still no feature?

    Thank you.

    #148809

    In reply to: Error on Embing Media

    Stephen Edgar
    Keymaster

    This is expected, to embed YouTube videos or any of the other WordPress embeds such as Twitter, Flickr etc the URL must be on its own line with no other text.

    #148805
    Rami Yushuvaev
    Participant

    I think this is a WordPress question, not bbPress.

    #148797
    Robin W
    Moderator

    bbpress has its own roles

    so user not registered would see all public forums but not able to post, but would not see private forums
    registered users with wordpress roles would be able to do all wordpress things but with ‘no role’ in the user profile under forum would not be able to post in the forum.
    registered users with forum roles (eg participant, moderator) would be able to see public and private forums, and if wordpress roles set would be able to carry out wordpress roles
    registered users with spectator role would be able to view both public & private forums but not participate.

    you should be able to achieve whatever you want with a role based solution.

    come back with further details if this is not what you are trying to achieve

    #148791
    Robin W
    Moderator

    @saphadmin

    I have now fixed the issue, and posted the new version to my website

    I have posted the new version in

    bbp Private Groups

    I will post this to the wordpress plugins page in the next few days.

    Robin

    #148776
    davidslessmaccom
    Participant

    Hi,

    Looking at our error log, we get a recurrent error generated by bbpress which has led to 502 errors. We are using WordPress 3.9 and bbpress Version 2.5.4. would you please advise us on this:

    Thank you. http://communication.org.au

    The error log looks like this:
    [Sun Jul 06 00:49:32 2014] [error] [client 124.191.29.124] LONG QUERY (1540 characters long generated in /nas/wp/www/cluster-1417/davidsless/wp-content/plugins/bbpress/includes/users/functions.php:1531):

    
    SELECT 
    COUNT(NULLIF(meta_value LIKE '%"administrator"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"editor"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"author"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"contributor"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"subscriber"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"bbp\\_keymaster"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"bbp\\_spectator"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"bbp\\_blocked"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"bbp\\_moderator"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"bbp\\_participant"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"shop\\_accountant"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"shop\\_worker"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"shop\\_vendor"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"customer"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"shop\\_manager"%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level1″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level2″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level3″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level4″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level5″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level6″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level7″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level8″%', false)), 
    COUNT(NULLIF(meta_value LIKE '%"s2member\\_level9″%', false)), 
    COUNT(*) 
    FROM wp_usermeta 
    WHERE meta_key = "wp_capabilities", referer:
    

    Communication Research Institute

    #148775
    Stephen Edgar
    Keymaster

    Uncheck the bbPress setting “Forum Prefix – Prefix all forum content with the Forum Root slug” will be as close as you get giving you mydomain.com/blog/forum/

    The thing here is bbPress is a WordPress plugin so it ‘runs under’ WordPress.

    I am quite sure with a few tweaks of how your WordPress install is configured (you might also need some .htaccess rewrite rules) I think you could achieve what you are looking for though.

    See the following link on where I would start, will take a bit of planning and backups or course

    https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    #148772

    In reply to: Content Not Showing

    Stephen Edgar
    Keymaster

    I understand your frustrations throughout your posts above, but this is not bbPress, WordPress nor even Windows Azure fault, this all stems from somewhere along the line you were given bad advice that stated you have to use MSSQL and that is simply not true and is not supported by any of these parties.

    So based on your previous post to mine above, I suggest you delete WordPress from your Windows Azure site, create a Windows Azure MySQL database and install phpBB or whatever, I wish you luck.

    #148771

    In reply to: Content Not Showing

    Stephen Edgar
    Keymaster

    bbPress’ system requirements are the same as WordPress’ system requirements:

    Requirements


    https://wordpress.org/about/requirements/

    PHP version 5.2.4 or greater – MySQL version 5.0 or greater

    Using ‘Project Nami’ or whoever suggested it to you to use it I do not know, I would not recommend it and nor do the Microsoft Azure team recommend it.

    You should use a MySQL database and that is also what Microsoft Azure recommend and have ‘one click install’ for Windows Azure, Microsoft work with the WordPress Core team to include compatibility with each release of WordPress for both Windows IIS installs and Azure installs.

    The majority of bbPress ‘in theory’ should work with ‘Project Nami’ but there are specific parts of bbPress that never will, if WordPress Core supports MSSQL one day then we will update bbPress to also work with MSSQL, until that day though bbPress will only work 100% using MySQL.

    Here is my Windows Azure bbPress test site and it is using MySQL
    http://azure.netweb.com.au/forums/topic/this-is-bbpress-running-on-windows-azure-with-mysql/

    You should look to backing up your site including files and database and then export your WordPress content and start again using MySQL.

    Details on setting up WordPress with MySQL on Windows Azure are here:
    http://azure.microsoft.com/en-us/documentation/articles/web-sites-php-web-site-gallery/

    #148770

    In reply to: Content Not Showing

    Michael Bryner
    Participant

    Not really threatening, its a fact, even if it is volunteers working on it. Its WordPress.org project, but what makes no sense to me is that people say to use less plugins to make WordPress run better with less resources, but then we install a bbPress plugin for a forum to integrate with WordPress, but we are not using an all in one forum software like the others that are all out there for MySQL. So we have to add tons more plugins to get features you would get in a all in one forum software, and reduce the resources by doing it.

    I know what open source is, and really open source is not the best. It just give people that have no money to participate in helping with the project if they want, which to me does not sound promising. Paid using means better support and a more promising working solution. Not saying I am going to go out and buy one.

    Take a look at myBB, and phpBB. They are all in one forum softwares, and I would use them if I had MySQL option, but I don’t and the best out of hours of searching for a forum for my site at this time and I got 3 years free with Bizspark for my website at $150 month for that 3 years, and no separate income to just move over to another host with MySQL. I am stuck with bbPress, and I am just saying this is not much of an option to me, even if I just hoped that some day my topic and post just magically appeared out of the blue.

    I think I will skip waiting until 10 pm, and just take it off. Thanks for some help, but in reality nothing got done. I did what you asked me anyways, because I remembered doing them when you asked me to. So to just sit and hope a solution to hop right by with a forum on my site that no one that visits is trying to use, and can’t to me is pointless. Just a waste of website space.

    Facts here, and sometimes facts are hard to take. To me would make more sense that a WordPress.org project would be integrated into a all in one WordPress forum built in with no extra plugins, and then users have the option still to either use bbPress built in or turn it off and use another forum software, but looking to see a simpler solution through WordPress is not going to happen.

    Sorry, but what I just put is feedback, and I noticed now a days, companies no matter if they are making money or not, they rather not do anything with feedback, and just do it they way they want. I am surprised Microsoft is some what listening to their customers, but today not much is going on with feedback. Look how long bbPress has been available, and still is a separate plugin with more plugins for features.

    #148764

    In reply to: Content Not Showing

    Michael Bryner
    Participant

    I will give until 10 pm, which is around 6 and half hours, and then I am removing bbPress and never putting a forum on my site again until I can somehow get the income to move from getting free azure account from Microsoft with Bizspark to pay for other hosting that has MySQL. For bbPress supposed to work with WordPress out of the box, it sure isn’t doing it. Way too many bugs.

    #148761
    Robin W
    Moderator

    bbpress has a separate set of capabilities, so you can set permissions for the wordpress part of your site totally separately to the capabilities for bbpress.

    see

    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    and if needbe

    Custom Capabilities

    #148754

    In reply to: Content Not Showing

    Michael Bryner
    Participant

    Just one topic is added now, and I had two before that, but I been trouble shooting after removing everything from refresh to cleaning the forums and topics, and recreating them after, and I just added one topic only. I even tried a reply to the topic to see if it showed too, and no go, and removed it after that.

    Here is list of plugins I have:

    all in one seo pack pro

    all in one wp security

    bbpress

    disqus comment system

    easy smtp mail

    fusion core

    infolinks

    private messages add on for userpro

    user role editor

    VK.com Social Connect for UserPro

    WordPress User Bookmarks plugin for UserPro

    WP-Optimize

    WP Smush.it

Viewing 25 results - 9,276 through 9,300 (of 26,874 total)
Skip to toolbar