Search Results for 'code'
-
AuthorSearch Results
-
May 14, 2011 at 5:27 am #95334
In reply to: bbPress 2.0 – Updates
Rick Lewis
Memberyes copied. I am using a child theme. where do I add that code?
May 14, 2011 at 5:26 am #105641In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberIt does appear that way at first glance, but can you confirm the problem on 3.1 yourself? I still have a hard time believing that there is an actual bug with 3.1, and yet I’m the only person to have seen it. I’m just not that lucky.

The tester in me wants to see some corroboration from someone outside my immediate circle, of the issue I’m seeing.
Anyone?
Jonathan
May 14, 2011 at 5:26 am #100541In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberIt does appear that way at first glance, but can you confirm the problem on 3.1 yourself? I still have a hard time believing that there is an actual bug with 3.1, and yet I’m the only person to have seen it. I’m just not that lucky.

The tester in me wants to see some corroboration from someone outside my immediate circle, of the issue I’m seeing.
Anyone?
Jonathan
May 14, 2011 at 4:33 am #95331In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterAlso, the code itself is very heavily documented. If you’re curious about the inner workings, dive in and take a look. Honestly, documenting bbPress.org will be largely a community effort once I get things setup here. I’ll contribute to get it off the ground and will always be around to help, but it’s hard to build everything and document everything too. The WordPress codex is the culmination of years of hundreds of developers chipping in, and both bbPress and BuddyPress will eventually have something similar.
May 14, 2011 at 4:29 am #95330In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterCategories are basically just forums you can’t post to. This mirrors existing bbPress behavior, and not existing (other forum platform) behavior. This is mostly just a presentation issue, so if you figure out a way to make it do what other platforms do, drop a patch in Trac.

I don’t imagine it will difficult to make it do what you want, since it’s just opening and closing elements in the loop, but things will get confusing when nested and multiple child/sibling elements come into play. I remember this from my old phpBB days.
May 14, 2011 at 1:34 am #105637In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberWordPress 3.1.2 and I’ve reactivated many times… no change. Just did it again right now.
I agree this is the strangest issue, and that’s part of why I’m so passionate about it. In a “former life” I was a software QA engineer and a bug like this would just never sit well with me.

Possibly related note, it seems that after reactivation I also have to re-save my permalinks… could be related to the flushing problem I’ve seen you mention elsewhere.
Let me know if by chance you spot anything when you regress to 3.1! There has to be an explanation for this… there just has to be!
Jonathan
May 14, 2011 at 1:34 am #100537In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberWordPress 3.1.2 and I’ve reactivated many times… no change. Just did it again right now.
I agree this is the strangest issue, and that’s part of why I’m so passionate about it. In a “former life” I was a software QA engineer and a bug like this would just never sit well with me.

Possibly related note, it seems that after reactivation I also have to re-save my permalinks… could be related to the flushing problem I’ve seen you mention elsewhere.
Let me know if by chance you spot anything when you regress to 3.1! There has to be an explanation for this… there just has to be!
Jonathan
May 14, 2011 at 1:29 am #105636In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
KeymasterWhat about deactivating and reactivating bbPress? It sounds like your caps aren’t being applied correctly.
To be clear, there are subscribers posting over at testbp.org/discussion perfectly fine, and it’s running exactly the same code you are. Your video was helpful, and it’s really odd that it’s happening for you like that.
What versions of WordPress are you using? I suppose it’s possible it’s a WordPress 3.1 issue, since I’ve moved on to testing with WP3.2 the past two weeks or so. I’ll revert back to 3.1 and see if that changes anything.
May 14, 2011 at 1:29 am #100536In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
KeymasterWhat about deactivating and reactivating bbPress? It sounds like your caps aren’t being applied correctly.
To be clear, there are subscribers posting over at testbp.org/discussion perfectly fine, and it’s running exactly the same code you are. Your video was helpful, and it’s really odd that it’s happening for you like that.
What versions of WordPress are you using? I suppose it’s possible it’s a WordPress 3.1 issue, since I’ve moved on to testing with WP3.2 the past two weeks or so. I’ll revert back to 3.1 and see if that changes anything.
May 14, 2011 at 1:10 am #105635In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberThanks John, and I was actually trying to provide more specific detail as to the problem so someone could help me understand and maybe fix it.
Saved permalinks again (have done so many many times), no change at all.
Just for fun I freshly installed yet another copy of bbP and trunk 3147 this time, no change.
Really sorry if I’m seeming like a nuisance, I just don’t understand at all how I can be the only person seeing this, and I was really put off by the closing of my bug as “expected behavior”. I know it’s not expected for users to never be able to create topics, is it?

