Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,626 through 2,650 (of 6,788 total)
  • Author
    Search Results
  • #156633
    Robin W
    Moderator

    hmmm….hadn’t fully reads your original post

    ideally I’d like to get search results with pagination

    That’s what you should have ! Results should show the ‘replies per page’ setting together with full pagination.

    Are you sure there are more than 20 results to show?

    I suspect that something else is disturbing this

    If you haven’t amended bbpress code or added filters then :

    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.

    Come back when you have done that

    #156606
    Nicolas Korobochkin
    Participant

    I don’t have experience with subfolder installs but I think there is no difference between subdomain and subfolder installs for this case. I can publish my code but its looks like default wp-signup.php and wp-activate.php with small changes like few <div>, additional CSS classes and commented few lines of code.

    At first glance this two files looks messy and hardcoded but you can Folding all functions and comments in code editor.

    peetrike
    Participant

    Why is search not working in the new default theme? It is working fine in twentyfourteen, but not in twentyfifteen.
    Please fix this.

    #156207
    Matt
    Participant

    I tried this and it actually works.

      Place Adsense over single from topic

      That is really simple way to place ads over the single topic of your bbpress forum. You just use ftp to customize the following file

      wp-content/plugins/bbpress/templates/default/bbpress/content-single-topic.php

      Just place your Adsense ads code over or under

      Also you can place that on otherwhere such

      content-single-forum.php
      content-archive-forum.php
      content-archive-topic.php

    #156428
    Nicolas Korobochkin
    Participant

    You just need some functions or methods from Mandrill API instead of my templates 🙂 wp_mail also can send rich text emails (html emails). So you just need pass your html email template to wp_mail for example.

    Also wp_mail by default sends email via PHP Mailer (not SMTP server). I recommend send emails through SMTP server – for protect from spam folder and SMTP server can add dkim record to emails. I dont know anything about Mandrill – maybe your plugin already change wp_mail for SMTP, maybe not. I use https://wordpress.org/plugins/wp-mail-smtp/ plugin for sending emails via SMTP.

    #156426
    Nicolas Korobochkin
    Participant

    bbPress have two types of notifications: new message in topic or new topic in forum. Functions that sends messages in bbpress/includes/common/functions.php. You can’t redeclare they. You need to remove default functions and add your custom one. Here is my working code for armyofselenagomez.com wich sends emails via external SMTP server (like Mandrill. but I use Yandex, like Gmail but in Russia). Be careful with priorities and numbers of arguments to pass.

    Logis of process:

    1. User leave a message or create a topic.
    2. Create single wp-crone task which create messages and send it.

    Positive sides of this solution: Emails sends per user (not 1 email per 100000 users like in bbPress by default). Site work faster because emails send via cron, not immediately. I dont store emails or messages to send in DB, just topic ID. Emails sends via SMTP server (not just PHP Mailer or wp_mail()).

    <?php
    function selena_network_bbp_init () {
    	/*
    	 * Оповещание о новых ответах в темах на форуме
    	 * 1. Удаляем дефолтную оповещалку.
    	 * 2. Добавляем свою оповещалку, которая создает крон-задачу.
    	 * 3. Экшн фильтр задачи, который создает письма и отправляет их.
    	 *
    	 * Функции находятся в файле
    	 * bbpress/includes/common/functions.php
    	 */
    	remove_action ('bbp_new_reply', 'bbp_notify_subscribers', 11);
    	add_action ('bbp_new_reply', 'selena_network_bbp_notify_subscribers', 11, 5);
    	add_action ('selena_network_bbp_notify_subscribers_cron', 'selena_network_bbp_notify_subscribers_callback', 10, 5);
    
    	/*
    	 * Оповещения о создании новых тем на форуме
    	 * 1. Удаляем дефолтную оповещалку.
    	 * 2. Добавляем свою оповещалку, которая создает крон-задачу.
    	 * 3. Экшн для задачи, который будет запускать крон (создает письма и отправляет их).
    	 *
    	 * Функции находятся в файле
    	 * bbpress/includes/common/functions.php
    	 */
    	remove_action ('bbp_new_topic', 'bbp_notify_forum_subscribers', 11);
    	add_action ('bbp_new_topic', 'selena_network_bbp_notify_forum_subscribers', 11, 4);
    	add_action ('selena_network_bbp_notify_forum_subscribers_cron', 'selena_network_bbp_notify_forum_subscribers_callback', 10, 4);
    }
    add_action ('bbp_init', 'selena_network_bbp_init', 99);
    <?php
    function selena_network_bbp_notify_subscribers (
    	$reply_id = 0,
    	$topic_id = 0,
    	$forum_id = 0,
    	$anonymous_data = false,
    	$reply_author = 0
    ) {
    	wp_schedule_single_event (
    		time (),
    		'selena_network_bbp_notify_subscribers_cron',
    		array (
    			$reply_id,
    			$topic_id,
    			$forum_id,
    			$anonymous_data,
    			$reply_author
    		)
    	);
    
    	return true;
    }
    
    function selena_network_bbp_notify_subscribers_callback (
    	$reply_id,
    	$topic_id,
    	$forum_id,
    	$anonymous_data,
    	$reply_author
    ) {
    	// Bail if subscriptions are turned off
    	if ( !bbp_is_subscriptions_active() ) {
    		return false;
    	}
    
    	$reply_id = bbp_get_reply_id( $reply_id );
    	$topic_id = bbp_get_topic_id( $topic_id );
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	// Bail if topic is not published
    	if ( !bbp_is_topic_published( $topic_id ) ) {
    		return false;
    	}
    
    	// Bail if reply is not published
    	if ( !bbp_is_reply_published( $reply_id ) ) {
    		return false;
    	}
    
    	// User Subscribers
    	$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 );
    
    	// 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 and setup mail data
    	$topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    	$reply_url     = bbp_get_reply_url( $reply_id );
    
    	$subject = sprintf(
    		_x (
    			'%1$s wrote new comment in “%2$s”',
    			'%1$s = Name of user who create comment
    %2$s = Topic title in which user leave a comment',
    			'selena_network'),
    		$reply_author_name,
    		$topic_title
    	);
    	if (empty ($subject)) {
    		return;
    	}
    
    	// 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 (
    			_x (
    '%1$s wrote new comment in conversation “%2$s” %3$s.
    
    +
    Notification settings → %4$s.
    Send email at %5$s or respond on that letter if you have a questions.',
    			'%1$s = Reply author name
    %2$s = Topic title
    %3$s = Reply URL to this topic
    %4$s = Manage subscribe settings link
    %5$s = Admin email',
    			'selena_network'
    			),
    
    			$reply_author_name,
    			$topic_title,
    			$reply_url,
    			bbp_get_subscriptions_permalink ($user_id),
    			get_option ('admin_email')
    		);
    
    		if ( empty( $message ) ) {
    			continue;
    		}
    
    		wp_mail (
    			get_userdata( $user_id )->user_email,
    			$subject,
    			$message
    		);
    	}
    
    	return true;
    }
    
    /* Новая тема на форуме */
    function selena_network_bbp_notify_forum_subscribers (
    	$topic_id = 0,
    	$forum_id = 0,
    	$anonymous_data = false,
    	$topic_author = 0
    ) {
    	wp_schedule_single_event (
    		time (),
    		'selena_network_bbp_notify_forum_subscribers_cron',
    		array (
    			$topic_id,
    			$forum_id,
    			$anonymous_data,
    			$topic_author
    		)
    	);
    
    	return true;
    }
    function selena_network_bbp_notify_forum_subscribers_callback (
    	$topic_id,
    	$forum_id,
    	$anonymous_data,
    	$topic_author
    ) {
    	// Bail if subscriptions are turned off
    	if ( !bbp_is_subscriptions_active() ) {
    		return false;
    	}
    
    	$topic_id = bbp_get_topic_id( $topic_id );
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	// Get topic subscribers and bail if empty
    	$user_ids = bbp_get_forum_subscribers( $forum_id, true );
    	if ( empty( $user_ids ) ) {
    		return false;
    	}
    
    	// Bail if topic is not published
    	if ( ! bbp_is_topic_published( $topic_id ) ) {
    		return false;
    	}
    
    	// Poster name
    	$topic_author_name = bbp_get_topic_author_display_name( $topic_id );
    
    	// 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_topic_content' );
    	remove_all_filters( 'bbp_get_topic_title'   );
    
    	// Strip tags from text and setup mail data
    	$topic_title   = strip_tags( bbp_get_topic_title( $topic_id ) );
    	$forum_title   = strip_tags( bbp_get_forum_title( $forum_id ) );
    	$topic_url     = get_permalink( $topic_id );
    
    	// For plugins to filter titles per reply/topic/user
    	//$subject = apply_filters( 'bbp_forum_subscription_mail_title', '[' . $blog_name . '] ' . $topic_title, $topic_id, $forum_id, $user_id );
    	$subject = sprintf (
    		_x (
    			'%1$s created new conversation “%2$s”',
    			'%1$s = Topic author name who create new new topic
    %2$s = Topic title',
    			'selena_network'
    		),
    		$topic_author_name,
    		$topic_title
    	);
    	if ( empty( $subject ) ) {
    		return;
    	}
    
    	// Loop through users
    	foreach ( (array) $user_ids as $user_id ) {
    
    		// Don't send notifications to the person who made the post
    		if ( !empty( $topic_author ) && (int) $user_id === (int) $topic_author ) {
    			continue;
    		}
    
    		// For plugins to filter messages per reply/topic/user
    		$message = sprintf( _x( '%1$s created new conversation “%2$s” in the forum “%3$s” %4$s.
    
    +
    Notification settings → %5$s.
    Send email at %6$s or respond on that letter if you have a questions.',
    			'%1$s = Topic author name
    %2$s = Created topic title
    %3$s = Forum title in wich topic created
    %4$s = Link to brand new topic
    %5$s = URL to manage user subscribtions
    %6$s = Admin email',
    			'selena_network' ),
    
    			$topic_author_name, // 1
    			$topic_title, // 2
    			$forum_title, // 3
    			$topic_url, // 4
    			bbp_get_subscriptions_permalink ($user_id), // 5
    			get_option ('admin_email') // 6
    		);
    
    		if ( empty( $message ) ) {
    			continue;
    		}
    
    		// Send notification email
    		wp_mail (
    			get_userdata( $user_id )->user_email,
    			$subject,
    			$message
    		);
    	}
    
    	return true;
    }
    ?>
    #156375

    In reply to: Picture

    Robkk
    Moderator

    i dont know about force but you could use this plugin https://wordpress.org/plugins/wp-user-avatar/

    then make a default avatar something ridiculous or a bland picture so they would want to change their avatar to not see their default avatar.

    #156372
    Oldemar
    Participant

    I have the same problem. I want that when I share a topic on FB, then the attached picture in the opening post should be the preview picture in the FB post. But instead there’s another default picture showing in the preview post. I have tried with four different social share plugins, and I have tried with just sharing the link by copy/paste on FB with no plugin. But still no luck. Any idea?

    #156350

    In reply to: New topics not saving.

    Robkk
    Moderator

    @rmurdo

    the problem does not go away when you tried the default themes , and deactivated plugins??

    this is kind of odd…

    #156324
    Robin W
    Moderator

    no it isn’t a default, I have a plugin that does this

    https://wordpress.org/plugins/bbp-topic-count/

    what other plugins are you using?

    #156321
    j0n4h
    Participant

    Is it not a default feature? When I installed bbpress, it was already a feature from the start. I’ve contacted my Theme dev and they said:

    Hey Jonah,

    I’m not aware of Avada touching the post count code at all. I can see you have a thread open over at the bbPress forum:

    Post Count Incorrect, Repair Tools Don't Fix the Problem.

    I think it would be best to see what they have to say. Hopefully we can use the information they provide to find where the issue is coming from.

    Thanks!

    Ryan

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

    then come back

    #156288
    Robin W
    Moderator

    ok, many try and get links here by posing questions !

    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.

    then come back

    #156264

    In reply to: BBPress

    Robin W
    Moderator

    It is probably 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.

    #156249
    Doulacare
    Participant

    I just came across something. I have tried changing my permalinks back to default, saving and then back to post name again, but I have never tried it while it was on default. I just did, and they seem to work now…. The only issue is that I have so many links that are set for payments etc on the site member end that it would be very time consuming to go through them all and change them….

    All the other threads I have read have said that to get around the issue with WP4 breaking the forums was to switch to post name.

    #156248
    Doulacare
    Participant

    Sorry, I didn’t see the email that said I had a response to this!

    I tried both the 404 fix plugins. I have also gone through the set up.

    My permalinks are set up as “Post Name”

    I am using “forum” for the root and all the others are the default

    this is the only way I can get anything to show at all:
    http://ontariodoulas.org/?post_type=forum

    Also S2member is designed to work with bbPress, that is the only reason I haven’t tried another forum yet. lol

    #156218
    lemond404
    Participant

    done. We had a few users default roles, but nothing else changed.

    We had to do a site restore and lost 2 months of data but issue(s) still persists. It’s even more buggy now as moderators have lost the ability to read topics…

    #156215

    In reply to: Blank Forum Index

    Robin W
    Moderator

    sorry Christmas time where I am, so support is thin !

    This will probably be a theme or plugin issue, so we need to work out which

    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.

    then come back with the results

    #156183
    Robin W
    Moderator

    Depends what the issue is.

    I suggest this approach as it helps define whether on a ‘clean’ default theme with no other plugins bbpress is experiencing issues.

    If it is ok in a clean site, then I’d suggest talking to your host provider – most are good with wordpress, and may identify any issues.

    If you can identify a conflict, then we can look at a solution, sometimes it is easy, often it might be harder 🙂

    I presume your test site is on a local server?

    If you’re ok/good with web stuff, then you might consider putting a test site on-line so that it is an exact match for the live environment, most host providers allow sub-domains and if you switch on discourage search then it doesn’t interfere see

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

    then you can be happier that live will work.

    Anyway just a thought !!

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

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

    #156174
    Robin W
    Moderator

    try the following to se if you can pinpoint a conflict in live

    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.

    #156164
    HighRollerUSA
    Participant

    I just installed bbpress 2.5.4 on WordPress 4.1, on two different websites.

    On my test site, everything is working as expected, but on my live site (which has SSL) every time I try to access the default https://mysite.com/forums/ I get the following error:

    Fatal error: ob_end_flush(): Cannot use output buffering in output buffering display handlers in /homepages/wordpress/wp-includes/functions.php on line 3269

    I can create a new page with a different name than “forums” and use the shortcode successfully, but the breadcrumbs have a direct link to the “/forums” and it gives the same error.

    Any idea what may be going on?

    Thanks!

    #156160
    nitz12345
    Participant

    Hello.
    I seem to have a problem with creating new topic. When i click the “submit” button, it tries to redirect to the topic for editing (I guess?), but then it get stuck in redirection loop and I get an error.
    The problem occurs when I put permalinks on “Pretty Links”. When I change back to default it stops happening.

    The page that I use for the forum is the following: http://forum-dati.co.il/%D7%A4%D7%95%D7%A8%D7%95%D7%9D/%D7%A4%D7%95%D7%A8%D7%95%D7%9D/

    Everything is in Hebrew, so if you need any translation just say 🙂

    I use wordpress v4.1 and bbpress v2.5.4
    I also use multisite

    Thank you very much

    #156131
    pinkhare
    Participant

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init().

    I have been getting this message from 2 years ago and I have been reading all the related posts and Q&As from time to time, but it seems that this problem is not resolved yet. I sure that this is a bbPress issue or the issue of Customize template/function for wordpress. Because I have tested with no plugin, so it’s not the case of conflicting plugin and I used WordPress default themes(Twenty Fourteen & Twenty Fifteen).
    My wordpress version is 4.1 & my bbpress version is 2.5.4.

    The most important thing is that message is only shown on the admin’s ‘Customize‘ page.
    I’m developing my own theme, so I want to fix it without disabling WP_DEBUG config.

Viewing 25 results - 2,626 through 2,650 (of 6,788 total)
Skip to toolbar