Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 15,876 through 15,900 (of 64,454 total)
  • Author
    Search Results
  • #160409
    Robkk
    Moderator
    #160407
    tummybos
    Participant

    Thanks very much @robkk. The link on wp user query is a great tool to solve my problem.
    Concerning the use of BuddyPress, i think the link will be a problem in the sense that the links to the profiles that will be displayed will not link to the users forum profile. I want the links to go to user’s bbPress profile page, not the default wordpress user page nor the buddypress profile.
    So I have decided to go by the Wp user query way, but please how am I going to create the php code. Am i supposed to wrote it in a page? or where should I put the code and how will i create the page?
    Thanks.

    #160406
    Robkk
    Moderator

    @gptxffa

    Showing the comment your are replying to next to the reply to: text bbPress does not do that. That sounds like some custom development go to http://jobs.wordpress.net/ and post a job.

    as for reply threading , i guess not threading??

    see if its a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #160405
    Robkk
    Moderator

    @screenwavemedia

    create a copy of page.php rename it to bbpress.php and put a conditional tag into the code.

    i think use bbp_is_search()

    https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    bbPress Conditional Tags

    #160397
    Robkk
    Moderator

    what version of bbPress / BuddyPress / WordPress are you using?

    Robkk
    Moderator

    @mentions is not part of bbPress yet.

    but for now you can use the @mentions feature from BuddyPress and use on forums with this code.

    copy this into your child themes functions.php or use a functionality plugin.

    function custom_bbpress_maybe_load_mentions_scripts( $retval = false ) {
    	if ( function_exists( 'bbpress' ) && is_bbpress() ) {
    		$retval = true;
    	}
     
    	return $retval;
    }
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'custom_bbpress_maybe_load_mentions_scripts' );

    and i think you would get an email notification from BuddyPress anytime you get @mentioned

    for multiple users you can just separate it with a space.

    #160389
    Robkk
    Moderator

    There is a way using the wp user query

    https://codex.wordpress.org/Class_Reference/WP_User_Query

    plugins like BuddyPress have this type of feature too.

    bbPress does not have a feature/shortcode like this, but if you use BuddyPress , bbPress is compatible with it.

    #160384
    Lisa
    Participant

    Thank you, Stephen, for taking the time to create a mapping graphic. Much appreciated!

    One question: In my Forum code, the Forum_Parent, which is “0” (zero) identifies it as a thread starter, and because the Forum_Ancestor is not “0” (zero), lists it as a reply, underneath the parent, and multiples are ordered by date DESC. How does bbPress handle this? If I understand the methodology, I’ll do better at the mapping. Do I simply use the Forum_Parent for ALL?

    Hope I am clear in my question…

    Lisa

    #160381
    tummybos
    Participant

    I have a bbPress driven forum on http://ictgiants.com/questions/category/all and I want to create a page that will display the registered users on my website similar to http://stackoverflow.com/users.

    Please if there is a plugin or shortcode that does this, that is what I need
    Any idea and links will be appreciated.
    Thanks in advance

    #160380
    Stagger Lee
    Participant

    Profile counts topics and posts right, but display is wrong. Almost as you moved posts/topics between different Users (owners).
    Did you maybe deleted one User and made new one with same username ?

    Do you use caching plugin ? Fast, they usually work OK with bbPress.

    #160377
    mvasicm
    Participant

    Hi there,
    I have bbp-register shortcode, but I need to implement next step in the registration. Im using Paid Membership Pro to make membership levels. For now, I have only registration into bbpress, but the user is not redirected on the page where he can choose his membership level…Every new member is registered without any membership.

    Is it possible to add this feature into registration process?

    Thanks!!

    #160372
    Robin W
    Moderator

    ok, undo that previous change by deleting that file, it was rubbish !

    Then in your function file add

    function default_reply_subscribed() {
    
    		// Get _POST data  IE is this a first post of a topic?
    		if ( bbp_is_post_request() && isset( $_POST['bbp_topic_subscription'] ) ) {
    			$topic_subscribed = (bool) $_POST['bbp_topic_subscription'];
    
    		// Get edit data  IE either the author or someone else is editing a topic or reply
    		} elseif ( bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    
    			// Get current posts author
    			$post_author = bbp_get_global_post_field( 'post_author', 'raw' );
    
    			// Post author is not the current user EG a moderator is altering this. In this case we'll leave the default to blank, 
    			//as much of the time mods are correcting or moderating, their not interested in the topic itself !
    			if ( bbp_get_current_user_id() !== $post_author ) {
    				$topic_subscribed = bbp_is_user_subscribed_to_topic( $post_author );
    
    			// Post author is the current user  IE you're editing your own post, so default should be to see any replies
    			} else {
    				$topic_subscribed = true ;
    				//the next line is what it used to say instead of true
    				//bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() );
    			}
    
    		// Get current status
    		} elseif ( bbp_is_single_topic() ) {
    			//the user is writing a new reply ?
    			$topic_subscribed = true ;
    			//the next line is what it used to say instead of true
    			//bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() );
    
    		// No data
    		} else {
    			$topic_subscribed = true;
    			//used to say false !
    		}
    
    		// Get checked output
    		$checked = checked( $topic_subscribed, true, false );
    
    		return apply_filters( 'default_reply_subscribed', $checked, $topic_subscribed );
    	}
    	
    add_filter ('bbp_get_form_topic_subscribed', 'default_reply_subscribed') ;
    
    function default_log_edit_false() {
    
    		// Get _POST data
    		if ( bbp_is_post_request() && isset( $_POST['bbp_log_reply_edit'] ) ) {
    			$reply_revision = $_POST['bbp_log_reply_edit'];
    
    		// No data
    		} else {
    			$reply_revision = 0;
    		}
    
    		return apply_filters( 'default_log_edit_false', checked( $reply_revision, true, false ) );
    	}
    
    add_filter ('bbp_get_form_reply_log_edit', 'default_log_edit_false' ) ;

    Functions files and child themes – explained !

    that should do both topic edit and reply subscribed.

    #160368
    WutHirsch
    Participant

    O.K. Guys, i find the problem by my own.
    Typing Error, the right code is:

    #bbpress-forums, .article, div#content_box.sidebar_layout {
    	width: 100%;
    }

    But now my Start Page got a full width too, again.
    Hmm, ok so i have to try to fix it again.
    It would be easier if i would find the Page id from the forum root.

    But i dont know, where can i find it.
    Normaly i can see the page id in the urls.
    Its not possible here.

    #160366
    WutHirsch
    Participant

    Hello everyone,

    i am very new to CSS & HTMl, i tried to solve my problem by my own, but i didn’t get it.
    Maybe someone has a idea how i can fix my new bbpressforum.

    Only half of the site is used by BBpress. BBpress should use all the remaining free space.

    Thats why i tried yet.
    The widget area dissapeard and bbpress should fill out the empty space.
    But yeah, how you can see its not working. (http://www.forest-game.de)

    My Code:

    #bbpress-forums .article, div#content_box.sidebar_layout {
    	width: 100%;
    }
    #bbpress-forums .article, .sidebar.c-4-12 {
    	display: none;
    }

    Edit:, oh i did something wrong. The widgets areas on the other sites dissapeared too ^-^

    Kindly regards

    #160365
    JohnWilbanks
    Participant

    I am on my second attempt of using bbPress, but I am having a little issue. When someone creates a discussion post, it doesn’t show up. Check out my forum at DCCollectors.com, and you can see what I am talking about. When clicking on the post link, it doesn’t show what has been posted.

    #160362
    Stephen Edgar
    Keymaster

    You may need to extract the users out to a separate table, or you may be able to treat these users as “anonymous users”, I’d suggest first though I’d look at mapping some of the fields for the content only as that should not take much time to get up and running.

    First you want to do this with bbPress 2.6 ‘alpha’ rather than the current 2.5.6 release as there are significant improvements to the importers in the upcoming version.

    You can get your hands on 2.6 alpha via https://wordpress.org/plugins/bbpress/developers/ and it is listed under “Other Versions” as “Development Version”
    Or the direct download link https://downloads.wordpress.org/plugin/bbpress.zip

    Next you want to make a copy of Example.php from the includes/admin/converters folder of the plugin to MyConverter.php and in that file replace any instance of Example with MyConverter (this is case sensitive to be mindful of that)

    Next up start mapping the fields from your schema to the fields in MyConverter.php

    In the following screenshot I’ve mapped drawn lines to the easily concluded fields, any field mappings that you do not use you can simply delete, ideally using as many as you can will ensure the best bbPress experience for your data though.

    Take a stab at doing the above for the rest of your database, topics, replies etc and get back to us.

    If you need a place to host code snippets, use GitHub Gists: http://gist.github.com

    #160358
    Robin W
    Moderator

    ok thanks I can see it now.

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php
    bbPress will now use this template instead of the original

    then edit this file to change line 183

    <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" 
    

    etc.

    to

    <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="0" 
    

    etc.

    It will then be unchecked by default

    #160357
    Stagger Lee
    Participant

    Make CSS override. It will be lost with bbPress update.

    #160354
    Stagger Lee
    Participant

    Separate bbp-forum-content on bbpress.css line 537 or use !important:

    .bbp-forum-content {
    margin: 0 0 0 73px !important;
    }

    display:table; gives you same effect.

    #160348
    impressor
    Participant

    Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 1.7.)

    Why? and How to fix?

    Buddypress also had this error, but they fixed it almost 2 years ago. Something to do with calling is_user_logged_in()

    See here: https://buddypress.org/support/topic/debug-error-bp_setup_current_user-was-called-incorrectly/

    #160347
    phil_b
    Participant

    Hi all,

    I hope you guys can offer some advice suggestions here.

    This is the situation:

    – I have a wordpress multi-site setup (4 blogs in total)
    – There are currently 4 xenforo forums I need to import. These need to be imported in to my 4 multi-site blogs. One xenforo forum to each of the 4 blogs.
    – all users from all xenforo forums, imported in to each of the 4 blogs should be able to visit each of those 4 blogs and post in any they choose

    The goal is to ultimately have a single user base within my wordpress multi-site, but with 4 different forums running (one under each blog), where users can access and post data in all of them (as well as submit regular post comments etc)

    The main issue I can see me having is that each xenforo forum will have users who’s IDs start at 1, and go up to about 15,000 (lots of users!!). If I import one forum in to the first multisite blog, then what happens when I import the next forum in the second multisite blog? Will users get overwritten? Will forum topics/replies get attributed to the wrong user?

    Note: I am also running buddypress.

    A solution I have considered is to import all users from xenforo forum 1. Then loop through all users in xenforo forum 2 to update their ID’s to +15,000 (i.e user with ID 1 becomes user with ID 15001 etc). Then import that forum in to bbpress. Then do the same with xenforo forums 3 and 4 (+30000, +45000).

    That is a hefty task though.

    Any advice/help would be really appreciated!

    #160344
    Robin W
    Moderator

    writing an entire forum code for wordpress as a solo project seems to be a significant challenge, so using bbpress and amending that would seem to be a good strategy.

    ok, since you seem to be very php savvy, suggest you go to

    https://codex.bbpress.org/import-forums/

    and simply amend one of the templates there for your forum.

    #160343
    Lisa
    Participant

    I’ve made the decision to develop my new websites using WordPress. My goal is to eventually re-write my PHP code as a WordPress plugin, but, until then I need to use what’s available, and bbPress seems like a good option. I need to import/map my current tables to work with bbPRess, but not sure how?

    Here is the existing schema along with one parent record, and one child record:

    Forum_1962 (
    Forum mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
    Forum_Title varchar(200) NOT NULL DEFAULT ”,
    Forum_Author varchar(100) NOT NULL DEFAULT ”,
    Forum_Author_Email varchar(100) NOT NULL DEFAULT ”,
    Forum_Text text NOT NULL,
    Forum_Parent mediumint(8) unsigned NOT NULL DEFAULT ‘0’,
    Forum_Ancestor mediumint(8) unsigned NOT NULL DEFAULT ‘0’,
    Forum_Category smallint(5) unsigned NOT NULL DEFAULT ‘0’,
    Forum_Approved enum(‘0′,’1’) NOT NULL DEFAULT ‘1’,
    Forum_Entered_by varchar(10) NOT NULL DEFAULT ‘0’,
    Forum_Date_Created datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’,
    Forum_Last_Changed timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    PRIMARY KEY (Forum),
    KEY Forum_Parent (Forum_Parent),
    KEY Forum_Category (Forum_Category),
    KEY Forum_Approved (Forum_Approved),
    FULLTEXT KEY Forum_Title (Forum_Title),
    FULLTEXT KEY Forum_Text (Forum_Text)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

    Parent thread
    =============
    (19261, ‘Can I rent an RV?’, ‘BillB’, ‘bill@web-crafter.net’, ‘I\’d like to give RVing a try, but there\’s no way I\’m going to plunk down thousands of $$ to buy an RV. Is it possible to rent an RV like you\’d a car?’, 0, 19261, 1962, ‘1’, ‘rvcn’, ‘2002-12-12 13:52:29’, ‘2002-12-12 13:53:25’);

    Ancestor thread
    ===============
    (19262, ‘Re: Can I rent an RV?’, ‘Mark’, ‘mark@ittelligent.com’, ‘No problem. Just check your yellow pages for a rental agency in your area. I know there are a few national outfits too. Cruise America and El Monte come to mind off the top of my head.’, 19261, 19261, 1962, ‘1’, ”, ‘2002-12-12 13:59:42’, ‘2002-12-12 13:59:42’);

    You’ll notice that there are fields for both parent and ancestor, which allows for infinite sub-topic threads (those replies to replies under one parent). Also, I the author name and email are also stored in this table, and not tied to a separate user table (so will need to address that). Each MySQL dump is between 1MB and 3MB.

    Need any more information? Please advise.

    My goal is one of two options:

    1. Import/Map existing table dumps in several websites to WordPress and bbPress using above forum schema as source, OR
    2. Convert my existing PHP forum code to be compatible with WordPress and forget about bbPress altogether if I can’t easily map the table (I don’t know WordPress enough to even think about doing this myself, even though the code is simple and fast, and will ne advice on someone who can)

    I am doing this so I can better control the mobile templates and have a more robust way of controlling my websites. I need to do this for about 6 websites, and would like the method to do this myself after the first time.

    Thanks in advance,

    Lisa

    #160338

    In reply to: Login fails for Chrome

    Ronosho
    Participant

    I’ve disabled all plugins except the BBpress but still same situation.

    #160335

    In reply to: Login fails for Chrome

    Robin W
    Moderator

    if you’ve tried a default theme, them possibly a plugin conflict

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    the come back

Viewing 25 results - 15,876 through 15,900 (of 64,454 total)
Skip to toolbar