سارامحمدی فرد

کاربران
  • تعداد ارسال ها

    34
  • تاریخ عضویت

  • آخرین بازدید

پست ارسال شده توسط سارامحمدی فرد


  1. با سلام من برای تنظیم سو با مشکل مواجعه شدام

    این فایل کد های من است

    ##
    # @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##
    #####################################################
    #  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations.  It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file.  If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's.  If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################
    
    ##  Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks
    #
    #  mod_rewrite in use
    RewriteEngine On
    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ "\.xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode data within the URL
    RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    #disable hotlinking of images with forbidden or custom image option
    
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?site.ir/.*$ [NC]
    RewriteRule \.(gif|jpg|png)$ - [F]
    ########## End - Rewrite rules to block out some common exploits
    
    
    ########## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ########## End - Custom redirects
    #  Uncomment following line if your webserver's URL
    #  is not directly related to physical file paths.
    #  Update Your Joomla! Directory (just / for root)
    # RewriteBase /
    ########## Begin - Joomla! core SEF Section
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the request is for root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ########## End - Joomla! core SEF Section
    

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

    دوم اینکه برای حذف اعدا در ادرس باید یک پلاگین باشد که من هر چه جستجو کردام پیدا نکردام

    ممنون می شوم دوستان من را راهنمایی بفرمایند

    با تشکر


  2. با سلام

    من یک مشکل عجیب دارم چند مدتی بود که سایتم به دوستم داده بودام

    الان که وارد می شود حسابی دستکاریش کرده اکثر منو ها را نمی دانم حذف کرده چکارش کرده

    مثلا تنظیمات اصلی را نمی توانم بهش دست رسی داشته باشم

    وقتی این را هم می زنم

    administrator/index.php?option=com_config

    این پیغام ظاهر می شود

    404 - یک خطا بوجود آمده است

    Component Not Found

    خودش می گوید که برای امنیت سایت است الان هم چند هفته ای نیست که بدانم چکار کرده و چطوری می توانم به تنظیمات اصلی سایت دست رسی داشته باشم

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

    من منتظر راهنمایی استاد های محترم هستم

    یا حق


  3. با سلام

    مدتی نبودام شرمنده

    دوستان من برایم سوال ایا هسته جوملا 2.5.6 امنیتش بهتر یا 1.5.26 یا 1.7

    کدوم.

    من هرچه سرچ کردام جواب خودم پیدا نکردام

    برایم مهم اخه قرار پروژه دانشگاهی ام را با یکی از اینها پیاده سازی کنم

    پروژه خیلی برایم مهم و برای کارشناسی است .

    اون هسته ای که امنیت بالای دارد را به من معرفی کنید

    لطفآ همه دوستان صاحب نظر در قسمت نظر خود را برای انتخاب یک هسته قوی منظورم برترین نسخه جوملا می باشد قید بفرمایند

    بنده منتظر جواب دوستان هستم

    با تشکر


  4. با سلام

    من این کار انجام دادام

    این کد اصلی منوی من با عکس اصلی:

    h3 {
    background-image: url(../images/me.png);
    background-position:right;
    background-repeat:no-repeat;
    color:#5B8E80;
    text-align: right;
    padding-right: 560px;
    height: 120px;
    line-height: 21px;
    font-size: 26px;
    font-family:Tahoma;
    margin-top:0px;
    margin-bottom:0px;
       margin-right: 20px;;
    }
    

    و این هم یک کلاس

    .me2{
    background-image: url(../images/me2.png);
    }
    
    

    و اون اینطوری فراخوانی کردام

    meun_ me2

    باز هم منوی من تغیر نکرد

    ممنون می شوم دوستان هم راهنمایی بفرمایند

    با تشکر


  5. با سلام

    من می خواهم یک کاری انجام بدهم و برای سایت خودم منوی های مختلفی بسازم و به ماژول ها ارتباط بدهم

    داخل css به این کد بر خورد کردام:

    h3 {
    background-image: url(../images/me.png);
    background-position:right;
    background-repeat:no-repeat;
    color:#5B8E80;
    text-align: right;
    padding-right: 560px;
    height: 120px;
    line-height: 21px;
    font-size: 26px;
    font-family:Tahoma;
    margin-top:0px;
    margin-bottom:0px;
       margin-right: 20px;;
    }
    

    که شکل منوی اصلی ام را تشکل می دهد

    حالا اگر من بخواهم 20 تا اینطوری داشته باشم

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

    چطوری می توانم به ماژولم ارتباطش بدهم

    ممنون می شوم دوستان راهنمای بفرمایند


  6. با سلام

    وقت همگی بخیر

    من در مورد این <jdoc:include type="component" />

    یک سوال داشتم

    ایا می شود مثلا برای مطلب یک شکل خاص بهش داد و برای تماس با ما یک شکل خاص دیگر یا نه

    چطوری

    منظور اینکه موقعیت مطلب دور ان یک کارد باشد

    ولی در موقعیت تماس با ما نباشد می شود؟

    با تشکر


  7. با سلام

    من طبق اموزش اضافه کردن فیلد فهمیدام که چگونه ثبت نام خودم را گسترش بدهم اما یک سوال فنی دارم البته چند تا

    من یک قوانین می خواهم بگذارم مثل همین انجمن که اگر تیک نخور ثبت نام صورت نگیر چطوری می توانم چنین کار را انجام بدهم

    و سوال دوم در مورد کد امنیتی است ایا می شود به صورت دستی کد امنیتی به فروم ثبت نام اضافه کرد یا نه

    و سوال اخر می شود ثبت نام را دو صفحه ای کرد یا نه

    ممنون می شوم به من پاسخ دهید با تشکر

    gift