Skip to:
Content
Pages
Categories
Search
Top
Bottom

Installation Done. But forum doesn’t show up!

Published on June 28th, 2009 by

Hi there,

The installation was very quick and easy. I installed it on forum4finance.com. During installation (step 3), I mentioned the forum url as forum4finance.com/forum … but now whenever I go to that link it gives me a “Page not found” error.

I have tried playing around with permalinks, but that doesn’t work.

Is there anyway to get this up. Or I did some mess.

I can’t work out what’s wrong? Producing a fatal error.

Published on June 28th, 2009 by Rhys Wynne

Hi all!

I’m upgrading a plugin to use the administration menus, rather than editing within the plugin itself. I have used admin functions before (such as add_action), but for the life of me I can’t figure out why I’m having problems adding it this time around.

Basically, on activation of the following plugin I get a “this plugin has caused a fatal error” (but it is activated), and on deactivation I get “Warning: Cannot modify header information – headers already sent by (output started at /home/britain/public_html/forum/bb-plugins/top-posters-code.php:32) in /home/britain/public_html/forum/bb-includes/pluggable.php on line 232”.

Here is the code

<?php
/*
Plugin Name: Show Top Posters (backup)
Plugin URI: http://www.gospelrhys.co.uk/bbpress-plugin-show-top-posters
Description: Readers with the most postes are displayed on your bbpress forum, with their names (linked to their website if they provided one). Based on the <a href="http://www.pfadvice.com/wordpress-plugins/show-top-commentators/" target="_blank">Show Top Commenters</a> plugin for WordPress by <a href="http://www.savingadvice.com" target="_blank">Nate Sanden</a>
Version: 1.2
Author: Rhys Wynne
Author URI: http://www.gospelrhys.co.uk
*/

add_action('bb_admin-header.php', 'show_top_posters_admin_page_default');
add_action('bb_admin_menu_generator', 'show_top_posters_add_admin_page');

function show_top_posters_add_admin_page() {
bb_admin_add_submenu(__('Show Top Posters'), 'use_keys', 'show_top_posters_admin_page');
}

function show_top_posters_admin_page_default() {
echo "test";
}

function show_top_posters_admin_page() {
echo "test";
}

function show_top_poster_text() {
echo "test";
}

?>

Any suggestions?

How to print all user profiles

Published on June 28th, 2009 by

I want to display a list of all the users on my blog (wbs80.com) and their profile information.

I have been looking at the bbpress code and trying several tests…but unfortunately without success.

My approach is to get the list of profile keys, get the list of users and for each user display the username and profile information. The code segment that I have is:

<?php

require_once (‘../../bb-load.php’);

global $bddb;

$profile_keys = get_profile_info_keys();

//print_r($profile_keys);

