هاست لینوکس

آخرین بسته‌ی MyBB: نسخه‌ی 1.8.27 MyBB منتشر شد


امتیاز موضوع:
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
مشکل تو کد افزایش بی نظیر سرعت انجمن
#11
(۱۳۹۳/۷/۲۰، ۱۱:۵۹:۲۲ صبح)firstboy000 نوشته است: قالبون بهم ریخته، کپی رایت هم نداریداصلاح کنید اول.
مشکل منم اینجاست الان قالب برای من کاملا سالمه و کپی رایت تمامی انجمن های پشتیبانی قرار داده شده
بعد اون کدهای افزایش بی نظیر رو بذارید اینجا و بگید که از همین جا گرفتید یا نه.
خیر از اینجا نگرفتم از یه پشتیبانی دیگه
کد php:
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType application
/x-javascript .js
AddType text
/html .html .htm
AddType text
/richtext .rtf .rtx
AddType image
/svg+xml .svg .svgz
AddType text
/plain .txt
AddType text
/xsd .xsd
AddType text
/xsl .xsl
AddType text
/xml .xml
AddType video
/asf .asf .asx .wax .wmv .wmx
AddType video
/avi .avi
AddType image
/bmp .bmp
AddType application
/java .class
AddType video/divx .divx
AddType application
/msword .doc .docx
AddType application
/x-msdownload .exe
AddType image
/gif .gif
AddType application
/x-gzip .gz .gzip
AddType image
/x-icon .ico
AddType image
/jpeg .jpg .jpeg .jpe
AddType application
/vnd.ms-access .mdb
AddType audio
/midi .mid .midi
AddType video
/quicktime .mov .qt
AddType audio
/mpeg .mp3 .m4a
AddType video
/mp4 .mp4 .m4v
AddType video
/mpeg .mpeg .mpg .mpe
AddType application
/vnd.ms-project .mpp
AddType application
/vnd.oasis.opendocument.database .odb
AddType application
/vnd.oasis.opendocument.chart .odc
AddType application
/vnd.oasis.opendocument.formula .odf
AddType application
/vnd.oasis.opendocument.graphics .odg
AddType application
/vnd.oasis.opendocument.presentation .odp
AddType application
/vnd.oasis.opendocument.spreadsheet .ods
AddType application
/vnd.oasis.opendocument.text .odt
AddType audio
/ogg .ogg
AddType application
/pdf .pdf
AddType image
/png .png
AddType application
/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio
/x-realaudio .ra .ram
AddType application
/x-shockwave-flash .swf
AddType application
/x-tar .tar
AddType image
/tiff .tif .tiff
AddType audio
/wav .wav
AddType audio
/wma .wma
AddType application
/vnd.ms-write .wri
AddType application
/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application
/zip .zip
</IfModule>
<
IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text
/css A31536000
ExpiresByType application
/x-javascript A31536000
ExpiresByType text
/html A3600
ExpiresByType text
/richtext A3600
ExpiresByType image
/svg+xml A3600
ExpiresByType text
/plain A3600
ExpiresByType text
/xsd A3600
ExpiresByType text
/xsl A3600
ExpiresByType text
/xml A3600
ExpiresByType video
/asf A31536000
ExpiresByType video
/avi A31536000
ExpiresByType image
/bmp A31536000
ExpiresByType application
/java A31536000
ExpiresByType video
/divx A31536000
ExpiresByType application
/msword A31536000
ExpiresByType application
/x-msdownload A31536000
ExpiresByType image
/gif A31536000
ExpiresByType application
/x-gzip A31536000
ExpiresByType image
/x-icon A31536000
ExpiresByType image
/jpeg A31536000
ExpiresByType application
/vnd.ms-access A31536000
ExpiresByType audio
/midi A31536000
ExpiresByType video
/quicktime A31536000
ExpiresByType audio
/mpeg A31536000
ExpiresByType video
/mp4 A31536000
ExpiresByType video
/mpeg A31536000
ExpiresByType application
/vnd.ms-project A31536000
ExpiresByType application
/vnd.oasis.opendocument.database A31536000
ExpiresByType application
/vnd.oasis.opendocument.chart A31536000
ExpiresByType application
/vnd.oasis.opendocument.formula A31536000
ExpiresByType application
/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application
/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application
/vnd.oasis.opendocument.text A31536000
ExpiresByType audio
/ogg A31536000
ExpiresByType application
/pdf A31536000
ExpiresByType image
/png A31536000
ExpiresByType application
/vnd.ms-powerpoint A31536000
ExpiresByType audio
/x-realaudio A31536000
ExpiresByType application
/x-shockwave-flash A31536000
ExpiresByType application
/x-tar A31536000
ExpiresByType image
/tiff A31536000
ExpiresByType audio
/wav A31536000
ExpiresByType audio
/wma A31536000
ExpiresByType application
/vnd.ms-write A31536000
ExpiresByType application
/vnd.ms-excel A31536000
ExpiresByType application
/zip A31536000
</IfModule>
<
IfModule mod_deflate.c>
<
IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch 
^Mozilla/4.0[678no-gzip
BrowserMatch bMSIE 
!no-gzip !gzip-only-text/html
BrowserMatch bMSI
[E] !no-gzip !gzip-only-text/html
</IfModule>
<
IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<
IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</
IfModule>
<
FilesMatch "\.(css|js|CSS|JS)$">
<
IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<
FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML |HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
<
IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<
FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|doc x|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mo v|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf| odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ra m|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xl w|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|D OCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI| MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|OD F|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA| RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT| XLW|ZIP)$">
<
IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
# End Browser Caching/Headers 
اینم اموزش استفاده از کد