Any other suggestions on how to troubleshoot this are appreciated. Also to be clear, a couple weeks ago this DID work just fine. Users of all levels were able to create topics and I had no issues with it at all. That’s part of why I’m so upset… everything was going so well and I was absolutely loving it, that to have it just randomly blow up like this in such a reproducible fashion, is a bit maddening.
Thanks for your help as always…
Jonathan
May 14, 2011 at 1:10 am #100535In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberThanks John, and I was actually trying to provide more specific detail as to the problem so someone could help me understand and maybe fix it.
Saved permalinks again (have done so many many times), no change at all.
Just for fun I freshly installed yet another copy of bbP and trunk 3147 this time, no change.
Really sorry if I’m seeming like a nuisance, I just don’t understand at all how I can be the only person seeing this, and I was really put off by the closing of my bug as “expected behavior”. I know it’s not expected for users to never be able to create topics, is it?

Any other suggestions on how to troubleshoot this are appreciated. Also to be clear, a couple weeks ago this DID work just fine. Users of all levels were able to create topics and I had no issues with it at all. That’s part of why I’m so upset… everything was going so well and I was absolutely loving it, that to have it just randomly blow up like this in such a reproducible fashion, is a bit maddening.
Thanks for your help as always…
Jonathan
May 14, 2011 at 1:00 am #105634In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
Keymaster@tooltrainer – As a bit of advice, these forums don’t have enough traffic to necessitate bumping your topic after only an hour or two of no response. It’s also really draining to read really long replies that only repeat your frustrations instead of providing any more insight. I can tell this is something you’re experiencing and obviously very passionate about, but no one else has experienced this so far. Remember this is *prerelease* software. If you’re relying on it to function 100% correctly all the time on a live site, then you’re breaking rules #1 and #2 of test-club.

If it’s a bug, then it will get fixed. If you have access to IRC and want more personal, live help, join #bbpress on freenode and I can try to help you there when we’re both around.
It sounds like it’s a permalink problem. Go to Admin > Settings > Forums and resave your settings. Let me know if that fixes it?
May 14, 2011 at 1:00 am #100534In reply to: New bbP plugin install, users cannot create topics
John James Jacoby
Keymaster@tooltrainer – As a bit of advice, these forums don’t have enough traffic to necessitate bumping your topic after only an hour or two of no response. It’s also really draining to read really long replies that only repeat your frustrations instead of providing any more insight. I can tell this is something you’re experiencing and obviously very passionate about, but no one else has experienced this so far. Remember this is *prerelease* software. If you’re relying on it to function 100% correctly all the time on a live site, then you’re breaking rules #1 and #2 of test-club.

If it’s a bug, then it will get fixed. If you have access to IRC and want more personal, live help, join #bbpress on freenode and I can try to help you there when we’re both around.
It sounds like it’s a permalink problem. Go to Admin > Settings > Forums and resave your settings. Let me know if that fixes it?
May 13, 2011 at 11:34 pm #105665In reply to: bbpress plugin — custom template mods
John James Jacoby
KeymasterYou’re doing it wrong.

