Forum Replies Created
-
In reply to: What kind of server i need?
Go for the second, otherwise you have to move to a new one very soon.
I guess the prices for the servers are not very different
or take the first with more memory…
In reply to: How to: allow headings in postBy default mage tags are not allowed too.
create you own plugin and use this code
function allow_img_tag($tags) {
$tags['img'] = array('src' => array(), 'title' => array(), 'alt' => array());
return $tags;
}
add_filter('bb_allowed_tags', 'allow_img_tag');You can the same kind of function for your header elements
I removed the PM plugin some time before, personal messages are often a big problem on forums.
I think a contact form which is send to the “hidden” user email address is a much better solution
In reply to: Topic Icons Default Icon (Advanced request)Hi,
you mean like on my frontpage (check the link from my profile)
I use this code:
<?php while ( bb_forum() ) :
if (get_forum_parent_id() == 0) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class('bb-category'); ?>>
<td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php
endif;
endwhile; ?>The function get_forum_parent_id() is located in my personal plugin file:
function get_forum_parent_id( $forum_id = 0 ) {
$forum = get_forum( get_forum_id( $forum_id ) );
return apply_filters( 'get_forum_parent_id', $forum->forum_parent, $forum->forum_id );
}In reply to: How to sort on column heads?I know this function from many type of websites but never used on a forum
don’t think that it will be easy to develop inside bbpress, check the plugin list I thought I saw some old extension there
ps. Pimp is a word young people like to say (pimp a car)
In reply to: bbPress showing weird posting timesHi Spell, check the time on your server first (use ssh)
In reply to: bbpress and memcache?so it’s possible to store user sessions with memcache? this is cool.
do you know some reference material about this function?
I thought the multi CSS border has covered IE browsers too
…looks good in chrome and FF on Linux
In reply to: tranfer posts from another forumHi,
you need to check the old and the new table structure (use phpmyadmin) for this.
next you need to convert the old tables to the format of the new tables.
Learn from how bbpress will create the records inside the tables and import your old data this way.
I don’t think that there is a tutorial on how to do that (didn’t know that Joomla has a forum module)
In reply to: bbpress and memcache?@johnhiler, his concerns are more about setup problems by unexperienced php user and hosting requirements.
Actually, I don’t like the super cache module for WP, because it’s only powerful for blogs with a lot of page views. Memcache would be better for bbpress in my opinion. I know a lot of people using memcache for several types of applications and they are very glad to use it.
I don’t think that memcache should be a part of bbpress, but it would be helpful that the API is compatible to use it.
In reply to: WordPress.org forum themeyes right the theme from the MU forum looks great.
Mooks, why not changing the basic theme too looks like this one?
In reply to: Custom text for password mail messageHello Sam,
thanks for the response.
I understand you right that without those filters it’s not possible at the moment?
In reply to: Custom text for password mail messageno one here with some advice on how to fix that?
this kind of feature is important for every forum owner
In reply to: Themes with WordPress and bbPress versionsIf you’re able to tweak a regular template to a wordpress theme than is the next step to bbpress not so far.
I embedded both applications into my own site:
http://www.finalwebsites.com/forums/
http://www.finalwebsites.nl/blog/
my advice start with the header and footer!
surround anything with one div container, open that container in the header and close it inside the footer
In reply to: bbPress 1.0.2 and bbPress 0.9.0.6 releasedHello,
just upgraded to 1.02 and found some issues regarding the “unique email address” bug from before.
Btw. in older version that was a problem too
update the email address in your profile:
If you change the email address into an existing one, it works fine but there is no message about (This is a tiny one)
Register process
I was busy to find some better way to add the recaptcha to the register form and noticed that the login form field is only tested if the email field is already filled. That worked better in version 0.9
everything else looks fine
In reply to: Spam RegistrationsHi,
I have the same problem 50 registrations a day
I removed the URL field from the registration form (and other pages) and hope that this will help.
In reply to: New forum layoutOk I see the avatars but else it looks the same to me
maybe I should visit this forum more often …
In reply to: Email notifications turned on by default?I wrote that function monthes before:
In reply to: New plugin: Automated Forum ModerationI like the akismet spam filter
In reply to: Mass email functionIf you have a large number of members, this is a positively guaranteed way to get your server IP banned by most major email services like gmail, hotmail, yahoo and aol.
What is your advice to send a newsletter to 10.000 bbpress forum members?
In reply to: redirect after login erroras a work arround, I use this value for the hidden field “re”:
<?php
if ($re == 'http://#postform') {
echo $_SERVER['HTTP_REFERER'].'#postform';
} else {
$re;
}
?>In reply to: Plugin suggestionsI’m sorry Vadi,
I thought a long time about what the best solution for posting code tutorials.
Actually it’s better to use drupal for this kind of content
In reply to: redirect after login errorjust checked the code and it seems to me that this function is not 100% fine:
function new_topic( $args = null ) {
$defaults = array( 'text' => __('Add New »'), 'forum' => 0, 'tag' => '' );
if ( $args && is_string($args) && false === strpos($args, '=') )
$args = array( 'text' => $args );
$args = wp_parse_args( $args, $defaults );
extract( $args, EXTR_SKIP );
if ( $forum && $forum = get_forum( $forum ) )
$url = get_forum_link( $forum->forum_id ) . '#postform';
elseif ( $tag && ( ( is_numeric($tag) && $tag = bb_get_tag( $tag ) ) || $tag = bb_get_tag_by_name( $tag ) ) )
$url = bb_get_tag_link( $tag->tag ) . '#postform';
elseif ( is_forum() || is_bb_tag() )
$url = '#postform';
elseif ( is_topic() )
$url = get_forum_link() . '#postform';
elseif ( is_front() )
$url = add_query_arg( 'new', '1', bb_get_option( 'uri' ) );
if ( !bb_is_user_logged_in() )
$url = add_query_arg( 're', urlencode($url), bb_get_option( 'uri' ) . 'bb-login.php' );
elseif ( is_forum() || is_topic() ) {
if ( !bb_current_user_can( 'write_topic', get_forum_id() ) )
return;
} else {
if ( !bb_current_user_can( 'write_topics' ) )
return;
}
if ( $url = attribute_escape( apply_filters( 'new_topic_url', $url ) ) )
echo "<a href='$url' class='new-topic'>$text</a>n";
}this part is not good and result im some error:
elseif ( is_forum() || is_bb_tag() )
$url = '#postform';what is your adbvice to fix that? rewriting the function / adding a filter as a kind of plugin?
In reply to: replacing page titleHey Sam,
thanks for the explanations.
I got the whole stuff working and my “seo plugin” is almost released.
In reply to: Plugin suggestionsA syntax highlighter in wordpress/bbpress is always a hard to do.
Geshi and tinyMCE = forget it
I have finally a parser in WP but need to work in code view only.