Search Results for 'test'
-
Search Results
-
Topic: Avatars in bbpress
So, I just started using bbpress 3 days ago mostly because phpbb is God awful when it comes to spammers (akismet is pretty awesome on my homepage, so I assumed it would also be awesome in forums).
At any rate, I installed a copy as a test and have been playing with it, got kinda sad that avatars weren’t supported (and didn’t want to make people get gravatars just to have an avatar, esp since gravatar service was down the other night). So I wrote my own avatar functions.
I have everything I did on my forums, or you can just go check it out at http://www.rayd.org/forums2/
My question is, can what I did be done in a plug-in? I know I can put my two ground-up functions in a plug-in file, but the one I don’t know how to do is the way I added a spot for a link to an avatar in profile pages. Here’s the link to me describing what I did, and the quote from what I’m talking about:
http://www.rayd.org/forums2/topic/6?replies=1
bb-includes/functions.php line 1388: Added avatar info to the array in function get_profile_info_keys(). Looks like this:
array(‘user_email’ => array(1, __(‘Email’)), ‘user_url’ => array(0, __(‘Website’)), ‘from’ => array(0, __(‘Location’)), ‘occ’ => array(0, __(‘Occupation’)), ‘interest’ => array(0, __(‘Interests’)), ‘avatar_loc’ => array(0,__(‘Avatar URL’)))
As you can see, adding that little avatar stuff at the end of that array definition not only easily added the spot to the page, but put it in the database and allowed me easy access to it in my other functions.
I’d love to make this into a plug-in, I just don’t know how to do that. Any advice would be great
Topic: K2.F
to those who clicked in because of the “K2” prefix, you’re in luck! and i’ll try not to disappoint you… K2.F is my forums edition rendition of K2 (http://getk2.com/). it has nothing to do with the creators of K2, it’s my personal project… for now.
currently in ALPHA 0.0.4, it’s already much emulating K2. i’ve even tested applying a K2-style onto it… it works! although no options page etc (you’ll have to manually uncomment stuff and add urls yourself) it’s pretty close. opposing K2’s design with a sidebar on the right, i left it on the left for K2.F…
this is basicly a redesign, no funky features… YET.
K2.F is still quite a brittle cookie. still going thru it’s alpha stages, is not yet ready for public consumption.
fot those who can’t wait, here’s my LIVE demo… and the related post in my blog. enjoy~
Live Demo: http://unlimitedinfinity.com/forums/
Related Blog Post: http://unlimitedinfinity.com/?p=642
Topic: don’t work ADD NEW» button
I integrating my blog with bbpress and when I add
require_once('z:/home/test2.ru/www/wp-blog-header.php');in config.php some buttons in bbpress forum don’t work — ADD NEW» and edit profileAny ideas?
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:
<?phpdefine('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
<?phprequire_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