Search Results for 'code'
-
Search Results
-
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
I posted about this in the plugin updates thread but realize now that wasn’t really the best place. So here goes again…
The bbP plugin appears to currently have no way to differentiate to the reader between topics they have previously read, or not. I think this is pretty essential for any forum and of course there are many plugins to handle this for standalone bbP, but I don’t believe those will be of use if I’m using the bbP Plugin version.
I’d like to know if anyone has any interest in helping me tackle this feature. I’m just enough of a developer to understand the basic logic and queries required, but not familiar enough with the WP code structure to tackle it without making a huge mess.
I can see that every topic or forum is recorded as a Post with a corresponding post_type, so it seems to me that all that would be needed is to record the user_ids that have read any specific topic, in a new field alongside the post itself in wp_posts. Then when the topics are being listed, if the current user’s id is listed as having read that post already, style the title one way, else style it another way. That’s my lay-person’s solution anyway, someone else may have a better approach.
Anyone interested? I have a rather urgent need for this and am willing to pay someone to implement it if they can do so quickly. I’ve even just put a job up on Odesk in case anyone there could handle it. Whatever solution I end up with I will gladly contribute it back to the project if it’s wanted.
Thanks!
Jonathan
va.nc.lu.te@gm.ai.l.com <— remove the excess dots to email me
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
I use bbPress to run a trouble-shooting site. So when labeled closed that means the problem is solved.
I want to exclude [closed] topics from latest discussion in the front page. Is there anyway to do so? Sadly my expertise don’t lie in PHP.
The default works OK:
http://localhost/taiwantalk/?bbp_forum=technologyBut setting the Permalinks to Month and name gives me a no found page.
http://localhost/taiwantalk/forums/forum/technology/mod_rewrite is working as usual.
Any suggestions?

