Search Results for '"wordpress'
-
Search Results
-
New to WordPress and certainly am not impressed with this Plugin.
Installed new WP v 2.7.1 and uploaded this module bbpress-0.9.0.4 and it fails with the following error message:
Fatal error: Call to undefined function bb_get_option() in /home/m4inform/public_html/wordpress/wp-content/plugins/bbpress/bb-plugins/akismet.php on line 72
I just can’t imagine I did something wrong but assume this plugin works.
Appreciate any pointers.
I am using the StudioPress theme and I have fully integrated bbpress into the theme. I think it looks great, and all the pages seem to be working. View at http:.//mipages.net/forum/ The only problem is that the “forum” tab isn’t hilited when viewing the forum. It always does the “home” one instead.
In my theme I hardcoded the first forum link to http://mipages.net/forum/
The second forum link is actually to just a page I created in wordpress called “forum”. I thought I could edit the link in phpmyadmin to http://mipages.net/forum/ somehow but I couldn’t seem to figure it out. So the link for the second forum tab is actually just a page, and not the actual forum.
So basically I just want one of those forum tabs to be hilited when viewing the forums. It doesn’t matter to me how to get it done. Any suggestions by anyone?
below is my header code for the forum page.
Code:<div id=”nav”>
<?php function get_the_pa_ges() {
global $wpdb;
if ( ! $these_pages = wp_cache_get(‘these_pages’, ‘pages’) ) {
$these_pages = $wpdb->get_results(‘select ID, post_title from ‘. $wpdb->posts .’ where post_status = “publish” and post_type = “page” order by ID’);}
return $these_pages;
}function list_all_pages(){
$all_pages = get_the_pa_ges ();
foreach ($all_pages as $thats_all){
$the_page_id = $thats_all->ID;if (is_page($the_page_id)) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
$output .= ‘<li’ . $addclass . ‘>ID).'” title=”‘.$thats_all->post_title.'”><span>’.$thats_all->post_title.'</span>‘;
}return $output;
}
?>-
<?php
if (is_home()) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
echo “<li” . $addclass . “><span>Home</span>“;if (is_page(‘190’) ) {
$addclass = ‘ class=”current_page”‘;
} else {
$addclass = ”;
}
echo “<li” . $addclass . “><span>Forum</span>“;echo list_all_pages();?>
<div class=”cleared”></div>
</div> <!– Closes Nav –>I changed the code to use the function is_page() when trying to identify it as a forum because that is what it looked like I needed to use, but I’m still pretty new to wordpress functions. the “190” is the id of the entry in my wp_posts table that contains the guid of http://mipages.net/forum/ (the link itself)
So I know it is kind of working, because it is grabbing the right url and everything, I just can’t get it to recognize that is is viewing that current page to add the class.
Help anyone! As soon as I can get this resolved I’d like to publish the modified theme files so other users can easily implement bbpress with their studiopress theme.
Hi,
New WP install 2.7.1 at /.
Working just fine.
Downloaded bbpress and uploaded to /bbpress
Went to /bbpress in my browser and went through the install screens.
wp-config.php did not have a secret key, so generated one, inserted, and FTPd over.
Completed the installation.
But now I can’t see my wordpress at http://www.atcv.net, but get this error:
Fatal error: Call to undefined function wp() in /home/philipsh/public_html/wp-blog-header.php on line 14
Can’t access wp-admin either, get this error:
Fatal error: Call to undefined function get_option() in /home/philipsh/public_html/wp-admin/admin.php on line 21
Any and all help gratefully received.
This is my first jump into bbPress and to be honest, I like the included template. So, I went ahead and used the included and am in the process of modifying it so it fits my needs.
Grayline bbPress Forum is for my automotive blog The-Grayline.com, so the theme is slightly modified to mimic my wordpress blog.
Mods:
Integrated Google Search
CARP Feed Parser for Updates on Blog in Lower Corner
Swapped Latest Posts w/ Forum Sections
The RSS feed for the blog in the bottom right has been floated to the right, so that when logged in the visitors information is displayed to the left and it all looks pretty. Please let me know what you guys think.
), and then just never link to the WP profile stuff. I’m doing that and the three smarties who know they can login on the WP side quickly learned: Ain’t nutin’ there.
I started working on it yesterday, it might actually work.