$userinfo = $bbdb->get_results(“SELECT * FROM $bbdb->users WHERE user_status = 0 ORDER BY ‘ID'”);

//print_r($userinfo);

foreach ($userinfo as $key) {

$metainfo = $bbdb->get_results(“SELECT * FROM $bbdb->usermeta WHERE user_id = $key->ID”);

// ???

}

?>

I don’t know how to use the “profile_keys” value(s) to access the “metainfo” data structure and extract the data.

Any help would be greatly appreciated!

Topic slugs & numeric IDs

Published on June 27th, 2009 by

I don’t fully grasp the relationship between ‘slugs’ and forum topics, and would appreciate a nod in the right direction.

I can see that when permalinks are set to None, the forum.php file is fed an ID and then grabs the topic(s). When I originally set up one of the forums I set the permalinks to Name based (pretty..?) and all worked fine. However, I moved the forum into a sub-folder, and changed the URI in the topicmeta DB table, so the forum index page appears in the browser. But, while I can navigate fine with permalinks set to None (ie., topics passed by number), it refuses to work when set to Name.

I realised this might be the slugs in the DB, and so tried removing one and switching permalinks off/on. It fails to find the topic page. If I set permalinks back to None, it works ok.

Am I right in assuming it’s using the slugs for topic navigation? If so, is there a way of rebuilding the slugs so that they work within the new sub-folder? (And incidentally, why are they called ‘slugs’..?)

I have avatars showing but i get a error msg?

Published on June 27th, 2009 by

http://www.monstershideout.com/page_id1055/forums/topic.php?id=7

If you look at the post, it looks fine, the avatar, shows, but i get this msg? What do i do?

bbPress database error: [Table ‘monstet5_bbp01.options’ doesn’t exist]

select option_value from options where option_name = ‘gravatar_local’ limit 1

Profile page and favorites visible to unregistered User???

Published on June 27th, 2009 by infected

Hi!

I´m having a problem, that i can´t reproduce on this forum for example. If i visit my testforum as unregistered user i´m able to click on the members profiles. That´s okay, but in my sidebar 2 links appear, profile and favorites. Is it right, that the favorites link is displayed to unregistered user so that they can watch every users favorites? I don´t think so. Maybe i done something wrong while creatin my own theme… I don´t know.

Here´s a link to my testforum (it´s not finished yet): http://www.test.be-infected.de/forum/

Logging Out Error?

Published on June 27th, 2009 by

http://www.monstershideout.com/page_id1055/forums/

I can register and log in fine, but when i hit log out

http://www.monstershideout.com/page_id1055/forums/bb-login.php?logout

i get this error msg

bbPress database error:

[Table ‘monstet5_bbp01.bb_online’ doesn’t exist]

SELECT * FROM bb_online WHERE user_id = 2 LIMIT 1

Warning: Cannot modify header information – headers already sent by (output started at /home6/monstet5/public_html/page_id1055/forums/bb-includes/db-mysql.php:130) in /home6/monstet5/public_html/page_id1055/forums/bb-includes/pluggable.php on line 232

???

Special characters in plugin mails are messed up

Published on June 27th, 2009 by

Hi, I am trying to use Post Notification and Report Post plugins on a site running in Slovak language, that means, I need to use special characters. I am not good with php, so forgive me, if am not technical enough :)

The system e-mails (like user registration) are working fine. However, when sending mail through Post Notification, or Report Post plugin, the special characters are messed up.

When I was checking the source code of the mails, I have discovered, that the registration mails contain the line “Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=”UTF-8″”.

The Post Notification mails (also the Report Post plugin mails) do not contain any charset specification (the source code contains this: X-Amavis-Alert: BAD HEADER SECTION, Non-encoded 8-bit data (char C3 hex).

Can that be the source of my problem, if yes, how can I solve it?

WPMU integration fails on admin exists

Published on June 27th, 2009 by flashdeveloper

I have searched the forum for answers to this, and there are certainly lots of threads on the topic. But no matter what I try, I get an error about the “admin” account already existing, and the install fails.

I recently tried to install bbPress 0.9.0.5 with WordPress MU version 2.7.1 and I keep running into trouble. The bbPress installation, when trying to integrate and share the database, will not allow me to specify the “admin” account as the bbPress key master. It fails saying that this account exists already.

Has anyone run into this? Should I be using a different version of bbPress? Does it matter that I already installed BuddyPress plugin, version 1.0-rc-3 ?

I have seen several tutorials on the bbPress – buddyPress – WPMU combo, but I don’t think they were using the very recent versions that I have. SO if anyone has very current experience, that would be extremely helpful. Or perhaps I just need to use older versions that match the tutorials.

Super Search plugin failing

Published on June 26th, 2009 by

I just downloaded and installed Super Search on my 0.9.0.5 forum. I get the following error from the GZip plugin;

Warning: ob_start() [ref.outcontrol]: output handler ‘ob_gzhandler’ cannot be used twice in /home/letsdoo/public_html/TalkSpirit/my-plugins/_bb-gzip.php on line 12

but I can’t find anything in Super Search using gzhandler. Any ideas folks..?

Skip to toolbar