پارس جوم :: انجمن های تخصصی جوملا

نسخه‌ی کامل: حذف کپی رایت فوکا گالری
شما در حال مشاهده‌ی نسخه‌ی متنی این صفحه می‌باشید. مشاهده‌ی نسخه‌ی کامل با قالب بندی مناسب.
چجوری کپی رایت فوکا گالری رو حذف کنم ؟
سلام ودرود
قدم اول بک آپ یادتون نره
قدم دوم:
به مسیر زیر برید
administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php
بعد کد زیر رو پیدا کنید حدود خط 680 باید باشه
کد php:
function renderInfo() {
        return 
'<div style="text-align: center; color: rgb(211, 211, 211);">Powe'
                        
'red by <a href="http://www.ph'
                        
'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'
                        
'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'
                        
'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal'
                        
'lery">Gall'
                        
'ery</a></div>'
بعد کد زیر رو به جای اون قرار دهید
کد php:
function renderInfo() {
        return;
        return 
'<div style="text-align: center; color: rgb(211, 211, 211);">Powe'
                        
'red by <a href="http://www.ph'
                        
'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'
                        
'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'
                        
'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal'
                        
'lery">Gall'
                        
'ery</a></div>';

قدم سوم :
دوباره به مسیر زیر برید
components/com_phocagallery/views/category/view.html.php
قدم چهارم :کد زیر رو پیدا خط 663
کد php:
$this->tmpl['mac'] = '<div style="text-align: center; color: rgb(211, 211, 211);">Powe''red by <a href="http://www.ph''oca.cz" style="text-decoration: none;" target="_blank" title="Phoc''a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga''llery" style="text-decoration: none;" target="_blank" title="Phoca Gal''lery">Gall''ery</a></div>'
وبا این کد جایگزین کنید
کد php:
// $this->tmpl['mac'] = '<div style="text-align: center; color: rgb(211, 211, 211);">Powe'. 'red by <a href="http://www.ph'. 'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'. 'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'. 'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal'. 'lery">Gall'. 'ery</a></div>'; 

قدم پنجم : دوباره به مسیر زیر برید
administrator/components/com_phocagallery/libraries/phocagallery/utils/utils.php
کد زیر رو پیدا خط118
کد php:
echo '<div style="text-align: center; color: rgb(211, 211, 211);">Powe'.'red by <a href="http://www.ph' .'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'.'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'.'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal' .'lery">Gall'.'ery</a></div>'
وبا این کد جایگزین کنید
کد php:
// echo '<div style="text-align: center; color: rgb(211, 211, 211);">Powe'.'red by <a href="http://www.ph' .'oca.cz" style="text-decoration: none;" target="_blank" title="Phoc'.'a.cz">Phoca</a> <a href="http://www.phoca.cz/phocaga'.'llery" style="text-decoration: none;" target="_blank" title="Phoca Gal' .'lery">Gall'.'ery</a></div>'; 
لینک مرجع