discern
Forum Replies Created
-
Hey, Tobias. I’m also having this issue (the table filter works if you are logged in, but not when you aren’t). I tried adding cache_table_output=false to the shortcode and re-saving the table, to no avail. Have you got any other ideas why this might be happening?
This is the shortcode:
[table id=2 automatic_url_conversion=true automatic_url_conversion_hide_protocol=true automatic_url_conversion_new_window=true datatables_columnfilterwidgets=true datatables_columnfilterwidgets_exclude_columns='1,2' datatables_columnfilterwidgets_max_selections=1 print_name=false responsive=scroll use_datatables=true cache_table_output=false]Thanks!
- This reply was modified 9 years, 1 month ago by discern. Reason: Added shortcode
Forum: Reviews
In reply to: [YOP Poll] Cannot Style with CSSI agree; this sucks. But it’s not completely impossible. You might be able to use one of the parent wrappers (e.g. .yop-poll-container), and a bunch of direct child selectors [and probably !important declarations O_o]. But they used ids in their inline stylesheet, so that will make it even more un-fun to style correctly.
Did this ever get resolved? I, too, am [still] getting failed login attempts on non-standard (bizarre, even!) usernames, with that option checked.
The idea is that we want to use the single WP user specifically for bookings so we don’t end up with umpteen WP users. The people should be able to sign for another event without having to enter a password (they didn’t have to the first time).
I figured it out (sort of—it’s not very flexible, but it works for a very specific thumb name).
In your
functions.phpfile, create your custom thumbnail size, as mentioned above. (You can use the Regenerate Thumbnails plugin to create new thumbnails of everything you already have in your Media Library.) Then add a function like this to your functions.php file:function my_em_placeholder_mod($replace, $EM_Event, $result){ if ($result == '#_EVENTIMAGE{my_custom_size}') { $replace = get_the_post_thumbnail($EM_Event->post_id, 'my_custom_size'); } return $replace; }Make sure it is called by adding a filter:
add_filter('em_event_output_placeholder', 'my_em_placeholder_mod',1,3);Now, wherever you call
#_EVENTIMAGE{my_custom_size}you should see the resized image. I hope this helps.You could create a custom image size…
add_image_size('my_custom_size', 200, 300, true);…and then modify the placeholder. This is where I’m a little unclear, though. Could someone explain more specifically than this how to modify the #_EVENTIMAGE{} placeholder to accept
my_custom_sizeas an argument, instead of the dimensions?Mail queue was backed up in a big way. 🙂
Update: They are attempting to log in via xmlrpc.php, not wp-login.php (check your apache access logs).
Agreed. Also, I’m not sure why .htpasswd isn’t keeping the bots at bay. Are they hitting a different URL than wp-login.php to trigger the Wordfence alerts?
I’m having a similar issue. A botnet is attempting log-ins with empty usernames. So far, over 1800 in the last 12 hours, all from different IPs. The problem is that even though I have maximum emails per hour set to 1, and I have added .htpasswd to wp-login.php, WordFence keeps sending an email every time another bot fails to log in as ”.
Forum: Fixing WordPress
In reply to: [WP 3.1.3] Media Library stops working after upgradeMy Media Library is working, but I get the following warnings after upgrading to 3.1.3:
Warning: explode() expects parameter 2 to be string, array given in /Users/capneb/Sites/blankfield.net/blankfield.net/wp-includes/query.php on line 2390
Warning: in_array() expects parameter 2 to be array, null given in /Users/capneb/Sites/blankfield.net/blankfield.net/wp-includes/query.php on line 2399
The second warning appears 8 times on my page when on the Media Library page or the image box is open (adding an image to a post/page with Media Library tab selected). All plugins deactivated. The warnings disappear after downgrading to 3.1.2.
Forum: Fixing WordPress
In reply to: Trouble with theme: unable to login and outCheck for conflicting functions in your functions.php file, e.g. functions with same name as WordPress functions. In this case either change the name or use:
if ( !function_exists( "function_name" ) ) { function function_name() { // Function } }Forum: Networking WordPress
In reply to: Multi Site Blog is named "databaseblog"Thanks, Andrea; you were correct. I commented out the lines added by the host and all is well. However, this might be linked to automatic upgrades (in the host’s panel), so, if anyone else runs into this, be careful. I would comment the line(s) out, create your new blog, then uncomment those lines. The new blog should continue working; however, I do not know if leaving them uncommented will break anything else later on. I have added a post to the new blog, with the lines uncommented, with success.
Forum: Plugins
In reply to: Allow to view posts in the futureI concocted a way to do this using page templates and custom widgets. It involves a little more than just activating a plugin, but it]s pretty simple and does the trick.