Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 5,501 through 5,525 (of 11,591 total)
  • Author
    Search Results
  • #135394
    Hansaplastique
    Participant

    One step further: if I try to submit this code in my test environment (local network), it works just fine.

    Does anyone have an idea how to debug/approach this issue?

    #135391
    m1000
    Participant
    #135388
    daivdwhite
    Participant

    I thought you need to figure it out to the admin!

    Razva
    Participant

    Hello,

    I would like to know how to make the “frontpage” of our forum exactly like this forum (bbPress Support). The frontpage should have a paginated “stream” with the latest topics, in the sidebar I should have the forums categories, etc.

    Can you please give me a hint?

    Thanks!

    #135356
    Zlogin
    Participant

    Seems that it is quite outdated but how you measure your server response time? Have you checked how your server responds for different locations? Try these to tools http://www.dotcom-monitor.com/WebTools/website-performance-test.aspx and http://www.dotcom-monitor.com/WebTools/free-server-uptime-test.aspx

    #135338
    yguvvala
    Participant

    Hi,

    I have installed bbpress forums on to my wordpress site. I created some forums for testing purpose we have anonymous posting enabled I deleted those forums and created real ones now but my old forums show up when i am not signed in. but when i signin as admin i can see my new forums. and old forums are gone

    my site : http://jump2health.com/forums/

    if you go to the site you will see old ones as you are not logged in,
    how ever the admin view is different

    you can login using credentials below and here http://jump2health.com/wp-admin

    user name : samhitha
    password : nutrition123

    ovizii
    Participant

    These two are in need of a serious overhaul and I lack the skills to do it. Please read this text and let me know if you agree or if I’m looking for something nobody else needs?

    Lets look at the recent replies widget:
    If I have the widget show the last 10 replies, and the last 10 replies happened to be on the same topic, you only see that one topic, everything else is drowned out.
    The good thing is, if I click on a reply, I jump straight to that reply, not to the beginning of the topic.

    Lets look at the recent topics widget:
    Sorting by newest topics, this is pretty neat but I wish one could also show the specific forum with each recent topic shown. Clicking a topic sends you to the beginning of that particular topic, which is cool, after all its a new topic.

    Now to get what I was looking for with regards to the recent replies, I am now using the recent topics widget but sorted by topics with recent replies. Except that it doesn’t list the latest poster but the thread creator and it links to the topic’s beginning and not to the latest reply.

    I kinda feel we had a lot more power, plugins and extensibility with the old bbpress before version 2 came along.

    Unfortunately, I’m not a coder so I can either wait until someone helps out or move to another solution.

    Any thoughts?

    #135287
    vogelsang
    Participant

    I am working on getting a drupal forum migrated to bbpress. I am using the bbpress importer tool. The forum I am migrating has about 4000 topics and 40000 replies. The migration works fine for a few topics, but seems to get stuck at random places after about a 1000 records are migrated. This makes me think that it is not a data problem. More likely some sort of timeout.

    Have any of you experienced something similar? I am running things locally with the most recent stable versions of WP and bbpress.

    Here is my script. It is not well-tested. Any suggestions for improvements are welcome and feel free to use it as part of bbpress in whatever way you feel like.

    
    <?php
    
    /**
     * Implementation of Drupal Forum converter.
     */
    class Drupal extends BBP_Converter_Base
    {
    	function __construct()
    	{
    		parent::__construct();
    		$this->setup_globals();
    	}
    
    	public function setup_globals()
    	{
    		/** Forum Section ******************************************************/
    
    		// Forum id. Stored in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'tid', //TODO correct ID??
    			'to_type' => 'forum', 'to_fieldname' => '_bbp_forum_id',
    		);
    		
    		// Forum parent id.  If no parent, than 0. Stored in postmeta.
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'forum', 'from_fieldname' => 'parentid',
    		//	'to_type' => 'forum', 'to_fieldname' => '_bbp_parent_id'
    		//);
    		
    		// Forum title.
    		$this->field_map[] = array(
    			'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'name',
    			'to_type' => 'forum', 'to_fieldname' => 'post_title'
    		);
    		
    		// Forum slug. Clean name.
    		$this->field_map[] = array(
    			'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'name',
    			'to_type' => 'forum', 'to_fieldname' => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    		
    		// Forum description.
    		$this->field_map[] = array(
    			'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'description',
    			'to_type' => 'forum', 'to_fieldname' => 'post_content',
    			'callback_method' => 'callback_null'
    		);
    		
    		// Forum display order.  Starts from 1.
    		$this->field_map[] = array(
    			'from_tablename' => 'taxonomy_term_data', 'from_fieldname' => 'weight',
    			'to_type' => 'forum', 'to_fieldname' => 'menu_order'
    		);
    		
    		// Forum date update.
    		$this->field_map[] = array(
    			'to_type' => 'forum', 'to_fieldname' => 'post_date',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type' => 'forum', 'to_fieldname' => 'post_date_gmt',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type' => 'forum', 'to_fieldname' => 'post_modified',
    			'default' => date('Y-m-d H:i:s')
    		);
    		$this->field_map[] = array(
    			'to_type' => 'forum', 'to_fieldname' => 'post_modified_gmt',
    			'default' => date('Y-m-d H:i:s')
    		);
    
    		/** Topic Section ******************************************************/
    
    		// Topic id. Stored in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'nid',
    			'to_type' => 'topic', 'to_fieldname' => '_bbp_topic_id'
    		);
    		
    		// Forum id. Stored in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'tid',
    			'to_type' => 'topic', 'to_fieldname' => '_bbp_forum_id',
    			'callback_method' => 'callback_forumid'
    		);
    				
    		// Topic author.
    		$this->field_map[] = array(
    			'from_tablename' => 'node', 
    			'from_fieldname' =>  'uid',
    			'join_tablename'  => 'forum_index',
    			'join_type'       => 'INNER',
    			'join_expression' => 'ON node.nid = forum_index.nid',
    			'to_type' => 'topic', 
    			'to_fieldname' => 'post_author',
    			'callback_method' => 'callback_userid'
    		);	
    
    		// Topic content.
    		// Note: We join the posts table because topics do not have content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'field_data_body',
    			'from_fieldname'  => 'body_value',
    			'join_tablename'  => 'node',
    			'join_type'       => 'INNER',
    			'join_expression' => 'ON field_data_body.revision_id = node.vid', 			
    			'to_type'         => 'topic',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);		
    				
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'title',
    			'to_type' => 'topic', 'to_fieldname' => 'post_title'
    		);
    		
    		// Topic slug. Clean name.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 
    			'from_fieldname' => 'title',
    			'to_type' => 'topic', 
    			'to_fieldname' => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    		
    		// Forum id.  If no parent, than 0.	
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'tid',
    			'to_type' => 'topic', 'to_fieldname' => 'post_parent',
    			'callback_method' => 'callback_forumid'
    		);
    
    		// Topic reply count
    		// $this->field_map[] = array(
    			// 'from_tablename'  => 'forum_index',
    			// 'from_fieldname'  => 'comment_count',
    			// 'to_type'         => 'topic',
    			// 'to_fieldname'    => '_bbp_reply_count'
    			// //,
    			// //'callback_method' => 'callback_topic_reply_count'
    		// );
    		
    		// Topic date update.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'created',
    			'to_type' => 'topic', 'to_fieldname' => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'created',
    			'to_type' => 'topic', 'to_fieldname' => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'last_comment_timestamp',
    			'to_type' => 'topic', 'to_fieldname' => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'forum_index', 'from_fieldname' => 'last_comment_timestamp',
    			'to_type' => 'topic', 'to_fieldname' => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    
    		/** Tags Section ******************************************************/
    		
    		// Topic id.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'tagcontent', 'from_fieldname' => 'contentid',
    			// 'to_type' => 'tags', 'to_fieldname' => 'objectid',
    			// 'callback_method' => 'callback_topicid'
    		// );
    		
    		//Tags text.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'tag', 'from_fieldname' => 'tagtext',
    			// 'join_tablename' => 'tagcontent', 'join_type' => 'INNER', 'join_expression' => 'USING (tagid)',
    			// 'to_type' => 'tags', 'to_fieldname' => 'name'
    		// );		
    
    		/** Post Section ******************************************************/
    
    		// Post id. Stores in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'cid',
    			'to_type' => 'reply', 'to_fieldname' => '_bbp_post_id'
    		);
    		
    		// Forum id. Stores in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'forum', 
    			'from_fieldname' => 'tid',
    			'join_tablename'  => 'comment',
    			'join_type'       => 'INNER',
    			'join_expression' => 'ON forum.nid = comment.nid',
    			'to_type' => 'reply', 'to_fieldname' => '_bbp_forum_id',
    			'callback_method' => 'callback_topicid_to_forumid'
    		);
    		
    		// Topic id. Stores in postmeta.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'nid',
    			'to_type' => 'reply', 'to_fieldname' => '_bbp_topic_id',
    			'callback_method' => 'callback_topicid'
    		);
    		
    		// Author ip.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'hostname',
    			'to_type' => 'reply', 'to_fieldname' => '__bbp_author_ip'
    		);	
    			
    		// Post author.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'uid',
    			'to_type' => 'reply', 'to_fieldname' => 'post_author',
    			'callback_method' => 'callback_userid'
    		);
    		
    		// Topic title.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'subject',
    			'to_type' => 'reply', 'to_fieldname' => 'post_title'
    		);
    		
    		// Topic slug. Clean name.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 
    			'from_fieldname' => 'subject',
    			'to_type' => 'reply', 
    			'to_fieldname' => 'post_name',
    			'callback_method' => 'callback_slug'
    		);
    		
    		// Post content.
    		// Note: We join the posts table because topics do not have content.
    		$this->field_map[] = array(
    			'from_tablename'  => 'field_data_comment_body',
    			'from_fieldname'  => 'comment_body_value',
    			'join_tablename'  => 'comment',
    			// 'join_type'       => 'INNER',
    			'join_expression' => 'ON field_data_comment_body.entity_id = comment.cid',
    			'to_type'         => 'reply',
    			'to_fieldname'    => 'post_content',
    			'callback_method' => 'callback_html'
    		);	
    		
    		// Post content.
    		// BRUGES IKKE - SE OVENFOR
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'post', 'from_fieldname' => 'pagetext',
    			// 'to_type' => 'reply', 
    			// 'to_fieldname' => 'post_content',
    			// 'callback_method' => 'callback_html'
    		// );
    		
    		// Topic id.  If no parent, than 0.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 'from_fieldname' => 'nid',
    			'to_type' => 'reply', 'to_fieldname' => 'post_parent',
    			'callback_method' => 'callback_topicid'
    		);
    
    		// Topic date update.
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 
    			'from_fieldname' => 'created',
    			'to_type' => 'reply', 
    			'to_fieldname' => 'post_date',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 
    			'from_fieldname' => 'created',
    			'to_type' => 'reply', 
    			'to_fieldname' => 'post_date_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 
    			'from_fieldname' => 'changed',
    			'to_type' => 'reply', 
    			'to_fieldname' => 'post_modified',
    			'callback_method' => 'callback_datetime'
    		);
    		$this->field_map[] = array(
    			'from_tablename' => 'comment', 
    			'from_fieldname' => 'changed',
    			'to_type' => 'reply', 
    			'to_fieldname' => 'post_modified_gmt',
    			'callback_method' => 'callback_datetime'
    		);
    
    		/** User Section ******************************************************/
    
    		// Store old User id. Stores in usermeta.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'uid',
    			// 'to_type' => 'user', 'to_fieldname' => '_bbp_user_id'
    		// );
    		
    		// Store old User password. Stores in usermeta serialized with salt.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'pass',
    			// 'to_type' => 'user', 'to_fieldname' => '_bbp_password',
    			// 'callback_method' => 'callback_savepass'
    		// );
    
    		// Store old User Salt. This is only used for the SELECT row info for the above password save
    		// todo ???
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users', 'from_fieldname' => 'salt',
    		//	'to_type' => 'user', 'to_fieldname' => ''
    		//);
    				
    		// // User password verify class. Stores in usermeta for verifying password.
    		// $this->field_map[] = array(
    			// 'to_type' => 'users', 'to_fieldname' => '_bbp_class',
    			// 'default' => 'Vbulletin'
    		// );
    		
    		// // User name.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'name',
    			// 'to_type' => 'user', 'to_fieldname' => 'user_login'
    		// );
    				
    		// // User email.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'mail',
    			// 'to_type' => 'user', 'to_fieldname' => 'user_email'
    		// );
    		
    		// User homepage.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'homepage',
    			// 'to_type' => 'user', 'to_fieldname' => 'user_url'
    		// );
    		
    		// User registered.
    		// $this->field_map[] = array(
    			// 'from_tablename' => 'users', 'from_fieldname' => 'created',
    			// 'to_type' => 'user', 'to_fieldname' => 'user_registered',
    			// 'callback_method' => 'callback_datetime'
    		// );
    		
    		// User aim.
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users', 'from_fieldname' => 'aim',
    		//	'to_type' => 'user', 'to_fieldname' => 'aim'
    		//);
    		
    		// User yahoo.
    		//$this->field_map[] = array(
    		//	'from_tablename' => 'users', 'from_fieldname' => 'yahoo',
    		//	'to_type' => 'user', 'to_fieldname' => 'yim'
    		//);	
    	}
    	
    	/**
    	 * This method allows us to indicates what is or is not converted for each
    	 * converter.
    	 */
    	public function info()
    	{
    		return '';
    	}
    
    	/**
    	 * This method is to save the salt and password together.  That
    	 * way when we authenticate it we can get it out of the database
    	 * as one value. Array values are auto sanitized by WordPress.
    	 */
    	public function callback_savepass( $field, $row )
    	{
    		$pass_array = array( 'hash' => $field, 'salt' => $row['salt'] );
    		return $pass_array;
    	}
    
    	/**
    	 * This method is to take the pass out of the database and compare
    	 * to a pass the user has typed in.
    	 */
    	public function authenticate_pass( $password, $serialized_pass )
    	{
    		$pass_array = unserialize( $serialized_pass );
    		return ( $pass_array['hash'] == md5( md5( $password ). $pass_array['salt'] ) );
    	}
    
    }
    
    #135279
    andreascm
    Participant

    Hi there,
    has anybody a solution for this problem?
    If I had known that before, I won’t have tested this plugin…

    Thank you for any hints!

    #135278
    cappazushi
    Participant

    I should add that I’m using Twenty Eleven (modified via a child theme).

    This isn’t the actual site, but here’s an example of what’s going wrong: http://www.jrpgclub.com/forum/test-forum-1/

    #135262
    nit3watch
    Participant

    Hi there, I am trying to hook into the single topic / post but can’t find the right view.

    Basically I would like to add to a filter right after “Favorite | Subscribe”.

    I have tried bbp_theme_before_topic_title for a single topic however it only works for Home › Forums › …

    I need hooks that will work for Home › Forums › Test › Test topic

    Any help would be greatly appreciated.

    #135238
    Sameer
    Participant


    @Rasheed

    Can you please share Arabic Language files for bbPress 2.2.3
    I didn’t find it for latest version of bbPress

    Thanks in advance

    dubbinz
    Participant

    The widget called bbpress topics views list has some links broken and I have no idea how to fix it. Some links work others are returning no results when they should be

    the links that are working and not working are as follows
    Most popular topics – Working – http://dubtopian-review.eu/view/popular/
    Topics with no replies – Working – http://dubtopian-review.eu/view/no-replies/
    Topics with most replies – Working – http://dubtopian-review.eu/view/most-replies/
    Latest topics – Working – http://dubtopian-review.eu/view/latest-topics/
    Search Results – Not Working (not sure what this anyway) – http://dubtopian-review.eu/view/search/
    New posts since last visit – Not Working – http://dubtopian-review.eu/view/new-posts-last-visits/
    New posts: Last day – Not Working – http://dubtopian-review.eu/view/new-posts-last-day/
    New posts: Last week – Not Working – http://dubtopian-review.eu/view/new-posts-last-week/
    New posts: Last month – Not Working – http://dubtopian-review.eu/view/new-posts-last-month/

    As you know these links are integral to communication so having them returning no results when there are plenty of replies on my site is infuriating.

    Does anyone know what might be going wrong?

    #135221
    minhtri_doccophong
    Participant

    do you have wigget? copde tai game avatar

    #135220

    Topic: Installing a theme

    in forum Themes
    markusloffler
    Participant

    Hi all,
    I installed the latest version of wordpress and then bbpress on top of it.

    How do I install themes, like the ones that can be found here: http://bbshowcase.org/forums/view/available-themes/page/2? I searched through the web, but I couldn’t figure out how.

    #135213
    Daniel J. Lewis
    Participant

    I figured this out. I had to add this in my bbpress_functions:

    function my_topic_class($classes) {
    	$classes[] = 'test-class';
    	return $classes;
    }
    add_filter( 'bbp_get_topic_class','my_topic_class' );
    #135212
    Daniel J. Lewis
    Participant

    How do we implement this? I tried replacing

    <ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>

    with

    <ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php echo bbp_get_topic_class('test-class'); ?>>

    but the test class doesn’t show. I know I’m working with the right line of code because I can remove the class part altogether and see it removed from my site.

    #135210
    Daniel J. Lewis
    Participant

    Did you ever figure this out?

    #135170
    Daniel J. Lewis
    Participant

    How can I set a particular forum or category to be excluded from the “latest topics” (or “latest posts” if that’s available) list?

    My forum is about a TV show and many participants don’t want to see spoilers. We place spoilers in a particular section, and those spoilers shouldn’t show on the page that lists the latest stuff, or I would like to have two pages: latest with spoilers and latest without spoilers.

    #135169
    Daniel J. Lewis
    Participant

    Where is the URL, or how can I make a page that will contain the latest replies? I don’t want just the latest topics, but chronological list of every topic that has recently been replied to. For example, a topic from a year ago that received a reply 3 seconds ago should show up on the top of this list.

    In phpBB, I had a “new posts” link that would do this.

    Essentially, something like “[ bbp-topic-index ] – Display the most recent 15 topics across all your forums with pagination” would be perfect, but for all posts—topics and replies, not just new topics.

    #135145
    Laughing Cat
    Participant

    The pagination count (count of pages) for my topic archive is wrong.
    The page count (and clickable links in the generated page navigation) says 16 pages. But actually only pages from 1 to 13 will work (from 14 to 16 will return 404).

    Forum archives and individuall discussion (replies) pagination will work fine.

    I’ve set to display 15 discussions per page. If I change this number the pagination count might change as well but the error will stay (just the total count will change, but again it adds up a couple of pages that shouldn’t be there). This happens also if I use the shortcode to show up latest discussions (topics).

    I tried to reset the counters in forum tools, but didn’t produce a change.

    I tried to force the number of queried posts per page (topics per page) via pre_get_posts filter, but doesn’t change the pagination error.

    I don’t know how to solve this. I’m using bbp 2.3.2 and wp 3.5.2. Buddypress is also installed. No legacy forums/groups activated.

    #135142

    Topic: Forum link…..

    in forum Installation
    GGGamers
    Participant

    I have made a test side in order to run bbpress and buddypress. But i didnt found the url of bbpress forum… when i click on the forum it give me this kind of link (http://pakshares.com/test/members/admin/forums/) which i am not able to place on my menu…

    #135140
    Daniel J. Lewis
    Participant

    Thanks for sharing. But doesn’t that list only the latest topics, not the latest replies?

    #135139
    Daniel J. Lewis
    Participant

    Did you figure this out? I would like to do this, too.

    #135136

    In reply to: Page Layout Question

    jeanbledsoe
    Participant

    I’m having the same issue. I designed the client’s site using Impact Page Builder. But when I use bbPress to set up forums, the option to assign an Impact template is not there. Therefore, the forum looks like this: http://northidahocvma.org/forums/forum/forum-2?preview=true&preview_id=607&preview_nonce=7b2aed77ba
    Instead of having the Impact styling like this: http://northidahocvma.org/
    I’m using the latest versions of both WordPress & bbPress with Twenty Twelve theme. Any other suggestions?

Viewing 25 results - 5,501 through 5,525 (of 11,591 total)
Skip to toolbar