خب امروز براتون میخوام یه کدی بزارم که اگه اون رو تو فایل 


.htaccess ذخیره کنید . سرعت انجمنتون چند برار میشه 

بفرمایید:
پاسخ
#12
نویسنده اون کد گفته که بهتره از این استفاده کنید
کد:
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|js|CSS|JS)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|xsd|xsl|xml|RTF|RTX|SVG|SVGZ|XSD|XSL|XML)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|divx|doc|doc x|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mo v|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf| odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ra m|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xl w|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|DIVX|DOC|D OCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI| MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|OD F|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA| RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT| XLW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
# End Browser Caching/Headers

اما بازم من پیشنهاد نمیکنم چون کش کنندگیش بالاس و شما و کاربرانتون از تغییرات بی خبر میذاره. شما بهتره این مسئله رو توی همونجا پیگیری کنید که مشکلش برطرف شد و بقیه هم متوجه باشن.
کپی رایت ویکی وی بی و همیار هست اما کپی رایت مای بی بی نیست. کد زیر رو پیدا کن:
کد:
<div id="best-u"><a href="http://www.wikivb.ir" target="_blank">ویکی وی بی</a><span id="icon-best"></span></div>
با کد زیر جابجاش کنید:
کد:
<div id="best-u"><a href="http://mybb.com" target="_blank">قدرت گرفته از MyBB</a><span id="icon-best"></span></div>

پیشنهاد: لینک تولز دی ال و همیار رو از قسمت دوستان حذف کنید بهتره.
بعد از انجام اینکار اگر که خواستید یه کد جی زیپ مناسب بهتون میدم.
نصب و آپدیت انجمن مای بی بی | پلاگین و پوسته | تغییرات داخلی انجمن
نصب و بروزرسانی وردپرس طراحی پوسته های وردپرسی سبک با سئوی بالا
شخصی سازی پوسته های مای بی بی و وردپرس
طراحی سیستم مدیریت محتوای اختصاصی و خاص با برترین زبان های برنامه نویسی دنیا
جهت سفارش در تلگرام: firstboy000@
پاسخ
 سپاس شده توسطmohammadsaeed (۱۳۹۳/۷/۲۰، ۱۲:۳۹:۰۵ عصر)
#13
(۱۳۹۳/۷/۲۰، ۱۲:۳۶:۴۵ عصر)firstboy000 نوشته است: نویسنده اون کد گفته که بهتره از این استفاده کنید

