ptriek
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Users] wpMandrill Email UsersMike, do you have any updates on this?
Forum: Plugins
In reply to: [Polylang] polylang home_url not always filteredThanks for the quick response.
- I’m using home_url in my theme files, both in the header and on the front page
- Resaving Polylang settings doesn’t change anything, not on development nor on production site. Disabling/re-enabling won’t help either, nor disabling all other plugins.
Some further investigations/findings:
- Database:
wp_options->_transient_pll_languages_list-> url includes language code (both on production and on development site) - Database:
wp_options->homeandwp_options->site_urldoes not include language code (both on production and on development site) - ! I just installed a fresh copy of WordPress with TwentyFourteen theme and fresh Polylang install in my local XAMPP environment, and found out that
home_url()is not filtered – it returns local.mysite.com, without the language code – so it seems this is the default behaviour? - The only substantial difference between my local development environment and the production site is that my local site runs on XAMPP (Apache), whereas the production site is hosted on a managed WordPress account at getflywheel.com – which I believe is running on Nginx (no htaccess)
Bottom line: I still really don’t have a clue – it’s not a huge problem, but it’d be nice to understand what’s happening…
Just noticed another issue, however:
In the last search result on
http://blauwdrukken.cooperatiefvlaanderen.be/search/budgethouders
the search term ‘budgethouders’ isn’t being highlighted – though maybe I’d better start a new thread for this issue…
True – first post has just paragraphs (without working excerpts), other posts with ul elements do return a correct excerpt. My mistake.
Switching the excerpt length criteria from characters to words seems to fix the problem, wonderful, thanks!
By the way, you don’t have a donate button, somewhere? I don’t really need the premium features – but sincerely appreciate your plugin, and your quick response…
Forum: Reviews
In reply to: [VideoPress] Videopress..great potential but unreliableI am now looking for another solution that can provide HTML5 with flash fall back, and automatically transcode a single uploaded MP4 into Theora & Ogg so that it will play in virtually all devices and browsers.
Have you already found a decent alternative?
Forum: Plugins
In reply to: [VideoPress] Disabling Share on self-hosted breaks video(bump…)
I want to be able to embed my Videopress movies on my self hosted site – but I don’t want the sharing buttons. What to do?
Forum: Fixing WordPress
In reply to: post_row_actions in 3.4For future reference: although the name suggests otherwise
page_row_actionsalso applies to (custom) posts with hierarchical structure, see source in wp-admin/includes/class-wp-posts-list-table.php:$actions = apply_filters( is_post_type_hierarchical( $post->post_type ) ? 'page_row_actions' : 'post_row_actions', $actions, $post );Forum: Plugins
In reply to: [Media Tags] Media Tags metabox shown on Pages/Posts/etcI agree – imho line 1072 in mediatags_admin.php should be changed from:
function mediatags_metaboxes() { add_meta_box('tagsdiv-' . MEDIA_TAGS_TAXONOMY, __( 'Media-Tags', MEDIA_TAGS_I18N_DOMAIN ), 'post_tags_meta_box', null, 'side', 'core', array( 'taxonomy' => MEDIA_TAGS_TAXONOMY )); }to
function mediatags_metaboxes() { add_meta_box('tagsdiv-' . MEDIA_TAGS_TAXONOMY, __( 'Media-Tags', MEDIA_TAGS_I18N_DOMAIN ), 'post_tags_meta_box', 'attachment', 'side', 'core', array( 'taxonomy' => MEDIA_TAGS_TAXONOMY )); }Forum: Hacks
In reply to: appointment booking plugin with a credit systemmatt, i’m looking for exactly the same thing – you found a solution, by any chance?
Forum: Plugins
In reply to: [Theme My Login] Theme My Login 6.3.4 translationAnother fix is to copy the template files to your theme directory, and point the translatable strings to the TML translation file – eg. change
_e( 'First name' );to_e( 'First name', 'theme-my-login' );– I’m using the Dutch translation file for 6.2, downloaded from http://downloads.jfarthing.com/theme-my-login/language/6.2/Thanks for your reply, we ended up moving the site to another (much faster) provider, that fixed it. Average page loads have gone down from 4s to 0.2s
The error appeared only when page load took more than approx. 6 seconds – which seemed to be caused by a terribly slow MySQL server at Servage…
(not 100% sure though)
Forum: Plugins
In reply to: Tiny MCE Advanced Anchor icon not showing in editor windowIt appears that ‘items.gif’ is missing in the folder wp-includes\js\tinymce\themes\advanced\skins\wp_theme\img – you can copy this file from wp-includes\js\tinymce\themes\advanced\skins\default\img – your anchors will show up again.
There is another problem, however: the anchors cannot be moved or deleted in the WYSIWYG editor, only way seems to be the code editor…
… oh and also change this line (somewhere around line 410) to:
$fullURL = (string) $photo->media_group->media_content[0]['url'];Forum: Plugins
In reply to: [kPicasa Gallery] [Plugin: kPicasa Gallery] Changing the THUMBNAILS…i found a solution for the square thumbnails:
I’ve been digging in the code a bit, and found a way to make the thumbnails into squares:
kpg.class.php, line 216:
change
$url = 'http://picasaweb.google.com/data/feed/api/user/'.urlencode($this->username).'/album/'.urlencode($album).'?kind=photo';
into$url = 'http://picasaweb.google.com/data/feed/api/user/'.urlencode($this->username).'/album/'.urlencode($album).'?kind=photo&thumbsize=144c';'(add &thumbsize=xxxc – the c stands for ‘cropped’
kpg.class.php, line 329-331:
change$thumbURL = (string) $photo->media_group->media_thumbnail[1]['url']; $thumbW = (string) $photo->media_group->media_thumbnail[1]['width']; $thumbH = (string) $photo->media_group->media_thumbnail[1]['height'];into
$thumbURL = (string) $photo->media_group->media_thumbnail[0]['url']; $thumbW = (string) $photo->media_group->media_thumbnail[0]['width']; $thumbH = (string) $photo->media_group->media_thumbnail[0]['height'];This solution is of course a bit messy – the thumbnail size is now hard-coded in the php file.
But it works like a charm…