You need to tell bbPress that your theme is going to override the theme compatibility. Sadly we can’t really have that cake and eat it too.
Add this to your functions.php for your theme and it should work exactly like you want it to.
add_theme_support( 'bbpress' );
May 13, 2011 at 11:34 pm #100565In reply to: bbpress plugin — custom template mods
John James Jacoby
KeymasterYou’re doing it wrong.

You need to tell bbPress that your theme is going to override the theme compatibility. Sadly we can’t really have that cake and eat it too.
Add this to your functions.php for your theme and it should work exactly like you want it to.
add_theme_support( 'bbpress' );
May 13, 2011 at 7:28 pm #105628In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberIs nobody else seeing this? Really?? Can someone else please try setting up a new bbP install, create a user with subscriber role, and tell me if that user can create topics?
I just can’t believe I’m the only one experiencing this if it’s genuinely a bug. I’m in real trouble if I can’t find the solution to this right away.

Thanks,
Jonathan
May 13, 2011 at 7:28 pm #100528In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberIs nobody else seeing this? Really?? Can someone else please try setting up a new bbP install, create a user with subscriber role, and tell me if that user can create topics?
I just can’t believe I’m the only one experiencing this if it’s genuinely a bug. I’m in real trouble if I can’t find the solution to this right away.

Thanks,
Jonathan
May 13, 2011 at 1:43 pm #38447Topic: Forum Last Poster and My Views Plugins
in forum Pluginsanswerthink
MemberI have activated the Forum Last Poster plugin in order to add the freshness column to the Forums table. Can anyone help me to make the following modifications?
– If the forum is empty (or if it is a category), I would like it not to show anything.
– Rather than show the freshness, I would like it to show the actual time/date.
– I would, of course, like it to show the correct time/date. I say this because I modified the Latest Discussions code to show the exact date, and the time zone is off by 4 hours. (I imagine the answer might be to make some modifications to the options-general.php file in bb-admin, but none seem to be working for me.)
Here below is my code as currently written (which shows the last poster and the freshness together):
<td class=”num”>by “><?php forum_last_poster(); ?>
on <?php forum_time(); ?></br></td>
I have also activated both the My Views and bb Topic Views plugins in trying to get a “Views” column in my Forums table.
I then inserted: <th><?php _e(‘Views’); ?></th> into the front-page.php file to add the column.
Finally, I added: <td class=”num”><?php echo $forum->views; ?></td> in the appropriate place in order to count the views.
But the View column in the table is blank. Can anyone help?
Thanks.
May 13, 2011 at 10:10 am #100369In reply to: Custom topic Fields
whitehats
MemberI have another (supposedly) silly question.
I have added fields I need to the topic post type, thank you very much. However, I am finding it difficult to post them to the database when I enter any data from the frontend. I can add all the inputs to those fields from WordPress editor, but on-page fields fail on me.
Can I just replicate bbp_form_topic_title() function and modify the new one to suit my needs?
No Core Code has been harmed as yet.
May 13, 2011 at 10:10 am #105469In reply to: Custom topic Fields
whitehats
MemberI have another (supposedly) silly question.
I have added fields I need to the topic post type, thank you very much. However, I am finding it difficult to post them to the database when I enter any data from the frontend. I can add all the inputs to those fields from WordPress editor, but on-page fields fail on me.
Can I just replicate bbp_form_topic_title() function and modify the new one to suit my needs?
No Core Code has been harmed as yet.
May 13, 2011 at 9:48 am #105627In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberI see from the bug closure, how one aspect of it is an orphaned post problem.
And I totally understand that there are possible situations where that could happen.
But I’m seeing that users can NEVER post topics, period, at all. Ever. How is it possible that bbP could be used by anyone if this was the case?
It’s not that they can post topics, and occasionally they get orphaned. Users are greeted with the “Sorry you can’t create topics” error at all times, in all forums, no matter what.
Sure I noticed a semi-workaround by using the admin bar, which resulted in the orphaned topics.
But that isn’t what the bug was originally about. The point was that users are plain & simply not permitted to create topics via the normal forum interface.
What’s even more confusing to me, is that this was working fine about 3 updates ago (updates for me, there have been numerous builds between then and now). I don’t know exactly when the problem started happening because I wasn’t testing for that specific functionality for a little while. All I know is that a week ago I could post topics without any issue, as a subscriber level user. And now I can’t.
This is a complete and total loss of usability of the bbP plugin, and I don’t see anyone else complaining of it so this problem must just be happening to me… and yet I can reproduce the bad behavior on multiple clean installs on multiple servers.
Forgive my frustration please, I haven’t gotten much sleep in the last couple weeks and problems like this that simply make no sense, are keeping me from making actual progress on the most critical component of my site – the forum. Right now, users can simply not use it at all, which will be very very bad for me.

