FnC
Forum Replies Created
-
Yeah, well. According to Usability Dynamics, the All properties page got refactored somewhere between v1.42 and v2.0.0. 😉
Now it works for me.Update: The problem only occurs if NONE of your “Draft” properties has a thumbnail. If at least one “Draft” property has a thumbnail, the list will load normally.
Hello Maria,
nothing fancy. Currently the project uses the Freak theme on the frontend. The only installed plugins are Google XML Sitemaps, User Role Editor and WP_Property. No FEPS, no addons. This is most likely not a frontend issue.I had exactly the same problem and don’t know the reason yet, but can provide a quick fix.
The problem occurs when trying to filter either for “Draft” objects or “All” objects. Firebug then tells me that /wp-admin/admin-ajax.php?&action=wpp_ajax_list_table returns HTTP Code 500, or if WP_DEBUG is set to “true”, it will return 200 but tell me of a “TypeError: json is null.”
{"sEcho":null,"iTotalRecords":3,"iTotalDisplayRecords":3,"aaData":null}Since this happens on our servers but NOT on my local machine I suspect that it might be a server configuration issue.
While I couldn’t find the reason for this yet, something that works for me is commenting out line 246 in /wp-content/plugins/wp-property/core/ui/class_wpp_object_list_table.php like this:
// $image_thumb_obj = wpp_get_image_link( $post->featured_image, $overview_thumb_type, array( 'return' => 'array' ) );This means that thumbnails will not be displayed anymore in the backend object list. However, I am now able to view and select “Draft” objects.
Forum: Plugins
In reply to: [WP Orbit Slider] [Plugin: WP Orbit Slider] Not working on my siteHi guys,
back to gary.uphams problem:[…] Is there a way that you can have it still slide automatically but not have to show the animation?
Depending on what else you got in the markup, this will work as well:
.timer { z-index:0; }
This is an attempt to actually display the timer behind the slides (as each slide is z-indexed with 1 or more). Works for me. 😉But still it would be better if the autoplay option worked without that timer animation altogether because it stalls my CPU, plus it just doesn’t work well in IE (several versions).
That said, I quite like this plugin. 🙂Forum: Plugins
In reply to: [Plugin: Glossary] Quick $dom->loadXML fix for Entity warnings (nbsp, shy … )Ok, let’s try this…
This is actually a reply to the post mentioned above, but that one has been closed.So what we did was this:
1.) Open glossary.php
2.) Near the top, add a function glossaryXmlEntities that scans for that unknown nbsp entity and replaces it
function glossaryXmlEntities($str) { $xml = array('(AMP)#160;'); $html = array('(AMP)nbsp;'); $str = str_replace($html,$xml,$str); $str = str_ireplace($html,$xml,$str); return $str; }(Replace all “(AMP)” with an ampersand when you copy this)
3.) Replace line 115 …
$dom->loadXML($content_temp);
… with this:
$dom->loadXML(glossaryXmlEntities($content_temp));
and thats it.
4.) As I mentioned earlier, the warning also appears whenever another unknown entity is found. So our new function glossaryXmlEntities should actually look like this:
function glossaryXmlEntities($str) { $xml = array('(AMP)#160;','(AMP)#161;','(AMP)#162;','(AMP)#163;','(AMP)#164;','(AMP)#165;','(AMP)#166;','(AMP)#167;','(AMP)#168;','(AMP)#169;','(AMP)#170;','(AMP)#171;','(AMP)#172;','(AMP)#173;','(AMP)#174;','(AMP)#175;','(AMP)#176;','(AMP)#177;','(AMP)#178;','(AMP)#179;','(AMP)#180;','(AMP)#181;','(AMP)#182;','(AMP)#183;','(AMP)#184;','(AMP)#185;','(AMP)#186;','(AMP)#187;','(AMP)#188;','(AMP)#189;','(AMP)#190;','(AMP)#191;','(AMP)#192;','(AMP)#193;','(AMP)#194;','(AMP)#195;','(AMP)#196;','(AMP)#197;','(AMP)#198;','(AMP)#199;','(AMP)#200;','(AMP)#201;','(AMP)#202;','(AMP)#203;','(AMP)#204;','(AMP)#205;','(AMP)#206;','(AMP)#207;','(AMP)#208;','(AMP)#209;','(AMP)#210;','(AMP)#211;','(AMP)#212;','(AMP)#213;','(AMP)#214;','(AMP)#215;','(AMP)#216;','(AMP)#217;','(AMP)#218;','(AMP)#219;','(AMP)#220;','(AMP)#221;','(AMP)#222;','(AMP)#223;','(AMP)#224;','(AMP)#225;','(AMP)#226;','(AMP)#227;','(AMP)#228;','(AMP)#229;','(AMP)#230;','(AMP)#231;','(AMP)#232;','(AMP)#233;','(AMP)#234;','(AMP)#235;','(AMP)#236;','(AMP)#237;','(AMP)#238;','(AMP)#239;','(AMP)#240;','(AMP)#241;','(AMP)#242;','(AMP)#243;','(AMP)#244;','(AMP)#245;','(AMP)#246;','(AMP)#247;','(AMP)#248;','(AMP)#249;','(AMP)#250;','(AMP)#251;','(AMP)#252;','(AMP)#253;','(AMP)#254;','(AMP)#255;'); $html = array('(AMP)nbsp;','(AMP)iexcl;','(AMP)cent;','(AMP)pound;','(AMP)curren;','(AMP)yen;','(AMP)brvbar;','(AMP)sect;','(AMP)uml;','(AMP)copy;','(AMP)ordf;','(AMP)laquo;','(AMP)not;','(AMP)shy;','(AMP)reg;','(AMP)macr;','(AMP)deg;','(AMP)plusmn;','(AMP)sup2;','(AMP)sup3;','(AMP)acute;','(AMP)micro;','(AMP)para;','(AMP)middot;','(AMP)cedil;','(AMP)sup1;','(AMP)ordm;','(AMP)raquo;','(AMP)frac14;','(AMP)frac12;','(AMP)frac34;','(AMP)iquest;','(AMP)Agrave;','(AMP)Aacute;','(AMP)Acirc;','(AMP)Atilde;','(AMP)Auml;','(AMP)Aring;','(AMP)AElig;','(AMP)Ccedil;','(AMP)Egrave;','(AMP)Eacute;','(AMP)Ecirc;','(AMP)Euml;','(AMP)Igrave;','(AMP)Iacute;','(AMP)Icirc;','(AMP)Iuml;','(AMP)ETH;','(AMP)Ntilde;','(AMP)Ograve;','(AMP)Oacute;','(AMP)Ocirc;','(AMP)Otilde;','(AMP)Ouml;','(AMP)times;','(AMP)Oslash;','(AMP)Ugrave;','(AMP)Uacute;','(AMP)Ucirc;','(AMP)Uuml;','(AMP)Yacute;','(AMP)THORN;','(AMP)szlig;','(AMP)agrave;','(AMP)aacute;','(AMP)acirc;','(AMP)atilde;','(AMP)auml;','(AMP)aring;','(AMP)aelig;','(AMP)ccedil;','(AMP)egrave;','(AMP)eacute;','(AMP)ecirc;','(AMP)euml;','(AMP)igrave;','(AMP)iacute;','(AMP)icirc;','(AMP)iuml;','(AMP)eth;','(AMP)ntilde;','(AMP)ograve;','(AMP)oacute;','(AMP)ocirc;','(AMP)otilde;','(AMP)ouml;','(AMP)divide;','(AMP)oslash;','(AMP)ugrave;','(AMP)uacute;','(AMP)ucirc;','(AMP)uuml;','(AMP)yacute;','(AMP)thorn;','(AMP)yuml;'); $str = str_replace($html,$xml,$str); $str = str_ireplace($html,$xml,$str); return $str; }(Again, replace all “(AMP)” with an ampersand when you copy this)
This version covers all encoded characters from #160 to #255. If you need something beyond that (like mathematical or greek characters), you may have to add them as well. This list here can be used for reference: http://www.w3.org/TR/html4/sgml/entities.html#h-24.3.1
Hope we could help.