Search Results for 'code'
-
Search Results
-
Hey there I had an integrated WP + BB website, then I installed also BuddyPress and used it for a while, everything integrated, using BB as forum engine for BP too.
I then decided to get rid of BP and now I just want to go back to my initial configuration of WP + BB, using the same old DB that still contains BB forum posts.
Everything is working and the user integration still works, but I have the damn “keymaster lost” problem: My admin user can’t access the BB Admin in any way.
I’ve tried all the solutions proposed around here and on the internet, changed my capabilities on the DB to a:1:{s:9:”keymaster”;b:1;} etc.. no way.
If I try to access the /bb-admin area it redirects me to the root.. and there’s no “admin” link near my profile name.
My tables have different prefix:
$bb_table_prefix = ‘wp_bb_’;
I just have WP_USERMETA table as the integration is already done..
What’s the meta key I have to set?!?
I’ve tried “wp_capabilities”, “wp_bb_capabilities” and “bb_capabilities”, but no-way.. no admin access for my user.
I’ve also tried to create new users and assign the keymaster.. same thing, no admin access.
Maybe Buddypress changed something that I have to reset?
Please help!
I recently installed bbpress and completed deep integration using the:
bbpress integration 1.0 wordpress plugin and the zaerl wordpress 3 fix plugn.
everything appears to be running ok,
when i’m in the admin panel on the dashboard screen, it’s posting the following errors at the top:
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 214
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 194
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 174
Warning: Division by zero in /support/bb-includes/functions.bb-statistics.php on line 244i’m not sure what caused this, and i’m not sure how to get rid of it or if it’s even affecting anything?
anyone seen this before or have any ideas?
Topic: Automatic in Textbox
I don’t know if I’m missing something. This seems to be important yet I cannot find anything about this subject in any forum about bbPress.
When you press Enter twice in a reply in this forum, it brings you down to start a new paragraph. I’m assuming it also automatically adds a
<br>tag in the post. My forums, however, do not do this.How do I make it so when there is a gap between paragraphs on my forum replies that it automatically adds the
<br>tag? Currently, I have to manually edit everyone’s posts who make any sort of separations between paragraphs by typing this tag in between them. I know it has nothing to do with my plugins because it was having the same problem from the start.Hi guys.
I want to add postgreSQL support for bbpress. But i don’t know php. The only thing that i can do is to provide a sql script containing postgreSQL table configuration.
is it possible to add postgreSQL support or it is not in your developing road map?
if yes which file contains table configuration in source code? i have searched but i didn’t find.
Hello,
I’m looking to tack bbPress onto one of my non-WordPress sites. The site was hand coded in php and is a very basic static site. I’d like to use the bbPress login throughout the entire site to enable commenting and a few other social features.
Are there any resources out there that have to do with integration on a non-WordPress site? I’m just looking for a place to start.
Thanks!
….I really tried to look for documentation and plugins for this, but no luck. could you guys help me out with some code to do this?
PROBLEM: I want to show the forums with the 4 most recent topics in each on the front page
like this….
forum 1
– forum 1 topic 1 — willie — jan 12th
– forum 1 topic 2 — bob — jan 4th
– forum 1 topic 3 — sue — jan 2nd
– forum 1 topic 4 — matt — jan 1st
forum 2
– forum 2 topic 1 — paul — feb 10th
– forum 2 topic 2 — mike — feb 9th
– forum 2 topic 3 — rob — jan 20th
– forum 2 topic 4 — hank — jan 5th
NOT SOLUTION: i tried writing this code, but it shows the most recent topics over all
<?php if ( bb_forums() ) : ?>
<!-- <h2><?php _e('Forums'); ?></h2> //-->
<table id="forumlist">
<?php while ( bb_forum() ) : ?>
<tr class="titletext titlebar">
<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 if ( $topics ) : ?>
<tr>
<td colspan="3">
<table class="small">
<?php
$i = 0;
foreach ( $topics as $topic ) : ?>
<tr<?php topic_class(); ?>>
<td><?php bb_topic_labels(); ?> <a>"><?php topic_title(); ?></a><?php topic_page_links(); ?></td>
<td class="num"><?php topic_posts(); ?></td>
<!-- <td class="num"><?php bb_topic_voices(); ?></td> -->
<td class="num"><?php topic_last_poster(); ?></td>
<td class="num"><a>"><?php topic_time(); ?></a></td>
</tr>
<?php
$i++;
if($i>4) break;
endforeach;?>
</table>
<?php endif; ?>
<?php endwhile; ?>it displays….
forum 1
– forum 1 topic 1 — willie — jan 12th
– forum 1 topic 2 — bob — jan 4th
– forum 1 topic 3 — sue — jan 2nd
– forum 1 topic 4 — matt — jan 1st
forum 2
– forum 1 topic 1 — willie — jan 12th
– forum 1 topic 2 — bob — jan 4th
– forum 1 topic 3 — sue — jan 2nd
– forum 1 topic 4 — matt — jan 1st
Thank you in advance for any help. Even pointing me to template tags reference point!
