Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 8,726 through 8,750 (of 64,471 total)
  • Author
    Search Results
  • #185198

    Topic: PHP Version

    in forum Troubleshooting
    nizami
    Participant

    Just lost and regained forums on one of my sites. Host support wrote:

    We had upgraded php to 7.1 earlier this week. It appears that BBPress may not currently be compatible with the latest PHP. We have rolled back to PHP 5.6 and the forums are working again. However, to make sure that all sites are working on the suggested standards set by the WordPress core team, we will be upgrading all instances to PHP 7.1 within the next two months. It is possible that BBPress may make updates improving the compatibility in that time, but it is never a bad idea to be proactive on that front.

    So what’s the deal with BBPRess PHP version compatibility please?

    Robin W
    Moderator
    #185192
    spurtinfo
    Participant

    Hi!

    I want to integrate bbPress with my existing theme, but I’m worried about crash my theme by doing so. I don’t know if my theme is compatible with bbPress.

    I have WordPress version 4.8

    Regards
    Terje

    #185181
    KeiGirl
    Participant

    BBPress 2.5.12 WordPress 4.8

    I’ve search high and low but haven’t been able to find any resolve to this. I’ve used different plugins to help with my problem but haven’t been able to get exactly what I want. I’ve made a screen-capture of what my problem is. Can someone with knowledge please tell me how to remove the html editor from showing below the visual editor? I want to see the html editor only when the text/html tab is clicked. It’s confusing with the html just below the visual editor like that. I’ve tried the display:none but it the html editor was also not showing when I clicked the text/html tab.

    WP Editor Screenshot

    #185174
    balloonsc
    Participant

    Widget issue in bbpress ( Version 2.6-rc-3 )

    I have setup “Maximum topics to show: 3” on Recent topics, Recent replies
    http://prntscr.com/fofhyb
    But it doesn’t really work. it seems to display all.
    http://prntscr.com/foffbz

    I have just switched to v2.5.12 and tested. It works fine.
    http://prntscr.com/fofj3j

    I am not sure if it’s already reported or I have missed something.

    BTW, Thank you for all of your work. I am so excited to use 2.6!
    Can you please tell me when it should be released? maybe in a week?

    Cheers!!

    #185173
    steini1992
    Participant

    Hello,
    i must edit the template from my last topics overview. Later it`s must show like:
    Result

    But now its look like: Now

    I have add the bbpress.css to my theme and have chance some thinks (you can see, I have delete the counts, etc.). But I must add the big profile image (now I have only a very small picture who pixelated when I chance the size). Additionally I want to add the date and the time when the post are written and the first line of the content.
    –> I think for this i must edit the template files.

    Have you any idea which template file i must edit (I have tested some but without any result)?

    Thanks for your help.

    #185172
    PinkishHue
    Participant

    @casiepa Hi again, I don’t see an option to send you a private message but wanted to let you know I installed the plugin (thanks), but I’ve noticed it has altered the display of my subforums (removed the topic and voice counts, and made the font larger), even though I have not checked that option in the plugin settings.

    Here’s the info from the plugin if it’s any help.

    WP version 4.8
    Theme Make (child theme) 1.1.0
    PHP version 5.6.30
    bbPress version 2.5.12-6148
    site url (removed, on localhost XAMPP)
    Active Plugins Name and Version
    – p1 bbP Toolkit 1.0.10
    – p2 bbP shortcodes 2.8
    – p3 bbPress 2.5.12
    – p4 BuddyPress 2.8.2
    – p5 User Switching 1.0.9
    – p6 WordPress Social Login 2.3.3

    #185168
    PinkishHue
    Participant

    Thanks for all the info above. I’ve added the ‘bbPress-Topic-Subscribers’ plugin and that works great.

    To try and do the same for forum subscriptions I’ve copied the files and changed all instances of ‘topic’ to ‘forum’, and it’s listing the users fine, but when you click the unsubscribe link nothing happens.

    Looking at the code, I think it must be something in this section that is not right:

    		$forum_id = bbp_get_forum_id();
    		
    		if ( $forum_id && current_user_can( 'moderate' ) ){
    			$subscribers = bbp_get_forum_subscribers( $forum_id );
    			if ( $subscribers ){
    				echo '<table style="width: 100%">';
    				foreach ( $subscribers as $subscriber ){
    					$subscriber = get_user_by( 'id', $subscriber );
    					echo '<tr>';
    						// avatar
    						echo get_avatar( $subscriber->ID, 45 );
    						echo ' ';
    						//username
    						echo $subscriber->user_login;
    						echo ' ';
    						// remove button
    						echo bbp_get_forum_subscription_link(
    							array(
    								'user_id'     => $subscriber->ID
    							)
    						);

    Specifically maybe the ‘bbp_get_forum_subscription_link’ area? Does anyone have any suggestions on why this wouldn’t work for forums in the same way as topics? Many thanks for any help you can give.

    #185166
    Stagger Lee
    Participant

    Here it is.
    You hijacked topic a bit.
    I still dont understand why you use bbPress as Blog/Posts tool when WordPress is made for this. Almost as you are not so good on theming, and looking for shortcuts.

    – Make own image size
    – Change “slider” to name of own image size.
    – There is a class to center image, give it maybe some gray background for smaller featured mages. fix margins and paddings, etc…

    function ntwb_bbpress_random_single_topic() {
            global $post;
    	    if ( has_post_thumbnail($post->ID) )
    	    	echo get_the_post_thumbnail($post->ID,'slider',array('class' => 'forum-topic-featured'));
        }
    // Hook into action
    add_action('bbp_template_before_lead_topic','ntwb_bbpress_random_single_topic');
    #185165
    Milan Petrovic
    Participant

    Hi,

    I have created a plugin for adding polls into bbPress topics (front end editing from the topic form):

    https://plugins.dev4press.com/gd-topic-polls/

    If you want to test plugin (admin side and front end), you can request demo here:
    https://www.dev4press.com/request-demo/

    Regards,
    Milan Petrovic

    #185159
    andrew55
    Participant

    I don’t mean to ramble, but I think the solution will be something such as:

    if (Am_Lite::getInstance()->haveSubscriptions(364) && ($reply_user_id($topic_id) ))

    I just add bbpress statement to my already existing “if” statement using an “And” operator.

    I’m just getting caught up on the bbpress part.

    Any suggestions on what the bbpress code would be to “just show for the author of this reply?”

    Thanks for any help.

    #185155
    andrew55
    Participant

    I’ve got a simple “php if snippet” I’m trying to get into loop-single-reply.php.

    Here is an example of my snippet (used for a seperate membership script):

    <?php
    require_once '/members/library/Am/Lite.php';
    $user = Am_Lite::getInstance()->getUser(); 
    ?>
    <?php
    if (Am_Lite::getInstance()->haveSubscriptions(364))
    {
    ?>
    <span class='custom-user-donation-badge'>I've Donated!</span>
    <?php
    }
    else {
    // do the other thing
    ?>
    <?php
    }
    ?>

    I need the code snippet to show only in the profile area of the reply author, if it applies to them.

    In other words: “show this if it applies and only show if it applies to this specific reply author.”

    I’ve used these before for something similar:

    $reply_user_id = bbp_get_reply_author_id();
    $reply_user = new WP_User( $reply_user_id )

    I’m still leaning php and bbpress. Any suggestions on how I can wrap my code snippet with these bbpress statements? This way, my code snippet will only apply if it applies to the specific author.

    Thanks for any suggestions.

    #185154
    TKServer
    Participant

    Do you have author/avatar in replies too? Then there would be no need for users end point. Paging is huge. I’m using @mapofemergence API for paging currently.

    I’ve now joined the #bbpress slack!

    #185152
    Pascal Casier
    Moderator

    @coachhads, what version of bbPress/WordPress are you running ?

    #185150
    PinkishHue
    Participant

    See this info –

    bbp_topic_author_link

    To display just the avatar linked to the member profile you would use:

    <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => false, 'type' => 'avatar' ) ); ?>

    or for reply author’s:

    <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => false, 'type' => 'avatar' ) ); ?>

    Hope that helps

    PinkishHue
    Participant

    1) Topic Type and Topic Status are only viewable to you/forum admins (aka keymasters), regular users do not see them

    2) Wherever you add custom CSS (probably ‘Appearance > Customize’ in the admin menu’s), add this:

    .bbp-forum-title {
      font-size: 18px; /* make this size whatever you prefer */
    }

    3) This functionality isn’t built in to bbpress but you could add another plugin to make this happen. Here is an old topic that might provide some suggestions for you: https://bbpress.org/forums/topic/rating-and-sorting-plugin/

    Hope that helps

    PinkishHue
    Participant

    Using latest BBpress, Buddypress and WP, and tested on a fresh install with WP default theme.

    When viewing a member profile at http://localhost/mysitename/members/testuser/forums/replies/ there is no ‘in reply to:’ and link to the topic in the header of each reply. Just the date.

    I thought perhaps it was theme related (I was using a child theme of the ‘Make’ theme) so have tested on fresh everthing, and it’s still happening.

    I’ve created a new topic from the front end and the back end to see if that was related. I’ve used the forum tools to recalculate everything, I’ve ‘reset’ all forums and started again, still not there.

    Can anyone else recreate this? Any suggestions? Am I misunderstanding something? Thanks

    #185146
    sourfew
    Participant

    bbpress 2.6rc3
    Importing vbulletin forum and running “Recalculate the position of each reply” give me a blank screen and this message in php.log

    [25-Jun-2017 06:56:07 UTC] PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 126976 bytes) in /home/html/xxxx/public_html/testcms3/wp-includes/wp-db.php on line 1841
    [25-Jun-2017 06:56:07 UTC] PHP Fatal error: Allowed memory size of 629145600 bytes exhausted (tried to allocate 65536 bytes) in /home/html/xxxxx/public_html/testcms3/wp-includes/functions.php on line 3720
    [25-Jun-2017 06:56:07 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

    I increased memory from 300M to 6G but still not enough. I have restarted several times but still not finished.

    #185145
    TKServer
    Participant

    Wow am I so brain dead that I created that users end point on my own branch of your version 1.0.2 and don’t even remember? (just read previous posts and yes, apparently I did!) All I’m getting from that service is name and avatar, but that was because those were not in the latest topics or replies. If both of those had author name and avatar, I might have no need for a users endpoint unless one wanted to list posts or replies by user.

    I’m very close to releasing a read-only version of my app. A day or two likely.

    I just joined the WP slack but that’s way too busy and focused on wp core. I think a separate channel for bbPress or the api would be good.

    #185140
    Stagger Lee
    Participant

    Seems as it is cooming soon. Here is a link to keep an eye on it:

    bbPress Topics to WP Posts Converter

    #185138
    sourfew
    Participant

    Not able to search for users after importing users and posts from Vbulletin 4.2 to bbpress 2.6RC3. I can go to the profile if I know the name.

    Imported users have not been mapped to any forum roles or site roles.

    #185135
    Stagger Lee
    Participant

    Here is code for forum index, forum featured images, not topics:

    /*
    Plugin Name: bbPress - Forum Icons
    Plugin URI: https://gist.github.com/ntwb/8277457
    Description: bbPress - bbPress - Forum Icons
    Version: 0.1
    Author: Stephen Edgar - Netweb
    Author URI: http://netweb.com.au
    */
     
    // Original Source: http://www.kristarella.com/2013/04/bbpress-forum-icons/
     
    add_post_type_support('forum', array('thumbnail'));
     
    function ks_forum_icons() {
    	if ( 'forum' == get_post_type() ) {
    		global $post;
    	    if ( has_post_thumbnail($post->ID) )
    	    	echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon'));
    	 }
    }
     
    add_action('bbp_theme_before_forum_title','ks_forum_icons');
    #185134
    Stagger Lee
    Participant

    In theme functions.php or custom field with functions.php.
    It gives featured image metaboxes in backend. Then you display featured image on front as any other post type featured. See how your theme is doing this and copy/paste whole code block.

    As you need only fetaured image allowed for admins and moderators you can use this:

    add_post_type_support('topic', array('thumbnail'));
    add_post_type_support('forum', array('thumbnail'));
    /*
    Plugin Name: bbPress - Forum Icons
    Plugin URI: https://gist.github.com/ntwb/8277457
    Description: bbPress - bbPress - Forum Icons
    Version: 0.1
    Author: Stephen Edgar - Netweb
    Author URI: http://netweb.com.au
    */
    // Original Source: http://www.kristarella.com/2013/04/bbpress-forum-icons/
    add_post_type_support('forum', array('thumbnail'));
    function ks_forum_icons() {
    	if ( 'topic' == get_post_type() ) {
    		global $post;
    	    if ( has_post_thumbnail($post->ID) )
    	    	echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon'));
    	 }
    }
    add_action('bbp_theme_before_topic_title','ks_forum_icons');

    I will see later what is the best way to allow all Users to set topic featured images.
    But dont see much point in it. Thousands of forum topics, thousands of images on server x all WP image sizes. Big mess.

    locutus1
    Participant

    Hi. I’m new to WordPress. I’m creating a site and I wanted it to have a forum so I installed bbPress. There are 2 categories in the menu. Each of them contains forums. There’s 3 issues I have.
    1) Under the text box for writing a comment, visitors to the site will see “Topic Type” and “Topic Status”, each with its own drop-down menu. I don’t want visitors to have access to those. I looked through all the forum settings and can’t find a way to get rid of them. How do I do it?

    2) The font used for the menu is fine but the font used for the forum names is too small. Where do I increase the font size for forum names?

    3) Is there something built in to the plugin that lets visitors rank or vote for posts? High-ranking posts would appear above other posts. Does the plugin have anything like this?

    Thanks.

    #185123
    Chad R. Schulz
    Participant

    They are php templates inside bbPress. The default location in bbPress is /plugins/bbpress/templates/default/bbpress/ look for the ones labelled feedback-no-*****.php and alter/edit the ones you want changed and place them into your theme’s bbpress folder.

    Easy peasy.

    Chad

Viewing 25 results - 8,726 through 8,750 (of 64,471 total)
Skip to toolbar