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


than I decide to use avatar upload