Published on September 19th, 2010 by wblogan
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">
[Delete Entire Topic]
[Close topic]
[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?
Published on September 19th, 2010 by yetanotherlogin
Hello
One forum I often read is using BBPress (doesn’t say which version) but doesn’t provide the familiar “Quote” feature to make it easier to reply to someone with their message quoted.
Does bbPress support this natively, or are there add-on’s to do this (in which case: Which would you recommend)?
Thank you.
Published on September 19th, 2010 by kikko088
I see that if I active nicer permalink avatar don’t appear. This is my .htaccess
www.endurodoc.net/forum/
# BEGIN bbPress
Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
# /forum/ and bb_get_option( ‘path’ ) must match
RewriteBase /forum/
Options +FollowSymlinks
# admin stuff, not processed
RewriteRule ^bb-admin/.*$ – [L,QSA]
RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)$ profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)$ profile.php?id=$1 [L,QSA]
RewriteRule ^profile/$ profile.php [L,QSA]
RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&topics=1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)$ rss.php?profile=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&topics=1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)$ rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)$ rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/view/([^/]+)$ rss.php?view=$1 [L,QSA]
RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
RewriteRule ^rss/?$ rss.php [L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)$ tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ tags.php [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)$ view.php?view=$1 [L,QSA]
# forums
RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # tailed ‘/’ is mandatory for forum URIs! Props: Mohta
# topics
RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)$ topic.php?id=$2 [L,QSA]
# other pages
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [L]
</IfModule>
# END bbPress
Published on September 19th, 2010 by Show429
I’ve just setup bbpress and installed a whole bunch of plug-ins, but I realize there’s no backup option and I think I need to do it manually in my server setting, which I think is annoying.
Another thing is that I realize there’s no option in filling the birthday in the user account information. I would also like to have a restriction on some pages where only certain ages are allowed to enter/browse. And I would also want to restrict users must fill in the birthday, and without privilege to change it.
I have tried to added the plug-in for admin to add users, but it failed to work with an error. Is there other way to do so?
So I would like to know if there is a plug-in or something like that available that works on the latest version of bbpress. Thanks.
Published on September 18th, 2010 by kikko088
Hi at all, I have a little problem to costumize message with this plugin, I want to change the alt class in alt_pm class but I’m not understand how do this.
This is php:
<ol id=”thread”>
<?php foreach ( $messagechain as $i => $the_pm ) { ?>
<li id=”pm-<?php echo $the_pm->ID; ?>”<?php alt_class( ‘bbpm_thread’ );?>>
<div class=”threadauthor”></div>
<div class=”threadpost”></div>
<?php } ?>
this is the function
function thread_alt_class() {
alt_class( ‘bbpm_threads’, $this->the_pm == $this->get_last_read( $this->the_pm ) ? ” : ‘unread_posts_row’ );
}
for you how can I use alt_pm inside alt?
Published on September 18th, 2010 by IhaveaQuestionplease
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.
Published on September 17th, 2010 by cmunns
So I have a install of WP3.0 with BuddyPress, but when I try get bbPress on there as well I get this error:
Fatal error: Cannot redeclare bb_timer_start()
So I figured there for some reason is a duplicate function…okay no problem so I modified the file to see if if(!function_exists… so it doesn’t redeclare and then I get a new problem
“You must specify a table prefix in your bb-config.php file.”
The table prefix is already defined, however so I don’t know what the deal is. Everything in the bb-config file looks good.
Anyone have any ideas?
Published on September 17th, 2010 by nood
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
Published on September 17th, 2010 by panel123
in the word installation. .im not master with it.. some of my site or i want to DL i can’t access or i can’t log with it..
Published on September 17th, 2010 by RedBull
I currently am using a background image for my site that is repeated but I want to change it to something I don’t want to repeat.
I can’t seem to find the tag and everytime I try the following in style.css but no success:
#img.source-image {
width: 100%;
position: absolute;
top: 0;
left: 0;
}
Any further suggestions would be greatly appreciated,
RedBull