Artio SEF: removing footer copyright notice !
I recently installed a component of JOOMLA for Search engine friendly URL’S Artio Sef!
It’s great !! when it comes to create a SEF url! It comes up with an annoying advert at the footer ..! Make’s the page look shit!
This is a quick hack to remove the footer notice.
After installing Artio Sef open up administrator/com_joomsef/installer/sef.class.php
Goto Line 385
Comment
Make eval(base64_decode(‘JHNlZkR……
Look like /*eval(….
and before } on line 386 put */
Next paste this code Before }
$sefDirAdmin = $GLOBALS['mosConfig_absolute_path'] . ‘/administrator/components/com_sef/’;
// load checksums
$license = trim(@file_get_contents($sefDirAdmin . ’signature.b64′));
$checksum = trim(@file_get_contents($sefDirAdmin . ‘checksum.md5′));
$checkstr = ”;
global $sefCheckA;
$sefCheckA[3] = $sefCheckA[2] = $sefCheckA[1] = $sefCheckA[0] = ”;
$sefCheckA = explode(‘-’, $license);
foreach ($sefCheckA as $id => $checkpart) {
$sefCheckA[$id] = base64_decode($checkpart);
$checkstr .= $sefCheckA[$id];
}
$this->enabled &= ($checksum == md5($checkstr));
// autumn adjustment
if ($this->enabled) {
$domain = substr($_SERVER['HTTP_HOST'], strrpos($_SERVER['HTTP_HOST'], ‘.’) + 1);
/*switch ($domain) {
case ‘cz’:
case ’sk’:
$txt = ‘Server Housing, Server housing VPS, Serverhousing, Serverhosting’;
$url = ‘http://www.coolhousing.net/cz.html’;
break;
case ‘pl’:
$txt = ‘Kolokacja, Kolokacja Serwer, Managed Dedykowany Serwer, VPS serwery dedykowane’;
$url = ‘http://www.coolhousing.net/pl.html’;
break;
case ‘de’:
$txt = ‘Colocation, Dedizierte Managed Servers, Private Root Virtuelle Server’;
$url = ‘http://www.coolhousing.net/de.html’;
break;
case ‘nl’:
$txt = ‘Colocatie, Co-Locatie, Co-Location, Managed Dedicated Server, VPS PrivateServer’;
$url = ‘http://www.coolhousing.net/nl.html’;
break;
case ‘uk’:
$txt = ‘Server Rack Colocation, VPS virtual private server’;
$url = ‘http://www.coolhousing.net/uk.html’;
break;
case ‘au’:
$txt = ‘Prague Apartments’;
$url = ‘http://www.traveliana.com/prague-apartments-to-rent.html’;
break;
case ‘no’:
case ’se’:
$txt = ‘Praha Hotels, Prague Hotels, Prague Apartments’;
$url = ‘http://www.traveliana.com/prague-hotels-apartments.html’;
break;
default:
$txt = null;
}*/
if (!is_null($txt)) {
/*$txt1 = ‘JoomSEF SEO by Artio (http://www.artio.net) – databases, information system and web applications’;
$txt2 = ‘<br /><span>JoomSEF SEO by <a href=”http://www.artio.net” title=”databases, information systems and web applications”>Artio</a>’;
// other page footer
$sefCheckA[2] = ‘<br /><span>JoomSEF SEO by <a href=”http://www.artio.net” title=”databases, information systems and web applications”>Artio</a>.</span>’;
// other page meta
$sefCheckA[3] = ‘ JoomSEF SEO by Artio (http://www.artio.net) – databases, information system and web applications’;
*/
/*$key = ‘Coolhousing – ‘.reset(explode(‘, ‘, $txt));
$sefCheckA[1] = $txt1.’ & ‘.$url.’ – ‘.$txt;
$sefCheckA[0] = $txt2.’ & <a href=”‘.$url.’” title=”‘.$txt.’”>’.$key.’</a>.</span>’;
*/
}
}
// autumn adjustment end
function xmlParsing ($path, $base, $index, $option)
{
global $_VERSION, $sefCheckA;
if (($path == $base) || ($path == ($base . $index)) || (@$option == ‘com_frontpage’)) {
// frontpage code
//$_VERSION->URL .= $sefCheckA[0];
//$_VERSION->COPYRIGHT .= $sefCheckA[1];
} else {
// other page code
//$_VERSION->URL .= $sefCheckA[2];
// $_VERSION->COPYRIGHT .= $sefCheckA[3];
}
}
function includeSef ($once = false)
{
global $mosConfig_absolute_path, $sefCheckA;
static $first = true;
if ($once && ! $first)
return;
$txt = file_get_contents($mosConfig_absolute_path . ‘/components/com_sef/sef_ext.php’);
if (substr($txt, 0, 5) != ‘<?php’) {
//$txt = base64_encode($txt);
//$txt = $sefCheckA[4] . $txt;
//$detxt = base64_decode($txt);
//$detxt = substr($detxt, 2, – 2);
//eval($detxt);
} else {
if ($once) {
include_once ($mosConfig_absolute_path . ‘/components/com_sef/sef_ext.php’);
} else {
include ($mosConfig_absolute_path . ‘/components/com_sef/sef_ext.php’);
}
}
$first = false;
}
And you’re done That freaky advert at the end of the page is no more
Possibly related posts: (automatically generated)
~ by azimyasin on January 14, 2008.
Posted in joomla, php
Tags: artio sef remove footer, artiosef copyrights remove, footer remove artio sef, how to remove artio sef copyrights., joom sef copyrights remove




[...] Richard Crandall article is brought to you using rss feeds.Here are some of the top articles on search engine optimization./*$txt1 = ‘JoomSEF SEO by Artio (http://www.artio.net) – databases, information system and web applications’; $txt2 = ‘JoomSEF SEO by [...]
Search Engine Optimization Direct » Artio SEF: removing footer copyright notice ! said this on January 14, 2008 at 8:55 pm |
Interesting. BTW: a great company to host web sites is Server Intellect. We’ve been with them for several months and our developer is very impressed with their services.
Where i can find this patched file?
You can do it yourself.
It didn’t help. Please send this patched file download link
I did like the tutorial says. But it didn’t help. I do something wrong. This patched file ise very helpful for me.
Sorry my bad english.
It does not work mate! The page just disappears.
Well Artio got new of its version coming along at the time the patch was made available it worked but i doubt it working on the new versions!
can you say what can i modify to remove backlink from the component in ver 2.2.7.?
i would say to look for some eval(..) clauses they are the place where most of the creppy stuff is located
Is there a fix for 3.1.2 for joomla 1.5X
3.1.1
http://forum.joomla.org/viewtopic.php?f=470&t=300235
I did this on 3.1.2 and it worked great
Just comment out line 847 $buf.=’
do you have a tips for 2.3.0 version ?
JoomSEF v3.2.0 Just comment line 852 $buf.=’
In Joomsef v2.3.0 all you need to do if edit /administrator/components/com_sef/sef.class.php line 503 with:
$buf = ”;
That’s it.
Thanks a lot Tony you are great for posting JoomSef v2.3.0 its working fine…
Sorry not working in my version. I send to sendspace.com packages with artio 2.3.0. Please nulled it and resend to sendspace.com. This is pack for null: http://www.sendspace.com/file/cyfujx
Just downoaded 3.2.1. Comment out line 905 of joomsef.php. It uses a fairly obvious method of avoiding being greped. I notice that in the install notes the authors specifically say it’s ok to remove the notice. So, why make it so prominent? It just encourages people to go in and remove it. It’s a good system and publicity is fine, but not so IN YOUR FACE would be acceptable to more people.
Thanks man it’s work..
you just need to search for $buf in the file
then you will see this code..
It’s add the <a href= ***********
$buf.=”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
Change the line to
$buf.=”;
thanks man its nice..it helped me a lot .
Don’t work with new version 3.2.2, anybody know, how to remove – link “SEO by Artio” on new version of that com?
Hi,
Doesn’t work either with version3.2.3, I get an error “headers allready send”.
But here is the solution:
The $buf.=”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
has to be replaced by $buf.=”;
AND
function _sendHeader($header)
{
$f = $l = ”;
if (!headers_sent($f, $l)) {
header($header);
}
else {
JoomSEF::_headers_sent_error($f, $l, __FILE__, __LINE__);
}
}
Must be:
function _sendHeader($header)
{
$f = $l = ”;
if (!headers_sent($f, $l)) {
header($header);
}
}
thank you for this solution
For artio v3.2.7
just comment line 779 of file administrator/components/com_sef/joomsef.php
//$buf.=”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
way a.q nasıl bişeymiş bu böle =))
Artio Version 3.2.9
Removed Successfully from file {mysite.com/components/com_sef/joomsef.php} line 779 by placing // infront of the line
as merci mentioned above
//$buf.=”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
This doesn’t work for version 2.3.2
Does anyone know how to remove the links on this version?
this dont work for v2.3.2 . Any solution.
thank’s you! i is lookings for these hacksss!
Confirmed for 3.3.0 – it works;
You just comment out (add // infront) line 817 (the one starting with $bug.=
of file components/com_sef/joomsef.php
Thanks for advice on where to look
Version 3.3.1
function enabled(&$plugin)
{
$co = ‘mainf’.'rame’;
global $$co;
$cosi = ‘ge’.'t’;
$big = $$co->$cosi(’se’.'f.glo’.'bal.m’.'eta’, ”);
$cosi = ‘fil’.'e’;
….
I wrote
return ;
before
$co = ‘mainf’.'rame’;
ARTIO JoomSEF v2.3.2
administrator/components/com_sef/sef.class.php ligne 537
// $buf = ”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
Thanks its working
i have Artio JoomSEF v3.3.4
I found the following lines:
function enabled(&$plugin)
{
$co = ‘mainf’.’rame’;
global $$co;
$cosi = ‘ge’.’t’;
$big = $$co->$cosi(’se’.’f.glo’.’bal.m’.’eta’, ”);
$cosi = ‘fil’.’e’;
I made the changes, but I cannot upload the modified version to the FTP because: 1 File failed to transfer. The file is in use.
Does someone know what to do?
It’s better if you use “SH404SEF”
it’s also free. And you don’t need to hack anything!
Does anyone knows how to remove it form v3.3.5 ?
v3.3.5
components/com_sef/joomsef.php
search fot this: $buf.=”.’<'.'a'.' '.'h'.'r'.'e'.'f'.'=' ….
Delete line.
Remove this line 814 $buf.=”.”.’J’.’o’.’o’.’m’.’l’.’a’.’ ‘.’S’.’E’.’F’.’ ‘.’U’.’R’.’L’.’s’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;
by $buf.=”;
in file rootwebsite/components/com_sef/joomsef.php
Thx for your help
Works on 3.3.6
does not work after that, page gave me error after deleting this! What did you do?
v3.4.3 (update october 23 2009)
components/com_sef/joomsef.php
search fot this: $cacheBuf2 =
‘PGRpdj48YSBocmVmPSJodHRwOi8vd3′.
‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2′.
‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
‘9kaXY+’;
Delete only ‘PGRpdj48YSBocmVmPSJodHRwOi8vd3′.
‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2′.
‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
‘9kaXY+’;
components/com_sef/joomsef.php
search fot this: $cacheBuf2 =
‘PGRpdj48YSBocmVmPSJodHRwOi8vd3′.
‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2′.
‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
‘9kaXY+’;
but I changed to
$cacheBuf2 =
‘.’;
and it worked
version 3.4.3
Comment
if (JRequest::getCmd(‘format’) != ‘raw’)
$doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);
//if (JRequest::getCmd(‘format’) != ‘raw’)
// $doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);
in joomsef.php
y solucionado