کد:
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|js|CSS|JS)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|xsd|xsl|xml|RTF|RTX|SVG|SVGZ|XSD|XSL|XML)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|divx|doc|doc x|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mo v|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf| odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ra m|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xl w|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|DIVX|DOC|D OCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI| MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|OD F|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA| RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT| XLW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
</FilesMatch>
# End Browser Caching/Headers

اما بازم من پیشنهاد نمیکنم چون کش کنندگیش بالاس و شما و کاربرانتون از تغییرات بی خبر میذاره. شما بهتره این مسئله رو توی همونجا پیگیری کنید که مشکلش برطرف شد و بقیه هم متوجه باشن.
کپی رایت ویکی وی بی و همیار هست اما کپی رایت مای بی بی نیست. کد زیر رو پیدا کن:

کد:
<div id="best-u"><a href="http://www.wikivb.ir" target="_blank">ویکی وی بی</a><span id="icon-best"></span></div>
با کد زیر جابجاش کنید:

کد:
<div id="best-u"><a href="http://mybb.com" target="_blank">قدرت گرفته از MyBB</a><span id="icon-best"></span></div>

پیشنهاد: لینک تولز دی ال و همیار رو از قسمت دوستان حذف کنید بهتره.
بعد از انجام اینکار اگر که خواستید یه کد جی زیپ مناسب بهتون میدم.
داداش الان شما که میری تو سایت یه قالب خراب از قالب مای لاو هستش درسته؟

ولی قالب بنده در حال حاضر تابستونه می باشد

مشکل منم اینجاس برا بعضیا سالم میاد برا بعضیا خراب

الان برای شما خرابش اومده

اگه به دوستانتون بگید بهتون میگن قالب تابستونه هستش

و کپی رایت انجمن قرار گرفته
پاسخ
 سپاس شده توسطmotorola30 (۱۳۹۳/۷/۲۰، ۱۵:۴۸:۵۹ عصر)
#14
قالب تابستونتون هم مشکل داره و خرابه.برای اونایی که سالم میاره قطعا بخاطر کش قدیمیشونه.
ضمنا کپی رایت مای بی بی هم توش نیست.
آخرین چیزی که میتونم بگم اینه که کلا بیخیال این کد بشید چون فوق العاده کش کنندگیش بالاس و افتضاحه.صفحه به صفحه باید کش رو پاک کنم تا تغییرات رو ببینم.
نصب و آپدیت انجمن مای بی بی | پلاگین و پوسته | تغییرات داخلی انجمن
نصب و بروزرسانی وردپرس طراحی پوسته های وردپرسی سبک با سئوی بالا
شخصی سازی پوسته های مای بی بی و وردپرس
طراحی سیستم مدیریت محتوای اختصاصی و خاص با برترین زبان های برنامه نویسی دنیا
جهت سفارش در تلگرام: firstboy000@
پاسخ
 سپاس شده توسطmotorola30 (۱۳۹۳/۷/۲۰، ۱۵:۴۹:۲۰ عصر)
#15
(۱۳۹۳/۷/۲۰، ۱۲:۵۰:۳۷ عصر)firstboy000 نوشته است: قالب تابستونتون هم مشکل داره و خرابه.برای اونایی که سالم میاره قطعا بخاطر کش قدیمیشونه.
ضمنا کپی رایت مای بی بی هم توش نیست.
آخرین چیزی که میتونم بگم اینه که کلا بیخیال این کد بشید چون فوق العاده کش کنندگیش بالاس و افتضاحه.صفحه به صفحه باید کش رو پاک کنم تا تغییرات رو ببینم.

خب من دقیقا الان باید چیکار کنم؟؟؟؟؟؟؟؟؟؟

من بیخیال این کد شدم حتی برداشتمش ولی اون مشکل هنوز هستش و برا بعضی یه جور میاد واسه بعضیا دیگه یه جور دیگه

اینم عکس از کپی رایت سمت چپ دومی مای بی بی ایران هستش

