Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,201 through 1,225 (of 6,788 total)
  • Author
    Search Results
  • #189923
    jkw217
    Participant

    Using the default wordpress export/import tool:

    The problem started when importing the topics, they would import fine but would not display or show up in the parent forums. This was easily fixed if I resaved them. But this is an issue due to having over 2,400 topics and 15,000 replies.

    I ran into another problem, because we have imported the user and usermeta table first, when importing topics and replies it asked to assign them to the user account. I manually have to select the user to assign them to, if I do not it would assign them all to my admin account. So I tried that with the topics and assigned them all to user account. However this did not assign all topics to the user account, some (about 150) topics were still assigned to me.

    So what I tried was doing a raw forums, topics and replies data dump of the posts and postmeta and importing to the existing NEW tables. This was almost flawless with 0 data loss except for the fact that there are duplicate ID’s, about 1400 in the posts table and thousands more in the postmeta table.

    Do you know of a way that we can run a script on the 2 tables and give all unique ID’s starting at a specific number that would match both the id on posts and post_id on postmeta table. I have extracted the forums, topic and reply data and imported them to their own table. If I gave new id’s I could easily import them without duplicate errors. What do you think of this? This is the way we really prefer to do it for 0 data loss. Keeping the forums, topics and replies exactly as they are now.

    version bbPress 2.5.14

    We’re going BBPRESS TO BBPRESS both same version.

    #189919
    jkw217
    Participant

    Using default wordpress exporter/importer. Moving forums, topics and replies from one database to the other. BBPRESS to BBPRESS.

    Also found that I have to resign users to their topics and replies on the import, which is very time consuming. If I just click import, the topics and replies get assigned to my account, when the other users account do exist.

    I finally found out that if I just do a raw mysql dump I can import all the data with 0 loss and they get tied to the correct account but the problem with that lies in the ID – I get duplicates because of the data that is already existing from pages and blog posts. Do you have a script that I can run to easily changes ID’s across 2 tables “posts” and “postmeta”? I think that would be the best way of handling a migration.

    #189865
    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

    #189857

    In reply to: User Registration

    Robin W
    Moderator

    when they first log on they are allocated the default role that you set in dashboard>settings>forums.

    you can use the bbpress logon widget in a sidebar, use the shortcode [bbp-login] on a page or post, use any wordpress logion plugin or technique, or add a login to your menu using

    https://wordpress.org/plugins/bbp-style-pack/

    #189826

    In reply to: This forum is empty

    Robin W
    Moderator

    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/content-single-forum.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/content-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so change line 26 from

    <?php bbp_single_forum_description(); ?>

    to

    <?php if (bbp_get_single_forum_description != 'This forum is empty.') bbp_single_forum_description(); ?>

    #189812
    ibywind
    Participant

    Hello Robin,

    I have checked. But still I cannot find out why.

    When I installed the bbpress, it is not installed as the default looks. maybe because the theme author revised it automatically ? So this plugin does not work?

    #189809

    Topic: Quicktags

    in forum Installation
    wrapson
    Participant

    Can any one tell me what the Quicktags shortcuts actually do ? strong I’ve worked out makes the text bold but what about the others ? I’ve looked at the Quicktag Defaults and while it tells you how to set them up – no where does it say what they do.

    #189801
    418design
    Participant

    Just realised what might be causing some confusion but the problem still seems to exist.

    I am using a plugin to hide the forums so they are private. Thats why when your not logged in you see a bbpress message that I have modified to say you need to login (Think it said there are no forums here by default).

    I have now made some of the forums available to the public in the hope that might work but I just tested. Went to the site, loaded the forum, logged in, went back to the forum and I have to refresh the page/cache before I can see the form to post a new topic.

    Its not just my local cache either, someone else had the same problem.

    Feel like I am missing something stupid! Gravity forms is powering my registration process if that makes any difference?

    #189790
    418design
    Participant

    i mean once they have registered and logged in.

    if they visited the page with forums on before all that when they return logged in it still shows the default bbpress you must register message.

    you have to refresh to see the forum?

    #189784
    jemar707
    Participant

    Unable to Delete, Edit or Close *Some* Topics

    During cleanup, I came across topics that I was trying to close and wouldn’t close. This happens both in the front end and back end. In the backend, the message ‘Topic…has been closed successfully’ is displayed; however, the topic remains open. In troubleshooting, I tried to edit the topics. When I update the topic, it just reverts changes. I have found about 40 topics that have this behavior, but other topics close just fine. I am doing a massive cleanup and have about 4800 more topics to review and potentially close, but presume I will run into more as I go along.

    Steps I took to troubleshoot further: deactivated all plugins except, bbpress; switched to default WP theme, reset permalink, ran repair tools and turned on debug. The same behavior exists and debug is not throwing any errors.

    I looked at underlying records for some of these problematic topics in the database and the post status is published, comment status is closed in wp_posts. Not sure if this information helps, but I also took a look at the wp_postmeta and found that there are ~4 entries for _bbp_status with meta value published on each of these topics and 25+ entries for _sticky_post with meta value 0. I thought the _sticky_post meta was interesting because these topics were not sticky.

    I’m using WP 4.9.2 and bbpress 2.5.14

    Probably more info than needed —- but I really need to close these topics if anyone can help.

    Robin W
    Moderator

    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

    jsteckler1
    Participant

    Hi @casiepa,

    Thank you for jumping in!

    Some additional details about my situation:

    Upon submission of a specified Gravity Form, I am attempting to create a new topic under a specified forum (Forum ID: 31086).

    While creating the new Topic was simple enough with the Custom Post add-on—which successfully created the Topic, including the body of the topic post, accordingly—the topic was being listed under “No Forum.” @cjerrells post got me closer, encouraging me to add another custom field named _bbp_forum_id with a default value of 31086 (the forum ID). After doing that, the assigned forum seemed to display correctly on the backend, but:

    1) The breadcrumb would only display the forum after editing and resaving the post again

    — It still will not, however, show on the front-end forum among the other forum topics

    2) The topic would finally display correctly on the front-end among the other forum topics only after adding a reply to the topic post.

    Here is a screenshot of my Gravity Form settings, as well as the code cjerrells kindly provided within my functions.php file. My ability to write php is still very elementary, and it seems a bit difficult to find a full list of bbPress actions and hooks, so I wasn’t sure exactly what needed to be altered to fit my needs.

    I would be beyond appreciative if you could give it all a look and get back to me with any thoughts or ideas you may have.

    #189662
    Robin W
    Moderator

    ok, let’s see if this works

    This just adds an action on any post save and if it is a forum and has no post parent, we add your default one

    AGAIN THIS IS UNTESTED !!

    add_action( 'save_post', 'add_forum_id' );
    
    function add_forum_id( $post_id ) {
    	//get post type and post parent id
    	$post_type = get_post_type($post_id) ;
    	$post_parent = wp_get_post_parent_id ($post_id) ;
    	//if it's a forum and has no post parent (allows for normal topic creation, and other posts type creation etc.)
    	if ($post_type == bbp_get_forum_post_type() && (empty ($post_parent))) {
    		// Update topic (post) 1234  forum (post) 321
    		$my_post = array(
    			'ID'           => $post_id,
    			'post_parent'   => 31086,
    		);
    
    		// Update the post into the database
    		wp_update_post( $my_post );
    	}
    
    }
    jsteckler1
    Participant

    Using Gravity Forms and bbPress, I am attempting to create a new topic, within a specific forum, upon form submission.

    I have tried to incorporate the Gravity Forms Custom Post Type add-on to accomplish this, but, presumably due to the non-heirarchial structure of bbPress forums, I only seem able to either:

    A) Create a new FORUM with the submitted data
    or
    B) Create a new TOPIC that goes unassigned to any forum

    So, basically, unless a topic can be created as a child of a forum, I’m not sure there’s a way to get this working with that add-on.

    Is there any way I can force the topic to be created within a specified forum using php? Any other thoughts or alternatives? Maybe a workaround that forces all topics created via Gravity Forms submission to default to a specified forum?

    For what it’s worth, I am using Gravity Forms for users to submit event proposals. My idea is to then have the submission data routed into a forum like bbPress where the powers that be may vote on and discuss each proposal.

    #189629
    avaiya
    Participant

    Wordpress Version:4.9.2
    bbPress Version: 2.5.14
    Site: http://www.avaiya.com

    I have a couple of questions related to the default emails that get sent when people post to forums, follow topics, etc.

    1. These emails show up as being sent from our admin email address, with the name Avaiya Media. I’d like to edit the name and the email address sending the emails. Do you know how I can do that?

    2. These emails send a notification to the person who subscribed to that forum post, but they also
    automatically send an email to noreply@avaiya.com. This is bouncing. How can I remove this email address when these emails are sent?

    Thanks!

    #189621
    Robin W
    Moderator

    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

    #189604
    Robin W
    Moderator

    never seen that before, and like you all I can find on a google is reference to Mojo Marketplace

    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

    #189598

    In reply to: Hold topic

    max143
    Participant

    This plugin is independent from default function(link in topic https://prnt.sc/i1vufg). I want controll this function and show lead topic in one branch(topic), but hide at another. But this plugin can not do this.

    #189577
    Robin W
    Moderator

    It wasn’t until I started googling this that I notice it is a recurring issue with bbpress sites using smtp, and hasn’t got a definitive answer.

    As far as I can see two things seem to help.

    1. amending the from address
    2. not sending bulk emails

    this plugin seems to address these two issues

    Can you try it and report back

    AsynCRONous bbPress Subscriptions

    also there is a code snippet that lets you change the from address that smtp may well need -I don’t think it is needed as the plugin does this I hope (I haven’t tested the plugin), but quoted just in case 🙂

    However, something causes that in the forum post notifications the “From” is set back to the default <noreply@domain.com>, although it is set to different/custom address by the WP Mail SMTP plugin. My web hosting service blocks the PHP mails sent from unknown addresses, so that’s the reason why the e-mails are not delivered.

    /*BBPress email fix*/
    add_filter( 'wp_mail_from_name', 'email_sent_from_name' );
    function email_sent_from_name( $name )
    {
        return 'SITE NAME';
    }
    add_filter( 'wp_mail_from', 'email_sent_from' );
    function email_sent_from( $email )
    {
        return 'email@example.com';
    }
    urbexjordan
    Participant

    EDIT: I’ve gotten half way! I’ve set “no sidebar” as the default option… now this is where I am stuck! https://image.prntscr.com/image/HONffga5SYq3DA6wi_CcxA.png

    #189512
    Robin W
    Moderator

    ok, 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

    #189511
    liderxlt
    Participant

    Thanks for answering…
    As I mentioned in the open topic today https://bbpress.org/forums/topic/do-not-see-the-topic-in-forum/ What I did was prepare an xml file with the information to upload in the forums , topic and replies.

    I am using the plugin all import to load because it allows me to use cron tasks daily, not overload the server and not rewrite what is already loaded.

    I can do the import and visualize it correctly in the dashboard. The problem is that it is not displayed in the frontend. As far as I could see the post_parent of the topic is 0 … It must be equal to _bbp_forum_id.

    These are the parameters for the topic:
    _bbp_topic_id = 2231
    _bbp_forum_id = 2229
    _bbp_reply_count = 0
    _bbp_voice_count = 1
    _bbp_forum_parent_id = 2229

    Parameters replies:
    _bbp_topic_id = 2231
    _bbp_forum_id = 2229
    the_reply_parent_topic_id = 2229

    The other parameters, such as Post Status, are already automated.
    The good thing about the import plugin is that it allows you to introduce functions in import http://www.wpallimport.com/documentation/advanced/execute-php/

    I leave an extract of the topic export, there you can see how it takes the values but not the post_parent one

    <title>2586/15</title>
    		<link>http://localhost/expedientes/forums/topic/2586-15/</link>
    		<pubDate>Fri, 19 Jan 2018 03:22:16 +0000</pubDate>
    		<dc:creator><![CDATA[liderxlt]]></dc:creator>
    		<guid isPermaLink="false">http://localhost/expedientes/forums/topic/2586-15/</guid>
    		<description></description>
    		<content:encoded><![CDATA[<p style="text-align: center;"><strong><span style="text-align: start;">
    <strong>CAUSA:</strong> JUICIO EJECUTIVO]]></content:encoded>
    		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
    		<wp:post_id>2113</wp:post_id>
    		<wp:post_date><![CDATA[2018-01-19 00:22:16]]></wp:post_date>
    		<wp:post_date_gmt><![CDATA[2018-01-19 03:22:16]]></wp:post_date_gmt>
    		<wp:comment_status><![CDATA[closed]]></wp:comment_status>
    		<wp:ping_status><![CDATA[closed]]></wp:ping_status>
    		<wp:post_name><![CDATA[2586-15]]></wp:post_name>
    		<wp:status><![CDATA[publish]]></wp:status>
    		<wp:post_parent>0</wp:post_parent>
    		<wp:menu_order>0</wp:menu_order>
    		<wp:post_type><![CDATA[topic]]></wp:post_type>
    		<wp:post_password><![CDATA[]]></wp:post_password>
    		<wp:is_sticky>0</wp:is_sticky>
    		<category domain="topic-tag" nicename="2586-15"><![CDATA[2586/15]]></category>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_activity_id]]></wp:meta_key>
    			<wp:meta_value><![CDATA[10]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_author_ip]]></wp:meta_key>
    			<wp:meta_value><![CDATA[120.000.001]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_last_active_time]]></wp:meta_key>
    			<wp:meta_value><![CDATA[2016-02-03]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_reply_count]]></wp:meta_key>
    			<wp:meta_value><![CDATA[0]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_voice_count]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key>
    			<wp:meta_value><![CDATA[default]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_forum_id]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1327]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[_bbp_forum_parent_id]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1327]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[post_parent]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1327]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[wp_get_post_parent_id]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1327]]></wp:meta_value>
    		</wp:postmeta>
    		<wp:postmeta>
    			<wp:meta_key><![CDATA[parent_id]]></wp:meta_key>
    			<wp:meta_value><![CDATA[1327]]></wp:meta_value>
    		</wp:postmeta>
    	</item>

    Can it be solved with the correct function?
    Thanks for your time @netweb

    #189473
    Robin W
    Moderator

    all the templates are held in

    templates/default/bbpress

    the main forum is displayed using

    content-archive-forum.php

    and that then calls pretty much the rest in a hierarchy, so start there

    #189462
    Robin W
    Moderator

    ok, I can’t help you with winscp, but what you need to achieve is the following.

    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/loop-single-forum.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/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this

    so line 38 says

    <div class="bbp-forum-content"><?php bbp_forum_content(); ?></div>

    delete this and in its place put these lines

    <div class="bbp-forum-content">
    		
    		<?php setup_postdata(bbp_get_forum_id()) ; 
    				
    		$excerpt = get_the_excerpt() ;
    		
    		echo $excerpt ;	?>
    		
    </div>

    This will then put the first 55 characters of your content.

    Once you have achieved that, come back and I’ll show you the second part.

    #189428
    tarao
    Participant

    I created two forums as category (named ‘dog’ and ‘cat’).
    and I want to show pages which belongs to each category in completely different layout and design.
    So, I hit on a following idea as a solution.
    1)create a new bbpress theme (./plugins/bbpress/templates/new-template)
    2)when users see pages which belongs to ‘dog forum’, activate default theme.
    and when users see pages which belongs to ‘cat forum’, activate new theme.

    In other words, switching bbpress theme and templates depending on forums that users are currently seeing.
    But I don’t know how to put it into practice.

    help please.

    sorry for my poor english!

Viewing 25 results - 1,201 through 1,225 (of 6,788 total)
Skip to toolbar