Search Results for '+.+default+.+'
-
Search Results
-
Topic: Installation Troubles
I am currently installing bbpress in /bbpress/ on my web server. WordPress is already running in the root directory, and I am trying to integrate the two user databases. While the installation process seemed pretty straightforward, I ran into a couple issues fairly quick. First off, my wordpress config file didn’t have a lot of the values that bbPress wanted from it. There was no line for a secret key, and there was no a $table_prefix line but no wp_table_prefix line like bbPress asks for. After getting frustrated and messing around a little bit I tried using the prefix of wp_ to see if maybe that was the wordpress prefix (as the installer said wp_ is default) but all it ended up doing was causing errors and now I can’t even log in to change the setting back since it can’t find the user file. I even tried re-uploading a fresh version of the plugin and the settings stayed the same. What can I do to fix this and integrate with wordpress? Thanks
Fresh install of WP2.5 and BB.9.0.1
Within bbpress admin, i setup the maps to from WP -> BB roles
When creating a new user from the WP admin screen, selecting a role of any selection, it will default to the standard member. (verifying by looking under the bb admin user screen)
My solution was to just change the bb_capabilities meta_value to the desired role level of new seeded users.
I’m working with a local fresh install of bbpress and I can’t activate any plugins. (Whenever I click Activate, it says “Are you sure you want to do this?” and seems to be adding an extra backslash in the URL whenever I click YES). If I manually put the URL to activate into the browser without the extra backslash, bbpress spits out a fatal error and doesn’t activate the plugin. I’ve got bbpress working on my web server with all of the plugins, so it’s a problem with the local installation.
The local server is Apache and my config.php looks like this:
$bb->uri = ‘http://localhost/cindyfish’;
$bb->mod_rewrite = false;
(database is working fine, I can click all links in the forum)
I tried changing the uri to just http://localhost/, but then I can’t access the admin panel.
The only edit I made to the core was to modify:
$activetheme = bb_get_option(‘bb_active_theme’);
to
$activetheme = stripslashes(bb_get_option(‘bb_active_theme’));
as instructed in this post:
http://bbpress.org/forums/topic/theme-not-found-default-theme-applied#post-8889
…so I could get my custom theme recognized.
Any ideas?
EDIT: Actually, I CAN activate plugins if I manually paste the URL into the browser and remove the extra backslashes; it failed on the path to url plugin by nanome (http://bbpress.org/forums/topic/updated-to-desmond-but-theme-not-working/page/2)… would be nice tho to create a hack that could fix this for local installations on Windows
EDIT2: Okay, it also seems that bbpress adds the extra backslash only if the plugins are in individual folders. For plugins that sit just in the my-plugins folder, the local installation can activate them fine. Otherwise they have to be linked manually.
I’m just following up – I posted this bug a while ago, and when I didn’t hear back, I researched and found the solution. (wahoo!)
PROBLEM:
If private-forums plugin is installed, users below moderator capabilities will have a BLANK Pick a Section dropdown on post-form.php. If they go ahead and try to click “submit” on their post, they get an error: Forum topic is closed. (error is bogus, obviously, because they are trying to post a NEW topic).
SOLUTION
In the /my-plugins/private-forums.php, replace line 294:
$new_forums[] = $forum;
with:
$new_forums[$forum->forum_id] = $forum;
WHY IT WORKS
The $new_forums array replaces the global $forums array with just the forums that user is permitted to see. The $forums array uses the forum_id as the array index. Without this fix, the $forums array will have the default index, i.e. 0, 1, 2, 3…
If your forum ids are (a) ordered numerically by their id and (b) no numbers are ‘skipped’ in the ids, you may not notice this issue. However, in my case, my forum ids are in the order “6, 7, 1, 10, 9” because we have added and deleted and reordered them over the life of the forum.
Hopefully this helps someone.
Cheers,
k
Topic: Green Home Forums
Spun this up within a few hours using a modified version of the default Kakumei theme. I found it was very easy to add a custom header and logo to.
I’ve noticed there is a serious problem with the way the CSS works for the default Kakumei theme (and any other theme based on it).
As you add information to the post author field on the left, it will start to vertically overflow and start to overlap the next post. This is because the designer unfortunately decided to use a shortcut via
position:absolute
making it impossible toclear:both
columns.Here’s how to easily fix it by appending two simple lines to the very bottom of the
style.css
and no need to search for and edit/replace other lines..threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; }
.poststuff {clear:both;}If you don’t want to edit any core files, simply put this into a plugin (make a new one or any existing one)
function fix_kakumei_css() { echo '<style type="text/css">.threadauthor {position:relative; float:left; margin:0 -110px 0 0; right:110px; } .poststuff {clear:both;} </style>';}
add_action('bb_head', 'fix_kakumei_css');Tested working in Internet Explorer, Firefox, Opera and Safari for Windows. Would appreciate MAC browser feedback?
(I will attempt to automatically include this hack in my plugins to help avoid edits since it’s usually my plugins that add so much info to the left but the new gravatar in 0.9 will also cause the overflow)
Should actually be a core fix now that I think about it.
Topic: User Groups!
Hello,
I am running a gaming community’s web site. Currently I just have bbPress forums up there while I build up the rest of the site’s content. What I needed is Private Forums!
I know there is a plugin for Private Forums. However, it just restricts based on the three default groups (Members, Moderators and Admins) … this does not do me any good since I need to give access only to the members of the actual group, not just the forum. Is there anything out there to help me?