Search Results for 'code'
-
AuthorSearch Results
-
April 14, 2009 at 2:55 am #72799
In reply to: Display bbpress on wordpress page (inside the blog)
chrishajer
Participant@tannar: you can make iframes appear without borders, if you like. You need this in the iframe tag:
frameborder="0"I have heard of a couple people trying it, but I have not yet seen it done. Can you post a link to this when you have it working? Thanks.
@RichBrown: If you want bbPress to *look* like your WordPress installation, you are going to need to use a bbPress theme that matches or approximates you WordPress theme. There are a couple of matching themes out there for bbPress and WordPress. What versions of bbPress and WordPress did you install?
The best way I know of right now to integrate the look of bbPress with the look WordPress is to create a theme for bbPress that looks like your WordPress theme. We’re spoiled with so many good themes for WordPress right now, and not so many for bbPress. We’re not used to creating themes; we’re used to installing themes (at least that has been my experience with WordPress.) bbPress is not quite there yet in terms of popularity and community support (i.e. themes and plugins.)
I don’t believe you can make bbPress live inside a WordPress page: bbPress is not a forum plugin for WordPress. And I have not yet seen the iframe hack work.
April 13, 2009 at 12:37 pm #71046In reply to: bbPress 1.0-alpha-6 released
Filipe Deschamps
MemberHey guys, I really recomend you to stop trying to make 2.7 work with BB alpha.
Use the undergrade cookie plugin to wordpress and everything is resolved. It’s so simple that you don’t need to do nothing.
Besides that, you will be able to use CK plugins without any problems and be able to make a much safer upgrade when 1.0 is released.
Sorry for english
April 13, 2009 at 5:19 am #72969In reply to: Would someone convert Facebuddy Theme?
bruinfelix
MemberI dont have facebuddy installed
April 12, 2009 at 9:37 pm #72968In reply to: Would someone convert Facebuddy Theme?
nicolagreco
Memberfacebuddy is a css make up ( so it’s not a new bp theme
)it means integrating the default one, you’ll have facebuddy theme working
April 12, 2009 at 9:35 pm #67241In reply to: WPMU 2.6 + bbPress 1.0 alpha – Keymaster issue
nicolagreco
Membercookie integrations are available on wpmu 2.7 (or above)
April 12, 2009 at 8:29 pm #73012In reply to: Setting the default home page
chrishajer
ParticipantLooks like you are using an Apache web server. If that’s the case, edit the .htaccess file in the root folder of the website, and make the index page for the site whatever you want. It might look like this is you want a static page
home.htmlto be the home page for the domain:DirectoryIndex home.html index.html index.phpThat says “look for a file called home.html first, and serve that if it’s present. If not, look for index.html next and then index.php.” It’s good to have at least two in there, so if the first one is not present, it can fall back on the second one.
If you host does not allow this override in the .htaccess, then you will need to do something different. This is the easiest way. Post your results after you try it.
April 12, 2009 at 7:40 am #72967In reply to: Would someone convert Facebuddy Theme?
bruinfelix
MemberI even have managed to insert the ‘buddypress admin-bar” (with some functionality, not all!) in my theme

