Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 8,326 through 8,350 (of 14,288 total)
  • @robin-w

    Moderator

    There is not a specific importer for Microsoft dynamics 365, but importing from a sql database is possible if you know where the data is stored.

    If you download bbpress, you can find an example importer in

    includes/admin/convertors/example.php

    if you can map where the data is in the source, then this can be tailored to import

    In reply to: Performance problem

    @robin-w

    Moderator

    Sorry that did not translate well, can you try again

    In reply to: Performance problem

    @robin-w

    Moderator

    bbpress powers some very large forums, including this one.

    Performance could be down to many many factors, and I’m not sure that we can help.

    In reply to: New install

    @robin-w

    Moderator

    what version of MySQL are you on ?

    @robin-w

    Moderator

    I don’t understand quite what β€˜bbPress Forum Redirect’ does – the plugin page seems to say it just takes you to an external site?

    1. What are you putting into the url on the metabox,
    2. I don’t understand what the user is doing can you give an example of what they are clicking/typing to start
    3. Can you then say what happens without and what happens with that is different ?

    @robin-w

    Moderator

    what other plugins do you have ?

    In reply to: Page security

    @robin-w

    Moderator

    There are miscreants out there who just have bad things on their minds.

    πŸ™‚

    In reply to: Page security

    @robin-w

    Moderator

    if you want to restrict to just registered users, then simply set the forum to private

    dashboard>setting>forums>all forums>edit forum and just set to private on then right hand side.

    If you want something more complex, then my private groups plugin gives lots of granularity

    Private groups

    @robin-w

    Moderator

    thanks

    @robin-w

    Moderator

    that link shows no topics.

    But if you can give me a link with an example, then I can help

    @robin-w

    Moderator

    ok, I’ve done a very basic version in my style pack plugin, which would let you use a shortcode in say a widget.

    bbp style pack

    once installed go to

    dashboard>settings>bbp style pack>shortcodes and see the last one

    In our case, we have only 5 forums and we were thinking it would be nice to show the same information available in the β€œForums” section in the backend of WordPress where it displays a column of the number of subscribers for each forum.

    Pascals tollkit will show the number of sucsbribers in the backend as a column

    bbP Toolkit

    I need to do much more to do what you want for the rest.

    @robin-w

    Moderator

    ok, I played with this for a while, and any solution would be site/theme specific and beyond free help I’m afraid.

    @robin-w

    Moderator

    @netweb

    Did you do a bbpress to bbpress importer? I know it was mentioned some time ago.

    @robin-w

    Moderator

    Possible? – not without a load of bespoke code – I’m afraid

    @robin-w

    Moderator

    forums have breadcrumbs to help navigation.

    Yours appear to be switch off, possible by your theme?

    @robin-w

    Moderator

    ok, just posting for anyone searching in future

    THIS IS A WORKING VERSION

    This code allows a standard gravity form lets it be saved as a gravity forum, but on saving also creates a new topic form for a specific forum

    add_action( 'gform_after_submission', 'set_post_content', 10, 2 );
    
    function set_post_content( $entry, $form ) {
    	//set the forum ID that the topic will be saved to
    	$forum_ID = '31086' ;
    	
    	if (!function_exists('bbp_insert_topic')) {
                require_once '/includes/topics/functions.php';
            }
    		
    		//getting post
    		$post_form = get_post($entry['post_id']) ;
    		$title = $post_form->post_title;
    		$content = $post_form->post_content;
    
            // The topic data.
            $topic_data = array(
            'post_parent'       => $forum_ID, // forum ID of Projects  hard coded
            'post_status'       => bbp_get_public_status_id(),   // Subscribed users can see this
            'post_content'      => $content,
            'post_title'        => $title,
            'comment_status'    => 'open',
            'menu_order'        => 0
            );
    
            // The topic meta.
            $topic_meta = array(
            'forum_id'    =>  $forum_ID,
            'reply_count' => 0
    		);
    
            $post_id = bbp_insert_topic($topic_data, $topic_meta);
               
    }

    @robin-w

    Moderator

    ok, we need to do some tests

    can you contact me via my website

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    @jkw217 if you can confirm my post above – ie

    can you confirm that

    β€œ5 random reply posts that arent working:
    – all have β€˜0’ for post_parent.
    – all have a postmeta _bbp_topic_id #

    I need to know that you

    a) have EXACTLY the same problem and
    b) have the postmeta as above

    then I can give you some code

    @robin-w

    Moderator

    what widget are you using to see that list ?

    @robin-w

    Moderator

    can you confirm that

    5 random reply posts that arent working:
    – all have β€˜0’ for post_parent.
    – all have a postmeta _bbp_topic_id #

    and I can give you some code

    @robin-w

    Moderator

    or you could link to the ‘forum’ class as it is just before the title

    eg

    .forum::before { 
         content: "Read this: ";
    } 

    @robin-w

    Moderator

    As it’s above the title, then it’s before bbpress kicks in.

    you could try

    if (is_bbpress) {
    echo 'hello' ;
    }

    but may not work

    Or try to add something to your theme page.php or equivalent before the title
    Something like (this won’t work it’s just to start you off!)

    $array = (2925, 3567,4567) ;
    if (in_array ($page_id, $array)) {
    echo 'hello' ;
    }

    where 2925 etc are forum ID’s

    @robin-w

    Moderator

    dashboard>topics>all topics>edit the topic and amend the forum on the right hand side.

    @robin-w

    Moderator

    @strike3 -sincere apologies for not getting back to you – your response slipped through the net.

    Glad you are fixed, and thanks for posting the link

    @robin-w

    Moderator

    suspect it an update conflict

    It could be 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 twentyfifteen, and see if this fixes.

    Then come back

Viewing 25 replies - 8,326 through 8,350 (of 14,288 total)