Title: Rainmaker's Replies | WordPress.org

---

# Rainmaker

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

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

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] How to Add Google Adsense](https://wordpress.org/support/topic/plugin-nextgen-gallery-how-to-add-google-adsense/)
 *  [Rainmaker](https://wordpress.org/support/users/rainmaker/)
 * (@rainmaker)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-how-to-add-google-adsense/#post-985130)
 * I second this idea. That’d be GREAT to do.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: NextGEN Gallery] Long posts disappear when nextGEN is activated](https://wordpress.org/support/topic/plugin-nextgen-gallery-long-posts-disappear-when-nextgen-is-activated/)
 *  Thread Starter [Rainmaker](https://wordpress.org/support/users/rainmaker/)
 * (@rainmaker)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-long-posts-disappear-when-nextgen-is-activated/#post-977602)
 * Got this response from Brusdeylins. Worked great!
    =============== Hi,
 * this is a problem in WordPress 2.5.x and its new “ShortCodes” which are also 
   utilized in NextGEN Gallery. Just finde the file ./wp-includes/shortcodes.php
   in your WordPress installation. Here look for the function get_shortcode_regex()
   and change the regualar expression from
 * \[(‘.$tagregexp.’)\b(.*?)(?:(\/))?\](?:(.+?)\[\/\1\])?
 * to
 * \[(‘.$tagregexp.’)\b([^\]]*?)(\/)?\](?:(.+?)\[\/\1\])?
 * This new RegEx matches the same ShortCode structure, but don’t use so much backtracking
   and in this case so much memory (on large posts a problem). For details see (
   in german):
    [http://www.brusdeylins.info/wordpress/probleme-mit-shortcodes/](http://www.brusdeylins.info/wordpress/probleme-mit-shortcodes/)
 * Brusdeylins
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [[Plugin: NextGEN Gallery] Serious Bug with long posts](https://wordpress.org/support/topic/plugin-nextgen-gallery-serious-bug-with-long-posts/)
 *  Thread Starter [Rainmaker](https://wordpress.org/support/users/rainmaker/)
 * (@rainmaker)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-serious-bug-with-long-posts/#post-950440)
 * **AWESOME!!!** Thank you. That worked perfectly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Plugin: NextGEN Gallery] Serious Bug with long posts](https://wordpress.org/support/topic/plugin-nextgen-gallery-serious-bug-with-long-posts-2/)
 *  Thread Starter [Rainmaker](https://wordpress.org/support/users/rainmaker/)
 * (@rainmaker)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-serious-bug-with-long-posts-2/#post-950088)
 * Holey crap. Sorry for the multiple posts. I was getting “topic not found” error.
   geeezz.

Viewing 4 replies - 1 through 4 (of 4 total)