شما وارد حساب خود نشده و یا ثبت نام نکرده اید. لطفا وارد شوید یا ثبت نام کنید تا بتوانید از تمامی امکانات انجمن استفاده کنید.
اعلانات

- توجه: بخش لینک سازی و بخش کاملا آزاد ایجاد شد تا کاربران برای لینک سازی مطالب و موضوعات مرتبط با سایت خودشون رو با بقیه و موتورهای جستجو به اشتراک بگذارند توجه کنید اگر کاربری روزانه بالای 5 مطلب و لینک ارسال نمایید اکانت کاربری مسدود خواهد شد.

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

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


تبلیغات
ads
  • 0 رأی - میانگین امتیازات: 0
  • 1
  • 2
  • 3
  • 4
  • 5
درخواست حذف "موقیعت اگهی" در انتشار اگهی
#1
    درود
درخواست حذف موقیعت اگهی و جای گذاری "آیدی" بجای ایمیل دارم
تبلیغات
ads
#2
کسی نمی تونه؟
#3
فایل item-post.php رو باز کنید و مواردی که میخواین رو حذف کنید تمامی مواردی که گفتین در این فایل هست
#4
چی رو حذف کنم
کد php:
<?php
    
/*
     *      Osclass – software for creating and publishing online classified
     *                           advertising platforms
     *
     *                        Copyright (C) 2014 OSCLASS
     *
     *       This program is free software: you can redistribute it and/or
     *     modify it under the terms of the GNU Affero General Public License
     *     as published by the Free Software Foundation, either version 3 of
     *            the License, or (at your option) any later version.
     *
     *     This program is distributed in the hope that it will be useful, but
     *         WITHOUT ANY WARRANTY; without even the implied warranty of
     *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *             GNU Affero General Public License for more details.
     *
     *      You should have received a copy of the GNU Affero General Public
     * License along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */

 
   // meta tag robots
 
   osc_add_hook('header','bender_nofollow_construct');

 
   osc_enqueue_script('jquery-validate');
 
   bender_add_body_class('item item-post');
 
   $action 'item_add_post';
 
   $edit false;
 
   if(Params::getParam('action') == 'item_edit'){
 
       $action 'item_edit_post';
 
       $edit true;
 
   }

 
   ?>
