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&#8221; 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&#8221; 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 😉

Advertisements

~ by Azeem on January 14, 2008.

71 Responses to “Artio SEF: removing footer copyright notice !”

  1. […] 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 […]

  2. 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.

  3. Where i can find this patched file?

  4. You can do it yourself.

  5. It didn’t help. Please send this patched file download link 🙂

  6. 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.

  7. It does not work mate! The page just disappears.

  8. 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!

  9. can you say what can i modify to remove backlink from the component in ver 2.2.7.?

  10. i would say to look for some eval(..) clauses they are the place where most of the creppy stuff is located 😉

  11. Is there a fix for 3.1.2 for joomla 1.5X

  12. 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.=’

  13. do you have a tips for 2.3.0 version ?

  14. JoomSEF v3.2.0 Just comment line 852 $buf.=’

  15. 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.

  16. Thanks a lot Tony you are great for posting JoomSef v2.3.0 its working fine…

  17. 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

  18. 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. 🙂

  19. 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.=”;

  20. thanks man its nice..it helped me a lot .

  21. Don’t work with new version 3.2.2, anybody know, how to remove – link “SEO by Artio” on new version of that com?

  22. 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);
    }
    }

  23. thank you for this solution

  24. For artio v3.2.7
    just comment line 779 of file administrator/components/com_sef/joomsef.php

  25. //$buf.=”.”.’S’.’E’.’O’.’ ‘.’b’.’y’.’ ‘.’A’.’r’.’t’.’i’.’o’.”.”;

  26. way a.q nasıl bişeymiş bu böle =))

  27. 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’.”.”;

  28. This doesn’t work for version 2.3.2
    Does anyone know how to remove the links on this version?

  29. this dont work for v2.3.2 . Any solution.

  30. thank’s you! i is lookings for these hacksss!

  31. 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 🙂

  32. 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’;

  33. 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’.”.”;

  34. Thanks its working 🙂

  35. 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?

  36. Does anyone knows how to remove it form v3.3.5 ?

  37. v3.3.5

    components/com_sef/joomsef.php

    search fot this: $buf.=”.'<'.'a'.' '.'h'.'r'.'e'.'f'.'=' ….

    Delete line.

  38. 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

  39. does not work after that, page gave me error after deleting this! What did you do?

  40. 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+’;

  41. 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

  42. 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

  43. in Joomla 1.5 with ARTIO JoomSEF 3.4.3, go to joomsef.php

    and at line 1008 find:

    $cacheBuf2 =
    ‘PGRpdj48YSBocmVmPSJodHRwOi8vd3’.
    ‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
    ‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
    ‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
    ‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
    ‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
    ‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2’.
    ‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
    ‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
    ‘9kaXY+’;

    replace with:

    $cacheBuf2 =
    ‘-‘;

  44. a new version any idea ?

  45. new version 3.5??
    thanks

  46. update version by joomla and Artio clic on update confirm, that’is work.
    You can remove this $cacheBuf2 = or command //$cacheBuf2 =

  47. new version 3.5.0:

    This worked for me:

    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 =
    ‘.’;

  48. v3.5.1 Joomsef

    www/components/com_sef/joomsef.php

    find $cacheBuf2 = …

    remove the entire code including the encryption

  49. for new version

    http://hotfile.com/dl/20577004/78b0a02/joomsef.php.html

    download and replace this and

  50. I am using version 3.5 and this doesn’t seems to be working for it.

  51. Remove or commande line 1676 add //$cacheBuf2

  52. in Joomla 1.5 with ARTIO JoomSEF 3.5.0, go to joomsef.php

    and at line 1665 find the same text as for version 3.4.3

    $cacheBuf2 =
    ‘PGRpdj48YSBocmVmPSJodHRwOi8vd3′.
    ‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
    ‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
    ‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
    ‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
    ‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
    ‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2′.
    ‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
    ‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
    ‘9kaXY+’;

    replace with:

    $cacheBuf2 =
    ‘-’;

  53. Just downgrade to the older version and then do it 😉

  54. with version 3.5.3 works but line to change is 1678

  55. Hi, just do:

    in folder: components/com_sef/joomsef.php search for “enabled” delete all to “return true;” return true; leave.

    That all

    sorry for my english Akille

  56. 3.5.4 is bug don’t update.

  57. For Artio joomsef 3.5.5, simply open components/com_sef/joomsef.php , search and delete these lines, on about 1771

    if (JRequest::$cosi(‘fo’.’rmat’) != ‘r’.’aw’)
    $doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);

    Luciano

  58. Hey Luciano…thanks much. I simple commented this line out (shown below) rather deleting it….thanks again

    /* if (JRequest::$cosi(‘fo’.’rmat’) != ‘r’.’aw’)
    $doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’); */

  59. … how by version 5.6.2

  60. for version 3.6.2

    open yoursite/components/com_sef/joomsef.php
    find this

    $cacheBuf2 =
    ‘PGRpdj48YSBocmVmPSJodHRwOi8vd3’.
    ‘d3LmFydGlvLm5ldCIgc3R5bGU9ImZv’.
    ‘bnQtc2l6ZTogOHB4OyB2aXNpYmlsaX’.
    ‘R5OiB2aXNpYmxlOyBkaXNwbGF5OiBp’.
    ‘bmxpbmU7IiB0aXRsZT0iV2ViIGRldm’.
    ‘Vsb3BtZW50LCBKb29tbGEsIENNUywg’.
    ‘Q1JNLCBPbmxpbmUgc2hvcCBzb2Z0d2’.
    ‘FyZSwgZGF0YWJhc2VzIj5Kb29tbGEg’.
    ‘U0VGIFVSTHMgYnkgQXJ0aW88L2E+PC’.
    ‘9kaXY+’;

    replace with

    $cacheBuf2 =
    ”.
    ”.
    ”.
    ”.
    ”.
    ”.
    ”.
    ”.
    ”.
    ”;

    GOOD LUCK!

  61. Thanks for sharing,

    Cheers

  62. for 3.6.5
    line 2202 2203 should looks like this
    // if (JRequest::$cosi(‘fo’.’rmat’) != ‘r’.’aw’)
    // $doc->$cache($cacheBuf . base64_decode($cacheBuf2), ‘component’);

  63. please help for versione Artiosef 3.6.6

  64. Looking forward to hear the hack for version 3.7.0 , if anyone knows, do tell 😮

  65. Good Job

  66. Anyone know how to remove it from v3.7.4?

  67. any solution for versio 4.0.2? for joomla 1.6?

  68. Any solution for version 4.0.9 for joomla 1.6 ?

  69. Thanks buddy this is what I have been looking for I think I m going to like the community.

    Regards

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: