Warning: Smoothgallery SPAM - Joomla Extension Adds Spam Links to Your Site.

The Joomla! gallery module 'Smoothgallery' automatically inserts links onto any page you use it. Here's how to disable them.


Category: joomla

I'm not one for removing credits or thanks to a module but it annoys me when there are random spammy links inserted on a page without your authorisation.

Sadly, Smoothgallery does this. It adds code similar to :-
<div class="candylinks">
<a href="http://www.smithniemierko.com" title="Wedding Planner">Wedding Planner</a>
<a href="http://www.artgal.co.uk" title="Search Engine Optimisation">Search Engine Optimisation</a>
<a href="http://www.parisenvies.com/lieux/bar" title="bar paris">Bar Paris</a>
</div>
To every page it is used on, however, worse to this it pushes the links so that they're not visible on the page only to search engines.

Anyways, to disable this annoyance, open

mambots/content/smoothgallery/smoothgallery.class.php

Comment out line #100 :-

//$gallery .= '<div class="candylinks"><a href="http://www.smithniemierko.com" title="Wedding Planner">Wedding Planner</a> <a href="http://www.artgal.co.uk" title="Search Engine Optimisation">Search Engine Optimisation</a> <a href="http://www.parisenvies.com/lieux/bar" title="bar paris">Bar Paris</a></div>';
Open mambots/content/smoothgallery/scripts/slightbox.js

Comment out line #17 :-

//this.galleryElement.getElement('div.candylinks').remove();

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.