Search Results for 'code'
-
Search Results
-
Hello everyone,
I followed these steps to integrate WordPress with bbPress. However, there appeared some errors that I could not fix.
- Since I am using the theme “Twenty Ten”, I tried to use the page template One column, no sidebar, but could not. Is there any way?
- The sidebar does not appear in your place.
- The footer in both WordPress and in bbPress, was disfigured. How can I fix it?
- The bbPress admin pages comes to a blank page.
Here’s the sites: the blog, and the forum.
Thanks for everything.
Att;
P.S.: Sorry for my terrible English…
The admin functions on the topic.php page (where one can delete, close, stick or move a post) takes up three lines. View source:
<div class="admin">[Stick topic (to front)]
[<form id="topic-move" method="post" action="http://domain/bbpress/topic-move.php">
<fieldset>
<div>
<input type="hidden" name="topic_id" value="5" />
<label for="forum-id">Move to</label>
<select name="forum_id" id="forum-id"">
<option value="4"></option>
<option value="1"></option>
<option value="2"></option>
<option value="3"></option>
<option value="5" selected="selected"></option>
</select>
<input type="hidden" id="_wpnonce" name="_wpnonce" value="(number)" /><input type="submit" name="Submit" value="Move" />
</div>
</fieldset>
</form>]</div>
</div>
The first line ends with a ”.
I’ve examined the topics.php page, found the ‘<?php bb_topic_admin(): ?>’, and found the function in bbpress/bb-includes/functions.bb-templates.php.
if ( !$dropdown )return;
$r = $before . ‘<form id=”topic-move” method=”post” action=”‘ . bb_get_uri( ‘bb-admin/topic-move.php’, null, BB_URI_CONTEXT_FORM_ACTION + BB_URI_CONTEXT_BB_ADMIN ) . ‘”>’ . “n”;
$r .= ‘<fieldset>’ . “n”;
$r .= ‘<div>’ . “n”;
$r .= ‘<input type=”hidden” name=”topic_id” value=”‘ . $topic->topic_id . ‘” />’ . “n”;
$r .= ‘<label for=”forum-id”>’. __( ‘Move to’ ) . ‘</label>’ . “n”;
$r .= $dropdown . “n”;
$r .= bb_nonce_field( ‘move-topic_’ . $topic->topic_id, ‘_wpnonce’, true , false );
$r .= ‘<input type=”submit” name=”Submit” value=”‘ . __( ‘Move’ ) . ‘” />’ . “n”;
$r .= ‘</div>’ . “n”;
$r .= ‘</fieldset>’ . “n”;
$r .= ‘</form>’ . $after;
I thought the problem might be the div after the fieldset, so I changed it to span, but that did not correct the problem. I can not read or understand the function.
Is it possible to get the move option on the same line as the delete, close and stick options?
a) I unzipped wordpress 3.0.1 under /wordpress/.
b) I created the necessary mySQL db and username for wordpress.
c) I entered the db, user, and password into wp-config.
d) I unzipped “bbpress” into a folder inside of /wordpress/ called /bbpress/.
e) I created the necessary mySQL db and username for bbpress.
f) I entered the db, user, and password into bb-config.
g) I enabled multi-site on my wordpress by adding the necessary lines of code to wp-config.
h) I finished up configuring the network for wordpress.
i) I randomized my cookies in wp-config.
j) I went to /bbpress/ and started to configuring it. I specified my website and URL to be /wordpress/.
k) I entered my cookies (including SALT – 8 total), db, user, and password into the /bbpress/ installation website.
l) I ran the installation of /bbpress/ and got no errors – everything is good up to this point.
However, the cookies don’t work! When I log into /wordpress/, it does NOT log me into /wordpress/bbpress/. And vice versa – when I log into /wordpress/bbpress/ it does not log me into /wordpress/ !
Please help – and thank you for your patience.
I’ve never used bbPress before and went for the latest stable release but most of the plugins I want to work don’t work.
Should I regress or should I wait?
It’s really only what I consider the most important ones – the bbCode buttons, the page number links on topic lists and quoting other people’s posts that I’m after
Something strange happened when I tried to log in here using my old username:
I had to reset the password, but when I followed the link in the mail I only got the message “you are not allowed to change the password”??? WTF? Tried several times, and the mail arrives, but I am not allowed to change the password. Had to make a new user in the end
Several days ago I did a new install of bbpress in my wordpress root on localhost/, checked it out and all looked fine. My intention is to work through the integration of wp and bbp, but I didn’t have time to work with it then, so I went back today to try it out and find that there’s a misplaced “?>” displaying at the top of every page – before the header. I also noticed that the footer on the Appearance page of the admin panel runs across the Kakumei-blue theme so that the activate link is inaccesible.
I’ve messed around with it for a few hours – saved my bb-config.php, deleted bbpress/ and replaced it from the zip; checked permissions; repaired my mysql database; restarted my apache2 and mysql services; checked the header.php; cleared my browser cache… I’m at a loss to understand this.
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>bbPress Bulletin Board</title>
<link rel="stylesheet" href="http://localhost/wordpress/bbpress/bb-templates/kakumei/style.css" type="text/css" />
<link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Posts” href=”http://localhost/wordpress/bbpress/rss.php” />
<link rel=”alternate” type=”application/rss+xml” title=”bbPress Bulletin Board » Recent Topics” href=”http://localhost/wordpress/bbpress/rss.php?topics=1″ />
<meta name=”generator” content=”bbPress 1.0.2″ />
</head>
I’m just short of removing the database and starting over, which would be the quick and easy way out, but I would like to figure it out for the heck of it. Any ideas will be appreciated.


than I decide to use avatar upload
