Search Results for 'code'
-
Search Results
-
Hi all,
I am Abhinav. I am facing a slight problem deep integrating the latest stable versions of WordPress ( 2.8.6 ) with bbPress ( 1.0.2 ) on a website – I have completed the user and cookie integration and it works perfectly. All the settings are configured and saved properly. However after I add the line :
require_once(/absolute/path/to/wp-load.php);
to the top of bb-config.php .. Forums page goes blank! No errors, no warning messages.. Just a blank page with no code at all..
Before installing the bbPress live on the server, I developed the theme on my system locally and tested deep integration thoroughly a few times – everything works just fine locally but it’s creating trouble live on the server.
I have checked echoing values from the WordPress files that are loaded into bbPress.. that confirms that WordPress is being loaded properly.. But why isn’t bbPress loading after that !
I suspect that having WordPress installed and running since a long time already is causing the problem!
I have deep integrated various websites where WordPress was already installed and running for quite sometime without any issues..
Can it be a plugin conflict? The website is using 37 (
) plugins at the moment..
( Should I post a list of plugins being used? )
Can anyone help me out, please?
I’d be very grateful..
Regards..
Hi,
Currently forum.php only shows the topic titles in the forum. I want to extend it a little bit and let it also show the content of the first topic. Example:
Current:
Title 1 (I have a problem)
Title 2 (I hate bananas)
etc
What I want:
Title 1 (I have a problem)
Hi guys, can you help me with my problem?
Title 2 (I hate bananas)
I hate bananas and you? I really hate the taste!
etc
Current forum code:
<?php
require_once('./bb-load.php');
$forum_id = 0;
bb_repermalink();
if ( !$forum )
bb_die(__('Forum not found.'));
$bb_db_override = false;
do_action( 'bb_forum.php_pre_db', $forum_id );
if ( !$bb_db_override ) :
if ( $topics = get_latest_topics( $forum_id, $page ) ) {
bb_cache_last_posts( $topics );
}
if ( $stickies = get_sticky_topics( $forum_id, $page ) ) {
bb_cache_last_posts( $stickies );
}
endif;
bb_load_template( 'forum.php', array('bb_db_override', 'stickies'), $forum_id );
?>Seems that thread must be added some where and then only from the first topic (so no replies else it gets too big)
Any ideas? Also the template should be updated I think.
Kind regards,
Hi folks
Something that is most basic that is not quite spelled out on the home page. Is bbpress a plugin to a standard WP site, or a REPLACEMENT for a WP site? As I read the install instructions, it seemed to be a total replacement and I’ve already got my WP site up and running. I was just looking for better forum software to add than the W-P forums which don’t seem to allow image attachments…
Jeff
Topic: LaTeX support
Hello !
I’ve found the plugin bbLaTeX, but the links don’t seem to work …
Do you know another LaTeX plugin for bbPress ( something that just replaces “[TEX]latex code[/TEX]” by an image with the URL : http://server/cgi-bin/mimetex.cgi?etc… ) ?
Thanks !
I just installed bbpress, it went mostly fine, I had to write the security keys myself to the config though. It’s supposed to be integrated with our WP blog.
Our bbPress is here: http://uni-bonn-medienwissenschaft.de/forum
PHP info is here: http://uni-bonn-medienwissenschaft.de/php_info.php
These are the errors I get when trying to login:
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/backpress/class.wp-auth.php on line 273
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/functions.bb-pluggable.php on line 232bbPress apparently recognizes when I’m logged into the blog and shows me as logged in on the forum as well. However trying to access the Admin area gives me another error:
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00afb78/forum/bb-config.php:1) in /www/htdocs/w00afb78/forum/bb-includes/functions.bb-pluggable.php on line 232
Any help would be appreciated.
Hi,
I’d like to show only latest discussions in the last x days, for example, how cuold I do? I tried inspecting the code with no clue about a query to do that
hello,
i wanted to continue with translating the .po file of the hebrew language that for some reason was just half translated, and i loaded it to POedit.
after i tried to save the file the program announced a FATAL ERROR! –
he_IL.po:587: 'msgstr' is not a valid PHP format string, unlike 'msgid'. Reason: The character that terminates the directive number 1 is not a valid conversion specifier.
i think it is in the.po file and not in the POedit.
can anyone help me understand what is’nt working?
thanks.
I upload the zipped plugin and it installs ok but when I click Activiate I get the message “The plugin does not have a valid header.”
What is wrong?
Thanks for you help
Hi, I’m trying to figure out how to display bbPress’ tag cloud from the sidebar in WordPress. I’ve googled a lot, but can’t seem to find anyone who’s done this.
I’ve hacked a temporary solution that displays the topic tags from bbpress as a list in the wordpress sidebar, but I’d really love to have the size formatting as well.
<?php
global $wpdb;
$taglist = $wpdb->get_results(“select name from bb_terms”,”ARRAY_N”);
$number_of_tags_to_show = 10;
for ($count = 0; $count < $number_of_tags_to_show; $count++)
{
if($taglist[$count][0])
{
$tag = str_replace( ” “, ” “, $taglist[$count][0]);
echo ‘
- <a href=”http://www.mysite.org/forum/tags.php?tag=’;
echo $tag;
echo ‘”>’.$tag.’
‘;
}
}
?>
Any suggestions for how to access bb_tag_heat_map from inside WordPress?
- <a href=”http://www.mysite.org/forum/tags.php?tag=’;