antonyvk
Forum Replies Created
-
Hey ??
I used a width=”100%” in the shortcode. That sounds good if you want a slider-like map. I also changed icons, inspired by gmap doc by adding like this :var marker = new google.maps.Marker({'position': latLng, icon: {url: '/wp-content/themes/mytheme/images/marker.png', scaledSize: new google.maps.Size(50, 50)}});
scaledSize is for resizing icon when too big.
Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?Wonderful ??
So a solution for data icons may probably be in a complete read of data variable and include all content of data[i] when generating the marker… I will look at it ??Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?It’s the same code as Robswaimea linked. There’s a 404 on https://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js
I cloned git project on my server but the code don’t work correctly :/
You can see the result here : https://travel.visual-k.fr/all-events/
When you zoom out, you see the cluster, but markers are still here… -_- Still no idea how to solve it…Forum: Plugins
In reply to: [Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?Hi !
Thanks for your reply ! I tried to use js-marker-clusturer, it looks fine but the code is – as you said – outdated and I don’t find the bug that don’t make single markers disappear when the cluster appears :/ Worked on it all this day with no success T_T
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageOf course I’ll inform you ?? I finish to optimize an other plugin and then I’ll be able to run traffic on it and say you how many photos I’ll receive !
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageYes and I activated it. Don’t see anything for the moment about wppa, it looks working like a charm ??
(Not the case for an other plugin huhuuu)Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageYes, I pushed it in production (because I have more albums and users in production).
Now I have to look (again !) at loading process (I still have around 6-8 seconds of loading), but at first look it’s very very better !Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album page>.< I did it on dev (and didn’t verify if all was working), then I didn’t write my cp correctly to push it on beta (because database on beta is more similar to my prod)…
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album page“This value can’t be blank” when I try to clear it.
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageooops ??
On my side, I looked again to wppa_album_select_a() (I’m probably angry against it XD), because, as you said :
So, – as i understood earlier – if you have on a page or post
[wppa type=”upload” parent=”{a page specific parent album id}”][/wppa]
the user will:
– create his child under this album at the first pageload, and
– see his album in the selection the second time. (If this must show up immediately after creation, so also on first pageload, pls tell me)Then if there are several albums to display, the wppa_album_select_a() is called, with an array containing all eligible albums.
So the query near line 1622 may look like this :if ( $args['array'] ) { $albonly = implode( ',', $args['array']); $albums = $wpdb->get_results( "SELECT * FROM <code>" . WPPA_ALBUMS . "</code> WHERE id in (".$albonly .") " . wppa_get_album_order( $args['root'] ), ARRAY_A ); } else { $albums = $wpdb->get_results( "SELECT * FROM <code>" . WPPA_ALBUMS . "</code> " . wppa_get_album_order( $args['root'] ), ARRAY_A ); }
What do you think about that ? Perhaps it needs more args to control in the if condition (like addpleaseselect is true or not, etc…).
- This reply was modified 8 years, 1 month ago by antonyvk. Reason: implode, not explode ;)
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageI did a new test, found I have a sub album of current AND a sub album in an other sub album of current. So It’s logical to find an array in $alb, then the wppa_album_select_a() function is called (but not responding…) :/
I deleted this sub sub, so I don’t use the wppa_album_select_a() function and it solves my problem for the moment. But there’s still something in this function that have to be looked closer, I think.Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageI confirm, inserting this at line 2262 gives me expected result : $alb = $albums_granted[0];
Upload box is loading, import is ok (I just need to look in moderate menu if I have my photo uploaded ?? )…
Now it’s probably blocking other features using this function… but having member album only is a logical result for a call to upload shortcode with parent album id given.Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album page$albums_granted contains my user album id but it’s not used anywhere else for granted albums creation at the start of wppa_get_user_upload_html() function. Why don’t you call it or populate $alb with it for choosing input/select near line 2263 ?
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pageI still don’t understand why, for a normal user, there’s only one upload album id in my granted album, but there’s an enumeration when it’s called by the upload shortcode and parent id…
Forum: Plugins
In reply to: [WP Photo Album Plus] lot of count when accessing an album pagePerhaps it could be more efficient for wide hierarchy to check only children of current, and use some json call to check again with a new query when moving into hierarchy…
I check new dev version and come back here ??