Search Results for '"wordpress'
-
Search Results
-
Topic: errored when installed
plz help me.
my error:
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php on line 186
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpressfunctions.wp-object-cache.php on line 108
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpresspomomo.php on line 171
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesfunctions.bb-l10n.php on line 484
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesbackpressclass.wp-taxonomy.php on line 581
Deprecated: Assigning the return value of new by reference is deprecated in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-adminincludesclass.bb-install.php on line 1280
Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php:186) in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-adminincludesclass.bb-install.php on line 390
Warning: Cannot modify header information – headers already sent by (output started at C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-settings.php:186) in C:xampplitehtdocswordpresswp-contentpluginsbbpressbb-includesfunctions.bb-core.php on line 1101
For the record — I am completely and totally new to bbPress but I have a pretty good knowledge of wordpress and themes.
I am setting up a forum for french speaking people so the interface has to be completely french BUT, I am english and need the admin area to be english. We installed version 1.0.2 thinking we could get a plugin but now I wonder if I have the right installation.
Can anyone help me figure this out?
Thanks!
Helen
Topic: Do wp.org logins work here?
I have a wordpress.org username (kirk837). I logged into forum here using that, found my profile looked ok, and tried to post. My post is visible to me while logged in, but is visible to no one else (guest or logged in).
In desperation, I created a new registration (the one I’m posting from now), and posted a copy of my old post — worked just fine.
So — it does say “To participate, register or login with your WordPress.org username:” But that didn’t work for me, even though that username was recognized upon login.
What’s going on?
I have a deep integration of bbPress 1.0.2 and WordPress 2.8.4 at riogallinasschool.org, using a heavily modified Kakumei template.
Integration works well. I only register users from WP. Logins work from either BBP or WP. WP users appear correctly to BBP (every user can log in from both WP and BBP)..
Logout from WP is fine regardless of where the login occurred (so, no cookie problems).
However, when logging out from BBP (using the Kakumei “Log out” link), the logout occurs (so cookies are working), but I am redirected to a 404. The logout link is bb-login.php?logout=1. I have found that, on the other hand, the link bb-login.php?logout=0 (as typed in) works just fine — logs out, redirects back to page.
I have hacked a solution. I don’t understand it (I haven’t yet been able to follow the use of the GET variable logout to find where it’s value is used anywhere). But in case anyone else has this problem, here’s the hack.
The logout link is produced by the function call bb_logout_link(); in the template’s logged-in.php file.
bb_logout_link is defined in bb-includesfunctions.bb-template.php, and effectively calls bb_get_logout_link with the same arguments. In the latter function, around line 2737, the value logout=1 is hard-coded.
I have changed the code for bb_get_logout_link so (a) it defaults to logout=1 if logout is not specified in the call to bb_logout_link (thus the hack is non-destructive), but (b) the call bb_logout_link(‘logout=0’); overrides the default.
This produces the working link, so the “Log out” link works.
Here’s the code
Old line 2737 of bb-includesfunctions.bb-template.php was
$query = array( 'logout' => 1 );I changed that to the following (which works because the args were “extract”ed, so $logout has a value from the call to bb_logout_link):
if ( $logout==NULL ) $logout = 1; // Defaults to 'logout=1'
$query = array( 'logout' => $logout ); // Changed '1' to '$logout'Then in the template’s logged-in.php, I added the argument to the call to bb_logout_link:
bb_logout_link('logout=0');It works for me.
Has anyone else has had this problem? If not, I must have broken something somewhere else — so I’d like to know.
Can anyone explain the bug, or explain where the value of logout is used? (I’ll keep looking, and will post a followup if I find it, but I’m not expert at the subtleties of apply_filters, which appears to be the only possibility.)
Thanks.
I am new to the forum, so I hope I posted it in the right place.
I am wanting to add a simple button-link to my WordPress Blog Post template saying something like “Discuss In Forum”. I am using WordPress-bbPress-synchronization to post Blog items to my Forum. This plugin generates a link in the most recent comment that allows you to visit the correct topic for that blog post.
I would also like to add that I do not know code, so a simplified question is this: How can I add a button to my forum for the correct topic without changing the link every time I use it? Is this something relatively easy to accomplish?
Thanks in advance for help
Hi all,
just wondering if anyone wants to help testing with a Hybrid & bbPress theme?
The wordpress end is a child theme of Hybrid, & bbPress end is based on Justin Tadlocks experimental bbPress theme.
I’ll fix up a few bugs tomorrow & let anyone who wants it have it in the next few days.
You can set the forum url in the wp admin & the link will get added to the page nav.
You can also set user registrations to be done by bbPress instead of WordPress, and profile links to the bbPress profile pages.
There is also an area in the bbPress admin to copy & paste your page_nav & cat_nav source, not the same as full integration, but a lot easier…
Feel free to try it out, register & post rubbish if you want.
Hi Gang, I see others have had difficult getting the installer to connect to the database. I do as well. here is my status:
1) I reviewed all my database name/user/password. confirmed against wp-config file. all good.
2) Database on same server as wordpress and bbpress install;
3) No bb-config file is created yet, so nothing to delete. There is a bb-config-sample which I have left in tact.
4) My host is Dreamhost; my wordpress blog running like a champ
5) bbpress folder installed in root directory of wordpress
Still won’t connect. Thoughts? THANK YOU
THANK YOU.
I have managed to get BBPress and WordPress Sync installed on my web site. That is, the sync plug in (the latest one) is installed and “working” (albiet not as I want it to be). There were a lot of check boxes and input involved to make the plugins (both on the BBPress side and the WordPress) work and see each other. In some of the check boxes I just clicked on them because I was unclear about what they meant.
The way I would like my WordPress to work is like this. When the user makes his comments about the blog, he is making them in the Forum. So the whole input field where he posts his responses to blogs are not there. Instead there is a link that takes him to the forum where responses are mirrored as responses to the blog.
If a user goes directly to the forum (an option I will allow). And makes a brand new discussion thread, it is not automatically posted in the blog and the responses to that post are not reflected in the blog as well.
There are lots of options on the Dashboard for setting up the plugins. Which options should I check and how do I customize the plugins such that my blog and forum behave like I want them to?
Hi just installed bbPress but i can’t acces the admin area. I’ve installed it and integrated it with a wordpress install using two different databases. Everything seemed fine after the install but i cant access the /bb-admin
After wrestling with integration between WP 2.8 and bbPress 1.0.2 for the last day and a half, I gave up and started thinking of ways I could do this a little more straightforwardly.
My problem was I didn’t need any sort of database or user sharing between the sites. I simply wanted a way to display certain parts of my WordPress theme on my bbPress page. Things like a list of the WP categories, a menu being built from categories, a blogroll, etc.
Here’s what I did:
Instead of fully integrating WP, what is usually called “deep integration” so as to gain access to WordPress functions (wp_list_categories, etc.), I simply created a few functions in my WordPress theme’s function.php file that automatically generate the HTML for the items I wanted, and then saved it to a file that I could then call in my bbPress theme.
Part 1: WordPress Theme
Open up your functions.php file in your WordPress theme’s folder (/wp-content/themes/yourtheme/).
Scroll down to the bottom and create your new function. For this example, I’ll use adding a list of categories from your WP blog to your bbPress forum:
function make_cats () {
$output = NULL;
$output = wp_list_categories('echo=0&orderby=ID&hide_empty=0&title_li=<h3>categories</h3>');
$fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/cats.html', 'w');
fwrite($fp, $output);
fclose($fp);
}
add_action('edit_category_form', 'make_cats');To explain this a bit, basically:
We create a variable called $output, NULL it (make sure it’s empty), and then load the category info into it. The wp_list_categories() function creates an unordered list of the categories with a heading (h3) saying “Categories”. We also use the echo=0 bit to make sure it don’t print the HTML it is generating to the screen, but rather just puts it in $output.
Then we open a file called cats.html in a new folder called ext that we’ve previously created (via FTP or whatever) in your theme directory (/wp-content/themes/your-theme). If the file doesn’t exists, the function will create it, however, the “ext” folder needs to already exist. The file is then fill it with $output. All these files and folders are completely up to you — you can save the file anywhere on your server, I just chose to stick it somewhere easy to remember and that wouldn’t clutter anything up.
The final step is:
add_action(‘edit_category_form’, ‘make_cats’);
This tells WordPress to run this function (make_cats) every time the edit_category_form action is triggered, basically any time you load your “Categories” page in the wp-admin area. There are lots of different actions for virtually anything you can think of. Find the one suitable for your customization here.
Part 2: bbPress Theme
The second part is to load the contents of your newly created HTML file in your bbPress theme. To do this only requires a single line of code inserted into the appropriate place in your theme. Wherever you want the list of categories (or whatever you’re wanting to display), simply add this line:
<?php include $_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/cats.html'; ?>That should do it.
Here are a couple more function examples, both use the “save_post” action, so every time you save (new or edit) a post, it fires and updates (or creates) the HTML files:
Tag Cloud
function make_tags () {
$output = NULL;
$output = wp_tag_cloud('echo=0&smallest=8&largest=22&number=30&orderby=count&order=RAND');
$fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/tags.html', 'w');
fwrite($fp, $output);
fclose($fp);
}
add_action('save_post', 'make_tags');Recent Blog Posts
function make_posts () {
$output = NULL;
$getsomeposts = new WP_Query('numberposts=10');
$output = '<ul>';
while ($getsomeposts->have_posts()) : $getsomeposts->the_post();
$output .= '<li><a href="'. get_permalink() . '" title="' . the_title('','',FALSE) . '">' . the_title('','',FALSE) . '</a></li>';
endwhile;
$output .= '</ul>';
$fp = fopen($_SERVER['DOCUMENT_ROOT'] . '/wp-content/themes/your-theme/ext/posts.html', 'w');
fwrite($fp, $output);
fclose($fp);
}
add_action('save_post', 'make_posts');Hope that helps someone who is as frustrated with the WP<–>bbP integration as I was. If you have any questions about this, feel free to post ’em here. I’ll do my best to check back.
Hi, I’m using WP2.8 and bbP1.0.2. I’m looking to have access to WordPress’ functions, but do not need any cross-user abilities, so don’t need to wrestle with getting the cookies to jive or the user tables to sync.
Is this possible?
Currently I have:
if ( !defined( 'ABSPATH' ) ) {
include_once( '/pathtowp/wp-blog-header.php' );
}Where, obviously, ‘pathtowp’ is the proper path.
This work great and I have full access to WP’s functions for loading sidebars, categories, etc. However there seems to be something strange going on with the login.
If I am logged in before I enable the line above in my config file, everything is fine. If I am logged out, enable the above line and then try to log in, I get no joy. The page simply reloads as if I had never logged in (no password error or anything like that — just again displays the login box).
I am **guessing** this has something to do with some sort of conflict between bbPress’ login, and the login for WordPress? Maybe something goofy is happening with authentication? But I really don’t know.
If anyone has experienced this and could offer their advice, it would be much appreciated.
