Search Results for 'code'
-
Search Results
-
I’m trying to make the user interface a bit more friendly in my bbpress install and I can’t seem to find the text “You must log in to post.”
This is the text that shows up to guests when they are trying to start a new topic or if they want to reply to a post.
I’d like to add a nice “Login” button there as a call to action so people easily know where to go.
Anybody know where that text is in the code so I can edit it or add something to it?
Topic: Basically allowed markup
As you know there is some markup allowed in bbPress. This is pretty good but i think the allowed tags are not enough. So I’m asking if there are plans to integrate the
<u>and the<i>in future releases of bbPress. I modified the “allow Images”-Plug-In. But I think there is nothing that speaks against the integration of these tags.I just downloaded bbPress 1.0.3 to my webserver (Debian Lenny with ISPConfig) and unzipped it. After that I tried to reach the installation script in my browser on bbpress.example.com and got the following error messages:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config-path.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 141Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/clients/client4/web8/bb-config.php) is not within the allowed path(s): (/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client4/web8/web/bb-load.php on line 165Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client4/web8/web/bb-load.php:141) in /var/www/clients/client4/web8/web/bb-load.php on line 179PHP open_basedir is set to:
/var/www/clients/client4/web8/web:/var/www/clients/client4/web8/tmp:/var/www/bbpress.example.com/web:/srv/www/bbpress.example.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadminbbPress is located in “/var/www/clients/client4/web8/web/” none of the bbPress files is located in “/var/www/clients/client4/web8/”. So why should bb-config-path.php or bb-config.php be there?
How can I solve this problem?
Hi,
I’ve tried adding a new plugin to the repository using the form at http://bbpress.org/plugins/forum/requests. This went fine, I got the request done, but then — nothing.
If I’ve understood correctly, I should have received an email with instruction/link to the SVN. This didn’t happen though.
I did this a couple hours ago. Am I just too hasty, or is something not quite working?
Topic: remove sidebar inove
Hi all,
I am using BBPress 1.03 and WordPress 3.1.
I have installed both, and BBpress successfully using my WordPress user database, with the relevant user roles mapped. I can log into BBpress using my WordPress user accounts.
I have the following at the top of both my wp-config.php file and my bb-config.php file (note: I don’t have the COOKIEHASH defined in bb-config.php):
define( 'COOKIEHASH', 'd36e8c873ff8f9c997d969ab483cd640' );
define( 'COOKIE_DOMAIN', '.mydomain.com' );
define( 'SITECOOKIEPATH', '/blog/' );
define( 'ADMIN_COOKIE_PATH', '/blog' );
define( 'COOKIEPATH', '/blog/' );I then have the unique keys specified in both wp-config.php and bb.config.php:
define('AUTH_KEY', 'f3y#H_;s:WLry|<code>ja|$!|L%m0xbRE>:o@ N</code>(-Uv:,7WafXX,vR>=z>Uj c@[t>N');
define('SECURE_AUTH_KEY', ':(S7I[u%v0K<!0HAQWP1vcop^4+,=4=jj.ceAmioE|Zo<UY|7g&w$5ntdG,=k;6!');
define('LOGGED_IN_KEY', 'c<code>_Ce{WV{:OhB7in@>].^qb*-y=b@p|^K|_gx.%%^;</code>$2{:$X;eS5SJg<3nH.5)l');
define('NONCE_KEY', '@C%3/EU?/O=Xt36b;Z@;McIeo7UP-|9sqi&gk/f]p?c|Jx0ZNEnCmYS-_T^?[W$');
define('AUTH_SALT', '|++I0w;>^aBCc,eaUTRZxd+EUdj;H1q]_~1B7R blEql3lwt4#y-RziRyS&qVs5');
define('SECURE_AUTH_SALT', 'l<i3+Y-JrYB<3rirFmNi*+>|~:NXPfI _xGzl)2?myj aY{f{%v+U#by5kfFBb5E');
define('LOGGED_IN_SALT', 'Bk~2!XQR}_4H)qno#uTvH?+ }#h|F+KF&CSL5^a:eNM1_.aA]!~r(g|<cvl<;_@');
define('NONCE_SALT', 'P|gX2|>ScAMaOZCrEKv#F*/yZ;Wy*a|uuVA!!ds]MUhE.U,ok+sJMe4dF0;+qft');(Note: in bbconfig.php all the defined values I have renamed with BB_ at the start (such as BB_AUTH_KEY)).
However, I’m still unable to log in to one application (WordPress or BBpress) and have me automatically logged in to the other. I still have to log in to each.
Is there something I am doing wrong?
Kim
Hi,
I was trying to add subforums to forum.php of a custom theme, by adding the following code from kakumei:
<?php if ( bb_forums( $forum_id ) ) : ?>
<h2><?php _e('Subforums'); ?></h2>
<table id="forumlist">
<tr>
<th><?php _e('Main Theme'); ?></th>
<th><?php _e('Topics'); ?></th>
<th><?php _e('Posts'); ?></th>
</tr>
<?php while ( bb_forum() ) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class('bb-category'); ?>>
<td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php endwhile; ?>
</table>
<?php endif; ?>Unfortunately, I broke my site. Now, even when I go back to Kakumei, the category links on my forum front page do not take me to the forum, just to a blank white screen.
Can anyone point me in the right direction to solve this? I have only added the above code to forum.php , nothing more. Would this change the links somehow???
Thanks.
Y
Topic: Database Problems…..
Hi Everyone,
I was re-installing my bbpress onto my server to better integrate it with the server. This is the error message I received at the end of the install:
SQL ERROR!
>>> Database: actionp7_wrdp1 (localhost)
>>>>>> ALTER TABLE
wp_postsADD COLUMNpost_idbigint(20) NOT NULL auto_increment;>>>>>> Incorrect table definition; there can be only one auto column and it must be defined as a key
SQL ERROR!
>>> Database: actionp7_wrdp1 (localhost)
>>>>>> ALTER TABLE
wp_postsADD PRIMARY KEY (post_id);>>>>>> Key column ‘post_id’ doesn’t exist in table
What does this mean? I can no longer log in to my wordpress site with full permissions and I have no idea why. The site is blocked from the general public until launch so it was locked down with the wordpress plugin– Login Lockdown —. I’m scheduled for launch in two weeks and can’t figure out why this happened. Everything was fine before the re-install.
Thank you for all your help in advance!
Hi there,
I upgraded from 1.0.2 to 1.0.3 (deep integrated into WP 3.1.0) and now the recount tools give me erros when using the tag-recounts:
Fatal error: Call to a member function query() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 141
Fatal error: Call to a member function get_terms() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 167
Fatal error: Call to a member function get_terms() on a non-object in /var/www/clients/client1/web26/web/xtcmodified/wordpress/forum/bb-admin/includes/functions.bb-recount.php on line 189Any ideas on that issue?
Best regards
Tom

