Title: Rob3rt's Replies | WordPress.org

---

# Rob3rt

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] social media buttons](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/)
 *  Thread Starter [Rob3rt](https://wordpress.org/support/users/rob3rt/)
 * (@rob3rt)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/#post-2926868)
 * If the updates does not concern the files you change then yes. Otherwise you 
   need to redo the modification.
 * If they change the files to much you need to wait for the next mod.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] social media buttons](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/)
 *  Thread Starter [Rob3rt](https://wordpress.org/support/users/rob3rt/)
 * (@rob3rt)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/#post-2926866)
 * Hi Zoinks,
    the new place in the latest version (1.9.12) is nextgen-gallery/admin/
   admin.php(273) you can disable it with commenting out the if block or replace
   the line with
 *     ```
       if (false){//preg_match("/ngg|nextgen-gallery/", $_GET['page'])) {
       ```
   
 * To get rid of the twitter link you can remove the two include lines in social_media_buttons.
   php
    Before:
 *     ```
       <div id="ngg_social_media">
       	<?php include('twitter_follow_link.php'); ?>
       	<?php include('facebook_like_button.php'); ?>
       </div>
       ```
   
 * After:
 *     ```
       <div id="ngg_social_media">
       </div>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] [Plugin: NextGEN Gallery] social media buttons](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/)
 *  Thread Starter [Rob3rt](https://wordpress.org/support/users/rob3rt/)
 * (@rob3rt)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-social-media-buttons/#post-2926771)
 * Hi Amba, thank you for your tip. I think to comment out the relevant lines is
   one way.
 * I’ve done it by commenting out the following line in nggallery.php(109):
 *     ```
       // Adds scripts used for social media buttons
       // add_action('admin_init', array(&$this, 'enqueue_social_media_resources'));
       ```
   
 * A much better way would be a switch in the backend implemented by Photocrati.
 * [@kajal_sh](https://wordpress.org/support/users/kajal_sh/): This thread is to
   get rid of this f**k buttons (I mean facebook), but maybe you find here what 
   you are looking for: [http://www.bohemianalps.com/blog/2011/facebook-like-buttons-ngg/](http://www.bohemianalps.com/blog/2011/facebook-like-buttons-ngg/)

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