Matt
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Shortcode in widget doesn't workText Widget: https://wordpress.org/plugins/black-studio-tinymce-widget/
Here is the link (currently still using the old version):
http://www.abington.k12.pa.us/I utilize the text widget + shortcode because I need other stuff in the widget box along with the calendar.
I spent a lot of time on a development site transitioning all of my modifications to GCE to work with the new version. This widget issue + event info while hovering in widget are currently what’s holding me back from upgrading on my production site.
Well they work on the full calendar grid. They only stop popping up on hover when it gets shrunk down into the widget size.
Forum: Plugins
In reply to: [File Away] URL Encoding on directory namesedit: actually nevermind, what i originally just posted wont help you.
there probably needs to be a “html_entity_decode” somewhere.
Forum: Plugins
In reply to: [Broadcast] array_intersect error with latest version:Ah ok, that makes sense. I had some users logging into the site that normally shouldn’t have been. (I have a modified plugin to map/create user accounts automatically from LDAP.) When those users logged in they didn’t know what the hell they were doing (a link was given to them inadvertently). It looks like when they click on a button that I’ve added to the admin dashboard top-bar (a posts button taking you to /edit.php) they get the following message:
You attempted to access the “(my site name)” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “(my site name)” dashboard, please contact your network administrator.
And above that message is 4 copies of the error in question. So it looks like it happens when they click on a button that normally shouldn’t be there accessing a page that they don’t have access to 🙂
I can add a check to see if they have access on the code I put in to put the button there and make the button go away in that case, but I assume you may want to put some error checking on your end as well.
Forum: Plugins
In reply to: [Multisite Enhancements] Main blog being tagged as external domainbump
Forum: Themes and Templates
In reply to: Nav menus pseudo "after" element chromeanyone else have an idea?
Forum: Themes and Templates
In reply to: Nav menus pseudo "after" element chromeWhat is the width of your screen? I have my menu shrink when the browser width goes below 900 pixels. It only does it at normal width (above 900 px).
Forum: Themes and Templates
In reply to: Nav menus pseudo "after" element chromedid you refresh a couple times? i’m on chrome 43.
Forum: Plugins
In reply to: [File Away] URL Encoding on directory namesThe issue still persists for the path listing just above the table though. Not sure which file that falls into.
Forum: Plugins
In reply to: [File Away] Natural SortingSo I figured it out and it’s a combination of two things. So #1) In inc.directories.php you are not sorting the directory listing (natural or otherwise). On line 47 you have:
foreach(glob("$dir"."/*", GLOB_ONLYDIR) as $k=> $folder)and if I modify that and do this instead:
$dir_array = glob("$dir"."/*", GLOB_ONLYDIR); if(phpversion() < '5.4') array_multisort($dir_array, SORT_ASC, SORT_STRING); else array_multisort($dir_array, SORT_ASC, SORT_NATURAL); foreach($dir_array as $k=> $folder)and also add a ‘ sortfirst=”disabled” ‘ to the shortcode, the listing is then sorted properly. If I don’t disable the sorting then the javascript in footable.js screws up the sorting again.
Forum: Plugins
In reply to: [File Away] Natural SortingI tried to fix this myself today and I’m a little confused as it looks like you guys do it already, but it’s not working for whatever reason.
In inc.sort.php you have …if(phpversion() < '5.4') array_multisort($rawnames, SORT_ASC, SORT_STRING, $links, $locs, $exts, $fulls, $dirs, $times, $dynamics); else array_multisort($rawnames, SORT_ASC, SORT_NATURAL, $links, $locs, $exts, $fulls, $dirs, $times, $dynamics);… and when I check the debug output of $rawnames they get sorted properly with SORT_NATURAL. However, the don’t end up displaying that way. At least not with the table view. If I do a list view with recursive=”on” it displays properly. But as soon as I do a table view (or directories=”on”, which seems to enforce table mode), the sorting is off again.
I was assuming the table is doing it’s own sorting after it’s drawn or something but I can’t find it.
Thanks
Forum: Plugins
In reply to: [Redirection] WordPress database error Table doesn't exist for queryIn my previous post I accidentally wrote that you edit line 44 of models\database.php. Meant redirection\redirection-admin.php.
Anyways, I created a pull request: https://github.com/johngodley/redirection/pull/60
Forum: Plugins
In reply to: [Redirection] WordPress database error Table doesn't exist for querySo here is the temporary fix until a developer wants to chime in:
edit models\database.php
Line 44 is function plugin_activated()
add this just after the function declaration:
include dirname( REDIRECTION_FILE ).'/models/database.php'; $db = new RE_Database(); $db->install();So you have, in full–
public static function plugin_activated() { include dirname( REDIRECTION_FILE ).'/models/database.php'; $db = new RE_Database(); $db->install(); Red_Flusher::schedule(); }Then deactivate and re-activate the plugin.
Forum: Plugins
In reply to: [Redirection] WordPress database error Table doesn't exist for querySo i just noticed it’s not creating *any* of the tables with a new install.
Forum: Plugins
In reply to: [Redirection] WordPress database error Table doesn't exist for querysame here