So, it still has need some any further development ….
April 12, 2009 at 5:33 am #72976_ck_
ParticipantHere’s a mini-plugin that will allow higher roles to skip akismet, if you turn the throttle bypass on for any member, they will also bypass akismet with this:
<?php
/*
Plugin Name: Skip Akismet
Description: Allow moderators, admin and specified roles to bypass Akismet filter
Author: _ck_
*/
// add any other custom roles to this list
$skip_akismet=array('moderator','administrator','keymaster');
add_action('bb_init','skip_akismet');
function skip_akismet() {
global $bb_current_user,$bbdb;
if (empty($bb_current_user->ID)) {return;}
$capabilities=$bbdb->prefix."capabilities";
$role=reset(array_keys($bb_current_user->data->$capabilities));
if (in_array($role,$skip_akismet) || bb_current_user_can('throttle') || bb_current_user_can('moderate')) {
remove_action( 'pre_post', 'bb_ksd_check_post', 1 );
remove_filter( 'bb_new_post', 'bb_ksd_new_post' );
remove_filter( 'pre_post_status', 'bb_ksd_pre_post_status' );
}
}
?>April 11, 2009 at 7:26 pm #72925In reply to: Remove Forum Dashes: —
Tecca
ParticipantOh, how dumb of me. I just needed to remove
&#8212 ;from the line.
EDIT: Apparently the code above keeps changing even between backticks.
April 11, 2009 at 6:59 pm #73007In reply to: Musician Wages.com Forums
_ck_
Participantah it needs the topic id, sorry, try this
<?php remove_action('topicmeta','bb_polls_pre_poll',200); bb_polls_pre_poll($topic_id); ?>April 11, 2009 at 6:13 pm #73006In reply to: Musician Wages.com Forums
Dave
MemberThanks ck, much appreciated. I’m glad you like it. Thanks for all the great work on bbpress.
It very nearly works
The polls show up correctly, but also this error:Warning: Missing argument 1 for bb_polls_pre_poll(), called in /home/content/b/l/o/blogdave/html/forums/bb-templates/blank2rbbpress/topic.php on line 11 and defined in /home/content/b/l/o/blogdave/html/forums/bb-plugins/bbpress-polls/bb-polls.php on line 47
April 11, 2009 at 5:26 pm #73005In reply to: Musician Wages.com Forums
_ck_
ParticipantVery nice clean layout, I like it alot.
The poll puts itself by default wherever the topicmeta is, however you can change that. Just a guess, untested, try putting this near the top of your
topic.phptemplate:<?php remove_action('topicmeta','bb_polls_pre_poll',200); bb_polls_pre_poll(); ?>April 11, 2009 at 4:13 pm #5160Topic: Hosting change: impossible to login or register.
in forum Troubleshootingsydarex
MemberHi to all; a friend of mine is having troubles with his BBPress installation, so He asked me for help.
He has got a WordPress blog with BBPress integrated.
He changed hosting. He says he simpled moved the files and the database dumps.
Now, WordPress works fine, while BBPress doesn’t logs in anyone and doesn’t let to register new users.
I tried to install a fresh installation of BBPress, and it works fine; but after that, if I try to overwrite the fresh database with the old datas, it doesn’t work again.
How can I save old topics, post etc?
Thanks to all! ^^
PS: I’m not an english guy, so excuse me for any mistake!
April 11, 2009 at 3:19 am #72989In reply to: Avatars/Gravatars & Version 1.0-alpha-6
chrishajer
Participantsvn is short for “subversion” a version control system:
http://en.wikipedia.org/wiki/Subversion_(software)
“The latest SVN” means checking out the latest version of the code using the software called
subversion. You can do that instead of downloading and unzipping, and it makes upgrades and modifications easier as well.April 10, 2009 at 8:55 am #72893In reply to: Registrations and Spam.
_ck_
ParticipantThere isn’t any site “larger than recommended” for bbPress

There is a bbPress site with nearly 2 million posts and another with 8 million users, so there aren’t any limits.
I’ll look at the approve plugin and see how hard it is to make work with 1.6
April 10, 2009 at 5:26 am #72869In reply to: A question about customizing bbcode buttons
pierrottorreip
MemberThanks _ck_,
It worked perfectly!
April 9, 2009 at 10:02 pm #57461In reply to: *seamless* wordpress integration
April 9, 2009 at 6:05 pm #72839In reply to: something happening on TalkPress.com
John James Jacoby
KeymasterAwww Jeeeaaaah….
April 9, 2009 at 5:08 pm #72977In reply to: avatars–admin can offer selection to users
_ck_
ParticipantA fixed list of avatars would be easy to do, you just upload them yourself into a folder you decide and then have php do a glob of the files in that directory and present them to the member as a form with a radio select. Whatever they chose gets written by name to the user metadata.
Then you just need simple code in the display post template to show their chosen avatar.
It would be much safer and faster than other avatar methods.
April 9, 2009 at 3:59 pm #72966In reply to: Would someone convert Facebuddy Theme?
bruinfelix
MemberI started with the ‘default’ buddypress theme, that comes with the package, as i may think it is more generic and easier to study on how things are done

And thats why i choose the ‘blue’ things ..

But, first thing first .. Just altering and tweaking the buddypress them a lot right now, and the next step whould be the bbpress theme, so it matches
April 9, 2009 at 1:19 pm #72965In reply to: Would someone convert Facebuddy Theme?
zeronix
MemberThats great to hear.
I also love the original theme but selected the Facebuddy because it looks more professional.
Maybe you try it out and use it too.
Anyways, if you´d convert one of these themes you´d be my god
April 9, 2009 at 1:15 pm #72964In reply to: Would someone convert Facebuddy Theme?
bruinfelix
MemberCurrently i’am working on a own BuddyPress theme, based on the original theme provided by the BuddyPress developers. And yes, it will include a matching bbPress theme
April 9, 2009 at 12:03 pm #72868In reply to: A question about customizing bbcode buttons
_ck_
ParticipantI’ve hardcoded it in the javascript.
edit it and change
function edOver(element) {element.style.color="#000080"; element.style.backgroundColor="#ddd";}
function edOut(element) {element.style.color="#000000"; element.style.backgroundColor="buttonface";}to whatever color you’d like
April 9, 2009 at 10:54 am #71397_ck_
ParticipantMerlin that code looks vaguely familiar
April 9, 2009 at 10:48 am #71396deadlyhifi
Participant…it does keep the paging intact but counts for all the forums (fora?), even the excluded one(s).
To get round this requires amending the function bb_latest_topics_pages() in functions.bb-template.php.
$bb_latest_topics_count = $bbdb->get_var('SELECT COUNT('topic_id') FROM '' . $bbdb->topics . '' WHERE 'topic_open' = 1 AND 'topic_status' = 0 AND 'topic_sticky' != 2 AND 'forum_id' != 3;');
// AND 'forum_id' != 3 - filters out forum 3 on front page paging count. -
AuthorSearch Results