soheil1000 4 ارسال شده در آبان 29، 1394 گزارش اشتراک گذاری ارسال شده در آبان 29، 1394 سلام چند تا سوالم داشتم ممنون میشم راهنمایی بفرمایید چطور می تونم IP کاربری که تو سایت ثبت نام کرده و کامنت داده رو پیدا کنم .ایا از طریق هاست IP رو بن کنم بهتره یا با افزونه ؟ مورد بعدی من از قالب صحیفه استفاده میکنم ، این قالب تعداد بازدید هر صفحه رو نشون میده ، چطور می تونم کاری کنم این امار2 یا سه برابر امارواقعی نمایش داده بشه ؟ بالاخره یه کدی یه جا داره که قابل دست کاری باشه ... پیشاپیش ممنونم لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
Mr.Gadatas 103 ارسال شده در آبان 30، 1394 گزارش اشتراک گذاری ارسال شده در آبان 30، 1394 درود @soheil1000 شرمنده جوابتون رو نمیدم بلد نیستم !!! فکر خوبی نیست چون طرف ای پی عوض کنه تمامه میاد دوباره و سوال دوم هم هیچ جای بزرگی با دروغ بزرگ نشده با دروغ فقط سخت سقوط می کنی. یکم تبلیغات کن مثلا تو یاهو یا ... با تشکر لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
soheil1000 4 ارسال شده در آبان 30، 1394 مالک گزارش اشتراک گذاری ارسال شده در آبان 30، 1394 این سوال من می تونست جنبه ی آموزشی داشته باشه ! دوستان اگه کسی غیر از نصیحت جواب سوال من رو میدونه خوشحال میشم بشنوم ... هر دو سوال البته ! سوال اول من این بود چطوری IP رو بدست بیارم لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
Masih 6,279 ارسال شده در آبان 30، 1394 گزارش اشتراک گذاری ارسال شده در آبان 30، 1394 درود . 1. زمانی که دیدگاهی ارسال شود ، آی پی ارسال کننده ی اون دیدگاه ، در "پیشخوان > دیدگاه ها" در زیر نام ارسال کننده نمایش داده میشود . یعنی این مورد نیاز به افزونه یا کد خاصی ندارد . تنها با ورود به قسمت مدیریت دیدگاه ها واقع در پیشخوان خواهید توانست آی پی کاربران را مشاهده کنید . اما زمانی هست که کاربر عضو شده اما دیدگاهی ارسال نکرده . در اینصورت با نصب افزونه ی لینک ها تنها برای اعضای سایت قابل نمایش است. می توانید آی پی کاربران عضو سایتتان را مشاهده کنید . 2. در خصوص تغییر و دستکاری میزان بازدید ، اطلاع ندارم به چه صورت هست در قالب صحیفه . یعنی اینکه از توابع داخلی استفاده می کند یا افزونه نیاز دارد . اما به هر روی ، توابع شمارش افزونه ها ، اکثرا از SET val3=val3+1 استفاده می شود . این نوع تابع در اکثر شمارنده ها استفاده می شود که با تغییر عدد 1 به 9 می توانید هر یک عدد را در 9 ضرب کنید! نمونه ی چنین کاری رو با افزونه ی cystats تست کرده بودم . اما این مورد رو به صورت قطعی نمیشه گفت چه کدی رو ویرایش کنید . قالب صحیفه رو هم کار نکردم باهاش ، لطفا بگید که قسمت آمار بازدید مطلب رو با افزونه ی جداگانه فراخوانی می کنه یا تابع داخلی ؟ اگر افزونه هست ، نام افزونه رو بدید تا یک تست روی لوکال بزنم شاید امکان تقلب و ضریبی کردن آمار وجود داشت . لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
soheil1000 4 ارسال شده در آبان 30، 1394 مالک گزارش اشتراک گذاری ارسال شده در آبان 30، 1394 خیلی ممنون مورد اول حل شد ، فقط اگه از طریق هاست این IP رو بن کنم مشکلی پیش نمیاد برای سایر افراد ؟ در کل ضرر یا مشکلی که ایجاد نمیکنه ؟ برای مورد دوم مطمئن هستم که از تابع داخلی استفاده میکنه و به این صورت هستش که با هر بار رفرش شدن صفحه به تعداد بازدید هم افزوده میشه . کد فایل functions <?phpdefine ('THEME_NAME', 'Sahifa' );define ('THEME_FOLDER', 'sahifa' );define ('THEME_VER', '5.3.0' );define( 'NOTIFIER_XML_FILE', "http://themes.tielabs.com/xml/".THEME_FOLDER.".xml" );define( 'DOCUMENTATION_URL', "http://themes.tielabs.com/docs/".THEME_FOLDER );if ( ! isset( $content_width ) ) $content_width = 618;// Main Functionsrequire_once ( get_template_directory() . '/framework/functions/theme-functions.php');require_once ( get_template_directory() . '/framework/functions/common-scripts.php' );require_once ( get_template_directory() . '/framework/functions/mega-menus.php' );require_once ( get_template_directory() . '/framework/functions/pagenavi.php' );require_once ( get_template_directory() . '/framework/functions/breadcrumbs.php' );require_once ( get_template_directory() . '/framework/functions/tie-views.php' );require_once ( get_template_directory() . '/framework/functions/translation.php' );require_once ( get_template_directory() . '/framework/widgets.php' );require_once ( get_template_directory() . '/framework/admin/framework-admin.php' );require_once ( get_template_directory() . '/framework/shortcodes/shortcodes.php' );if( tie_get_option( 'live_search' ) ) require_once ( get_template_directory() . '/framework/functions/search-live.php');if( !tie_get_option( 'disable_arqam_lite' ) ) require_once ( get_template_directory() . '/framework/functions/arqam-lite.php');?> این هم فایل page <?php get_header(); ?><?php if ( ! have_posts() ) : ?><div class="content"> <?php get_template_part( 'framework/parts/not-found' ); ?></div><?php endif; ?><?php//Page Builder$get_meta = get_post_custom( $post->ID );if( !empty( $get_meta[ 'tie_builder_active' ][0] ) ): if( !empty( $get_meta[ 'featured_posts' ][0] ) ) get_template_part('framework/parts/featured'); if( !empty( $get_meta[ 'slider' ][0] ) && ( !empty( $get_meta[ 'slider_pos' ][0] ) && $get_meta[ 'slider_pos' ][0] == 'big' ) ) get_template_part('framework/parts/slider-home');// Get Slider template ?> <div class="content"> <?php if( !empty( $get_meta[ 'slider' ][0] ) && ( !empty( $get_meta[ 'slider_pos' ][0] ) && $get_meta[ 'slider_pos' ][0] != 'big' ) ) get_template_part('framework/parts/slider-home'); // Get Slider template get_template_part( 'framework/blocks' ); ?> </div><!-- .content /--><?php// Normal Pageelse:?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <?php if( function_exists('bp_current_component') && bp_current_component() ) $current_id = get_queried_object_id(); else $current_id = $post->ID; $get_meta = get_post_custom( $current_id ); tie_update_reviews_info(); if( !empty( $get_meta["tie_sidebar_pos"][0] ) && $get_meta["tie_sidebar_pos"][0] == 'full' ) $content_width = 955; ?> <?php if( !empty( $get_meta["tie_post_head_cover"][0] ) ) : ?> <div class="post-cover-head"> <?php get_template_part( 'framework/parts/post-head' ); ?> </div> <?php endif; ?> <div class="content<?php if( !empty( $get_meta["tie_post_head_cover"][0] ) ) echo ' post-cover';?>"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) || ( !empty( $get_meta["tie_post_head_cover"][0] ) && ( !empty( $get_meta['tie_post_head'][0] ) && $get_meta['tie_post_head'][0] != 'thumb' ) && $get_meta['tie_post_head'][0] != 'lightbox' ) ) : ?> <?php tie_breadcrumbs() ?> <?php endif; ?> <?php //Above Post Banner if( empty( $get_meta["tie_hide_above"][0] ) ){ if( !empty( $get_meta["tie_banner_above"][0] ) ) echo '<div class="e3lan e3lan-post">' .do_shortcode( htmlspecialchars_decode($get_meta["tie_banner_above"][0]) ).'</div>'; else tie_banner('banner_above' , '<div class="e3lan e3lan-post">' , '</div>' ); } ?> <article <?php post_class('post-listing post'); ?> id="the-post"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) ) get_template_part( 'framework/parts/post-head' ); ?> <div class="post-inner"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) || ( !empty( $get_meta["tie_post_head_cover"][0] ) && ( !empty( $get_meta['tie_post_head'][0] ) && $get_meta['tie_post_head'][0] != 'thumb' ) && $get_meta['tie_post_head'][0] != 'lightbox' ) ) : ?> <h1 class="name post-title entry-title" itemprop="itemReviewed" itemscope itemtype="http://schema.org/Thing"><span itemprop="name"><?php the_title(); ?></span></h1> <p class="post-meta"></p> <div class="clear"></div> <?php endif; ?> <div class="entry"> <?php if( tie_get_option( 'share_buttons_pages' ) && tie_get_option( 'share_post_top' ) && ( !function_exists( 'is_buddypress' ) || ( function_exists( 'is_buddypress' ) && !is_buddypress() ) ) ) get_template_part( 'framework/parts/share' ); // Get Share Button template ?> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __ti( 'Pages:' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __ti( 'Edit' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry /--> <span style="display:none" class="updated"><?php the_time( 'Y-m-d' ); ?></span> <?php if ( get_the_author_meta( 'google' ) ){ ?> <div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><a href="https://go.20script.ir/index.php?url=<?php the_author_meta( 'google' ); ?>?rel=author">+<?php echo get_the_author(); ?></a></strong></div> <?php }else{ ?> <div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><?php the_author_posts_link(); ?></strong></div> <?php } ?> <?php if( tie_get_option( 'share_buttons_pages' ) && tie_get_option( 'share_post' ) && ( !function_exists( 'is_buddypress' ) || ( function_exists( 'is_buddypress' ) && !is_buddypress() ) ) ) get_template_part( 'framework/parts/share' ); // Get Share Button template ?> <div class="clear"></div> </div><!-- .post-inner --> </article><!-- .post-listing --> <?php endwhile; ?> <?php //Below Post Banner if( empty( $get_meta["tie_hide_below"][0] ) ){ if( !empty( $get_meta["tie_banner_below"][0] ) ) echo '<div class="e3lan e3lan-post">' .do_shortcode( htmlspecialchars_decode($get_meta["tie_banner_below"][0]) ).'</div>'; else tie_banner('banner_below' , '<div class="e3lan e3lan-post">' , '</div>' ); } ?> <?php if( !function_exists('bp_current_component') || (function_exists('bp_current_component') && !bp_current_component() ) ) comments_template( '', true ); ?> </div><!-- .content --><?php endif; ?><?php get_sidebar(); ?><?php get_footer(); ?> فایل single <?php get_header(); ?> <?php if ( ! have_posts() ) : ?> <div class="content"> <?php get_template_part( 'framework/parts/not-found' ); ?> </div> <?php endif; ?> <?php while ( have_posts() ) : the_post(); ?> <?php tie_setPostViews() ?> <?php $get_meta = get_post_custom($post->ID); tie_update_reviews_info(); if( !empty( $get_meta["tie_sidebar_pos"][0] ) && $get_meta["tie_sidebar_pos"][0] == 'full' ) $content_width = 955; $do_not_duplicate = array(); ?> <?php if( !empty( $get_meta["tie_post_head_cover"][0] ) ) : ?> <div class="post-cover-head"> <?php get_template_part( 'framework/parts/post-head' ); ?> </div> <?php endif; ?> <div class="content<?php if( !empty( $get_meta["tie_post_head_cover"][0] ) ) echo ' post-cover';?>"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) || ( !empty( $get_meta["tie_post_head_cover"][0] ) && ( !empty( $get_meta['tie_post_head'][0] ) && $get_meta['tie_post_head'][0] != 'thumb' ) ) ) : ?> <?php tie_breadcrumbs() ?> <?php endif; ?> <?php //Above Post Banner if( empty( $get_meta["tie_hide_above"][0] ) ){ if( !empty( $get_meta["tie_banner_above"][0] ) ) echo '<div class="e3lan e3lan-post">' .do_shortcode( htmlspecialchars_decode($get_meta["tie_banner_above"][0]) ) .'</div>'; else tie_banner('banner_above' , '<div class="e3lan e3lan-post">' , '</div>' ); } ?> <article <?php post_class('post-listing'); ?> id="the-post"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) ) get_template_part( 'framework/parts/post-head' ); ?> <div class="post-inner"> <?php if( empty( $get_meta["tie_post_head_cover"][0] ) || ( empty( $get_meta["tie_post_head"][0] ) && !tie_get_option( 'post_featured' ) ) || ( !empty( $get_meta["tie_post_head_cover"][0] ) && ( !empty( $get_meta['tie_post_head'][0] ) && $get_meta['tie_post_head'][0] != 'thumb' ) ) ) : ?> <h1 class="name post-title entry-title" itemprop="itemReviewed" itemscope itemtype="http://schema.org/Thing"><span itemprop="name"><?php the_title(); ?></span></h1> <?php get_template_part( 'framework/parts/meta-post' ); ?> <?php endif; ?> <div class="entry"> <?php if( ( tie_get_option( 'share_post_top' ) && empty( $get_meta["tie_hide_share"][0] ) ) || ( !empty( $get_meta["tie_hide_share"][0] ) && $get_meta["tie_hide_share"][0] == 'no' ) ) get_template_part( 'framework/parts/share' ); // Get Share Button template ?> <?php if( tie_get_option( 'related_position' ) == 'in' ) get_template_part( 'framework/parts/related-posts' ); ?> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __ti( 'Pages:' ), 'after' => '</div>' ) ); ?> <?php edit_post_link( __ti( 'Edit' ), '<span class="edit-link">', '</span>' ); ?> </div><!-- .entry /--> <?php the_tags( '<span style="display:none">',' ', '</span>'); ?> <span style="display:none" class="updated"><?php the_time( 'Y-m-d' ); ?></span> <?php if ( get_the_author_meta( 'google' ) ){ ?> <div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><a href="https://go.20script.ir/index.php?url=https://go.20script.ir/index.php?url=<?php the_author_meta( 'google' ); ?>?rel=author">+<?php echo get_the_author(); ?></a></strong></div> <?php }else{ ?> <div style="display:none" class="vcard author" itemprop="author" itemscope itemtype="http://schema.org/Person"><strong class="fn" itemprop="name"><?php the_author_posts_link(); ?></strong></div> <?php } ?> <?php if( ( tie_get_option( 'share_post' ) && empty( $get_meta["tie_hide_share"][0] ) ) || ( !empty( $get_meta["tie_hide_share"][0] ) && $get_meta["tie_hide_share"][0] == 'no' ) ) get_template_part( 'framework/parts/share' ); // Get Share Button template ?> <div class="clear"></div> </div><!-- .post-inner --> </article><!-- .post-listing --> <?php if( tie_get_option( 'post_tags' ) ) the_tags( '<p class="post-tag">'.__ti( 'Tags ' ) ,' ', '</p>'); ?> <?php //Below Post Banner if( empty( $get_meta["tie_hide_below"][0] ) ){ if( !empty( $get_meta["tie_banner_below"][0] ) ) echo '<div class="e3lan e3lan-post">' .do_shortcode( htmlspecialchars_decode($get_meta["tie_banner_below"][0]) ) .'</div>'; else tie_banner('banner_below' , '<div class="e3lan e3lan-post">' , '</div>' ); } ?> <?php if( ( tie_get_option( 'post_authorbio' ) && empty( $get_meta["tie_hide_author"][0] ) ) || ( isset( $get_meta["tie_hide_related"][0] ) && $get_meta["tie_hide_author"][0] == 'no' ) ): ?> <section id="author-box"> <div class="block-head"> <h3><?php _eti( 'About' ) ?> <?php the_author() ?> </h3><div class="stripe-line"></div> </div> <div class="post-listing"> <?php tie_author_box() ?> </div> </section><!-- &anchor=author-box --> <?php endif; ?> <?php if( tie_get_option( 'post_nav' ) ): ?> <div class="post-navigation"> <div class="post-previous"><?php previous_post_link( '%link', '<span>'. __ti( 'Previous' ).'</span> %title' ); ?></div> <div class="post-next"><?php next_post_link( '%link', '<span>'. __ti( 'Next' ).'</span> %title' ); ?></div> </div><!-- .post-navigation --> <?php endif; ?> <?php if( tie_get_option( 'related_position' ) != 'in' ) get_template_part( 'framework/parts/related-posts' ); ?> <?php get_template_part( 'framework/parts/check-also' ); ?> <?php endwhile;?> <?php comments_template( '', true ); ?> </div><!-- .content --><?php get_sidebar(); ?><?php get_footer(); ?> لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
Masih 6,279 ارسال شده در آذر 1، 1394 گزارش اشتراک گذاری ارسال شده در آذر 1، 1394 درود . 1. اگر همان آی پی بن شود خیر . مثلا : 144.144.252.162 اگر این آیپی بن شود مابقی زیر مجموعه ها مشکلی نخواهند داشت . اما اگر به اینصورت باشد : 144.144.252.* یا 144.144.*.* گروهی بن خواهند شد . 2. موردی که شما قصد دارید در فایل framework/functions/tie-views.php قرار گرفته . یک بررسی در لوکال هاست می کنم اگر شد خبر میدم در همین تاپیک . موفق باشید لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
soheil1000 4 ارسال شده در آذر 16، 1394 مالک گزارش اشتراک گذاری ارسال شده در آذر 16، 1394 دوستان کسی میدونه این وبسایت های ورزشی این جداول گلزنان و لیگ ها رو چطوری درست میکنند ؟ چون این جداول همشون به صورت کاملا خودکار اپدیت میشند . یعنی این ها همه از یه افزونه خاص استفاده میکنند ولی اومدند css ش رو برای خودشون طراحی کردند ؟ کسی در این زمینه به خصوص اطلاع خاصی داره ممنون میشم راهنمایی کنه چون من الان از یه افزونه برای جدول سری آ ایتالیا استفاده میکنم اما اسم تیم ها انگلیسی هست و چپ چین هم هست . میخوام جدول رو طبق قالب سایتم طراحی کنم . اما اول میخوام بدوم سایت هایی مثل ورزش 3 یا طرفداری جداولشون رو چطوری درست میکنند ؟ سوال بعدی هم این هست ، آیا میشه مثلا جدولی که ورزش 3 تو سایتش داره رو من عینش رو کپی کنم تو سایت خودم ؟ یعنی فایل js ش رو میشه پیدا کرد ؟ ممنون یکم در این زمینه مبتدی هستم (clap) لینک به دیدگاه به اشتراک گذاری در سایت های دیگر More sharing options...
پست های پیشنهاد شده
بایگانی شده
این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.