Search Results for '+.+default+.+'
-
Search Results
-
Hi everyone!
I’m using a members plugin called UserPro. I’m trying to integrate bbPress forums with the user profiles created through UserPro.
All I’m trying to do is replace the user’s photo and username links to instead link to the UserPro profiles.
The plugin’s developer gave users his own CSS changes to the “Loop-single-topic”, “Loop-single-reply” and the “loop-single-forum” .php files.
Though his supplied CSS works in terms of replacing the links, it also breaks the look of the entire forum and removes all of the info below the user’s pic and name.
Here’s the default “loop-Single-reply”:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true ) ); ?> <div class="bbp-reply-post-date"><?php bbp_reply_post_date(); ?></div> <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <div id="post-<?php bbp_reply_id(); ?>" class="bbp-reply-header clearfix"> <div class="bbp-meta"> <?php if ( bbp_is_single_user_replies() ) : ?> <span class="bbp-header"> <?php _e( 'in reply to: ', 'bbpress' ); ?> <a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a> </span> <?php endif; ?> <a href="<?php bbp_reply_url(); ?>" class="bbp-reply-permalink">#<?php bbp_reply_id(); ?></a> <?php do_action( 'bbp_theme_before_reply_admin_links' ); ?> <?php bbp_reply_admin_links( array ( 'after' => '<span class="admin_links_sep"> | </span></span>') ); ?> <?php do_action( 'bbp_theme_after_reply_admin_links' ); ?> </div><!-- .bbp-meta --> </div><!-- #post-<?php bbp_reply_id(); ?> --> <div class="bbp-reply-entry"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> <div class="bbp-arrow"></div> </div> </div><!-- .bbp-reply-content --> </div><!-- .reply -->Here’s his supplied CSS:
<?php /** * Replies Loop - Single Reply * * @package bbPress * @subpackage Theme */ ?> <div <?php bbp_reply_class(); ?>> <div class="bbp-reply-author"> <?php do_action( 'bbp_theme_before_reply_author_details' ); ?> <?php /* Integrating UserPro */ global $userpro; $link = preg_replace("/(?<=href=(\"|'))[^\"']+(?=(\"|'))/", $userpro->permalink( bbp_get_reply_author_id() ), bbp_get_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) ) ); echo $link . userpro_show_badges( bbp_get_reply_author_id() ); ?> <?php if ( bbp_is_user_keymaster() ) : ?> <?php do_action( 'bbp_theme_before_reply_author_admin_details' ); ?> <div class="bbp-reply-ip"><?php bbp_author_ip( bbp_get_reply_id() ); ?></div> <?php do_action( 'bbp_theme_after_reply_author_admin_details' ); ?> <?php endif; ?> <?php do_action( 'bbp_theme_after_reply_author_details' ); ?> </div><!-- .bbp-reply-author --> <div class="bbp-reply-content"> <?php do_action( 'bbp_theme_before_reply_content' ); ?> <?php bbp_reply_content(); ?> <?php do_action( 'bbp_theme_after_reply_content' ); ?> </div><!-- .bbp-reply-content --> </div><!-- .reply -->I would be grateful to get any assistance on how I might change the links alone without modifying or breaking everything else. Thanks so much in advance.
I’m using the Avada theme.
BB Press 2.5.4 running on WP 4.0 using default template Tewnty-Twelve.
I have a regular member who has been posting and replying in my forum for months every day without a problem.A week ago today this member started having all their replies marked as spam.
I have the default settings in Askimet, and no other “special” settings for forum users. I have had their IP address whitelisted, and I have unspammed every comment.
No additions of plugins, templates, or style sheets. As a matter of fact, I was out of town when it happened, so no changes had been at all.I had them make a new user and they were able to post once and then started getting marked as spam again.
Is there anything I can do to get them unstuck?
Thanks in advance for the help
Hi
I am setting up a new BBPRess forum and I have changed the default reply order to descending so new replies begin at the top. So far so good.
However, when a new reply is submitted the user is taken to the other end of the thread rather than to the newest end. Is there a tweak I need to the reverse order code?
this is what I have in my functions:
function custom_bbp_has_replies() { $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending) return $args; } add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );thanks for any help.
Topic: Check Box Default State
Hello all,
I have a check box that I need for the default state to be the checked position. It will be the bottom box in the screenshot. Can anyone help me on the CSS to achieve this?
I have attached a screenshot for reference.

Topic: Mingle BBpress Import issue
Hi,
We had a custom forum created through a .NET application. Its a legacy application built in 2006.
Now client is migrating to wordpress / bbpress. For forum migration I have created a application to import data from .NET application (Sql Server database) in a format where I can use mingle importer to import.The tables we have created are wp_forum_forums, wp_forum_threads; wp_forum_posts;
Table definition are
CREATE TABLE wp_forum_forums (
id bigint(20) NOT NULL AUTO_INCREMENT,
name varchar(4000) NOT NULL,
parent_id bigint(20) NOT NULL,
description text,
sort int(11) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;CREATE TABLE wp_forum_posts (
id bigint(20) NOT NULL AUTO_INCREMENT,
parent_id bigint(20) NOT NULL,
subject varchar(2000) DEFAULT NULL,
author_id bigint(20) unsigned NOT NULL,
text mediumtext,
date datetime NOT NULL,
PRIMARY KEY (id),
KEY fk_wp_forum_posts_wp_forum_threads_idx (parent_id),
KEY fk_wp_forum_posts_wp_user (author_id),
CONSTRAINT fk_wp_forum_posts_wp_forum_threads FOREIGN KEY (parent_id) REFERENCES wp_forum_threads (id),
CONSTRAINT fk_wp_forum_posts_wp_user FOREIGN KEY (author_id) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=69731 DEFAULT CHARSET=latin1;CREATE TABLE wp_forum_threads (
id bigint(20) NOT NULL AUTO_INCREMENT,
parent_id bigint(20) NOT NULL,
starter bigint(20) unsigned NOT NULL,
subject varchar(4000) DEFAULT NULL,
status varchar(100) NOT NULL,
date datetime NOT NULL,
last_post datetime NOT NULL,
closed varchar(50) NOT NULL,
PRIMARY KEY (id),
KEY fk_wp_forum_threads_wp_forum_forums_idx (parent_id),
KEY fk_wp_forum_threads_wp_users_idx (starter),
CONSTRAINT fk_wp_forum_threads_wp_forum_forums FOREIGN KEY (parent_id) REFERENCES wp_forum_forums (id),
CONSTRAINT fk_wp_forum_threads_wp_user FOREIGN KEY (starter) REFERENCES wp_users (ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=9303 DEFAULT CHARSET=latin1;Through our custom code we populated these tables.
Everything works fine, but while importing the wp_forum_posts (which has got 69K records) the importer hangs between 35600 to 35699. I tried atleast 5 / 6 times but same result every time.
Can you kindly help us in this?
Thanks and Regards
Bidhan