Search Results for '+.+default+.+'
-
Search Results
-
Topic: Plugin – Member List
Here’s one I hope you all enjoy.
This plugin and helper files allows you to link to a member list page, which by default displays the username, user title, home page, join date (with some easier-to-read formatting), and I left in some commented out code for post count if you have my post count plugin installed (if not, you might want to delete those lines from memberlist.php).
Additionally, you can click the colum title for Username and Join Date and get the list sorted by that column. Furthermore, if you click the same column again, it sorts it by the column in descending order.
Lastly (and the coolest part in my opinion), admins will see an extra part to the table that will allow you to delete users (as many or few at one time as you want). Users without the ability to delete users will not even be able to see the added cells or submit button.
To see the member list in action, visit http://www.rayd.org/forums/ (the link is at the top). You won’t be able to see the cool admin parts of the table, of course
To download the plugin, visit http://faq.rayd.org/memberlist/
This plugin is another simple one. It allows you to set an inactivity limit on threads shown on the forum main page. The default is set to 7 days, and if you like that setting, then all you have to do is put the file in your my-plugins directory. If you want to change it, it’s easy enough (desciption in the readme).
You can download the file and read the instructions at http://faq.rayd.org/bbpress_limit_recent_activity/
You can see it being used at http://www.rayd.org/forums/ (notice how there are no threads in the “Latest Discussion” section whose last post is older than a week).
Enjoy!
Sorry about having to make a change in functions.php, I just don’t know how else to do it.
You can see it in action at http://www.rayd.org/forums2/
You can download the file at http://faq.rayd.org/bbpress_avatar/ (link goes to readme which has link to file).
Don’t forget to change your css file in the described fashion. By default (which, I like this) anything that goes beyond the bounds of the author box is hidden.
I’ve played around with the default theme a bit, and came up with something that keeps the general feel, but adds a prominent link to the RSS page (using CSS), and made the “tag” heading link to the tags page for a bit of added spice. Oh, and I’ve added snazzy stripes to the tag background ala hoodwinkd as a nod in their general direction.
Here’s the URL to the forum posting (also give you a preview of the theme):
<p class="soapbox">
Having hacked at the default bbPress template I’m conscious that it makes extensive use of element identities for it’s formatting.
i.e. elements have an
id="xyz"
or aname="xyz"
attribute, and in the css there is a corresponding#xyz { color: #FFF; }
.With a pluggable base model such as bbPress it makes sense to specify “how to render things like this” rather than “how to render the thing called this”.
Thus my request and suggestion is that anyone considering designing bbPress themes in the future seriously considers using CSS classes instead of IDs for formatting.
The use of classes has the same effect as id’s, but there is a key benefit: an ID can only appear once on a page, so if a page element is repeated, and it’s formatting is based on an ID, then the template breaks.
</p>
Because I like to be difficult, I have my WordPress installed at ~/siliconholler.com/blog/ and mapped to http://blog.siliconholler.com/. My bbpress installation is in directory ~/siliconholler.com/forum/ and mapped to http://forum.siliconholler.com/
It mostly works. When I try to look at the default topic http://forum.siliconholler.com/topic/1?replies=1 I get a 404. If I try to view a profile http://forum.siliconholler.com/profile/1 I also get a 404.
.htaccess currently has Options +MultiViews and I have also tried the code generated by /bb-admin/rewrite-rules.php
My config.php reads:
// ** MySQL settings ** //
…
$bb_table_prefix = ‘bb_’;
$bb->domain = ‘http://forum.siliconholler.com’;
$bb->path = ‘/’;
$bb->name = ‘Reality Me Discussions’;
$bb->admin_email = ‘validemailaddyhere’;
$bb->mod_rewrite = true;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = -5;
define(‘BBLANG’, ”);
$bb->akismet_key = ‘properkeyhere’;
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘http://blog.siliconholler.com’;
$bb->wp_siteurl = ‘http://blog.siliconholler.com’;
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
Any suggestions?
Doug McCaughan
Hi everyone, I’ve just had one hell of a night trying to figure out this bbP/wP integration stuff. Eventually, I thought I’d do a clean test install and work from there to see if I could isolate the issue, so I installed:
BBpress 0.7.3
WordPress 2.0.5
on
Apache 2.0.59
mySQL 5.0.19
PHP 4.4.4
via MAMP on Mac OS 10.4.8
with WP in root and BBpress as subdirectory “discussions”.
I then configured wp-config.php and config.php like so:
<?php
define('DB_NAME', 'database');
define('DB_USER', 'root');
define('DB_PASSWORD', 'root');
define('DB_HOST', 'localhost:8889');
$table_prefix = 'wp_';
define ('WPLANG', '');
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
and
<?php
require_once(dirname(dirname(__FILE__)) . '/wp-config.php');
define('BBDB_NAME', 'database');
define('BBDB_USER', 'root');
define('BBDB_PASSWORD', 'root');
define('BBDB_HOST', 'localhost:8889');
$bb_table_prefix = 'bb_';
$bb->domain = 'http://192.168.0.149:8888';
$bb->path = '/discussions/';
$bb->name = 'the Forum';
$bb->admin_email = 'email@email.com';
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = -8;
define('BBLANG', '');
$bb->akismet_key = '***********';
$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://192.168.0.149:8888';
$bb->wp_siteurl = 'http://192.168.0.149:8888';
define('BBPATH', dirname(__FILE__) . '/' );
require_once( BBPATH . 'bb-settings.php' );
?>
(the 8888/9 ports are MAMP defaults; 192.168.0.149 is the LAN IP of the computer I’m running this on)
Then I ran the install scripts, and lo and behold, everything seemed to be working great. Then I began to add plugins one by one, and, to make a long story short, found that:
Whenever the Sidebar Widgets plugin was activated along with a separate widget (including those included with it, del.icio.us and google, as well as akismet, which has a widget built-in), trying to load a BBpress page would yield a blank page. However, if Sidebar Widgets was activated but no widget plugins were, it would work fine–I could even use the integrated widgets (RSS, categories, calendar, etc) on the blog. Likewise, if Sidebar Widgets is deactivated, but all the widgets are activated, it still works fine.
Also: the Front Page Topics plug-in for bbPress, regardless of any other plugins in wP or bbP, yields a similar blank page on posting a new reply, starting a new topic, making a new forum, or logging out. If I go back and refresh, the topic/reply/forum HAS been created… but the logout attempt is UNsuccessful. Like I said, I tried this with no bb or wp plugins, as well as a variety of them, and its always the same result.
Ok, its 4:15 in the morning, I have class at 8 and I’m going to go pass out, but hopefully this is enough information for someone to tell me what gives…
Thanks for reading/any help.
-G