Rob3rt
Forum Replies Created
-
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.
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 withif (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>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: 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/