Sonika
Forum Replies Created
-
Forum: Plugins
In reply to: [cformsII] Please bring cforms2 backI also love this plugin and have been using it for over 10 years, CFORMS II please come back!
Maybe author desided to improve something, bcoz i saw message about vulnerability in cforms II
https://really-simple-ssl.com/vulnerability/cc2b4b07-11bb-4ae7-a238-fe9d6180644d/
Forum: Plugins
In reply to: [Geo Mashup] How to deinstall GeoMashUp complitly?https://dombai.org/guidebook/map/
Thanks for answer!
edit page screenshot:
https://disk.yandex.ru/i/WTR2fFS4OtIxSQ
Also i tried to display map with php code and the same problem:
echo GeoMashup::map('map_content=global&height=250&add_overview_control=true&add_map_type_control=true&map_type=G_NORMAL_MAP
‘)@arxtechnet @southklad
попробуйте пока сменить для админки браузер, например Edge@benjaminowens, please, pay attention to this problem
Imposible to work with Nextgen Gallery after upgrading to v 3.5.x
Do the NextGen use sweetalert script in admin panel?
https://github.com/sweetalert2/sweetalert2/issues/2552
Playing the Ukraine national anthem to the Russians doesn’t help anybody, the only thing that will come out of it – a lot of users will refuse to use Nextgen, bcoz they will not dig in source of problem and will blame the NextGen for it.
@mihaiimagely, thanks a lot!!!
other options
Thanks a lot!
Now it started to work without fatal error
But i didnt add, i replace.
Final variant of file ari-fancy-lightbox/libraries/arisoft/core/wordpress/class-nextgen.php
<?php namespace Ari\Wordpress; class Nextgen { static public function is_installed_v2() { if ( defined( 'NEXTGEN_GALLERY_PLUGIN_VERSION' ) ) return version_compare( NEXTGEN_GALLERY_PLUGIN_VERSION, '2.0.0', '>=' ); return false; } static public function install_lightbox_v2( $lightbox, $lightbox_title, $code ) { if ( class_exists( 'C_Lightbox_Installer' ) ) { $installer = new \C_Lightbox_Installer(); $is_installed = $installer->mapper->find_by_name( $lightbox ); if ( ! $is_installed ) { $installer->install_lightbox( $lightbox, $lightbox_title, $code, array( '', '' ), array( '', '' ) ); } // NextGEN 3.50+ elseif ( class_exists( 'Imagely\NGG\Display\LightboxManager' ) ) { $ngg_lightbox_manager = \Imagely\NGG\Display\LightboxManager::get_instance(); $lightbox_options = new \Imagely\NGG\DataTypes\Lightbox($lightbox); $lightbox_options->title = $lightbox_title; $lightbox_options->code = $code; $lightbox_options->styles = array(); $lightbox_options->scripts = array(); $ngg_lightbox_manager->register( $lightbox, $lightbox_options); } } } }
BUT! In Nextgen other options there is no possitibity to choose
What lightbox would you like to use?There is No Choice Ari FancyBox
I have the same fatal error, even cannot enter admin area. I have revialed the problem today, before it works for several years perfect.
Nextgen gallery + plugin ARI Fancy Lightbox (Contributors: arisoft)
I changed extention of file ari-fancy-lightbox.php–>ari-fancy-lightbox.php-
in /wp-content/plugins/ari-fancy-lightbox/ to disable the plugin ari fancy box.Of coz i can delete the plugin, but maybe the problem will be solved in near future.
And this action solves my problem
Anyway the problem source in NextGEN Gallery, it was updated 17 hours ago, and ARI Fancy Lightbox updated 1 month ago
Do you use shortcodes for nextgen in your widgets?
NGG uses now another shortcode scheme, check here
https://www.imagely.com/docs/nextgen-gallery-shortcodes/It’s great that there is an opportunity to talk with an intelligent person – with yourself ?? ?? ??
[ngg src=tags ids=promo display=basic_thumbnail display_view=custom/default-view.php]
Hope this helps someone and saves time
Ok, no one answer me, i found 1/2 of decision
To turn on custom template i put default-view.php
to
/wp-content/ngg/modules/photocrati-nextgen_basic_thumbnails/templates/default-view.phpAfter – select in Gallery Settings -> Select View -> custom/default-view.php
But i need as in previous vertions NextGen to use different custom templates for my galleries – by specifing template in shortcode.
Plz, is it possibly in NEW NextGen? @photocrati
Use tags, put TAG newyork to all pics you need and something like this:
[ngg src=tags ids=newyork display=pro_mosaic]
@bgermann, please, make it possible to change date format as at previous cform’s versions! Or like at WordPress date format configuration
Forum: Plugins
In reply to: [Geo Mashup] Get map’s iframe urlThanks for answer, Dylan @cyberhobo!
In theory i understand, but i havent enougth knowlege for this…
I did, but I didnt understand only from where is map_data_key, bcoz i didnt fill it at admin area.
I took some code from here https://jsfiddle.net/GZBbk/
and did this way:header.php
<script type="text/javascript" src="<?php bloginfo('template_url') ?>/scripts/jquery-1.js"></script> <script type="text/javascript"> //<![CDATA[ $(window).load(function(){ $(document).ready(function() { $('a.lnk').click(function(e) { e.preventDefault(); var url = $(this).attr('href'); $('#realmap').attr('src', url); return false; }); }); }); //]]> </script>
single.php
<?php if (function_exists('geo_mashup_map')) $coords = GeoMashup::post_coordinates(); if ($coords) { ?> <?php if ( class_exists( 'GeoMashup' ) ) { $current_location = GeoMashupDB::get_post_location( get_the_ID() ); if ( $current_location ) { // The current post has a location, so include the map $map_arguments = array ( 'map_content' => 'global', // 'map_content' => 'single', 'center_lat' => $current_location->lat, 'center_lng' => $current_location->lng, 'marker_select_info_window' => 'true', 'marker_select_highlight' => 'true', 'marker_select_center' => 'true', 'auto_info_open' => 'true', 'open_object_id' => $current_location->object_id ); //echo GeoMashup::map( $map_arguments ); } } ?> <a class="lnk" href="https://mysite.ru/?geo_mashup_content=render-map&map_data_key=be5e0b186f619fb99bcd339d5221c51e&map_content=global¢er_lat=<?php echo $coords[lat]; ?>¢er_lng=<?php echo $coords[lng]; ?>&marker_select_info_window=true&marker_select_highlight=true&marker_select_center=true&auto_info_open=true&open_object_id=<?php echo $current_location->object_id; ?>&name=gm-map-1&object_id=<?php echo $current_location->object_id; ?>"> Show map </a> <iframe id="realmap" style="width:600px; height:280px;">load here</iframe> <script type="text/javascript"> // tell the embed parent frame the height of the content if (window.parent && window.parent.parent){ window.parent.parent.postMessage(["resultsFrame", { height: document.body.getBoundingClientRect().height, slug: "GZBbk" }], "*") } // always overwrite window.name, in case users try to set it manually window.name = "result" </script> <?php } //END if (function_exists('geo_mashup_map')) ?>
Forum: Plugins
In reply to: [cformsII] Just upgraded to v15 and now forms won’t saveThe problem is HTML5 url field validation of your alternative form action “https://”.
Sorry to use this topic, just want to say, you was right, but! i didnt put
https://
in alternative form action, from the beggining it was unchecked andhttps://
was there. So i think a lot of users will meet this problem.