Title: FGBmaster's Replies | WordPress.org

---

# FGBmaster

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Number of “Top-Level”-Albums](https://wordpress.org/support/topic/number-of-top-level-albums/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/number-of-top-level-albums/#post-17523193)
 * I have changed the translation of that item.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Can not find “Manage Photos admin page”](https://wordpress.org/support/topic/can-not-find-manage-photos-admin-page/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/can-not-find-manage-photos-admin-page/#post-16484044)
 * You have to be admin. Select Settings from the menu -> tab Advanced Settings –
   > Userfields (German version: Fotoalben | Einstellungen | Erweiterte Einstellungen
   | Benutzerfelder)
 * Hope this helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] An error of type E_PARSE was caused in line 1139](https://wordpress.org/support/topic/an-error-of-type-e_parse-was-caused-in-line-1139/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/an-error-of-type-e_parse-was-caused-in-line-1139/#post-16297663)
 * You should try to use a newer php version.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Filter Album by Post ID](https://wordpress.org/support/topic/filter-album-by-post-id/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/filter-album-by-post-id/#post-16052520)
 * Is there any other content than the shortcode in the post? Can users see this
   other content? Otherwise the visibility of the post is possibly set to private.
   Then only admins and editors can view the post.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Gallery not showing/JS error](https://wordpress.org/support/topic/gallery-not-showing-js-error/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/gallery-not-showing-js-error/#post-15796081)
 * It’s a known problem, see [https://wordpress.org/support/topic/cant-open-the-album-link-anymore/#post-15795574](https://wordpress.org/support/topic/cant-open-the-album-link-anymore/#post-15795574)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Album Admin page corrupted](https://wordpress.org/support/topic/album-admin-page-corrupted/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/album-admin-page-corrupted/#post-15785776)
 * Which browser do you use?
    [@jacob](https://wordpress.org/support/users/jacob/)
   maybe the style should get an additional white-space: nowrap
    -  This reply was modified 3 years, 11 months ago by [FGBmaster](https://wordpress.org/support/users/fgbmaster/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Bulk rename](https://wordpress.org/support/topic/bulk-rename-2/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [4 years ago](https://wordpress.org/support/topic/bulk-rename-2/#post-15720673)
 * Your script has to focus a field, change the content and after that the focus
   has to leave the field. Then the onchange event occurs and does the magic.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA+ Shortcode Generator](https://wordpress.org/support/topic/wppa-shortcode-generator/)
 *  Thread Starter [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wppa-shortcode-generator/#post-12674860)
 * I changed the code from my penultimate post so that it converts to UTF8 if necessary.
 * [@opajaap](https://wordpress.org/support/users/opajaap/) Sent you the file by
   email.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA+ Shortcode Generator](https://wordpress.org/support/topic/wppa-shortcode-generator/)
 *  Thread Starter [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wppa-shortcode-generator/#post-12668833)
 * Today i changed the translation of `Please select a display type` (wppa-tinymce-
   shortcodes.php:148) from `bitte wähle ...` to `bitte w&auml;hle ...` and it seems
   to work.
    btw: think there is no problem with 3 found utf8_encode() function 
   calls.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Cannot find setting for My Choice Delete Edit](https://wordpress.org/support/topic/cannot-find-setting-for-my-choice-delete-edit/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/cannot-find-setting-for-my-choice-delete-edit/#post-12668150)
 * The setting in table II-D17 has to be ticked
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Cannot find setting for My Choice Delete Edit](https://wordpress.org/support/topic/cannot-find-setting-for-my-choice-delete-edit/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/cannot-find-setting-for-my-choice-delete-edit/#post-12667114)
 * You must be logged in to see those links.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA+ Shortcode Generator](https://wordpress.org/support/topic/wppa-shortcode-generator/)
 *  Thread Starter [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wppa-shortcode-generator/#post-12658838)
 * To make it short: this solution did not work on my linux machine, because wppa-
   tinymce-shortcodes.php is already saved with encoding utf-8 🙁 and returns ISO-
   8859-1 anyway.
 * I checked the output step by step and figured out:
 *     ```
       line 505 //'';return var_dump(mb_detect_encoding($result, "UTF-8, ISO-8859-1", true));  // returns UTF-8 :-) 
           $result .=     '<option' .
                              ' value="' . $value . '"' .
                          ' >' .
                              $name .
                              ' (' . wppa_get_album_name( $photo['album'] ) . ')' .
                          '</option>';
   
                                   }
       line 513 return var_dump(mb_detect_encoding($result, "UTF-8, ISO-8859-1", true));    // returns ISO-8859-1 :-(
       ```
   
 * Does the function `wppa_get_album_name( $photo['album'] )` return an ISO-string?
 * [@opajaap](https://wordpress.org/support/users/opajaap/) Jacob, I know there 
   where issues with names of photos and/or albums with danish or swedish letters
   inside. Do you convert them e.g. by using utf8_decode() or utf8_encode? That 
   will cause problems, when the input string is already utf8. Or another file involved
   is stored with encoding ISO-8859-1. Or a WP function returns an ISO by default.
   This is hard to find…
 * Any idea about this?
    -  This reply was modified 6 years, 2 months ago by [FGBmaster](https://wordpress.org/support/users/fgbmaster/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA+ Shortcode Generator](https://wordpress.org/support/topic/wppa-shortcode-generator/)
 *  Thread Starter [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wppa-shortcode-generator/#post-12657587)
 * This is what i figured out on my localhost (WINDOWS):
    All went well with PHP
   7.1.32 | WP 5.3 | WPPA 7.2.14 PHP 7.1.32 | WP 5.3 | WPPA 7.3.10 PHP 7.1.32 | 
   WP 5.4 | WPPA 7.3.10 No meore success with PHP 7.3.16 | WP 5.4 | WPPA 7.3.10 
   PHP 7.4.4 | WP 5.4 | WPPA 7.3.10 No errors php | js No plugins except WPPA and
   classic editor
 * When loading the new post page, two ajax calls are made. The second one is:
 *     ```
       http://localhost/fgb/wp-admin/admin-ajax.php?action=wppa&wppa-action=tinymcedialog
       Status is 200 OK, Answer is empty
       ```
   
 * After all the called WPPA script seems to return nothing or an empty string or
   null.
    Next I dived into wppa-ajax.php Line 864 calls `htmlentities($result)`
   and this function returns an empty string. If I call `htmlentities($result, ENT_IGNORE)`,
   all is fine and the dialog is filled!
 * But `ENT_IGNORE` is discouraged because of security issues …
 * Next I changed the blog language to english and no problem occured.
 * So the problem must be result of the german translation. There are some Ä, ö,
   ü inside …
    `var_dump(mb_detect_encoding($result, "UTF-8, ISO-8859-1", true))`
   returns `string(10) "ISO-8859-1"`, but If I call `htmlentities($result, "ISO-
   8859-1")` the ä is shown as Ã¤, a typically issue with wrong charset.
 * At last I inspected the file wppa-tinymce-shortcodes.php where `wppa_make_tinymce_dialog()`
   lives and saved it with no changes but encoding UTF-8.
 * That’s it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] WPPA+ Shortcode Generator](https://wordpress.org/support/topic/wppa-shortcode-generator/)
 *  Thread Starter [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wppa-shortcode-generator/#post-12651232)
 * Hi [@liko](https://wordpress.org/support/users/liko/),
    thanks for your response.
   I have no plugin like Shortcode Indep, but deactivated every plugin (except jetpack)
   regardless. No success. 🙁 I will try to find a solution on my localhost this
   evening.
    -  This reply was modified 6 years, 2 months ago by [FGBmaster](https://wordpress.org/support/users/fgbmaster/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Can’t delete or rearrange albums](https://wordpress.org/support/topic/cant-delete-or-rearrange-albums/)
 *  [FGBmaster](https://wordpress.org/support/users/fgbmaster/)
 * (@fgbmaster)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/cant-delete-or-rearrange-albums/#post-12604132)
 * First I checked the webservers error log. There where some entries from wppa,
   which I reported in another thread. Some other entries pointed to server timeouts.
   Internet research was not really successfull. The reason for the lost connection
   can be server-side or browser-side.
    Finally I did the same new password procedure
   today and all went well without any errormessage.

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

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