For reference, I just ran across this as well:
http://www.w3.org/TR/xhtml1/#prohibitions
form
must not contain other form elements.
755628Inactive
Hi,
Now the subforums’ subforums show, but along with the subforums. It displays just like the original forum.php now.
chrishajer, _ck_,
I’ll take a look at the templates. I’ve only just inherited the system, so I have no idea how it was setup.
Thanks for the help
Guy
EDIT: Yep, removing the nested form does the trick. I should have checked out the source code before bothering you, sorry. Thanks again for the help.
Hang on while I double check the code, apparently I guessed wrong somewhere or missed something.
update: perhaps it’s because $forum is not declared as a global in the template when when it loops through the forums it doesn’t see the changed parent.
Try this update:
http://pastebin.com/m3cef6607
Take a look at this source.
<form id='tag-form' method='post' action='http://support.westciv.com/tag-add.php'><fieldset>
<form method="post" action="http://support.westciv.com/tag-add.php">
<input name="tag" type="text" id="tag" size="10" maxlength="30" />
<input type="hidden" name="id" value="354" />
<input type="submit" name="Submit" id="tagformsub" value="Add" />
</form>
<input type="hidden" name="_wpnonce" value="907a29b341" /><input type="hidden" name="_wp_http_referer" value="/topic.php?id=354" /></fieldset></form>
I don’t think bbPress normally has a form within a form for adding a tag. Not sure if that’s a problem or not, but the hidden fields for_wpnonce and _wp_http_referer are outside the first form tag: maybe FF can handle it but other browsers cannot?
More data. Here is the request to add a tag when using FF3:
cookie=bbpress_a2763cd41fe17b461fa952334e00e45c%3Dchrishajer%257C1216783299%257Cb630b90e0e5d52cf8499cfbe58629223&action=add-tag&tag=style.css&id=350&Submit=Add&_wpnonce=bd6cc486c3&_wp_http_referer=%2Ftopic.php%3Fid%3D350&topic_id=350&_=
Here is the same request when using IE7:
tag=style.css&id=354&Submit=Add
FF3 works, IE7 does not.
Another data point: I was able to remove and add tags in FF3 but not with IE7. This is the failure message:
Your attempt to add this tag to this topic has failed.
The error messages are all found in bb-includes/functions.php starting at line 2320 (just so you can see what should fail and what message should be shown.)
In both IE7 and FF3, I get this error when trying to edit my profile:
Your attempt to edit this user's profile has failed
No difference between the two browsers, both fail.
755628Inactive
The code that was on my original forum.php is
http://pastebin.com/m3c1eab2b
_ck_’s version that I tried using (it didn’t pop up any forums at all when I tried it) is
http://pastebin.com/m6e93abf8
Can you post a link to your forum so we can modify the actual code?
Can you post the code you’re using at pastebin so we can take a look at what’s happening?
Could someone please post an example line of code that could be added to the appropriate php page to add a navigation button to the header, or just under the header, of a bbPress forum?
I have added a bbPress forum to a website, and just need a nav button on the bbPress forum that can take a user stright back to the home page of the website. I have no idea about php, though, so would be great if someone could add an example link showing the part I should customise in bold, or something like that.
Also, could someon please explain how I position the nav button on bbPress so that it is left-aligned to the header, or just below the header?
Apologies for this demonstration of coding ignorance!
Cheers
Ross
I have another idea why it might only work in firefox.
It’s possible you are somehow sending malformed HTML with a damaged or buggy template and only Firefox is able to interpret it correctly while the other browsers munge the bad code and therefore leave out the missing hidden input fields.
Look carefully at your post-form.php template and see if there is any incorrect HTML. Also try doing a direct download of that ?new=1 page instead of looking at it in a browser and study the source for malformed HTML, for example an <input field without the closing > .
(you could even temporarily replace post-form.php template from the original kakumei theme just to see if it works)
Hmm, this is going to require some thought…
That error occurs when bbPress thinks the source of the post is not coming from bbPress (ie. a spammer trying to do a direct post without first visiting the topic)
The way that’s done is there’s something called a “nonce” which is vaguely like a hidden captcha code that is automatically sent along with the post (via POST data) to tell bbPress it’s genuine.
So for some reason it’s not getting that “nonce” other than Firefox, which is incredibly strange. Do you happen to have a personal firewall or some kind of add-on that’s blocking certain data like that?
I would do a “view source” in both firefox and IE on a page with a textarea (http://support.westciv.com/?new=1) and look at the fields inbetween <form> </form>. See if anything is different.
Again, I’m not an official voice for bbPress, but I don’t see how any of the points listed above are incompatible with the idea that bbPress isn’t a finished program. All of the points are true, it’s a useful and usable program, but it’s not done yet.
Over time, based on feedback and user code contributions I am very confident that integration will become virtually painless and almost instantaneous.
bbPress is only a year old in code development. I’m not sure if you realize that. Polished products like vbulletin are EIGHT years old (and $85 a year plus support plus most plugins and themes are commercially sold)
If you are curious about future features you can always browse the TRAC which will give you a rough idea (ignore the date schedule, they’re just vague estimates). Remember, it’s a community project, you can suggest features and contribute bug fixes too via TRAC.
As of fairly recently, other users and I have only been able to post in Firefox. In all other browsers the error message of “Your attempt to create this topic has failed.” comes up.
The bbPress is not hooked up to a WordPress install, and is running no plugins. I haven’t touched the core code, only the template files (and I’m aware they’re slightly out in IE).
I’ve tried with both a newly registered account, and using my Admin account – both work in FF, but not in anything else.
If anyone could offer some guidance as to why this may be, it would be greatly appreciated.
The URL is: http://support.westciv.com
Cheers
Guy
@citizenkeith
anonymous posting – I did see that plugin but it doesn’t say it works with bbpress 9.0.xxx Does it work with the newest version?
Ck’s attchment plugin- Where do I get it?
banning option- yes by ip maybe a custom ban page or something
no registration- meant hide or disable registration
moderation – What do you mean to some extent? Any plugin to extend it more?
Accept tos- Any idea how I would modify it. I am not much of a coder.
Video would it have to be resized?
Thanks
755628Inactive
Hi,
Okay, so I tried using the code. And it just makes every subforum and its subforums disappear. So everything is there, but with no links to any forums.
I don’t know how to do it on the same, but you could easily make a $bbdb->query call with your own query.
Until now, I never had problems with Flickr rss (I mean these cool latest 75×75 images) because I was using WordPress plugins. But now, I have no idea how to put latest images from Flickr group in my bbPress. I was reading API docs for two days now, and I don’t understand it completely
.
Can anybody help? Or more, anyone have proper plugin?
.
Long or short, still you should write about it here so:
1. People won’t spam your mailbox;
2. People won’t post another topics like this thing will be here
.
I could use something like this for my new project.
The way I hide sub-forums on the front-page is to wrap the code that lists the forums in this simple code:
<?php if (!$forum->forum_parent) { ?> <– this
<tr<?php bb_forum_class(); ?>>
blah blah
</tr>
<?php } ?> <– and this
It essentially just checks if the forum has a parent and doesn’t show it. Now on the forum page that’s a problem because any forum listed would have a parent. Gotta think about that one for a minute…
Oh wait, I know what to do, we just have to check if the forum_parent is equal to the current forum id. This is untested but in theory should work:
<?php $forum_parent=$forum_id; ?>
<?php while ( bb_forum() ) : ?>
<?php if ($GLOBALS['forum']->forum_parent==$forum_parent) { ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><small><?php forum_description(); ?></small><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php } ?>
<?php endwhile; ?>
Note that bbPress is not a finished final product. It’s pre-release and therefore in a state of flux. bbPress has always been a bit behind WordPress changes. If you are using bbPress, you are considered an “early adopter” and therefore you have to accept that things aren’t going to be perfect.
No one but maybe Sam or MDA can say when bbPress will have a release that’s 2.6 compatible. There is code in the trunk that supposedly will work but I wouldn’t recommend using the trunk. It has to be ported to the 0.9 branch and then tested. I suspect they may even wait for the 1.0 beta release and I don’t know if that’s two weeks away or two months away.
Again, there is nothing special about the WP 2.6 release – it only has a handful of extra features and no security bug fixes over 2.5.1 – in fact people are having a bunch of little problem with 2.6 still so why rush to upgrade? I was able to easily downgrade back to 2.5.1 with no problems.
It’s kinda (good) crazy but there’s actually a role key for “recount”.
update: you can make a plugin to give recount access – it will only work for those that can access admin panel
make this into a plugin:
<?php
/*
Plugin Name: Add Extra Caps
*/
function add_extra_caps($caps) {
$caps['recount'] =__('Access the recount administration panel');
return $caps;
}
add_filter( 'get_assignable_caps', 'add_extra_caps');
?>
Install and activate it, edit their profile and check the ability for them. Then they should be able to access it.
You don’t even need to keep the plugin running after that, it can be deactivated/deleted until you want to take away the ability.
I don’t know who set this up but they did a fantastic job:
http://bbpress.itkallem.com/
Apparently they also shared their R-t-L/Arabic modification so others can get online with bbPress more easily:
http://code.google.com/p/bbpressar/
It’s a shame we don’t do unicode support for usernames.
Wasn’t someone looking at making a patch for that?