Forum Replies Created
-
In reply to: Send Mail to all user
You could use SML, mapping its db into your forum users table.
In reply to: WordPress Header on bbpressmr_pelle,
Where in your template did you place that code?
The first block is actually my bbPress header (you have to put it inside some php tags, of course), while I use the second in my WordPress header and footer when I have to load different content (css, icons, code).
In reply to: Whoa! (bbPress.org 2.0 is live)But then, the code in this post is fine:
Maybe the previous one was edited and that’s where the trouble started?
My post had GT LT replacement too, I had to edit it and remove the php tags… but this is not a solution, because there are post in which you cannot remove the tags, as https://bbpress.org/forums/topic/internet-explorer-problem-1?replies=8#post-69386
In reply to: WordPress Header on bbpressI use this in my template:
global $is_bb;
$is_bb = true;
get_header(); // call WP's header$is_bb = true;
tells WP that current page is a bbPress page. If you need to load different content depending on that, just use:if ( $is_bb ) {
// bbPress-related code
} else {
// WP-only code
}In reply to: Whoa! (bbPress.org 2.0 is live)Plugins directory not updating: Fixed.
Seems it’s not retroactive… I mean, Zaerl’s last plugins are now listed correctly, but all other plugins did not get updated (yet): it looks like my last plugins update was a month ago!
In reply to: Whoa! (bbPress.org 2.0 is live)@zaerl: plugins section does not update since bbPress “new look”, actually…
In reply to: Whoa! (bbPress.org 2.0 is live)Download links and other infos are not displayed in several plugins: Fixed.
Yep, but every plugin page still displays info about an old version of it.
Luckily if you download the plugin you will end up with its most recent release.
In reply to: When bbpress 1.0.3?Can we decide if we’re working on bbpress 1.0.3 or bbpress 1.1?
Quote. It is very important for new tickets and plugins updates.
I voted for it being called 1.0.3 as a bug fix release for 1.0.2.
I’d prefer that too. I’ve tagged my new tickets as 1.0.3, but doing this makes the milestone seem never ending…
In reply to: Using login_form from bbPress on a WordPress sitemikkelsen said:
I want to call up <?php login_form(); ?> from bbPress and show it in my WordPress header.
I thought bbPress were not yet loaded in his WP header…
Hardcoding is not a good choice IMHO, because it means you have to update many pages everytime you change your mind just on a single line of code. Not to mention that the code you suggested does not handle login errors…
I’ve successfully completed a “deep integration” and I’m currently testing another pretty integrated installation, without users db sharing and it works fine.
Why do you think bbPress and WordPress don’t play that nice together (reguardless of what the front page of this website says)? Wasn’t bbPress born for this (and more)?
In reply to: Using login_form from bbPress on a WordPress siteThe simplest and most straight forward solution is to work out what you want to do, and code that directly.
In this case:
<?php
if ( is_user_logged_in() || bb_is_user_logged_in() ) {
// Logged in user
// Hardcode your form here
} else {
// Not logged in
// Hardcode your form here
}
?>You cannot call
bb_is_user_logged_in()
without prior inclusion ofbb-load.php
, though…In reply to: Using login_form from bbPress on a WordPress site@Gautam: yeah sorry, I suggested that because I’m testing with no users db sharing, so I’ve to use
bb_is_user_logged_in()
instead of WP’s function.In reply to: Using login_form from bbPress on a WordPress siteBefore calling the bbPress function just add:
<?php require_once ABSPATH .'/forum/bb-load.php'; ?>
In reply to: Welcome Back _ck_Haven’t met CK before, heard great things though.
Welcome back!
Quote! Thank you for your awesome plugins and all the work you did (and I hope you will do) on bbPress!!
In reply to: sticky postsThe sticky option is at the bottom of each topic.
You can set the number of items per page at Admin -> Settings -> Reading.
In reply to: Remove user website link from topicSure, I was just confirming that.
Ciao!
In reply to: Name based permalinks without page/ and forums/Has anyone tried my plugin? I had no feedback but a 1 star rating since yesterday… 0_o”
In reply to: Remove user website link from topic@zaerl: yep, that’s what I have in my
post.php
too.In reply to: Remove user website link from topicI did nothing more, I’m sorry it does not work for you…
In reply to: Remove user website link from topicActually, I did not get profile link removed… Did you accidentally remove line 6 too?
In reply to: Remove user website link from topicEdit
post.php
@line 5 changingpost_author_link();
intopost_author();
In reply to: How to remove elements from the registration page…You have to edit
register.php
, changingbb_get_header
into your custom header layout (copyheader.php
content and just remove what you do not need), but regarding form elements I think you should add some kind of label check after line 36 in order not to display some elements… but I’m not completely sure this can be actually done, at least not that easily.@bobbycode: that happens quite often to me too, and not only with that plugin.
In reply to: 3 Issues: Page Title, Permalinks, Page Not FoundI’m not angry at all, just surprised because it didn’t work.
Good luck with your forum!
In reply to: 3 Issues: Page Title, Permalinks, Page Not Found@cNc: well, I believe my plugin actually is pretty easy to use: you just have to make it able to write on your config file and then activate it. I don’t know how it could be more simple!
Regarding making it better, sure I will, because it is going to be used in the forum of the company I’m currently having internship in!
It would be just great to test it in different bbPress installation, that’s why I uploaded it in the repository: I’m waiting for your feedbacks!
In reply to: 3 Issues: Page Title, Permalinks, Page Not Found@cNc: I just noticed your forum is working now! What did you change in the end? Have you already re-tried Nicer Permalinks? I released a slightly enhanced version yesterday…