Forum Replies Created
-
In reply to: Post Control
Announcements would be READ ONLY forums, not Hidden Forums.
https://bbpress.org/plugins/topic/read-only-forums/
You can also just post a topic and close it so regular users can’t reply.
It’s PHP 101
$_SERVER['REQUEST_URI']
In reply to: bbPress Top 100 April 2009 UpdateI have now created a way for all the new and undiscovered bbPress powered forums to submit their site for inclusion in the next list:
http://bbshowcase.org/forums/view/top100?add
It’s getting harder and harder to find them all as there are so many themes and customizations being created, so feel free to submit any forum you know is powered by bbPress to help me.
In reply to: Please bring back "forums old"I’ve put a ticket into Trac for you. If Sam agrees, it might show up in 1.1
If you simply must have it now, you can try making a plugin:
<?php
add_action( 'bb_admin_notices' , 'forums_started');
function forums_started() {printf('<p>'.__('Forums started %s ago.').'</p>', bb_get_inception()); }
?>In reply to: Please bring back "forums old"You mean the overall installation age?
You can also get that from the Mini-Stats plugin (among other info).
In reply to: Link to Latest UNREAD postIn reply to: Blank page in register.php when updateIf you edited the kakumei files directly, simply rename that folder, ie.
kakumei
->my-kakumei
Then you can copy the original kakumei from the bbPress 0.9 zip.
In reply to: Blank page in register.php when updateIf you install 1.0.2 it is likely many of your plugins will stop working correctly.
It’s too drastic of a change.
If you insist on trying it, make sure you backup all your files and your database first.
In reply to: Blank page in register.php when updateA modified theme could cause it.
Do you still have the original kakumei in another folder?
You should try temporarily switching to that and see if it changes anything.
In reply to: Blank page in register.php when updateOne thing I see that changed in 0.9.0.5 is Sam put
exit;
after all the redirects.In my experience I have found some weird behavior where redirects don’t happen in some cases because the exit will happen before headers are sent for the page. It shouldn’t put it does in some PHP versions/apache configurations. Probably because of buffering.
So as an experiment, maybe try editing the core file
bb-login.php
(not the template)See this change:
Put a comment in front of that
exit;
bb_safe_redirect( $re );
// exit;and see if that makes it act any differently.
In reply to: Blank page in register.php when updateIt’s possible I broke something in the new
bb_safe_redirect
however I have tested it working and I have not seen any other complaints (and there have been several registrations on my site).Actually I just noticed you said it doesn’t work with 0.9.0.5 which didn’t have my change.
Have you tried deactivating your plugins temporarily to see if any interfere?
Let’s look at what changed from 0.9.0.4 to 0.9.0.5
In reply to: Posts / Pages not showing up?I am bumping this for Sam to take a look as you have confirmed you are not using topics-per-page and have done a recount and are still experiencing it on 1.0.2
In reply to: Sneak peek at bbPress.org 2.0I think the bees were the idea of the new icon designer,
I guess they picked up on bbPress as “bee-bee” Press. LOL
In reply to: Best practices for adding a sidebar to bbPressDoing it through
bb_get_template
simply fires an extra filter – but nothing else is aware of sidebars in bbPress yet so it’s pointless. Plus I wasn’t aware you could userequire
on a function. Thenbb_get_template
uses anotherinclude/require
so it’s massive overkill (or just wrong in the first place).In reply to: Posts / Pages not showing up?You should mention if you are using 0.9 or 1.0
Do a full recount from the admin menu and see if the problem is fixed.
If you are using the Topics Per Page plugin you should disable it and see if the problem is fixed. Otherwise it’s an internal bug and should be filed on http://trac.bbpress.org
In reply to: Best practices for adding a sidebar to bbPressUsing include is fine and fastest. Remember to try to load the sidebar AFTER your content if you care about things like SEO where content should come first. This would imply doing the include in the footer and floating the main content left and the sidebar right (or visa versa).
Nice work on your theme, seamlessly integrated.
In reply to: How do you change the Freshness of post date format?Just to be certain, you understand how titles work right? You mouse over it to see it.
Maybe try doing a “view source” to make sure it’s there.
You’ve already proved that the code will output the date, all we’ve done is just move it into the hidden, mouse-over title.
Show me the view source part just for what it outputs.
In reply to: How do you change the Freshness of post date format?Based on what you showed me that is working, mine should work fine.
Here is a simplified version:
<td class="num"><a href="<?php topic_last_post_link(); ?>" title="<?php echo date("r",strtotime($topic->topic_time)); ?>"><?php topic_time(); ?></a></td>
I think the problem with the old example is I used a php shortcode (
<?
) instead of the full<?php
and some servers have a problem with it, maybe yours. I’ve now edited all examples on this page to use the full<?php
to prevent confusion by future viewers.In reply to: How do you change the Freshness of post date format?You don’t have title anywhere in there.
And I don’t understand what you are trying to do.
Do you want the regular text to read the “days ago” part or the title to hold it?
In reply to: Can't enable user themesI don’t know why I didn’t think of it but Gautam is absolutely right.
Try chmod 755 on your my-templates and my-plugins folders.
They are currently at 750 as you can see in your screenshot.
This will remove the ability for moderators to see IPs anywhere in bbPress.
add_filter('get_roles','no_view_ip');
function no_view_ip($roles){unset($roles['moderator']['capabilities']['view_by_ip']); return $roles;}It will work in bbPress 0.9 or 1.0.
In 1.0 you can just put it into
functions.php
in your template folder or make it into a mini-plugin for 0.9In reply to: Issue retrieving user id for plugin.case matters, it’s
->ID
In reply to: bbPress 1.0.2 and bbPress 0.9.0.6 releasedI’m assuming the legacy counter is either something in progress or a url typo?
In reply to: bbPress 1.0.2 and bbPress 0.9.0.6 releasedIn reply to: Sneak peek at bbPress.org 2.0lstelie, it’s not a theme for release, it’s going to be for here on bbpress.org
Though I am certain someone will clone it in short time like the did with wordpress.org