Search Results for ' . default . '
-
Search Results
-
Topic: Changing display name
I want to change my display name from the default “admin” to something else. In the Profile/Edit panel under ‘Display Name As’ there is a little dropdown menu that shows “admin” as the one and only display name and there’s no way of changing it. I can’t figure out how to do this. It’s the only place I can find a way of editing this info.
I’m working on editing the default bbPress theme and have almost got it where i want it, but I’m having one problem. The base font color seems to be black (which you can’t read against my dark gray background) and while I have edited the CSS of enough of the theme to change most of the colors, certain ones just won’t change. Specifically the bullet points, the [ ] that surround certain things, and the names of Discussions. They are all still black, and I can’t find where this is in the stylesheet. If I add something like color:#fff to the body it changes fonts I don’t want changed. It’s only a handful but I think they must all be controlled together somewhere, I just can’t figure out where.
I’m attempting to do an upgrade of bbPress from 0.9.2 and get the following error every time I attempt to access any bbPress pages:
ERROR: Could not establish a database connectionI did some experimenting and found that when I change the table prefix from the one I’ve been using back to the default of bb_, I’m prompted to perform a new installation. The problem with this is that I don’t want to lose the existing contents of the forum.
Any advice or suggestions would be most appreciated.
I used the default kakumei theme to create my own layout and everything works fine except for the following the “post_author_link,” and “post_author_title_link.” No matter what thread I have opened the tags always display the text “Anonymous Unregistered.” (example) I guess there’s sort of code that’s supposed to preface those tags, but I can’t figure out what it is. Any suggestions?
p.s. Don’t let the name fool you, my website is safe for work.
Topic: Function include error
Hey,
I changed this line in my theme:
<p><?php _e(‘Allowed markup:’); ?>
<?php allowed_markup(); ?>.
<?php _e(‘You can also put code in between backtick ([…] ) characters.’); ?></p>to this line
<p><?php _e(‘Allowed markup:’); ?>
<?php allowed_markup(); ?>`. <?php _e(‘ ‘); ?></p>And then I got this error on the forum:
Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /domains/lijstblanco.nl/DEFAULT/bbpress/bb-includes/functions.bb-template.php on line 45
So I changed it back, but the error remains!
Any idea what to do now?
It was annoying me that by default bb_title() on the topic page didn’t include the name of the forum in it. I wanted
Topic name < Forum name < Site name
but bb_title() default is:
Topic name < Site name
So I wrote this little plug-in and now I’m happier.
<?php
/*
Plugin Name: Better Topic Titles
Plugin URI:
Description: Add the forum (category) name to the topic title in <title> for the love of SEO!
Author: Phil Thompson
Version: 1.0
Author URI: http://imgiseverything.co.uk/
*/
function better_topic_titles($title){
$separator = ‘«’;
$forum_name = get_forum_name();
if(!empty($forum_name) && strpos($_SERVER, ‘topic’) !== false){
$title = str_replace($separator, $separator . ‘ ‘ . $forum_name . ‘ ‘ . $separator, $title);
}
return $title;
}
add_filter(‘bb_title’, ‘better_topic_titles’);
?>
I’ve not found any issues with using it but I’m sure someone can have a look and improve it; if they think it’s necessary.
). All I’d need is to possibly be informed on new features or functions that I could design for. I could come up with cool mock-ups, and if the community likes it, I could chop it up into a theme.