پارس جوم ::  انجمن های تخصصی جوملا
حذف کپی رایت فوکا گالری - نسخه‌ی قابل چاپ

+- پارس جوم :: انجمن های تخصصی جوملا (https://forums.parsjoom.ir)
+-- انجمن: پشتیبانی (/forum-70.html)
+--- انجمن: مباحث و مشکلات عمومی (/forum-33.html)
+--- موضوع: حذف کپی رایت فوکا گالری (/thread-15046.html)



حذف کپی رایت فوکا گالری - sabacom - ۲۷-۲-۱۳۹۳ ۰۶:۱۷ صبح

چجوری کپی رایت فوکا گالری رو حذف کنم ؟


RE: حذف کپی رایت فوکا گالری - milad0098 - ۲۷-۲-۱۳۹۳ ۰۶:۳۲ صبح

سلام ودرود
قدم اول بک آپ یادتون نره
قدم دوم:
به مسیر زیر برید
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>';