Title: antonyvk's Replies | WordPress.org

---

# antonyvk

  [  ](https://wordpress.org/support/users/antonyvk/)

 *   [Profile](https://wordpress.org/support/users/antonyvk/)
 *   [Topics Started](https://wordpress.org/support/users/antonyvk/topics/)
 *   [Replies Created](https://wordpress.org/support/users/antonyvk/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/antonyvk/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/antonyvk/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/antonyvk/engagements/)
 *   [Favorites](https://wordpress.org/support/users/antonyvk/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 58 total)

1 [2](https://wordpress.org/support/users/antonyvk/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/antonyvk/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/antonyvk/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/antonyvk/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Clustering Map “Icons” Work in Progress…](https://wordpress.org/support/topic/clustering-map-icons-work-in-progress/)
 *  [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/clustering-map-icons-work-in-progress/#post-8792993)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?](https://wordpress.org/support/topic/big-map-events/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/big-map-events/#post-8782606)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?](https://wordpress.org/support/topic/big-map-events/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/big-map-events/#post-8753474)
 * It’s the same code as Robswaimea linked. There’s a 404 on [http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/markerclusterer.js](http://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 : [http://travel.visual-k.fr/all-events/](http://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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Big Map Events ?](https://wordpress.org/support/topic/big-map-events/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/big-map-events/#post-8745540)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8376901)
 * Of 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8376315)
 * Yes 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8375876)
 * Yes, 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8375743)
 * >.< 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8375462)
 * “This value can’t be blank” when I try to clear it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/4/#post-8368121)
 * ooops 😉
 * 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>&quot; . WPPA_ALBUMS . &quot;</code> WHERE id in (".$albonly .") " . wppa_get_album_order( $args['root'] ), ARRAY_A
                       );
       }
       else {
               $albums = $wpdb->get_results(
                       "SELECT * FROM <code>&quot; . WPPA_ALBUMS . &quot;</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 9 years, 7 months ago by [antonyvk](https://wordpress.org/support/users/antonyvk/).
      Reason: implode, not explode ;)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/3/#post-8367990)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/3/#post-8367849)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/3/#post-8367792)
 * $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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/3/#post-8367738)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] lot of count when accessing an album page](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/)
 *  Thread Starter [antonyvk](https://wordpress.org/support/users/antonyvk/)
 * (@antonyvk)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/lot-of-count-when-accessing-an-album-page/page/3/#post-8367232)
 * Perhaps 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 😉

Viewing 15 replies - 1 through 15 (of 58 total)

1 [2](https://wordpress.org/support/users/antonyvk/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/antonyvk/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/antonyvk/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/antonyvk/replies/page/2/?output_format=md)