Search Results for 'code'
-
Search Results
-
Topic: Missing argument error
Wordpress and bbPress are up to date. This is part of a WordPress multisite install.
http://anabaptistworship.com/category/community-music/
I am using a custom child theme and there is no error when I switch to twentyeleven.
I recently started getting this error, even on pages that aren’t part of bbpress on my site. I’m not sure when it started–maybe with a recent update?
Error:
Warning: Missing argument 2 for _bbp_has_replies_where() in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1381
Fatal error: Call to a member function get() on a non-object in /hermes/waloraweb048/b1387/as.rethink/wp-content/plugins/bbpress/bbp-includes/bbp-reply-functions.php on line 1384
Lines 1381-1385 of the file it mentions:
function _bbp_has_replies_where( $where, $query ) { // Bail if no post_parent to replace if ( ! is_numeric( $query->get( 'post_parent' ) ) ) return $where;Any suggestions? Thanks!
I have a custom WP_Query outside the main loop, in my header.php, and also another one in footer.php. On my Forums List page (the top/base level of bbPress that lists all my Forums), the custom WP_Query in both header.php and footer.php, no longer works. It shows another instance of the bbPress Forums List, instead of showing the correct content (as it does on every other page of my site, including all other bbPress pages). My custom WP_Query is
$args = array(
'post_type' => 'page',
'page_id' => 218
);
$the_query = new WP_Query( $args );
while ( $the_query->have_posts() ) : $the_query->the_post();the_content();
endwhile;
wp_reset_postdata();I also tried get_page, which also didn’t work.
$page_id = 218;
$page_data = get_page( $page_id );
$page_content = apply_filters('the_content', $page_data->post_content);
echo $page_content;I tried using a bbPress ShortCode in a WP-Page called “Forums”, and then also without a page, just using bbPress Permalink “Forums”, without a wp-page and shortcode. Same problem either way.
Why would bbPress conflict with these core WP functions? And why would it happen ONLY on the Forums List page? I also tested this in TwentyEleven, and the problem is there too.
Hi,
I am unable to view the topic or reply content. With debug on I receive the following error
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.’ at line 2] SELECT SQL\_CALC\_FOUND\_ROWS wp\_posts.* FROM wp\_posts JOIN wp\_icl\_translations t ON wp\_posts.ID = t.element\_id AND t.element\_type IN (‘post\_topic’) JOIN wp\_icl\_languages l ON t.language\_code=l.code AND l.active=1 FORCE INDEX (PRIMARY, post\_parent) WHERE 1=1 AND (wp\_posts.ID = 647 OR wp\_posts.post\_parent = 647) AND wp\_posts.post\_type IN (‘topic’, ‘reply’) AND (wp\_posts.post\_status = ‘publish’ OR wp\_posts.post\_status = ‘closed’) AND t.language\_code=’en’ ORDER BY wp\_posts.post\_date ASC LIMIT 0, 15
I have had this error since I installed this plugin over a month ago and have not been able to fix it. At that time I found this ticket1 which lead me to this 2 line change2. I decided to add these two lines but that did not help either.
I have switched themes to Twenty Ten bbPress, Twenty Eleven, and the standard Twenty Eleven. I have also disabled almost all plugins (not WPML because I’ve had bad experiences with disabling and re-enabling it). None of this troubleshooting actions have helped. I then sat around waiting for an update, but unfortunately one has not come yet.
Since we are reaching the launch date I would like any help from anyone who has encountered this issue and successfully fixed it.
Thank you so much! Tamara
Topic: Accessing user profile page
Hi,
I have created a custom registration which works and has custom fields. In my header I have added code which checks if the user is logged in. When logged in I want to have a link to ‘My Profile’ for the user. I would like to know where I can find out this information and where it is generated.
Also I would like to know what files create the user profile page, as I would like to customize it.
Thanks for your help in advance.
Hi,
I’m wondering if anybody have some advice how to achieve this:
I have created 3 roles called; member, steeringgroup and board, with Justin Tadlocks Members plugin.
Now I’d like to restrict those roles to the following bbpress forums:Category forum A (can only be viewed by logged in users, in role member, steeringgroup and board) - Forum - Forum Category forum B (can only be viewd by logged in users, in role steeringgroup and board) - Forum - Forum Category forum C (can only be viewd by logged in users, in role board) - Forum - ForumNot logged in guests should not see anything of the forums, they will be redirected to a sign-up page. (have fixed this one).
Currently all 3 category forums and sub forums are visible to all logged in users at all times.
Running WordPress 3.4.2, bbPress 2.1.2, Members 0.2.1
Thank you in advance for any help/advice.
/emily
Hi there – I have a forum on a membership site running:
bbpress 2.1.2, buddypress 1.6.1, wordpress 3.4.2
with a premium theme.
The site owners have asked if we can add the ability for users to upload photos and embed video into forum posts. The rich tinyMCE editor doesn’t include the standard media uploader button, and even though in my Settings for bbPress I have the option to embed video/flickr/etc checked, when I paste the code in it defaults to a link instead of the embed object. I’m not very familiar with either bbPress or buddypress, so any help is greatly appreciated. I’ve attached a screenshot of the current forum editor.
Because the site is a membership site and the forums are protected, the link won’t help much but here it is: http://www.innercircletheater.com.
I’m more than happy to pay someone to implement these components. Also, I’ve tried adding the bbpress post tools plugin, but it breaks my theme.
Thanks!
Shannon
Topic: vBulletin to bbPress convert
Hi! ๐
I’m having some troublse in vBulletin to bbPress convertion.
Wordpress 3.4.2
bbPress: 2.1
vBulletin Database: 4.1.6
Php: 5.4.4
Using MAMP (Mountain Lion)When I try to convert the vBulletin database, it stuck in 33k replies.
If I try to stop and resume the convertion, it stuck again.Converting replies (33300 - 33399) Converting replies (33200 - 33299)apache.log:
[Mon Oct 15 12:56:40 2012] [notice] Digest: generating secret for digest authentication ... [Mon Oct 15 12:56:40 2012] [notice] Digest: done [Mon Oct 15 12:56:40 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations [Mon Oct 15 12:58:44 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/cabana/.DS_Store [Mon Oct 15 12:58:46 2012] [error] [client ::1] client denied by server configuration: /Users/unikaos/Documents/Sites/area51/.DS_Store [Mon Oct 15 13:44:15 2012] [notice] child pid 34894 exit signal Segmentation fault (11) [Mon Oct 15 13:44:19 2012] [notice] child pid 34785 exit signal Segmentation fault (11) [Mon Oct 15 13:57:39 2012] [notice] child pid 35000 exit signal Segmentation fault (11) [Mon Oct 15 14:20:35 2012] [notice] child pid 34801 exit signal Segmentation fault (11) [Mon Oct 15 14:29:38 2012] [notice] child pid 34800 exit signal Segmentation fault (11) [Mon Oct 15 14:37:55 2012] [notice] caught SIGTERM, shutting down [Mon Oct 15 14:49:15 2012] [notice] Digest: generating secret for digest authentication ... [Mon Oct 15 14:49:15 2012] [notice] Digest: done [Mon Oct 15 14:49:15 2012] [notice] Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8r DAV/2 PHP/5.4.4 configured -- resuming normal operations [Mon Oct 15 14:49:43 2012] [notice] child pid 38524 exit signal Segmentation fault (11)And sorry for my really bad english! ๐
Hi,
how do I exclude addthis from my forum posts. There are no addthis checkbox in the post area so I suppose that I have to put some code in the bbpress forum template?
Best regards Claes
Hi everyone!
Iโm using bbPress (last version, with lastest WP too in a single site) and have the General Forums activated (not the group ones). I activated the option to use the WP WYSIWYG visual editor for the comments, which had a black background and a white text color. Usually it worked very well, but one day (too far ago), the color of the text changed to gray (check the image below).
I donโt remember changed anything on the code. Maybe it was a plugin update or something like that, but I couldnโt change it back.
Thanks!
Example: http://gameshock.vg/foros/topic/juegos-populares-nacionales-y-peronistas