<?php osc_current_web_theme_path
('header.php') ; ?>
<?php ItemForm
::location_javascript_new(); ?>
    <div class="form-container form-horizontal">
        <div class="resp-wrapper">
            <div class="header">
                <h1><?php _e('Publish a listing''bender'); ?></h1>
            </div>
            <ul id="error_list"></ul>
                <form name="item" action="<?php echo osc_base_url(true);?>" method="post" enctype="multipart/form-data" id="item-post">
                    <fieldset>
                    <input type="hidden" name="action" value="<?php echo $action?>" />
                        <input type="hidden" name="page" value="item" />
                    <?php if($edit){ ?>
                        <input type="hidden" name="id" value="<?php echo osc_item_id();?>" />
                        <input type="hidden" name="secret" value="<?php echo osc_item_secret();?>" />
                    <?php ?>
                        <h2><?php _e('General Information''bender'); ?></h2>
                        <div class="control-group">
                            <label class="control-label" for="select_1"><?php _e('Category''bender'); ?></label>
                            <div class="controls">
                                <?php ItemForm::category_select(nullnull__('Select a category''bender')); ?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="title[<?php echo osc_locale_code(); ?>]"><?php _e('Title''bender'); ?></label>
                            <div class="controls">
                                <?php ItemForm::title_input('title',osc_locale_code(), osc_esc_htmlbender_item_title() )); ?>
                            </div>
                        </div>
                        <div class="control-group">
                            <label class="control-label" for="description[<?php echo osc_locale_code(); ?>]"><?php _e('Description''bender'); ?></label>
                            <div class="controls">
                                <?php ItemForm::description_textarea('description',osc_locale_code(), osc_esc_htmlbender_item_description() )); ?>
                            </div>
                        </div>
                        <?php if( osc_price_enabled_at_items() ) { ?>
                        <div class="control-group control-group-price">
                            <label class="control-label" for="price"><?php _e('Price''bender'); ?></label>
                            <div class="controls">
                                <?php ItemForm::price_input_text(); ?>
                                <?php ItemForm::currency_select(); ?>
                            </div>
                        </div>
                        <?php ?>
                        <?php if( osc_images_enabled_at_items() ) {
 
                           ItemForm::ajax_photos();
 
                        ?>
                        <div class="box location">
                            <h2><?php _e('Listing Location''bender'); ?></h2>

                            <div class="control-group">
                                <label class="control-label" for="country"><?php _e('Country''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::country_select(osc_get_countries(), osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="region"><?php _e('Region''bender'); ?></label>
                                <div class="controls">
                                  <?php ItemForm::region_text(osc_user()); ?>
                                </div>
                                    </div>
                                    <div class="control-group">
                                <label class="control-label" for="city"><?php _e('City''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::city_text(osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="cityArea"><?php _e('City Area''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::city_area_text(osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="address"><?php _e('Address''bender'); ?></label>
                                <div class="controls">
                                  <?php ItemForm::address_text(osc_user()); ?>
                                </div>
                            </div>
                        </div>
                        <!-- seller info -->
                        <?php if(!osc_is_web_user_logged_in() ) { ?>
                        <div class="box seller_info">
                            <h2><?php _e("Seller's information"'bender'); ?></h2>
                            <div class="control-group">
                                <label class="control-label" for="contactName"><?php _e('Name''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::contact_name_text(); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="contactEmail"><?php _e('E-mail''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::contact_email_text(); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="controls checkbox">
                                    <?php ItemForm::show_email_checkbox(); ?> <label for="showEmail"><?php _e('Show e-mail on the listing page''bender'); ?></label>
                                </div>
                            </div>
                        </div>
                        <?php
                        
}
 
                       if($edit) {
 
                           ItemForm::plugin_edit_item();
 
                       } else {
 
                           ItemForm::plugin_post_item();
 
                       }
 
                       ?>
                        <div class="control-group">
                            <?php if( osc_recaptcha_items_enabled() ) { ?>
                                <div class="controls">
                                    <?php osc_show_recaptcha(); ?>
                                </div>
                            <?php }?>
                            <div class="controls">
                                <button type="submit" class="ui-button ui-button-middle ui-button-main"><?php if($edit) { _e("Update"'bender'); } else { _e("Publish"'bender'); } ?></button>
                            </div>
                        </div>
                    </fieldset>
                </form>
            </div>
        </div>
        <script type="text/javascript">
            $('#price').bind('hide-price', function(){
                $('.control-group-price').hide();
            });

            $('#price').bind('show-price', function(){
                $('.control-group-price').show();
            });

    <?php if(osc_locale_thousands_sep()!='' || osc_locale_dec_point() != '') { ?>
    $().ready(function(){
        $("#price").blur(function(event) {
            var price = $("#price").prop("value");
            <?php if(osc_locale_thousands_sep()!='') { ?>
            while(price.indexOf('<?php echo osc_esc_js(osc_locale_thousands_sep());  ?>')!=-1) {
                price = price.replace('<?php echo osc_esc_js(osc_locale_thousands_sep());  ?>', '');
            }
            <?php }; ?>
            <?php if(osc_locale_dec_point()!='') { ?>
            var tmp = price.split('<?php echo osc_esc_js(osc_locale_dec_point())?>');
            if(tmp.length>2) {
                price = tmp[0]+'<?php echo osc_esc_js(osc_locale_dec_point())?>'+tmp[1];
            }
            <?php }; ?>
            $("#price").prop("value", price);
        });
    });
    <?php }; ?>
</script>
<?php osc_current_web_theme_path('footer.php'); ?>
تبلیغات
ads
#5
این باید باشه


کد php:
<div class="box location">
 
                           <h2><?php _e('Listing Location''bender'); ?></h2>

                            <div class="control-group">
                                <label class="control-label" for="country"><?php _e('Country''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::country_select(osc_get_countries(), osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="region"><?php _e('Region''bender'); ?></label>
                                <div class="controls">
                                  <?php ItemForm::region_text(osc_user()); ?>
                                </div>
                                    </div>
                                    <div class="control-group">
                                <label class="control-label" for="city"><?php _e('City''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::city_text(osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="cityArea"><?php _e('City Area''bender'); ?></label>
                                <div class="controls">
                                    <?php ItemForm::city_area_text(osc_user()); ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="address"><?php _e('Address''bender'); ?></label>
                                <div class="controls">
                                  <?php ItemForm::address_text(osc_user()); ?>
                                </div>
                            </div>
                        </div>
                        <!-- seller info --> 
 سپاس شده توسط morteza
#6
اره حذف کنید ببینید درست کار میکنه اگر نه بصورت هیدن مقدارهاش رو بفرستین


موضوعات مرتبط با این موضوع...
موضوع نویسنده پاسخ بازدید آخرین ارسال
  تغییر صفحه بعد از ارسال اگهی salar810 1 929 ۱۳۹۷-۰۲-۰۹، ۰۹:۱۸ ق.ظ
آخرین ارسال: morteza
Smile مشکل در ارسال اگهی 8077 1 1,070 ۱۳۹۶-۱۰-۰۱، ۰۲:۲۶ ب.ظ
آخرین ارسال: morteza
  مشکل در ارسال اگهی و ارور 500 matin57 3 1,498 ۱۳۹۶-۰۶-۲۱، ۰۴:۴۳ ب.ظ
آخرین ارسال: morteza
  ایجاد کلید نمایش تمام اگهی ها matin57 0 738 ۱۳۹۶-۰۵-۱۸، ۰۸:۳۵ ب.ظ
آخرین ارسال: matin57
  انتقال اگهی وکاربران به سایت دیگر alireza 6 2,867 ۱۳۹۶-۰۴-۰۴، ۰۸:۴۸ ق.ظ
آخرین ارسال: morteza
  تایید اگهی drtrabit 3 1,202 ۱۳۹۶-۰۳-۲۷، ۱۲:۱۵ ب.ظ
آخرین ارسال: alireza-res
  بازگشت به صفحه ی اصلی بعد از ایجاد اگهی majavanmardi33@gmail.com 1 1,038 ۱۳۹۵-۰۸-۱۲، ۰۱:۱۰ ب.ظ
آخرین ارسال: morteza
  زمان باطل شدن اگهی majavanmardi33@gmail.com 2 1,098 ۱۳۹۵-۰۸-۱۱، ۰۹:۱۰ ب.ظ
آخرین ارسال: majavanmardi33@gmail.com
  حذف نمایش نقشه در اگهی majavanmardi33@gmail.com 1 954 ۱۳۹۵-۰۸-۱۱، ۱۰:۲۳ ق.ظ
آخرین ارسال: morteza
  درخواست نسخه اپلیکیشن موبایل اندروید jahromy 1 993 ۱۳۹۵-۰۵-۰۱، ۱۲:۲۱ ب.ظ
آخرین ارسال: morteza

پرش به انجمن:


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