Search Results for 'code'
-
AuthorSearch Results
-
May 24, 2009 at 2:06 pm #73723
In reply to: WP 2.7.1 with BBpress 1.0 rc1 integration problem
byles
MemberI’ve got the exact same problem, and it’s driving me mad.
I’ve tried to get this working on several fresh installs and it just ain’t happening!
Update: Oh! Fixed! I went to wp-admin/options.php and changed the salts to something else (button mashed), and updated those in bbpress too, and now it works. Don’t quite understand why nobody mentions this in any of the tutorials… Never mind

May 24, 2009 at 2:02 pm #73668In reply to: WordPress “page” link to bbPress?
chrishajer
ParticipantYes, you should create a page with the same name as the directory where you installed bbPress. So, if you installed bbPress in a directory called
/forums/create a page called “Forums” with a slug of “forums” and WordPress will use that directory before it ever shows your blank page.If that does NOT work, there are simple plugins to redirect any WordPress Page to a URL, so you could use one of those if you wanted to do that instead.
May 24, 2009 at 1:53 pm #73782In reply to: I ve been locked out the admin module
chrishajer
ParticipantWith bbPress you don’t access bb-admin directly. You log in with your keymaster account, and next to your name, if you are truly a keymaster (or someone with admin capabilities) you have a link to
Admin. Click that and you are in the bbPress admin. If you don’t have that link, then the account you logged in with is no the keymaster account.What version of bbPress are you talking about, and are the logins integrated with WordPress?
May 24, 2009 at 11:36 am #65894In reply to: Show (gr)avatar on frontpage
Derek Herman
Member// Custom Topic Starter Avatars
function topic_author_avatar( $size = '48', $default = '', $post_id = 0 ) {
if ( ! bb_get_option('avatars_show') )
return false;
$author_id = get_topic_author();
if ( $link = get_user_link( $author_id ) ) {
echo '<a href="' . attribute_escape( $link ) . '">' . bb_get_avatar( $author_id, $size, $default ) . '</a>';
} else {
echo bb_get_avatar( $author_id, $size, $default );
}
}May 24, 2009 at 5:16 am #14820Topic: What’s new in 1.0?
in forum Requests & Feedbackspicynodes
MemberCongratulations on bringing bbPress to 1.0 RC1! I am a big fan of bbPress, appreciate this positive and helpful community, the great codebase, the ease of installation and customizatoin, and the overall more “bloggy” feel of the forums, rather than most forum software which feels a lot more like a 1990’s bulletin board.
I’ve looked over past postings about the 1.0 series and about releases in general. I’ve read that 1.0 is based off of BackPress, that it integrates with newer versions of WordPress, that it supports a new plugin for WordPress called “bbPress Live.” What else is of note? (and out of curiosity, what did not make the cut?
With 1.0 on the horizon, can you please summarize some of the key features/changes in 1.0?
May 24, 2009 at 2:42 am #73769Sam Bauers
ParticipantJust a little Easter Egg for Release Candidate testers
May 24, 2009 at 2:17 am #73757In reply to: functions.php
Derek Herman
MemberSo it’s only available in 1.0 huh, that sucks cause I think the forum is still using 0.9 something.
The way I’m doing it now is creating a plugin like chrishajer mentioned but it just seems odd to me as a prolific WP user. Unfortunately I’m not sure the forum can be upgraded since the Envato devs had to integrate it with a RoR app and hacked the core. Hopefully they can upgrade it cause the theme I’m working on is crazy complex and I had to add a lot of extra functions to my plugin to make the theme work based on the design. I just think some of the code I wrote is probably included in the 1.0 core.
May 23, 2009 at 4:39 pm #73759In reply to: How to translate bbPress to another language
johnhiler
MemberThere’s a good overview of bbPress’ translation framework (with links to existing translations and to useful posts) on bbshowcase.org:
http://bbshowcase.org/forums/topic/bbpress-translation-internationalization-into-local-languages
According to that, bbPress uses the same translation approach as WordPress:
https://codex.wordpress.org/Translating_WordPress#gettext_files
The approach seems to be:
1) You download the POT file, which has all the English strings in it.
2) You translate the strings into your language (Greek) and save the file as a .po file
3) You optimize the .po file into a machine readable .mo file
Looks like you can get the bbPress POT file for whichever version you’re using here:
http://svn.automattic.com/bbpress-i18n/pot/tags/
Good luck!
May 23, 2009 at 1:50 pm #14813Topic: If I integrate …
in forum Troubleshootingswaymedia
Member.. the latest bbpress with the latest wordpress. Could I use the bbPress forum list loop on the frontpage of my wordpress theme? so i can show all the latest discussions.. this wont be on a sidebar, so i dont want a plugin to do this, I just want to use the same code bbPress uses but on WordPress to show the forum topics?
is this possible.? thanks in advanced.
May 23, 2009 at 11:10 am #63644In reply to: Error “Invalid tag or topic” when removing tag
tribsel
MemberFCK editor. I added FCK into my theme and that is the root of tag problem in my case. when I remove FCK script from head.php, tag functions starts to work again.
so, now i have to figure out if its possible to have both (probably it is, but its not easy for me as I am not developer
May 23, 2009 at 8:18 am #73545In reply to: List of Plugins that work on RC1/RC2
the_Wish
MemberHere’s my working Plugins, transfered from Alpha6 to RC1 without any adjustment:
- Accurate Post Time
- Admin Can Post Anything (_ck_)
- Allow Images
- Avatar Upload
- BBcode Buttons Toolbar (_ck_)
- BBcode Lite (_ck_)
- bbPress Polls (_ck_)(there’s a little oddity when trying to delete polls but it worked on second try, might have to watch this one more closely)
- bbPress signatures (_ck_)
- bbPress Smilies (_ck_)
- bbSocialize
- BBVideo
- Censor
- Check For Updates (_ck_)
- Edit History (_ck_)
- Hidden Forums (_ck_)
- Hidden Forums Tag Filter (_ck_)
- Human Test for bbPress (_ck_)
- Mini Stats (_ck_)
- Mini Track (_ck_)
- Page links
- Post Count Plus – Dynamic.Titles & More! (_ck_)
- Post Edit Look Behind (_ck_)
- Quote
- Related Topics (_ck_)
- Super Search (_ck_)
- Support forum
- Topics Per Page (_ck_)
- Unread Posts (_ck_)
In fact, I didn’t have a single plugin that was not working but for the WP shared logins of course. I didn’t have the chance to test every little setting of these but the basic functionality works.
May 23, 2009 at 12:29 am #73531In reply to: WP/bb Intergration – WP Functions/Plugins
Sam Bauers
ParticipantbbPress de-registers all API hooks at initialisation. That means that WP plugin code is available, but none of it’s API calls are set to go off anymore.
The best solution is to port the original plugin to bbPress and deliberately hook into it’s distinct API hooks. Very few WP plugins will “just work” with bbPress.
May 23, 2009 at 12:22 am #72489In reply to: How to display a post form on every topic page?
Sam Bauers
ParticipantI’ve just committed code to trunk [2096] to make this easier to achieve.
In your template you just need to use the post_form() function like so:
post_form( array( 'last_page_only' => false ) );May 22, 2009 at 11:47 pm #60110In reply to: Dropdown menu to jump between forums
Derek Herman
MemberObviously this is an old post but it didn’t really give any answers and the link is to a PHPBB install.
Can anyone tell me how to add a dropdown to change between forums? The function below lists the forums in a select options list, but I need a way to submit the options to a form that would switch forums. What would the action and method be? I’m running short on time and need to get this working asap so any help would be awesome.
<?php bb_forum_dropdown(); ?>May 22, 2009 at 9:39 pm #63643In reply to: Error “Invalid tag or topic” when removing tag
tribsel
Memberdont be sorry, I am really thankful and glad for any suggestions or tips
May 22, 2009 at 6:55 pm #71595In reply to: bbRating – problems in FF
TrishaM
ParticipantHi John – thanks for the code. I copied it exactly & pasted it into my topic.php (except for the styles) but it still didn’t work for me, so I removed the requirement to log in to vote, with still no luck. Hovering changes the stars color, but clicking does nothing at all.
Do you think it’s likely that there’s a conflict with another plugin that might be causing it to not work? I’m using the following plugins (in addition to bbRatings):
Akismet
Bozo Users
BBCode lite
BBCode buttons toolbar
BBPress signatures
BBPress smilies
Topics Per Page
bbPress tweaks
Human test for bbPress
Moderator new post notification
The only one I think I could do without is the smilies, but I really want to keep the others more than the ratings if I can’t figure out how to get it working……P.S. Two days since I posted on mdawaffe’s blog and still no response…..I just get the impression that he doesn’t want to support this any more……
May 22, 2009 at 3:58 pm #63642In reply to: Error “Invalid tag or topic” when removing tag
johnhiler
MemberThe JQuery issue sounded like it might be related to the WordPress integration?
https://bbpress.org/forums/topic/favorites-broken-alpha-6
Sorry if these links aren’t quite dead on – I haven’t seen this behavior before, so grasping at straws a bit!
May 22, 2009 at 12:29 pm #63637In reply to: Error “Invalid tag or topic” when removing tag
tribsel
MemberHi, I have exactly the same problem. Do you have any ideas what could cause this? It is problem with theme obviously, because when I switch to default one, everything works. I just have no idea what could i break to do this error. Didnt touch anything important as far as I know

btw – another thing which doesnt work is redirect – like when you forget to enter topic title and then press submit. You will get some error in default green layout (not inside my theme) and displayed link “back” leads to forum homepage, not to the topic post form – where it should…
May 22, 2009 at 6:00 am #71594In reply to: bbRating – problems in FF
johnhiler
MemberHere’s the code from my topic page template – hope it helps!
<div style=”width:400px”>
<div style=”float:left”>Average Rating:</div>
<?php bb_rating(); ?>
<div style=”float:left”> Your Rating: </div>
<?php if (bb_is_user_logged_in())
><?php bb_rating_dingus(); ?>
<?php else : ?>
You must log in to vote.
<?php endif; ?>
<br clear=”all”/>
<?php bb_rating_count($topic->topic_id); ?>
</div>
May 21, 2009 at 6:04 pm #73638In reply to: BBXF – Bulletin board XML format
esemar
MemberThat’s a good idea, I haven’t looked at the release candidates for BBpress… learned long ago to let other people get messy on the bleeding edge of technology

What’s the chance that the data format will change when the real version 1 is release, anyone?
May 21, 2009 at 2:48 pm #71593In reply to: bbRating – problems in FF
TrishaM
ParticipantHi John – sorry for the delay in responding…….I have the following in my topic.php file
<div id="rating">Average Rating For This Topic:
<?php if ( function_exists( 'bb_rating' ) ) bb_rating(); ?>
<br />Rate This Topic Yourself:
<?php if ( function_exists( 'bb_rating' ) ) bb_rating_dingus(); ?>
</div>You can see it in action at:
http://www.travel-writers-exchange.com/Forum/topic/what-if-the-domain-i-want-is-taken
But I think you do have to be logged in to see/use it – I’m always logged so I can’t remember
May 21, 2009 at 7:21 am #73583In reply to: bbPress Integration plugin for WPMU
theparallaxview
MemberI’m seeing a similar issue to dmbware. Install looks ok until I paste the code in from the plug-in and then I can’t log into WPMU. I remove the code from wp-config and I’m OK. Can’t log into bbpress though and it says my password for admin can’t be reset.
May 20, 2009 at 10:05 pm #71110In reply to: move_topics/topic_move_dropdown(); not working?
shawncampbell
MemberWith version 1.0-rc-1 and the default template (or if the current template includes
<?php bb_topic_admin(); ?>) and you are logged in with the proper credentials for moving a post you should see the “Move this topic…” dropdown. With Kakumei it appears under the Reply form.Lines 49-55 of kakumei’s topic.php:
<?php if ( bb_current_user_can( 'delete_topic', get_topic_id() ) || bb_current_user_can( 'close_topic', get_topic_id() ) || bb_current_user_can( 'stick_topic', get_topic_id() ) || bb_current_user_can( 'move_topic', get_topic_id() ) ) : ?>
<div class="admin">
<?php bb_topic_admin(); ?>
</div>
<?php endif; ?>May 20, 2009 at 10:10 am #73658In reply to: integration of bbPress with WPMU
John James Jacoby
Keymastermcmc, the title of your topic says bbPress and WPMU, but your question is about BuddyPress.
If you’ve got a BP question, head on over to buddypress.org and ask us over there.
May 19, 2009 at 7:53 pm #73490In reply to: bbPress 1.0 Release Candidate 1
Ipstenu (Mika Epstein)
ModeratorAdd this to your bb-config.php
define('WP_AUTH_COOKIE_VERSION', 1); -
AuthorSearch Results