Search Results for 'code'
-
Search Results
-
I am recording this here only so that I don’t lose the information. My forum has been running for about a month and I have never had an issue logging out. Today only, one time, I logged out and got this error:
bbPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1]SELECT * FROM bbpress_online WHERE user_id = LIMIT 1
Warning: Cannot modify header information - headers already sent by (output started at /htdocs/riverside/forum/bb-includes/db-mysqli.php:147) in /htdocs/riverside/forum/bb-includes/pluggable.php on line 168
This the the URL from the address bar:
http://www.example.com/forum/bb-login.php?logoutI’ve never had that before and I cannot reproduce it. It happened only once and is now fine. I had not edited any files in the past couple of days or added any new plugins. The only thing possibly related is I upgraded from Firefox 1.5.0.x to 2.0.0.1 yesterday, and this was the first time logging out on this computer with that browser (Windows XP if it matters.) Maybe that’s somehow related?
There are places, like in template-functions.php where you want to use singular/plural forms, it goes like :
__ngettext( 'post', 'posts', $post_num )Im translating EN to PL using poEdit and I added there __ngettext keyword, after that it take for me ‘post’ string, but ‘posts’ was ommitted, how to take them all ?
Hi,
Just wonderin IF this is possible and how.
In template-functions.php around row 176 there is the following function:
function get_bb_location() { // Not for display. Do not internationalize.and it has cases like:
case 'index.php' :return 'front-page';
break;
I want to add my own case into this function, but how do I do this? I can do it manually ofcourse, but I want to do this using a plugin. Any ideas?
Thx
Topic: My forums template :)
I made a theme for my forums, and found it rather easy. It was mostly just all css, and a few changes to the front-page.php file.
I’m using a few plugins also:
- Allow Images
- bb-avatar
- bb-limit-latest-discussion
- bb-memberlist
- bb-postcount
- bb-privatemessage
- bb-signature – this one isn’t working for some reason, but i didn’t really look into it
- display-name
- forum-moderators – don’t know if this one is working either
- notification
- onlinelist
Thanks to all who made those

I’ll make the theme more user-friendly and remove the front-page.php changes so that it is more standard and release it to public whenever I change to a new theme. I don’t want other people to be using my theme at the same time I am
Hi,
My plugin has a post form. It works all great, but seems to conlfict with every other post form from the forum. Only the form from my plugin works, all others (like posting a reply) will generate errors.
If tried to resolve this by adding an hidden field:
<input type=”hidden” name=”portalforum” value=”1″ />
so this form is only used when value is 1:
if ($_POST['portalforum'] == 1)This seems to resolve the problem, but ow i get another error:
Warning: Cannot modify header information – headers already sent by etc etc
Any ideas of how to fix this? Or to only use the form when in the admin area?
Thx
I’ve tried to match it up as close as possible to the main site without looking too “off” and feel that I’ve done a pretty good job.

http://www.nowwerecookin.org/bbpress/
You’ll need a p/w and username: test/test
Plugins used:
- Allow Images 0.7.1
- Avatar .73a
- bbEmoticons version 0.72
- Memberlist .73a
- Google Sitemap Generator .6
- BBPress Private Messaging 0.73
- Use Display Name 0.7.2
- Online List 1.3-fix
- WordPress Integration .7
(all plugs found via these forums
)Feedback would be greatly appreciated. I’ve checked on Firefox 2.0 and IE 6.0 but would love to hear from users of other browsers!

Thanks in advance, and a huge thanks to those who’ve posted these plugins, as well as the FAQ and other solutions. Skinning this thing has been a bear, but everything else has been relatively easy as pie.
Either way you release it, will be fine by me.. whee~~