I updated to .8.2.1 and this issue isn’t resolved; in fact, it’s worse. I re-hacked the line to read
$words = explode(' ', $tags);
It no longer strips out commas. So a user entering this for tags in a new post:
“one, two, three four five”
returns these tags:
one,
two,
three
four
five
Any ideas how to fix this?
Hi.
I updated to 8.2.1 and i have problems with the plugin Google Sitemap Generator v.6
My forum:
u2fanlife.com/foro
My sitemap: http://u2fanlife.com/sitemap.bb.xml
I saw in the sitemap these URLs:
<url>
<loc>
/?</loc>
<lastmod>2007-04-02</lastmod>
<changefreq>monthly</changefreq>
<priority>0.014705882352941</priority>
</url>
What happens?
Thanks!
No, I think that means that your status is no longer keymaster. I also had this problem. Open phpMyAdmin, go to your wp_usermeta table, Browse it, click edit to modify the MySQL query (this is potentially fatal, be careful).
This query will hopefully show the record you want:
SELECT * FROM wp_usermeta where meta_key = 'bb_capabilities' AND user_id = 1
If your user_id is not one you will need to change it. You should now be seeing a record like this:
a:1:{s:9:"keymaster";b:1;}
That would make you a keymaster. If the record is like this, however:
a:1:{s:6:"member";b:1;}
then you got turned into a regular member. Click the pencil to edit this entry and replace the member thing with the keymaster value (make sure this is your account!). Save changes and check bb.
Be careful, the databases are crucial. This worked for me, but it’s not guaranteed to work or make things better – I can’t see risks but there might be some!
Thanks fel, that worked. Now my problem is it won’t let me in to the admin area – if I try to go to /path_to/forums/bb-admin/ it just spits me back out in /forums/. I figured this must have something to do with the rewrite rules, but I tried accessing them /path_to/forums/bb-admin/rewrite-rules.php and the same thing happens as when I try to access the normal admin area.
Hello, the specific error you have reported could be a permissions problem – although if you tried settings permission to 666 and it still failed, I’m stumped. Alternatively, it could be some other problem with PHP’s move_uploaded_file() function.
What might be helpful is what error PHP returns itself (I’ve suppressed PHP errors in the plugin). You need to temporarily show the PHP error for the function in question by removing the @ symbol from in front of it.
Find the following line in avatar_upload.php (~ #99) and remove the @ symbol before the move_upload_file function.
if ($img_errs == 0 && !@move_uploaded_file($img_temp, BBPATH .$config->avatar_dir . $user_filename) )
.
Then upload the file to the server, chmod the avatars folder to 666 and try uploading an avatar again — please report the full error message you get, including the PHP error.
Oh and I have to ask this, just in case: are all the configuration settings in my-plugins/bb-avatar-upload.php correct? Is the avatars folder in the root and is the $this->avatar_dir config setting pointing to the correct location? I’m sure they are, but I have to check.
These aren’t, like, options you can set. You have to edit the style.css file to change the way things look and sizes of things. To change the actual content and ordering of the content you have to open the corresponding .php file and edit the HTML. So you have to figure out HTML and CSS.
Colours in the .css file are set using hex colour notation. It can be a funny system to get used to. This seems to be a site where you can pick your colour and be told the version you need (in the format #028453, where the numbers can be anything from 0 – 9 or a – f). Then replace all references to the light blue colour (#CCCCEE) with the colour code you want.
To change header size, you have to add some width rules to the #header element. http://www.w3schools.com/css/ is a great guide.
To eliminate the hot tags, open the file front-page.php with a plaintext editor (such as Notepad) and remove a section similar to this:
<div id="hottags">
<h2><?php _e('Hot Tags'); ?></h2>
<p class="frontpageheatmap"><?php tag_heat_map(); ?>
</div>
Those are the things you asked about. For everything else I suggest you do it the hard way, by yourself, learning off the internet. Because if you have a problem and you can fix it, well, you no longer have a problem. But if you’ve got a problem and you don’t know how to fix it you might have that problem for a long time. Also Firebug is the most helpful thing you could possibly have; it lets you make changes (not permanent) to the CSS that you can instanly see and you can look at the HTML very nicely too.
Hi, I am trying to install bbpress for the time. The installation process seems to be working fine but when I use the forum it is not working correctly. I can not access my profile, and when I write a new post I am taken to Apaches 404-page.
Trying to access my profile at the url http://ip/~xxx/xxx/bbpress/profile/1:
The requested URL /~xxx/xxx/bbpress/profile/1 was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I also get the same message after posting, but when I return to the forum the new post is created. So I guess the database is working at least.
The URL in the error message is shorter then the real URL. Currently I use http://ip/~xxx/xxx/bbpress/ but the error message the ip is not shown.
I am using the ip while waiting for som DNS stuff with the domain. Can that be the problem, using ip/~ ? Or do you think it might be something else? I am clueless, but the is not so strange since I am a newbie here.
Ah ha! There aren’t any records in bb_forums, but the table is there. Any suggestions?
This is the function that checks if you’re installed.
function bb_is_installed() { // Maybe we should grab all forums and cache them.
global $bbdb;
$bbdb->hide_errors();
$installed = $bbdb->get_var("SELECT * FROM $bbdb->forums LIMIT 1");
$bbdb->show_errors();
return $installed;
}
Your database version must be correct because it connects ok. Are you sure there’s something, anything, in bb_forums?
Yeah, in your theme’s template file register-success.php. It’s not bad grammar, it’s actually a bug; it should read
Your registration as Username was successful.
I’ll go submit a trac ticket.
Make that “I’ll go have submit a trac ticket which are #669.”
I have translated (mostly) .pot file from 0.8.1 version to Serbian Latin (utf-
.
Download from: http://www.aplus.co.yu/deliver/
There are some phrases that are not translated as I was not sure where are they used. I’m using this on my vine forum and will refine it there, during use.
I noticed that .pot file is not complete, as some phrases are outdated or wrong (ex: “…is proudly powered…” is not the same phrase as in the theme), but it’s fine, most of the time.
Hopefully developers will update the .pot file in the trunk.
Sneaky, sitting on some code to look through error logs here but it’s working at what you might call a sub-optimal level in several respects. Gonna brood on it some more, sorry to still leave you waiting. Will upload it when it works.
@davidbaldwin, the titles and rss are on a toggle, basically, when the page loads up, I check to see if bbpress is running:
global $bb;
if($bb){
if it is I switch the title to bbpress using bb_get_title(), and switch the feed to bb_feed_head();
Your registration as was successful. Within a few minutes you should receive an email with your password.
Now I’m not picky but the first two users that signed up pointed out that there is a typo in the mail sent to new users…
as was successful ???
and where in the code can I modify this?
Thanks
Let it be known that I am a complete tool! I’d left the WP functions include line in the config file, back from when I was trying to integrate the WP head and footer (since just duplicated them in BB). For some reason this was causing the sluggishness and problems with IE.
Doh. Nice to get to the bottom of that!
That’s pretty weird. Have you tried going to bb-admin/themes.php? That’s its default location.
Reinstall won’t help you!
When you log into bb, you also log into WordPress, but not the other way around, right? Trouble logging in is usually a cookie problem.
Add this to your config.php:
$bb->cookiepath = '/';
$bb->cookiedomain = '.example.com';
and this in your wp-config.php for wordpress:
define('COOKIE_DOMAIN', '.example.com');
define('COOKIEPATH', '/');
I think that those are all the things you need to set. Give it a go.
To get www.community.example.com you need to set up a subdomain. This is usually done in your control panel. Bear in mind that some hosts have restrictions on numbers etc.
Hi,
Can someone recommend if I should do a re-install?
WP is currently installed here: http://www.website.com/community/wp
bbpress is currently: http://www.website.com/community
Even though I managed to get the 2 sites integrated – i can see the same users on boths sites but am having problems logging in. And I know I need to do something to config.php but can;t quite figure it out. Or would a bbpress re-install solve my issues?
Also how do I setup something like http://www.community.website.com?
You advise will help a lot. Sorry I’m new to all this and this has been rather fasinating to me becos I’m a chef by training
You cannot imagine the good you guys have done!
Thanks heaps
“The black, green and white really works.”
-> I agree!
I’m thinking that literally translating “tags” is not a a good idea because in spanish it doesn’t sound very meaningful. Same with wordpress “categories”, it sounds strange.
I’d like to suggest anyother word but I still haven’t found a good one
Hey, I really like that! It looks great. The black, green and white really works.
The link colour is a bit confusing though. Tag links are light blue when hovered but nothing else is? They’re text colour normally? The biggest change (backround to black) is when you hover over the table row, yet you’ve still gotta hover over the actual title. Then people’s names are always light blue yet only sometimes links, while the actual link under their name is text colour. It confuses me
I think you’d be better off just sticking to green and black, because that does work really well and it’s one damn cool design.
Hey, fel 64!
Then this is a bad new because it is not smart at all changing core files.
However I have a half working “B plan”
You can get rid of that streams.php error by pointing the ‘BBLANG’ to the wordpress .mo file.
You have to change bbpress config.php like this;
define('BBLANGDIR', '/wp-includes/languages/es_ES.mo');
The problem is that when you copy the bbpress .mo to the wordpress .mo it doesn’t translate anything but the wp itself.
Translation files come in two files; a .mo file and a .po file that I think is the source code.
Perhaps you need to add anything to this .po file but I didn’t find out yet.
No…
I do what this. Sub-forums is not at all what I want… I want to be able to create categories and then put forums and sub-forums in them
Thanks for posting the solution, then
Well, it seems adding this to the root file causes the problems viewing in IE:
AddHandler application/x-httpd-php5 .php
Removing that line means I can view the forum without problems in IE, but then stops WP admin from working properly (why I added it in the first place).
Any way of stopping a child dir (the forum dir) from inheriting that rule from the parent dir, or should I just add the line to the WP admin dir .htaccess file?
Hi Trent – thanks so much for checking it out. Yes – that’s the only line in the .htaccess file:
Options +MultiViews
Any ideas why some links work and others 404?