saeed313 167 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 سلاممن توسایتم یک قالب تک ستونه دارم که فقط برای گالری عکس هستش میخوام کد کنتورسایتم که درقالب پیش فرض هستش به این قالب هم اضاف کنم تا با بازدید از این قسمت کنتور کار کنه باید چکار کنم؟درضمن برای کنتور از افزونهCyStat استفاده می کنم نقل قول لینک به ارسال
Parsa 23463 ارسال شده در آذر 91 گزارش بازنشر ارسال شده در آذر 91 از توابع افزونه استفاده کنید:CyStats template tags/functions: Show number of blog posts » Returns an integer <?php echo cystats_countPosts($showmode=TRUE); ?> Show number of approved comments » Returns an integer <?php echo cystats_countComments($showmode=TRUE); ?> Show number of authors » Returns an integer <?php echo cystats_countAuthors($showmode=TRUE); ?> Show number of published pages » Returns an integer <?php echo cystats_countPages($showmode=TRUE); ?> Show number of links » Returns an integer <?php echo cystats_countLinks($showmode=TRUE); ?> Show number of categories » Returns an integer <?php echo cystats_countCategories($showmode=TRUE); ?> Show number of days since the first blog post » Returns an integer <?php echo cystats_firstPostDays($showmode=TRUE); ?> Show the date when the first blog entry was posted » Returns a string <?php echo cystats_firstPost($showmode=TRUE); ?> Show number of blog users in the database » Returns an integer <?php echo cystats_countUsers($showmode=TRUE); ?> Show the names of top commenters » Returns strings <?php echo cystats_getTopCommenters($topcount, $pre='', $pos='', $showmode=TRUE); ?> Show number of feed readers today » Returns an integer <?php echo cystats_countFeedreadersToday($showmode=TRUE); ?> Show the number of users online » Returns an integer <?php echo cystats_countUsersOnline($showmode=TRUE); ?> Show the recent blog posts » Returns an array of strings <?php echo cystats_getRecentPosts($limit, $pre='', $pos='', $showmode=TRUE); ?> Show the most commented blog posts » Returns an array of strings <?php echo cystats_getMostCommented($limit, $pre='', $pos='', $showmode=TRUE); ?> Show the most visited blog posts » Returns an array of strings <?php echo cystats_getMostVisited($limit, $pre='', $pos='', $showmode=TRUE); ?> Show post visits » Returns an array <?php echo cystats_getPostVisitsByID($id,$showmode=TRUE); ?> Show recent comments » Returns array of strings <?php echo cystats_getRecentCommented($limit, $pre='', $pos='', $showmode=TRUE); ?> Show total number of visits » Returns an integer <?php echo cystats_countVisits($mode, $showmode=TRUE); ?> Show total number of hits » Returns an integer <?php echo cystats_countHits($mode, $showmode=TRUE); ?> Show average number of posts per day » Returns an integer <?php echo cystats_countAvgPostsPerDay($showmode=TRUE); ?> Show average number of comments per day » Returns an integer <?php echo cystats_countAvgCommentsPerDay($showmode=TRUE); ?> Show the count of search engine referers » Returns an integer <?php echo cystats_getSearchengineRefererCount($showmode=TRUE); ?>http://blog.catzie.n...-template-tags/ 3 نقل قول لینک به ارسال
saeed313 167 ارسال شده در آذر 91 مالک گزارش بازنشر ارسال شده در آذر 91 خیلی ممنون از راهنماییتون نقل قول لینک به ارسال
پست های پیشنهاد شده
به گفتگو بپیوندید
هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .