gorbacheff
Forum Replies Created
-
Forum: Plugins
In reply to: [Before And After: Lead Capture Forms For Wordpress] Encoding problemSorry I was wrong. Just add UTF-8 encoding to your htmlentities function, lines 262 and 309 in ba.goal_model.class.php , this solves the issue.
Also, in line 287 of ba.shortcodes.class.php you use
apply_filters(‘the_content’, $freeText) , that leads to errors with some plugins that add modules straight after content div (in case of you plugin, such calls are doubled, messing up the website page). I’d advise you “keep the text as is” without wrapping it in content filter, or, better, study a solution like this: https://themehybrid.com/weblog/how-to-apply-content-filtershope this helps
??- This reply was modified 8 years, 4 months ago by gorbacheff.
Forum: Plugins
In reply to: [Before And After: Lead Capture Forms For Wordpress] Encoding problemUpdate:
line 456 in ba.goal_model.class.php
$vals = get_post_meta($goal_id, ‘_goal_after_values’, true);
rerurns nothing in case any symbol in meta field is not latin
How to fix that?- This reply was modified 8 years, 4 months ago by gorbacheff.
Forum: Plugins
In reply to: [Event post] Maps not renderingupdated 4.2.1 -> 4.2.2
— Map is working, confirmed (https://dev.infographer.ru/karta-sobytij/)
— Event details is not working (see https://dev.infographer.ru/event-5/). Console shows no errors. Any ideas?It might be of importance to mention the fact that, for a single post, the event details box is NOT starting automatically (I suppose it should be, for every of the “event” posts?). I had to hard-code it in single.php, firing the event_details shortcode, in the place you see it now (otherwise, nothing shows). I suppose hard-coding is not the way it should be, as it makes the “Event bar position for single posts” setting pretty useless.
Forum: Plugins
In reply to: [Event post] Maps not renderingBastien,
In addition to msg above (re: post map issue), fresh update to 4.2.1 now results in error
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
For your reference, check the same page https://dev.infographer.ru/karta-sobytij/
(map was working well).Forum: Plugins
In reply to: [Event post] Maps not renderingOkay, that’s clear. Still, as I noted above, for the single post page the problem still exists..
Have a look https://dev.infographer.ru/event-5/
(no tagcloud is fired there)Forum: Plugins
In reply to: [Event post] Maps not renderingwhhoooops… It works.
It was a custom function that I wrote to get the list of tags related to specific post category. Simple code, I can’t identify where the problem comes from…
The code is below, for your reference. For sure, there is a conflict. As far as I see maps now, I’ll try to rework my tags function..
Howerver, as for the single post page, the problem still exists, have a look https://dev.infographer.ru/event-5/ . Removing the function from functions.php makes no difference.
function get_category_tags($category){ query_posts('cat='.$category); if (have_posts()) : while (have_posts()) : the_post(); $posttags = get_the_tags(); if ($posttags) { foreach($posttags as $tag) { $all_tags_arr[] = $tag -> term_id; } } endwhile; endif; $tags_arr = array_unique($all_tags_arr); }
Forum: Plugins
In reply to: [Event post] Maps not renderingBastien, looks like the plugin is broken overall on my site.
1) The link to special page, which you can use
https://dev.infographer.ru/karta-sobytij/
It is a ‘page’ type page, filled with shortcodes, the whole contents is:START MAP // these texts in caps are for seeing where module work starts and ends visually.
[events_map nb=”-1″ future=”1″ past=”1″]
END MAP, START LIST
[events_list undefined=”list” nb=”5″ future=”1″ past=”1″ geo=”1″]
END LIST, START CAL
[events_cal]
END CAL2) If you check https://dev.infographer.ru/sobytie-4/, it has empty map
The address is geo-coded correctly, I can even use lat and long custom values if I want to build my own map..3) On the right sidebar, down there, you see list of events, but it is… MAP WIDGET.
I don’t get, why the _map_ shows List of events instead..PS tried reinstalling plugin. Looks like I have to try to make a fresh install of WP to identify the problem.
Forum: Plugins
In reply to: [Event post] Maps not renderingNo errors in the console (
I have nothing that could help finding the problem point..Forum: Plugins
In reply to: [Front-end Editor] NotificationThe functionality I need is for only-now-not-forever, and does not require big-monster-solutions. Nothing industry-big. Only a temporary workaround.
1) Yeah, I see that you develop very “properly”, therefore expect very “standard” solutions.
2) Yes, you are right that I am not familiar with coding. Basic knowledge only.-> a hack of your code, a single call of specific event (which call? to put where?), would be enough.
I would be VERY helpful for instructions…Please post it there.
Problem: I need multiple choice of taxonomy items, with option to add new items, with ability to-click-not-to-input.
Solution
1) Near the list of the_terms related to specific taxonomy, create in html page code the simple list of items existing using wp_get_category_items (with special modification, to make them hierarchical).
2) Each item is wrapped with- or <span> and gets a JS onclick event, updating the inputfield of this taxonomy with respective $category->name
3) To make JS update proper inputfield ID, I had to delete from your code unique ID (fee-date.time), making it only ‘fee-input-field’ for every field. Still, works.
Again, this is temporary solution, I need it now-not-forever.
3) Delete not inplemented, yet not required. Delete manually by backspace button:)
Forum: Plugins
In reply to: [Front-end Editor] Multiple taxonomy selectUnderstood. Okay, resolved, still, think of my issue
I consider it to be quite a common feature request, as custom hierarchical taxonomies are very useful. Maybe a modal dialog, like one yours for wysiwyg-editor — would be a much favoured solution.
Forum: Plugins
In reply to: [Front-end Editor] Multiple taxonomy selectOkay, works for terminput now!
As for checkboxes (without complementary input field) — any possibilities? Or not UI-inlineable?
Forum: Plugins
In reply to: [Front-end Editor] Multiple taxonomy selectYep. Tested on twentyeleven, sure.
Mechanics: field shown -> autosuggest works -> delimiting comma added -> looks fine -> submit -> submit erases this taxonomy (in admin area, nothing is ticked of the options, even previously ticked).Anyway, terminput is not the best solution.
Ideal for me: combination of checkboxes + input field.
I require my users to
— select something from the list,
— also they must be able to add some new values.
(i.e. if I forgot to mention one of the country in the list, user can add one)