Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 4,076 through 4,100 (of 11,589 total)
  • Author
    Search Results
  • Jutarbari
    Participant

    I’m having an interesting problem. I have set up a forum and was testing it with a test user. As oon as the user registers or logs-in, the forum root url shows as 404. If the suer logs out, the forum root is again visible. As adnibistrator I have no such issue. The issue is when I have a test user log in as ‘participant’

    Here is where I have my test forum.

    http://www.bangladeshexpats.com/forums/

    #154846
    atfpodcast
    Participant

    Ok now it’s working with the latest theme update. Don’t know what he did.

    #154843
    liquid8
    Participant

    Hi all,

    I’d need to convert a bbpress-version 0.73 to the newest version.
    Is there any converters etc that could do this?

    I tried to use the bbpress-plugins importer and selected the old database as a source but I got an error saying that bb_meta-table is missing from db. I found out that this table has not been used in the earliest versions such as 0.73.

    #154817
    Robkk
    Moderator

    well it looks nice how it is already but thats my opinion.

    but if you really want the default bbPress look , i think all you have to do is copy loop-single-topic.php from the bbPress plugin templates and let it overwrite the exact file in your child themes bbpress folder.

    i suggest you test it out and make sure it works well in a local development area on your CPU.

    https://codex.bbpress.org/creating-a-test-site/

    Robkk
    Moderator

    @webui1

    dont make test replies in the bbPress forums

    create a local-hosted site and do all the testing there.

    #154810
    Robin W
    Moderator

    I don’t specifically know if that is default bbpress behaviour, suggest you try

    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.

    If none of those show a change, then it is probably default behaviour.

    webUI1
    Participant

    testing again

    webUI1
    Participant

    testing

    #154780

    In reply to: Unique member names

    peter-hamilton
    Participant

    Been a while, spent quite a lot of time looking for a solution for the “name” issue.

    Wordpress registration checks if a “username” is already used, this is great.

    Buddypress is the problem cause they also add a “Name” field to registration, and this can be duplicate creating issues when multiple John Doe’s appear in my forums and activity.

    Solution

    I created a dirty solution by changing the label for (buddypress) Name to Username, and added a line of text urging new members to fill in the exact same name as the did in the “Username” field.

    Although people can type whatever they want there, I hope most will just copy the first name.

    This way the @name and username should be similar on all pages.

    Then I also removed the option to change this name in the profile edit.php through CSS so no longer can people change their nicknames.
    Unless a code savvy member goes to change the CSS in chrome, then the box will appear and they can change their names.

    Wishlist

    A solution/function where Buddypress or BBpress copies the username and adds that in the nickname field by default.

    Anyway, here is a link to my current register page:

    BBFacelook registration page

    P.H.

    #154748
    Robin W
    Moderator

    sorry, but since your site requires login, we can’t see

    However I’d suggest you check that no plugin updates are needed and then

    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.

    #154714
    kup1986
    Participant

    Hi

    We are using this plug in for one of our clients. Their site just went live after being designed, built, and tested on our beta server. Everything worked great, so we moved it to the live server this week.

    However, now that they’re on the live site, new forum users are not receiving their email notifications containing their password. In Beta, there was no email “link” as far as I could tell between the Beta site and our hosting. When a new user would register, they would receive an email from wordpress@clientname.org. Within our hosting back end, I can see that emails were actually sent from ourusername@ourbetaserver.com.

    Within the Dashbaord/Settings/General, I’ve made certain that the email account listed on that screen matches what was set up with their hosting provider. I’ve dug through the files until I can see code with my eyes close and cannot figure out how to make this work again.

    I’ve just now learning development, so please help (at a 101 level). I appreciate any insight!!

    #154695

    In reply to: cyclic redirect

    Robin W
    Moderator

    With so little information it is hard to help !

    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 twentytwelve, and see if this fixes.

    webcoreinteractive
    Participant

    I don’t have any of the plugins mentioned here and have this issue occurring as well.
    Definitely a bbpress – WP conflict. We have tested on our vanilla site.

    I had to implement fix by Yolle. Thanks for the code.

    Hopefull this bug gets fixed in next bbpress update.

    #154675
    Robin W
    Moderator

    hmm.. as a mod on my test site(as well as on this site) I can trash and spam.

    Have you altered any capabilities, or using any plugins that might affect this?

    you could try

    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.

    that might pinpoint the problem.

    webUI1
    Participant

    Hi,
    I want to check if We want the forum section of the website to be accessible by anyone that registers BUT we also need to be able to restrict some sections of the forum, so that only some members can view these sections and others cannot. So that I can test this, I wanted to create a forum named “Some Dummy Text” and set this so that only some profiles can access it but others cannot, depending on what the administrator sets as their access rights? If someone without access rights tries to view this forum, can they get a message asking them to “Special permission is required to access this Forum. Please contact us”.
    Does anyone knows about it, how to do it?
    Thanks

    #154642

    In reply to: bbp-forum-index issues

    Robkk
    Moderator

    i found this function doing a search , i havent tested though.

    plop the code into your child themes functions.php file or your functionality plugin
    and change 100 to whatever you like

    function bbp_increase-forum-per-page( $args = array() ) {
    $args['posts_per_page'] = get_option( ‘_bbp_forums_per_page’, 100 );
    return $args;
    }
    add_filter( ‘bbp_before_has_forums_parse_args’, ‘bbp_increase-forum-per-page’ );

    code is from this topic

    Hitting 50 forum limit? What can I do?

    #154634
    Robin W
    Moderator

    sorry for the late reply, I have been busy elsewhere.

    Read private forums is fine, and as it should be.

    I have carefully read through the above, and am struggling to help you further.

    The best I can suggest is that you set up a test site

    https://codex.bbpress.org/creating-a-test-site/

    so that you can try with a default theme and not break you live site

    #154626
    m_elghag
    Participant

    Ok, thought there might be an easy way to just add an conditional to the whole code and test if the forum has a certain parameter.

    #154585
    Robkk
    Moderator

    well its not really a limit on having a certain number of forums
    i think its just a limit of it being on the root page since it doesn’t have pagination.

    for example if you have over 50 forums displayed in the forum root page any additional forum will not display

    i found this function doing a search , i havent tested though.

    plop the code into your child themes functions.php file or your functionality plugin
    and change 100 to whatever you like

    function bbp_increase-forum-per-page( $args = array() ) {
    $args['posts_per_page'] = get_option( ‘_bbp_forums_per_page’, 100 );
    return $args;
    }
    add_filter( ‘bbp_before_has_forums_parse_args’, ‘bbp_increase-forum-per-page’ );

    code is from this topic

    Hitting 50 forum limit? What can I do?

    #154567
    Robkk
    Moderator

    so if we forget

    no one forget.


    @durqrimast
    contact userpros support

    i cant test it out without buying the plugin.

    i did find this in like 20 seconds though

    http://userproplugin.com/userpro/forums/topic/integrating-userpro-profile-links-user-badges-in-bbpress/

    #154566
    Robkk
    Moderator

    try combining the two into this and try it.

    i tested in twenty-fourteen and it worked.

    #bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic {
        background-color: #0099FF;
        border: 1px solid #dd6;
    }
    #154557
    Robkk
    Moderator

    @durqrimast contact userpros support

    i cant test it out without buying the plugin.

    #154529
    colinsp
    Participant

    On my site I have several boards in each Forum. Is there a way of showing which of the boards have the latest post? Or alternatively is there an option to show unread posts?

    Wordpress 4.0, bbPress 2.5.4. The forums are not available to view as they are member only.

    What I want is some indication of which board the red circled item refers to in the attached image.

    https://www.flickr.com/photos/7515926@N08/15602098719

    #154515
    tharsheblows
    Participant

    The reason for this is that sending out subscription emails one by one was appreciably slowing down some large sites, so in the last update they switched to bcc’ing in subscribers.

    It’s fairly straightforward to change how the subscription emails are handled once you know how. If you unhook ‘bbp_notify_topic_subscribers’ you can then hook in your own subscription function.

    Below is similar to what I did – I have it in a plugin but you could put it in your bbpress-functions.php file too, I think – this should be in a child theme. If you do this, please test it first as this is simply an example and not necessarily working code. I’ve gone ahead and simply pasted in the function that was used in the previous version of bbPress so you don’t have to find it.

    //custom topic subscription emails, unhook old function, hook in new one
    remove_action( 'bbp_new_reply',    'bbp_notify_topic_subscribers', 11, 5 );
    add_action( 'bbp_new_reply',    'mjj_bbp_notify_topic_subscribers', 11, 5 );
    
    /** 
    * from bbpress / includes / common / functions.php
    * this is taken from 2.5.3 - I've left in all comments to make it easier to understand
    **/
    
    /** Subscriptions *************************************************************/
    
    /**
     * Sends notification emails for new replies to subscribed topics
     *
     * Gets new post's ID and check if there are subscribed users to that topic, and
     * if there are, send notifications
     *
     * @since bbPress (r2668)
     *
     * @param int $reply_id ID of the newly made reply
     * @uses bbp_is_subscriptions_active() To check if the subscriptions are active
     * @uses bbp_get_reply_id() To validate the reply ID
     * @uses bbp_get_topic_id() To validate the topic ID
     * @uses bbp_get_forum_id() To validate the forum ID
     * @uses bbp_get_reply() To get the reply
     * @uses bbp_is_reply_published() To make sure the reply is published
     * @uses bbp_get_topic_id() To validate the topic ID
     * @uses bbp_get_topic() To get the reply's topic
     * @uses bbp_is_topic_published() To make sure the topic is published
     * @uses bbp_get_reply_author_display_name() To get the reply author's display name
     * @uses do_action() Calls 'bbp_pre_notify_subscribers' with the reply id,
     *                    topic id and user id
     * @uses bbp_get_topic_subscribers() To get the topic subscribers
     * @uses apply_filters() Calls 'bbp_subscription_mail_message' with the
     *                    message, reply id, topic id and user id
     * @uses apply_filters() Calls 'bbp_subscription_mail_title' with the
     *                    topic title, reply id, topic id and user id
     * @uses apply_filters() Calls 'bbp_subscription_mail_headers'
     * @uses get_userdata() To get the user data
     * @uses wp_mail() To send the mail
     * @uses do_action() Calls 'bbp_post_notify_subscribers' with the reply id,
     *                    topic id and user id
     * @return bool True on success, false on failure
     */
    function mjj_bbp_notify_subscribers( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $reply_author = 0 ) {
    
    	// Bail if subscriptions are turned off
    	if ( !bbp_is_subscriptions_active() )
    		return false;
    
    	/** Validation ************************************************************/
    
    	$reply_id = bbp_get_reply_id( $reply_id );
    	$topic_id = bbp_get_topic_id( $topic_id );
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	/** Reply *****************************************************************/
    
    	// Bail if reply is not published
    	if ( !bbp_is_reply_published( $reply_id ) )
    		return false;
    
    	/** Topic *****************************************************************/
    
    	// Bail if topic is not published
    	if ( !bbp_is_topic_published( $topic_id ) )
    		return false;
    
    	/** User ******************************************************************/
    
    	// Get topic subscribers and bail if empty
    	$user_ids = bbp_get_topic_subscribers( $topic_id, true );
    	if ( empty( $user_ids ) )
    		return false;
    
    	// Poster name
    	$reply_author_name = bbp_get_reply_author_display_name( $reply_id );
    
    	/** Mail ******************************************************************/
    
    	do_action( 'bbp_pre_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
    	// Remove filters from reply content and topic title to prevent content
    	// from being encoded with HTML entities, wrapped in paragraph tags, etc...
    	remove_all_filters( 'bbp_get_reply_content' );
    	remove_all_filters( 'bbp_get_topic_title'   );
    
    	// Strip tags from text
    	$topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    	$reply_content = strip_tags( bbp_get_reply_content( $reply_id ) );
    	$reply_url     = bbp_get_reply_url( $reply_id );
    	$blog_name     = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
    
    	// Loop through users
    	foreach ( (array) $user_ids as $user_id ) {
    
    		// Don't send notifications to the person who made the post
    		if ( !empty( $reply_author ) && (int) $user_id === (int) $reply_author )
    			continue;
    
    		// For plugins to filter messages per reply/topic/user
    		$message = sprintf( __( '%1$s wrote:
    
    %2$s
    
    Post Link: %3$s
    
    -----------
    
    You are receiving this email because you subscribed to a forum topic.
    
    Login and visit the topic to unsubscribe from these emails.', 'bbpress' ),
    
    			$reply_author_name,
    			$reply_content,
    			$reply_url
    		);
    
    		$message = apply_filters( 'bbp_subscription_mail_message', $message, $reply_id, $topic_id, $user_id );
    		if ( empty( $message ) )
    			continue;
    
    		// For plugins to filter titles per reply/topic/user
    		$subject = apply_filters( 'bbp_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $reply_id, $topic_id, $user_id );
    		if ( empty( $subject ) )
    			continue;
    
    		// Custom headers
    		$headers = apply_filters( 'bbp_subscription_mail_headers', array() );
    
    		// Get user data of this user
    		$user = get_userdata( $user_id );
    
    		// Send notification email
    		wp_mail( $user->user_email, $subject, $message, $headers );
    	}
    
    	do_action( 'bbp_post_notify_subscribers', $reply_id, $topic_id, $user_ids );
    
    	return true;
    }
    biscuitier0
    Participant

    Okay I managed to do roughly what I wanted without changing the functions.php. Here’s how:

    1) I installed bbP Members Only plugin https://wordpress.org/plugins/bbpress-members-only/, I then created a test forum and topic

    2) I created a page called ‘member login’ and put the [bbp-login] shortcode in this page (no menu link for this page)….

Viewing 25 results - 4,076 through 4,100 (of 11,589 total)
Skip to toolbar