So I’m appealing for some help, advice, pointers – anything! I just have no idea what to do, to get something as simple as user topic creation, working again. I love the bbP plugin and it’s the only forum solution I want to use, but obviously it’s gotta work!
Thanks,
Jonathan
May 13, 2011 at 9:48 am #100527In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberI see from the bug closure, how one aspect of it is an orphaned post problem.
And I totally understand that there are possible situations where that could happen.
But I’m seeing that users can NEVER post topics, period, at all. Ever. How is it possible that bbP could be used by anyone if this was the case?
It’s not that they can post topics, and occasionally they get orphaned. Users are greeted with the “Sorry you can’t create topics” error at all times, in all forums, no matter what.
Sure I noticed a semi-workaround by using the admin bar, which resulted in the orphaned topics.
But that isn’t what the bug was originally about. The point was that users are plain & simply not permitted to create topics via the normal forum interface.
What’s even more confusing to me, is that this was working fine about 3 updates ago (updates for me, there have been numerous builds between then and now). I don’t know exactly when the problem started happening because I wasn’t testing for that specific functionality for a little while. All I know is that a week ago I could post topics without any issue, as a subscriber level user. And now I can’t.
This is a complete and total loss of usability of the bbP plugin, and I don’t see anyone else complaining of it so this problem must just be happening to me… and yet I can reproduce the bad behavior on multiple clean installs on multiple servers.
Forgive my frustration please, I haven’t gotten much sleep in the last couple weeks and problems like this that simply make no sense, are keeping me from making actual progress on the most critical component of my site – the forum. Right now, users can simply not use it at all, which will be very very bad for me.

So I’m appealing for some help, advice, pointers – anything! I just have no idea what to do, to get something as simple as user topic creation, working again. I love the bbP plugin and it’s the only forum solution I want to use, but obviously it’s gotta work!
Thanks,
Jonathan
May 13, 2011 at 8:07 am #95325In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@Rick – No idea what you have going on there. Looks like /forum is loading your “General Discussion” forum, and then some stuff under it. Some kind of canonical redirect with a shortcode and a page slug maybe? It’s really hard to tell.
May 13, 2011 at 6:47 am #105622In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberJust to make sure, I just installed on another copy of WP on a totally different server… stock everything, no other plugins or themes, etc. 100% original WP and bbP code.
Same problem, users with role < admin cannot create topics, no matter what.
Here is the test install:
http://cloudsharehost.com/test/forums/
feel free to log in as user test, password test
I’m really at a loss here, my coder and I are totally dead in the water right now without a solution to this.

Jonathan
May 13, 2011 at 6:47 am #100522In reply to: New bbP plugin install, users cannot create topics
tooltrainer
MemberJust to make sure, I just installed on another copy of WP on a totally different server… stock everything, no other plugins or themes, etc. 100% original WP and bbP code.
Same problem, users with role < admin cannot create topics, no matter what.
Here is the test install:
http://cloudsharehost.com/test/forums/
feel free to log in as user test, password test
I’m really at a loss here, my coder and I are totally dead in the water right now without a solution to this.

Jonathan
-
AuthorSearch Results