Update: Somebody asked me how to add a name (instead of just the e-mail address) to the new message received e-mail notification. To do this, just use this format:
$admin_email = "Your Name <you@yourdomain.com>";
When the e-mail is delivered, it will show up as being from “Your Name” and not “you@yourdomain.com”. I’m not sure that this will work on all PHP configurations, but it works on mine.
Woops, rather nasty typo above. Author is spelt with an o, so make that
<td class="num"><?php topic_author(); ?></td>
You already have those columns, dlevy, or do I misunderstand? By default it shows the last poster and when.
No, to be fair I wasn’t. Looking deep into its bowels I can’t see anything that would set $forum_id, although that could be an oversight.
Kakumei does go into main trac.
Not repeatable for me. Topics made since .8.2 in my active forums on Linux / php 4.4.4 I think have been made by a direct call to bb_new_topic(), and under xampp topics made normally also do not have this problem.
Riddle: do please add these to trac if you haven’t already. Login is the same as here.
Why don’t you just set your custom title to “Supermegaadmin”? That should get the message across without needing you to make a new account.
Look for the block of code that makes the forums in front-page.php and in forum.php. Add this in there.
<td class="num"><?php topic_auther(); ?></td>
<td class="num"><?php topic_start_time(); ?></td>
The topic_start_time() expects the format to be MySQL time. They do not need an argument to work but they can have one for whatever reason, I don’t know. I just found these by going into bb-includes/template-functions.php.
$tag = str_replace(',', '', $tag);
(That’s not the actual code you need, just an illustration.)
You could be doing this with a plugin, which is probably preferable as you don’t have to hack the core every time. The filter you want is probably bb_tag_sanitize but I’m not sure. Check http://bbpulp.org/wiki/API/filters and http://bbpulp.org/wiki/API/actions.
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.