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?logout
I’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