nir_r
Forum Replies Created
-
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] WPML and EM issuesHi,
Any updates on this bug ?
There is an open ticket in WPML support forum as well:
https://wpml.org/forums/topic/wpml-and-events-manager-bug-with-single-categoryThey are trying to reach you so please contact them in order to fix this bug.
Thanks
Hi,
Reviewing the code I can tell you that the widget is not the source of this issue.
Both the shortcode and the widget call to the SlideshowPlugin::prepare method.Could you please take care of fixing this security issue ?
Thanks
Hi,
I did the following:
On my local machine, using DesktopServer, I installed a new WP V4 test site.
I selected Hebrew as the language of the installation (first installation screen).
Uploaded the slideshow plugin and activated it – it is the only plugin.
Didn’t change the plugin settings.
Didn’t change the default WP theme.
Went and created a new slideshow.
Uploaded 7 images to use in this slideshow.
Went to Widgets and added the slideshow widget to the primary sidebar.
Navigated to the site.
Right click and “View source” – Checked the HTML code and found the problematic call:<link rel=’stylesheet’ id=’slideshow-jquery-image-gallery-ajax-stylesheet_style-light-css’ href=’http://www.slideshow.dev/wp-admin/admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=style-light&ver=2.2.21′ type=’text/css’ media=’all’ />
I also tried to change the site language to the default English US and checked again but got the same result.
Let me know if I can do more to help you with this issue.
Thanks
Hi,
If you don’t see any wp-admin in your test, is it possible that your admin has a different URL (since you told me that you are using security plugins that changes wp-admin to something else) ?
I opened the files of the slideshow plugin and I saw that it adds the location of the admin-ajax.php file to the HTML.
It can be found in SlideShowPlugin.php file (at the end of the file – admin_url()).
I also checked the SlideshowPluginSlideshowStylesheet.php and saw that the plugin loads the style with the admin URL (check line 112 to 117 for example).I also checked a different website that I have just one slideshow on a page and saw the same issue.
Please advice…
I didn’t change the default settings and I rechecked the settings (General settings).
I have the option to select light or dark style sheet or customize the style sheet.
I have three slideshows in a sidebar in my homepage.
Any configuration that I need to do in order to prevent this call to the style sheet from the admin ?There are several calls that the plugin generates from within the HTML page.
This is wrong – there shouldn’t be any requests to the ../wp-admin URL.If you want, you can load any page where you have an active slideshow, right click and select “View Source” and search for the word “admin”.
You will see links created by the plugin…
For example:
<link rel=’stylesheet’ id=’slideshow-jquery-image-gallery-ajax-stylesheet_style-light-css’ href=’http://www.mydomain.com/wp-admin/admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=style-light&ver=2.2.21′ type=’text/css’ media=’all’ />Can you please fix this bug ?
Thanks
I have added the slideshow to one of the site sidebars using the slideshow widget.
I didn’t link anything to the admin. I followed the basic steps and created a simple images slideshow.
The URL (www.mydomain.com/wp-admin) is just an example to show you that the htaccess in the wp-admin folder means that restricted users are not allowed to navigate to this address…In other words, the plugin writes in the page HTML a call to a URL that is in the admin area of the site and this is wrong…
The plugin requests the URL that I wrote (http://www.mydomain.com/wp-admin/admin-ajax.php?action=slideshow_jquery_image_gallery_load_stylesheet&style=style-light&ver=2.2.21) and the server response with a 404 error…
Hi,
No…they are not blocked from my website (www.mydomain.com).
They cannot access the admin area (www.mydomain.com/wp-admin is restricted).
This is a common security practice for WordPress.Forum: Plugins
In reply to: [Slideshow] using htaccess – Slideshow calls for WP-AdminHaving the same issue…
Is there a solution for that ?Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] WPML and EM issuesHi again,
After more testing It looks to me that the problem is much more basic and fundamental.
It has nothing to do with WooCommerce
I’ll describe the steps that I’ve done:
Using DesktopServer, I installed a fresh WP test site (Version 4).
logged in and change the Permalinks to %postname%
Activated the default 2014 theme.
Uploaded three plugins only – Events Manager 5.5.3.1, Event Manager and WPML compatibility and WPML Multilingual CMS 3.1.7.2
Activated the plugins in this order – Events Manager, WPML, Event Manager and WPML compatibility
I verified that I see the Events Manager new pages in the Pages section.
Went to WPML setup wizard and did the simplest minimal configuration – added German as the second language (English is the default language), checked the Events and Locations CPT to “Translate”, checked the Event Categories and Event tags custom taxonomies to “Translate” as well.
After that I added the following data:
Added new location (English) and added the translation of this location.
Added new event category (English) and added the translation of this category.
Added new event (English), assigned to it the location and the event category.
Added the translation of this event (and assigned the translated location and category to it).When I wanted to view the event category (English), there is nothing in the content area (sidebar and other elements are there).
BTW – the URL structure is http://www.example.dev/events/categories/sample-category-1
The single event page, the single location page and the categories (www.example.dev/events/categories) work just fine.I went to the plugins admin area and deactivated the WPML plugin.
Visited the event category page again (www.example.dev/events/categories/sample-category-1) and the expected content displayed (Upcoming Events as a title and the single event listed underneath the title).So I am now convinced that it is a compatibility between Events Manager and WPML.
Could you please help resolving this critical bug ?
Thank you
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] WPML and EM issuesHi,
I am using the latest of each:
WordPress 4
Event Manager 5.5.3.1
Event Manager and WPML compatibility 0.3The following WPML plugins:
WPML Multilingual CMS 3.1.7.2
WPML CMS Nav 1.4.5
WPML String Translation 2.0.9.1
WPML Sticky Links 1.3.5
WPML Translation Management 1.9.6
WPML Translation Analytics 1.0.6
WPML XLIFF 0.9.6
WPML Media 2.1.6
WooCommerce Multilingual 3.3.4Using the default WP 2014 theme for testing.
One assumption that I have after spending hours trying to understand what’s causing this bug is the functionality in WPML that changes the slug of CPT per language (in WPML -> Translation Management -> Multilingual Content Setup -> Custom posts slug translation options).
It is turned on and cannot be switched off (I assume that it is because it has the WooCommerce WPML plugin active for supporting WooCommerce).
I tried different options for “events” and “locations” slugs and nothing helped (first install I didn’t change anything, second fresh install I tried to give a different slug per language).I have no idea but it is easy to recreate – just install the components that I have described (including WooCommerce)…
Let me know how can I help…
Thanks
Forum: Plugins
In reply to: [Black Studio TinyMCE Widget] Link buttons disappearedPerfect!
Just upgraded and the missing buttons are there.Thank you
Forum: Plugins
In reply to: [Black Studio TinyMCE Widget] Link buttons disappearedHi,
My site is an Hebrew RTL site (he_IL) which means that the admin is also RTL.
I found out that if I change the admin to the standard English interface, the buttons appear again.So it has to be with the locale of the site (?)…
Forum: Plugins
In reply to: [Genesis Accessible] Translation issue with the search input fieldHi Rian,
I have just downloaded and installed the new version and the translation files are missing from the Language folder…
Thanks,
Nir