Forum Replies Created
-
In reply to: Including a static file in your bb template
Wow, it worked.
This is the code I used:
<?php if (get_forum_id() == 29): ?>
<?php bb_load_template('filename.php');?>
<?php endif; ?>
In reply to: Including a static file in your bb templateOkay suppose I have a forum with id 12, I want to show a block of text that is in a file called text.php, whenever someone visits that forum (forum.php?id=12)
How would write that then? And it doesn’t matter if the user is logged in or not.
In reply to: Including a static file in your bb templateI would really love to know the 2nd option, so i can place that code in my forum.php
it would be nice to display a block of text when users visit some sections of my forum.
but im not so good with statements, can u code an example?
Where exactly is this:
i’d like to remove the “To participate, register or login with your WordPress.org username:” part completely, but i had though luck to find this little php snippet in my template.
I don’t see that on my site. I’m using 1.0.1
In reply to: target _blankI noticed that it also opens links to internal pages in a new tab, I was hoping it would only do that with external links…
In reply to: Timestamp in topic replys as clock.Try this code instead, this is what I’m using on my own forums:
<?php printf( __('Posted on %s'), bb_datetime_format_i18n( bb_get_post_time( array( 'format' => 'timestamp' ) ) ) ); ?>
In reply to: Open forum on it's own pageI’m still trying to create a separate page, where only the forum will be visible. No luck so far.
In reply to: Plugin suggestionsI would like to code a plugin to prevent double posting in a certain period of time. For example, i’m adding this reply to this topic, and in 5 minutes i could add another. This plugin would take the second reply and append it to the first one, instead of making a new post (if no one else replied in those 5 minutes).
I’d love this plugin very much as well, I’ve seen this in action in vBulletin. It also prevents users for “artificially” increasing their post count.
In reply to: Plugin suggestions@kawauso That’s what I thought
In reply to: Plugin suggestionsauto link keywords to their perspective pages.
with a backend where u can decide which keywords will link to which page. and if someone mentions those words in a post, it will be linked to those pages. like wikipedia a bit.
In reply to: Need to fix a couple of things in themeMaybe you can hardcode the URL like this http://domain/forum.php?id=9#postform
In reply to: bbPress 1.0.2 and bbPress 0.9.0.6 releasedI didn’t upgrade mine yet, so scared that some plugins won’t work anymore.
In reply to: target _blankThat was indeed the problem
The plugin is working.
If i detect errors, I’ll report it here.
Thanks very much for your help.
In reply to: target _blankOKay, I fixed that and don’t get the error anymore. Thanks.
However I thought the point of this plugin was to open all external links in a new tab, but that’s not really happening
What was the exact point of this plugin? The first post is a bit confusing, I guess.
In reply to: target _blankI tried this, I’m using 1.0.1
And I got:
Warning: Cannot modify header information – headers already sent by (output started at /home/onlin196/public_html/forums/my-plugins/tabbladen.php:14) in /home/onlin196/public_html/forums/bb-includes/functions.bb-pluggable.php on line 232
Below you have the whole code i used
<?php
/*
Plugin Name: Nieuwe tabblad openen
Plugin URI: http://bbpress.org
Description: opent links in een nieuwe venster
*/
function bb_target_blank( $text ) {
$text = preg_replace(‘||i’, ‘‘, $text);
return $text;
}
add_filter(‘post_text’, ‘bb_target_blank’,255);
?>
In reply to: Hide LinksI also would love to know how to hide links in some sections of my forum for non-registered users.
I have a download section, and I’d like to keep the links only visible to registered users. Perhaps also put a message only visible to non-registered users that they need to register to see the links, when they’re viewing topics in the download section.
Any ideas?
In reply to: 10,000 downloads of bbPress in AugustCongrats to the whole bbPress team
In reply to: Banner Manager (not google adsense or such)You can try Openx, you can use that on any website, and it has a lot of features.
In reply to: Login using Facebook ConnectHaha a FB plugin would indeed rock our bbpress worlds, Buddypress has this feature (at least in their demo), who’s planning to “steal” the source code
In reply to: how to add images to content pleaaaaaase answerI tried it, not working, I got this error:
Fatal error: Cannot redeclare allow_images_allowed_tags() (previously declared in /home/onlin196/public_html/forums/bb-plugins/allow-images.php:12) in /home/onlin196/public_html/forums/my-plugins/plaatjes.php on line 9
I created a file called “plaatjes.php”
In reply to: Use XML RPC to post in bbPressI tried this with Office2007, not working.
In reply to: Pingbacks not working?I’d like to know this as well.
In reply to: BBPRess friends pluginSimple machine forums also has the option to add members as friends.
In reply to: Manually add avatarGreat idea.
In reply to: Manually add avatarHi,
Thanks a lot, I already have this plugin, and didn’t realized it had this feature.
I’m gonna try to find out how this affects the database, I might post later how to upload avatars via ftp and get it to work. Currently I see no other way then uploading one by one for my users.