Search Results for 'code'
-
AuthorSearch Results
-
May 14, 2011 at 1:00 am #105634
In 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 #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 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 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 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 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 #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 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 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 #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
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 5:56 am #38446Topic: New bbP plugin install, users cannot create topics
in forum Troubleshootingtooltrainer
MemberThis is an issue I’ve seen several times with my heavily customized production site, and I have assumed it was related to my custom work. I decided to start a fresh install and see about re-integrating with the current trunk, and “do it right” this time.
However, with a brand new bbP install, running the included 2010 theme, logged in users with the “subscriber” role, still can’t create topics at all. In fact nobody but admin can.
Does anyone know what is causing this? Users just get the
Sorry!
You cannot create new topics at this time.error on any forum page.
Thanks!
Jonathan
May 13, 2011 at 4:00 am #100519In reply to: Can't run bbP Plugin in a subdirectory
tooltrainer
MemberYou & me both my friend, you & me both!

Now back to the fun stuff… letting my coder work really hard and solve all my problems for me! *snort*
But seriously, I’m optimistic now.
Actually on a somewhat related note… how would you generally recommend people work with the SVN repo for bbP? I checked it out the other day but I’ve only used SVN for my own projects where I’m intimately familiar with the code and I’m also doing checkins. I’ve never worked in a “read only” fashion, where the changes I make must NOT be checked in. Been having a hard time wrapping my head around a good way to stay current using the repo but not lose my changes. Any advice there?
Jonathan
May 13, 2011 at 4:00 am #105619In reply to: Can't run bbP Plugin in a subdirectory
tooltrainer
MemberYou & me both my friend, you & me both!

Now back to the fun stuff… letting my coder work really hard and solve all my problems for me! *snort*
But seriously, I’m optimistic now.
Actually on a somewhat related note… how would you generally recommend people work with the SVN repo for bbP? I checked it out the other day but I’ve only used SVN for my own projects where I’m intimately familiar with the code and I’m also doing checkins. I’ve never worked in a “read only” fashion, where the changes I make must NOT be checked in. Been having a hard time wrapping my head around a good way to stay current using the repo but not lose my changes. Any advice there?
Jonathan
May 13, 2011 at 3:33 am #100518In reply to: Can't run bbP Plugin in a subdirectory
John James Jacoby
KeymasterPhew.

I really hoped I wouldn’t need to trouble shoot more complicated permalink issues.
May 13, 2011 at 3:33 am #105618In reply to: Can't run bbP Plugin in a subdirectory
John James Jacoby
KeymasterPhew.

I really hoped I wouldn’t need to trouble shoot more complicated permalink issues.
May 13, 2011 at 3:28 am #100508In reply to: bbpress as wordpress page
John James Jacoby
KeymasterCorrect: alpha, beta, stable. Here at bbpress.org, we’re still running the stand-alone installation of bbPress. We are (kind of) following my own advice and not running pre-release software on a live environment. Instead, we’re running the latest trunk version of bbPress stand-alone which will eventually be 1.1.
It’s complicated.

All you need to know, is the plugin version sounds like it’s exactly what you want, and it is only a few days away from being a public alpha.
May 13, 2011 at 3:28 am #105608In reply to: bbpress as wordpress page
John James Jacoby
KeymasterCorrect: alpha, beta, stable. Here at bbpress.org, we’re still running the stand-alone installation of bbPress. We are (kind of) following my own advice and not running pre-release software on a live environment. Instead, we’re running the latest trunk version of bbPress stand-alone which will eventually be 1.1.
It’s complicated.

All you need to know, is the plugin version sounds like it’s exactly what you want, and it is only a few days away from being a public alpha.
May 13, 2011 at 3:28 am #95317In reply to: bbPress 2.0 – Updates
Anointed
ParticipantYeah the code looks much more user friendly than before. I was actually meaning to ask how this is going to work with bp as that is my ultimate goal. Hoping we don’t have to wait till 1.4 or something… I have not been paying attention to any bp/bbpress news lately, so way behind the times.
I just found bbp_custom_template so needless to say I am in heaven. So long as I have an easy way of using my own template files for each custom bbpress area, life is good.
p.s.
Are there plans on adding in post taxonomies metadata for things like turning forum posts into ‘questions, answers, suggestions, etc’ like getsatisfaction does?
(If not then I’ll do it myself, just don’t want to recreate a wheel already built)
May 13, 2011 at 3:25 am #95316In reply to: bbPress 2.0 – Updates
John James Jacoby
KeymasterCool. I’ll play with flushing the rewrite rules some more, and see if I can make this more automated. There’s a sweet spot that needs to be found with these, and I’ve managed to miss it so far.
May 13, 2011 at 3:16 am #100506In reply to: bbpress as wordpress page
John James Jacoby
KeymasterThe regular bbPress installation won’t do that without much, much work.

For example, here at bbPress.org, we have 1 unified theme, that both the blog and the forums use. It’s a completely custom theme, on top of a very complicated installation that integrates with shared user tables over at wordpress.org, several themes and plugin repositories, etc…
So, it can be as simple or as complicated as you need it to be, but the plugin version of bbPress will give you a huge head start.
May 13, 2011 at 3:16 am #105606In reply to: bbpress as wordpress page
John James Jacoby
KeymasterThe regular bbPress installation won’t do that without much, much work.

For example, here at bbPress.org, we have 1 unified theme, that both the blog and the forums use. It’s a completely custom theme, on top of a very complicated installation that integrates with shared user tables over at wordpress.org, several themes and plugin repositories, etc…
So, it can be as simple or as complicated as you need it to be, but the plugin version of bbPress will give you a huge head start.
May 13, 2011 at 3:04 am #95313In reply to: bbPress 2.0 – Updates
John James Jacoby
Keymaster@anointed – Excited to see what you come up with. I know you’re quite familiar with BuddyPress, so hopefully you’ll 1.) feel comfortable and see the similarities, and 2.) see how bbPress has improved on those similarities, and see what’s going back into BuddyPress.
-
AuthorSearch Results