Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,976 through 2,000 (of 11,569 total)
  • Author
    Search Results
  • #189523
    Robin W
    Moderator

    your theme (or maybe other plugin) is only loading bbpress.css on what it thinks are bbpress pages, and it is not treating the front page and profile as bbpress.

    I don’t think bbpress 2.6 is doing that, but a quick flip to twentyfifteen would confirm, although I think you are saying you have already tested that above?

    Do you have a plugin that is trying to minimise css loading or is your theme being too clever ?

    #189513
    Stephen Edgar
    Keymaster

    I’d still prefer to see the database schema, not data that’s already been parsed.

    From what I can see you’ve got various issues with that WXR data:

    <wp:post_type><![CDATA[topic]]></wp:post_type> <- topic shouldn’t be wrapped in ![CDATA[ / ]], I’m not sure if that or any other instances apart from content will be affected by this.

    _wp_page_template shouldn’t be included, if the post_type was page, then yes, but topic post type shouldn’t have a _wp_page_template meta key, again, I’ve no idea what the resultant behaviour of this would be, maybe ok, maybe not.

    • You have the following, which is correct: 1327 is the “forum ID”

    `
    <wp:postmeta>
    <wp:meta_key><![CDATA[_bbp_forum_id]]></wp:meta_key>
    <wp:meta_value><![CDATA[1327]]></wp:meta_value>
    </wp:postmeta>
    `

    • Just above the above, you have the following which is *not* correct, post_parent is *not* “post meta”, this should be in the wp_posts table and *not wp_postmeta

    `
    <wp:postmeta>
    <wp:meta_key><![CDATA[post_parent]]></wp:meta_key>
    <wp:meta_value><![CDATA[1327]]></wp:meta_value>
    </wp:postmeta>
    `

    • Closer to the top of your code you have <wp:post_parent>0</wp:post_parent>, this is where the post_parent should include that 1327 forum id.

    I suspect if you can get 1327 into that last item above you’ll be all set, or at least progressed somewhat, I’m pretty sure the repair tools will be able to recalculate the topic meta once that is in, so that’s another option to repair any meta issues.

    This might be a handy reference https://codex.wordpress.org/Database_Description

    Also checkout https://bbpress.trac.wordpress.org/ticket/2516, the file attached to that ticket is a pretty comprehensive WXR XML file of forum, topics, and replies layed out per the description in that ticket, it might be worth importing into a test site to help visualise the data when looking at the source of the XML file 🙂

    #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

    #189500
    LucasHilty
    Participant

    Bumping this. I have the same problem. I am using the latest activity version of the main forums page.
    Once a user opens a forum, he or she is allowed to create a new topic.
    Screen shot

    #189479

    In reply to: @mentions not working

    pjbarry21
    Participant

    Does not autopopulate/work in forum discussions using the visual editor, although cutting and pasting or typing handles changes them into links upon saving — most of the time. Sometimes we have to go back in and edit/remove spaces around the entry for it to show up.

    To try to get a little more functionality on a test site, I’ve added code from here: https://bbpress.org/forums/topic/mentions-not-becoming-links-some-times/ — but this only works in the text editor and not in the visual editor.

    It does autopopulate in activity feeds and does work in resources (bpdocs).

    #189459
    Audiomonk
    Participant

    Hi,

    Been looking through here for quite a while, am wanting to change the styling of the edit post screen. Currently it’s got a red background *urk* and looks bad. It’s probably inherited from my main theme I don’t know.

    Can someone point me where the styling for the post edit screen is. I tried using an editor but it only shows styles that seem to be for main posts.

    Latest BBpress,latest WordPress. No link as it’s an edit screen, but you can view the site at https://jwfsanctuary.club

    #189458

    Topic: Hold topic

    in forum Troubleshooting
    max143
    Participant

    I click topic to make it hold on the top, but on another page there are no topic on the top

    Первое обсуждение


    http://prntscr.com/i1vufg – hold On
    http://prntscr.com/i1vurr second page

    swagataminnovations
    Participant

    Looks interesting, but this one’s too is not updated since 2 years…folks normally won’t install a plugin which are not timely updated and the untested version…

    #189405
    Pascal Casier
    Moderator

    You refer to ‘community’, so if you are using BuddyPress, then you better ask in https://buddypress.org/support/

    If you really refer to bbPress forums, then I have some good news: In the upcoming v2.6 you can define moderators per forum. The release candidate (already very stable) of that version is available on https://bbpress.org/download/ if you want to already test it.

    #189360
    andrew55
    Participant

    Robin – Thank you very much.

    I have topic icon created in test forum (it’s in 2nd forum):

    homepage

    I’ve tried and tried, but I can’t figure out how to style the font awesome font.

    I need to get it moved down, and I need to get the title and description of forum moved to the right a bit.

    Anyone have a suggestion for how to accomplish this? Or, is there maybe a better way to use Font Awesome fonts as topic icons (template edit, function, etc)?

    #189307
    Robin W
    Moderator

    the quick and dirty solution is to get the topic IP before executing bbp_insert_reply and reset it afterwards

    eg (untested)

    $reply_data = array('post_parent'=>$post_parent, 'post_content' => $post_content);
    $reply_meta = array('forum_id'=>$post_forum_id, 'topic_id' => $post_topic_id);
    //get the topic IP so we can reset it later
    $ip = get_post_meta( $topic_id, '_bbp_author_ip', false );
    bbp_insert_reply($reply_data,$reply_meta);
    //reset the topic IP
    update_post_meta( $topic_id, '_bbp_author_ip', $ip, false );

    I could spend a long time working out a more elegant fix, but hopefully the above will be enough !

    #189293
    Robin W
    Moderator

    I am fairly sure that this is a theme issue.

    As a test switch to the theme twentyseventeen and see if the issue goes away.

    #189291
    Darko Dinic
    Participant

    Hi dear support,

    we have installed your plugin on our website and apparently it’s not working properly.

    If we use the shortcodes to place it on some page:

    Forum TEST

    It shows list of forums but once you try accessing some forum it shows empty page:

    Muske Carape

    Also, the default forum page is not working:
    http://jadran.paprikart.rs/forums/

    We already tried disabling all the plugins to rest assured that plugin conflict is not making some conflict there and it’s still not working.

    WP version 4.9.1.

    Can you please take a look at it and advise?

    Thanks in advance!

    #189275
    timsilva_
    Participant

    Hi @johnjamesjacoby and team. Like everyone else, I’ve been waiting for the 2.6 release for a few years now. I can see that the last remaining ticket is for the “bump” functions that have been in there for a while.

    I’m just curious, are bump functions uniquely challenging to code? Either way, is there anything that I (or anyone) can do to help get this task finished? I have somewhat arbitrarily been waiting for the 2.6 release to make some changes to my site. I’m contemplating updating to the RC5 release. By the way, where can I find the latest RC download link? I dug around but couldn’t find a copy. The RC5 link here (https://wordpress.org/plugins/bbpress/advanced/) is still broken.

    #189265
    Robin W
    Moderator

    ok, no idea why this is happening – 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

    #189244
    vokzal48
    Participant

    here is a new topic via the control panel (test forum): http://avtovokzal-elets.ru./forums/topic/test-foruma/

    #189217
    Dirk1312
    Participant

    Hi all,

    I’d like to create new topics and posts from a former, self-developed forum. The data is available in a xml structure containing the following information:

    – parent post id (0 if its the topic initializing post itself)
    – author
    – subject
    – post
    – timestamp

    I now would like to insert the data via sql statements; all entries shall be added as anonymous posts. I can prepare them on my own, but I’ve no clue in which tables my posts have to be added. What I already did: Created a test forum, dumped the whole forum, added a new topic as anonymous user and again created a dump. Then I compared both dump files via notepad++. Now I’m not sure, which entries I really need.

    The following tables were extended:
    – bbpas
    – Counterize_Pages
    – options
    – popularpostsdata
    – popularpostssummary
    – postmeta
    – posts
    – statistics_pages
    – statistics_useronline (this is clear, that I don’t must extend this table manually?!)
    – statistics_visit (this is clear, that I don’t must extend this table manually?!)
    – statistics_visitor (this is clear, that I don’t must extend this table manually?!)
    – wfHits (I guess this is also some kind of statistics and must not be filled manually?!)

    Could you please help me? There should be no need to first lock the manually created entries and activate them as admin.

    Thanks and kind regards,

    Dirk

    #189205
    vokzal48
    Participant

    updated wordpress and bbpress to the latest versions, but unfortunately it did not help.
    WP: 4.9.1 bbPress:2.5.14

    brent0r
    Participant

    functions.php

    add_filter( 'bbp_get_topic_freshness_link', 'rew_freshness_no_date_link' , 100, 5) ; 
    	
    function rew_freshness_no_date_link($anchor, $topic_id, $time_since, $link_url, $title) {
    	if (!empty ($topic_id)) {
    	?>
    	<a href="<?php echo $link_url; ?>"><?php echo $title ;?></a> (<?php echo $time_since ; ?>)
    	<?php
    	}
    	else echo 'No topics' ;
    }

    It works perfectly when viewing the category page that lists all topics. When I click the topic however and view the post it displays the following in the breadcrumbs:
    › Forums › General › Mobile General › hi Reply To: test (3 weeks, 2 days ago)

    See how it adds the topic title with (the date) that has its link removed, to the end of the breadcrumb.

    #189163
    Robin W
    Moderator

    ok, should have tested before sending, but coded it late last night and I have been out all day !

    Now had a chance to try it, and correct code is

    add_filter( 'bbp_get_topic_freshness_link', 'rew_freshness_no_date_link' , 100, 5) ; 
    	
    function rew_freshness_no_date_link($anchor, $topic_id, $time_since, $link_url, $title) {
    	if (!empty ($topic_id)) {
    	?>
    	<a href="<?php echo $link_url; ?>"><?php echo $title ;?></a> (<?php echo $time_since ; ?>)
    	<?php
    	}
    	else echo 'No topics' ;
    }
    #189152
    brent0r
    Participant

    Thanks again Robin, yes you’ve understood exactly what I was trying to achieve. I tested the above example, it throws Notice: Use of undefined constant active_id – assumed ‘active_id’ in /var/www/html/wp-content/themes/name/functions.php on line 94

    Once I remove bbp_topic_permalink($active_id) eg. bbp_topic_permalink() it works as it should. (I’m not sure if removing that is the right way to go, but doing so seems to help it work)

    There is one little issue though which I’ve noticed since applying the above. The breadcrumb links now have an additional link and date at the end of the breadcrumb. (example: https://goo.gl/9q3NjW) Posts and the forum index are not effected though.

    Thanks once again 🙂

    Robin W
    Moderator

    SORRY – just read you post again, and now I think I understand

    on one site you want the code as above

    on another site you just want a single post, but with title and date, but no link on the date – yes ?

    if so then untested but this should be it

    add_filter( 'bbp_get_forum_freshness_link', 'rew_freshness_no_date_link' , 100, 6) ; 
    	
    function rew_freshness_no_date_link($anchor, $forum_id, $time_since, $link_url, $title, $active_id ) {
    	if (!empty ($active_id)) {
    	?>
    	<a href="<?php bbp_topic_permalink($active_id); ?>"><?php bbp_topic_title(active_id) ?></a> (<?php bbp_topic_last_active_time(active_id); ?>)
    	<?php
    	}
    	else echo 'No topics' ;
    }
    #189122

    In reply to: 404 user profile

    Rixter
    Participant

    After a long search (I thought I tested all plugins… 🙁 ) I discovered it was indeed a plugin that got in the way. Specifically: “404page – your smart custom 404 error page”.

    Problem solved!

    #189112
    Robin W
    Moderator

    Log out and log in again

    I’d also look strongly at updating your wordpress and bbpress versions to the latest, as they both have security updates

    Robin W
    Moderator

    in place of your code put back the original

    	<?php bbp_forum_freshness_link(); ?>
    

    and then add this to your functions file

    add_filter( 'bbp_get_forum_freshness_link', 'rew_freshness_last_three' , 100, 6) ; 
    	
    function rew_freshness_last_three ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ) {
    	//set up and run a query to get a list of all topics in this forum that this user can see
    	// Setup possible post__not_in array
    	$post_stati[] = bbp_get_public_status_id();
    
    	// Super admin get whitelisted post statuses
    	if ( bbp_is_user_keymaster() ) {
    		$post_stati = array( bbp_get_public_status_id(), bbp_get_private_status_id(), bbp_get_hidden_status_id() );
    
    	// Not a keymaster, so check caps
    	} else {
    
    		// Check if user can read private forums
    		if ( current_user_can( 'read_private_forums' ) ) {
    			$post_stati[] = bbp_get_private_status_id();
    		}
    
    		// Check if user can read hidden forums
    		if ( current_user_can( 'read_hidden_forums' ) ) {
    			$post_stati[] = bbp_get_hidden_status_id();
    		}
    	}
    	// Parse arguments against default values
    	$r = array(
    		'post_parent'         => $forum_id,
    		'post_type'           => bbp_get_topic_post_type(),
    		'post_status'         => implode( ',', $post_stati ),
    		'ignore_sticky_posts' => true,
    		'posts_per_page' => -1
    		);
    	
    
    	// Create a new query for the topic list
    	$get_posts = new WP_Query();
    
    	$topics = $get_posts->query( $r ) ;
    	
    	//var_dump ($topics) ;
    	
    	//now run through this list and get the last active date of each topic
    	foreach ($topics as $topic) {
    		$id = $topic->ID ;
    		$last_active = get_post_meta( $id, '_bbp_last_active_time', true );
    		$curdate = strtotime($last_active);
    		$show[$curdate] = $id ;
    		}
    	if (!empty ($show)) {
    		//so now we have a list of dates with topic ids, so we need to find the latest 3
    		arsort($show);
    		$count=0 ;
    		foreach ($show as $topic) {
    			$count++ ;
    			?>
    			<a href="<?php bbp_topic_permalink($topic); ?>"><?php bbp_topic_title($topic) ?> (<?php bbp_topic_last_active_time($topic); ?>)</a>
    		<?php
    			if ($count == 3) break ;
    		}
    	}
    	else echo 'No topics' ;
    
    	
    }

    It has to sort through all topics for all forums to work this out, so it may slow your forums index display and get worse as your forum content grows.

Viewing 25 results - 1,976 through 2,000 (of 11,569 total)
Skip to toolbar