PDA

Orijinalini görmek için tıklayınız : Jcomments diye bir yazıyı farkettim, nasıl kaldırılır?



zoomla
17-07-2013, 19:08
jcomments.JPG — Yandex.Disk (http://yadi.sk/d/3-1QfsWo6wLsM)

resimde ki Jcomments linkini nasıl kaldırırım ama yorum özelliğide kalkmasın lütfen:)

Şerafettin
18-07-2013, 00:24
dosya dizininde
components/com_jcomments/tlp/default/tlp_index.php
dosyasında 70 satırı silin

AcoustiC
18-07-2013, 10:53
dosya dizininde<br>
components/com_jcomments/tlp/default/tlp_index.php <br>
dosyasında 70 satırı silin<br>

Şerafettin arkadaşımın dediği gibi ilgili satırda şu kodu siliniz

<div id="comments-footer" align="center"><?php echo $this->getVar('support'); ?></div>

zoomla
18-07-2013, 11:35
sildim hala duruyor, accaba dedim önbellekten olabilir mi geçmişi temizledim internet explorerı nadiren kullandığım için onda baktım yine çıkıyor ne diyorsunuz biraz bekliyim geçer mi:) ?
bir de tek tek satır saymak zor oluyor babşka bir yöntemi vvardır mutlak:) ?

Şerafettin
18-07-2013, 11:41
eXtplorer - Joomla! Extensions Directory (http://extensions.joomla.org/extensions/core-enhancements/file-management/2630) bu bileşeni sitenize kurun. O zaman saymak zorunda kalmazsınız. Eğer sayarak sildiyseniz yalnış satırı silme olasılığınız çok yüksek.

Şerafettin
18-07-2013, 11:44
Bu Kodu kopyalayıp söylediğim dosya içine yapıştırın.

<?php

(defined('_VALID_MOS') OR defined('_JEXEC')) or die;

/*
*
* Main template for JComments. Don't change it without serious reasons ;)
* Then creating new template you can copy this file to new template's dir without changes
*
*/
class jtt_tpl_index extends JoomlaTuneTemplate
{
function render()
{
$object_id = $this->getVar('comment-object_id');
$object_group = $this->getVar('comment-object_group');

// comments data is prepared in tpl_list and tpl_comments templates
$comments = $this->getVar('comments-list', '');

// form data is prepared in tpl_form template.
$form = $this->getVar('comments-form');

if ($comments != '' || $form != '' || $this->getVar('comments-anticache')) {
// include comments css (only if we are in administor's panel)
if ($this->getVar('comments-css', 0) == 1) {
include_once (JCOMMENTS_HELPERS.DS.'system.php');
?>
<link href="<?php echo JCommentsSystemPluginHelper::getCSS(); ?>" rel="stylesheet" type="text/css" />
<?php
if ($this->getVar('direction') == 'rtl') {
$rtlCSS = JCommentsSystemPluginHelper::getCSS(true);
if ($rtlCSS != '') {
?>
<link href="<?php echo $rtlCSS; ?>" rel="stylesheet" type="text/css" />
<?php
}
}
}

// include JComments JavaScript initialization
?>
<script type="text/javascript">
<!--
var jcomments=new JComments(<?php echo $object_id;?>, '<?php echo $object_group; ?>','<?php echo $this->getVar('ajaxurl'); ?>');
jcomments.setList('comments-list');
//-->
</script>
<?php
// IMPORTANT: Do not rename this div's id! Some JavaScript functions references to it!
?>
<div id="jc">
<?php
if ($this->getVar('comments-form-position', 0) == 1) {
// Display comments form (or link to show form)
if (isset($form)) {
echo $form;
}
}
?>
<div id="comments"><?php echo $comments; ?></div>
<?php
if ($this->getVar('comments-form-position', 0) == 0) {
// Display comments form (or link to show form)
if (isset($form)) {
echo $form;
}
}
?>

<?php
// Some magic like dynamic comments list loader (anticache) and auto go to anchor script
$aca = (int) ($this->getVar('comments-gotocomment') == 1);
$acp = (int) ($this->getVar('comments-anticache') == 1);
$acf = (int) (($this->getVar('comments-form-link') == 1) && ($this->getVar('comments-form-locked', 0) == 0));

if ($aca || $acp || $acf) {
?>
<script type="text/javascript">
<!--
jcomments.setAntiCache(<?php echo $aca;?>,<?php echo $acp;?>,<?php echo $acf;?>);
//-->
</script>
<?php
}
?>
</div>
<?php
}
}
}
?>

zoomla
18-07-2013, 11:45
ıhh yanlış satır değil, saydım 71 geldiğimde bulmuştum satırı 1 tane atlamışım:)
5 defa da baktım satır doğruydu. şimdi öyle bir satır yok.

Şerafettin
18-07-2013, 11:49
Creeping seasons own saw creeping (http://www.kamusaglik.net/index.php/using-joomla/extensions/components/content-component/article-categories/82-demo/news/95-creeping-seasons-own-saw-creeping) bu adresten görebilirsiniz kalktığını

zoomla
18-07-2013, 11:51
Yalta Turu 699$ (http://www.ukraynagezi.com/eglence/yalta-tur)
buyrun link en aşağıda jcooments yazısı gıcıkk gibide duruyor. sizin verdiğinniz kodu kkopyalayıp yapıştırdım. bende ki önbellekten gözükmüyor olabilir mi sizde gözüküyor mu Jcomments yazısı? yazı olsa iyi link dışarıya direk!!

Şerafettin
18-07-2013, 11:56
<div align="center" id="comments-footer"><a target="_blank" title="JComments" href="http://www.joomlatune.com" ondragstart="return false;">JComments</a></div>
dosyaların içinden bu satırı bulup silin

zoomla
18-07-2013, 12:07
öyle bir satır yok tpl_index.php nin içinde! ..

AcoustiC
18-07-2013, 16:31
<div align="center" id="comments-footer"><a target="_blank" title="JComments" href="http://www.joomlatune.com" ondragstart="return false;">JComments</a></div>
dosyaların içinden bu satırı bulup silin
Bu satırı bulamıyorsanız ben sizin için tpl_index.php dosyasının içerisinden sildim ve dosya halinde ekliyorum

siteniz ftp klasörü içerisinde sırasıyla

/components
/com_jcomments
/tpl
/default klasörleri içerisnde olan13801381
tpl_index.php

adlı dosyayı bularak ekteki dosya ile değiştiriniz.

AcoustiC
18-07-2013, 16:33
Not Eklentiyi siteye upload edemedim kendi sitemden yükleme yapıyorum..

Buraya (http://www.kolaytemizlik.net/beyza/images/tpl_index.rar) tıklayarak dosyayı indirebilirsiniz. rar içerisinden çıkarıp yukardaki mesajda belirtilen yer de değiştiriniz.