[تصویر:  Snapshot-2014-10-12-115753.png]

من کد شو برداشتم ولی مشکل کش داره الان باید چیکارش کنم؟
پاسخ
 سپاس شده توسطmotorola30 (۱۳۹۳/۷/۲۰، ۱۵:۴۹:۲۸ عصر)
#16
درود این کد را درون .htaccess قرار دهید {کش یک روز}


کد:
<filesmatch "\.(txt|xml|js|css|jpg|png|gif)$"="">
Header set Cache-Control "max-age=86400"
</filesmatch>
پاسخ
 سپاس شده توسطmohammadsaeed (۱۳۹۳/۷/۲۱، ۱۵:۱۵:۴۲ عصر)
#17
(۱۳۹۳/۷/۲۱، ۱۲:۲۳:۳۶ عصر)Mr.Am!n نوشته است: درود این کد را درون .htaccess قرار دهید {کش یک روز}



کد:
<filesmatch "\.(txt|xml|js|css|jpg|png|gif)$"="">
Header set Cache-Control "max-age=86400"
</filesmatch>

دیگه مشکل واسه همیشه اوکیه؟
پاسخ
#18
با انجام کاری که مستر امین گفت بازهم اوکی نشد Huh
پاسخ
#19
کد:
                               Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>
RewriteCond %{IS_SUBREQ} false
RewriteRule ^index.php$ http://www.setaresharghi.ir [R=301,L]
<filesmatch "\.(txt|xml|js|css|jpg|png|gif)$"="">
Header set Cache-Control "max-age=86400"
</filesmatch>
                           
کد htaccess.txt

کامل قرار داده شد

ممنون میشم بگید مشکل از کجاس
پاسخ
#20
قالب mybb_pro سالمه.tabs خرابه.
پیشنهاد میشه دوباره بارگذاری کنید قالبو.

اینم کد های اولیه اچ تی اکسس
کد:
Options -MultiViews +FollowSymlinks -Indexes

#
# If mod_security is enabled, attempt to disable it.
# - Note, this will work on the majority of hosts but on
#   MediaTemple, it is known to cause random Internal Server
#   errors. For MediaTemple, please remove the block below
#
<IfModule mod_security.c>
    # Turn off mod_security filtering.
    SecFilterEngine Off

    # The below probably isn't needed, but better safe than sorry.
    SecFilterScanPOST Off
</IfModule>

#
# MyBB "search engine friendly" URL rewrites
# - Note, for these to work with MyBB please make sure you have
#   the setting enabled in the Admin CP and you have this file
#   named .htaccess
#
<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA]
    RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA]

    RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA]
    RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA]
    RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA]
    RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA]
    RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA]
    RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA]

    RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA]

    RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA]

    RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA]

    RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&month=$3&day=$4 [L,QSA]
    RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA]

    RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA]

    <IfModule mod_env.c>
        SetEnv SEO_SUPPORT 1
    </IfModule>
</IfModule>

#
# If Apache is compiled with built in mod_deflade/GZIP support
# then GZIP Javascript, CSS, HTML and XML so they're sent to
# the client faster.
#
<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml
</IfModule>

اینو قرار بدید و درصورت نیاز تغییرات مورد نیاز با پلاگیناتون رو اعمال کنید.
کلا کد کشش کنندگی برای انجمن ها مناسب نیست.
نصب و آپدیت انجمن مای بی بی | پلاگین و پوسته | تغییرات داخلی انجمن
نصب و بروزرسانی وردپرس طراحی پوسته های وردپرسی سبک با سئوی بالا
شخصی سازی پوسته های مای بی بی و وردپرس
طراحی سیستم مدیریت محتوای اختصاصی و خاص با برترین زبان های برنامه نویسی دنیا
جهت سفارش در تلگرام: firstboy000@
پاسخ
 سپاس شده توسطmohammadsaeed (۱۳۹۳/۷/۲۱، ۱۶:۱۷:۰۶ عصر)


پرش به انجمن:


کاربرانِ درحال بازدید از این موضوع: 1 مهمان