Search Results for 'test'
-
Search Results
-
Hi.
Service: https://www.dolzikoo.com
In ‘Mobile device’, ‘Profile box’ is big and ‘Content area’ is small.
I want to reduce the size of ‘Profile box’ in ‘Mobile device’ or move it somewhere else.
If that is not possible, I would like to remove ‘Profile box’ when viewing from ‘Mobile device’.
# Test https://www.dolzikoo.com/forums/topic/the-justice-department-appointed-robert-s-mueller-iii/
Thank you.
Topic: bbp_author_metabox error
Hi bb Team,
I found a bug, maybe, on bbpress ver.: 2.5.12 if I use action bbp_author_metabox
I try to add some user info on metabox but if I call this:
add_action('bbp_author_metabox', array($this, 'bbp_author_details')); function bbp_author_details($post_id) { echo "<p>Test</p>"; }in html code I’ve this on start tag:
`<p>Test</p><!DOCTYPE html>
<!–[if IE 8]>`and on the right place:
<div id="bbp_author_metabox" class="postbox " > <button type="button" class="handlediv button-link" aria-expanded="true"><span class="screen-reader-text">Commuta il pannello: Informazioni autore</span><span class="toggle-indicator" aria-hidden="true"></span></button><h2 class='hndle'><span>Informazioni autore</span></h2> <div class="inside"> <p> <strong class="label">ID:</strong> <label class="screen-reader-text" for="bbp_author_id">ID</label> <input type="text" id="bbp_author_id" name="post_author_override" value="xxxxx" data-ajax-url="xxxx" /> </p> <p> <strong class="label">IP:</strong> <label class="screen-reader-text" for="bbp_author_ip_address">Indirizzo IP</label> <input type="text" id="bbp_author_ip_address" name="bbp_author_ip_address" value="xxxxxx" disabled="disabled" /> </p> <p>Test</p></div> </div>I found that do_action( ‘bbp_author_metabox’, get_the_ID() ) it’s called twice:
-on author_metabox function (bbpress/includes/admin/topics.php)
-on bbp_author_metabox function (bbpress/includes/admin/metaboxes.php)
-on author_metabox function (bbpress/includes/admin/replies.php)This cause html error code.
I think it’s name error on bbpress/includes/admin/topics.php and should be do_action( ‘bbp_author_attributes_metabox’, get_the_ID() );
Thank you
DavidTopic: 500: post_status no array
Hey guys,
I get a 500 error after the latest update:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: [] operator not supported for strings in /var/www/vhosts/<url>/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /var/www/vhosts/<url>/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /var/www/vhosts/<url>/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /var/www/vhosts/<url>/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /var/www/vhosts<url>/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /var/www/vhosts/<url>/wp-includes/clas...'ln 1800 looks like this:
$post_stati = $posts_query->get( 'post_status' ); // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }could be fixed by forcing the array:
$post_stati = $posts_query->get( 'post_status' ); if (!is_array($post_stati)){ $post_stati = array($post_stati); } // Default to public status if ( empty( $post_stati ) ) { $post_stati[] = bbp_get_public_status_id(); // Split the status string } elseif ( is_string( $post_stati ) ) { $post_stati = explode( ',', $post_stati ); }side note: wp version 4.7.4, bbpress version 2.5.12
Thanks in advance,
TobyI’ve been digging a lot and trying all kinds of different things but really have no idea how to get my site working again.
For whatever reason – every time I try and login to the standard Admin dashboard at “restomod101.com/test/wp-admin” for WordPress I get redirected to “restomod101.com/test/forum-registration/” which leads me to think its a redirect issue with bbpress but I could be wrong.
Whereas “restomod101.com/test/wp-login” takes me to a 404 error page.
What makes this all the more odd is the homepage seems to work fine EXCEPT when I click on any link, it resolves to a 404 page.
I’ve tried turning all the plugins off by renaming my plugins folder, I’ve tried my main themes folder but that takes me to a blank page.
What exactly has gone wrong?
Page is: restomod101.com/test/
Just trying to access the standard admin dashboard, I’ve put so much work into this site to lose it now!! Any help would be sincerely appreciated.
Topic: image after posting
Hello people,
I have a new forum. So i’m testing some things.
After i made a topic (with a new account) i get to see this weird thumbnail failure (see image)How do i solve this?
Topic: Grab topic IDs from forum ID
Hello,
I have a plugin that is used to index search results in to Amazon CloudSearch. I’ve written the below code to exclude private forums from search results. Now I need some code to automatically exclude all topics inside a private forum.
function exclude_private_forums_search() { $forum_id = bbp_get_forum_id(); if (get_post_status($forum_id) == 'private') { add_post_meta($forum_id, 'acs_exclude', 1, true ); } else { delete_post_meta($forum_id, 'acs_exclude'); } } add_action('bbp_new_forum', 'exclude_private_forums_search' ); add_action('bbp_edit_forum', 'exclude_private_forums_search' );Is there anyway I can get a list of topic IDs inside a forum ID?
Running latest version of bbPress and WordPress.
Thanks.
Topic: Only one forum showing
Hi
Newbie would be grateful for some help …..WordPress 4.7.4 – bbPress 2.5.12
https://bijouxbutterflies.co.uk/forums/Using the “Creating Content” guide I created my first forum and topic with no problems.
I then created a second forum (latest news) with one topic (trade mark registered).
Although both forums and both topics show in wp-admin, when I visit the website only the first forum shows.
What do I have to change to get both forums listed?
ThanksHi, in my site I noticed a strange issue after last WordPress update. It seems to have problem with “cache”.
For example, if I log-in through the Home Page, after click in sign-in, the page refresh but it seems that the log-in didn’t work. If I press F5 to refresh the page, here I can now see the log-in effectuated.
I thought about my caching plugin, and I wrote to the assistance of my provider. They exclude the problem is in caching plugin, they found this:
The issue appears to be caused from the latest WordPress upgrade that was automatically applied within your website.
Code:
sitename@esm9 [~/public_html]# wp core version 4.7.4There seems to be conflict between a plugin of yours that is creating this strange behavior within the website.
To find which is the responsible plugin, you may start deactivating them one by one and after that checking the functions that were not working as expected. Once they work this will indicate which plugin caused the issue.
I did what they suggest, and when I deactivate BBPRESS, everything works! So, what to do??
Topic: Replies Not Publishing?
A user posted a new topic in my bbPress forum. that worked just fine. I registered as a Subscriber so I could test user experience, and tried to reply to his topic/thread. But after I hit “Submit,” the topic reloaded and the reply was not there. The status still reads: This topic contains 0 replies, has 1 voice.”
What could be the reason why the response is not being published?
Thanks!
Ken