Kết quả 1 đến 1 của 1
-
03-03-2009, 05:43 AM #1
Junior Member
- Ngày tham gia
- Aug 2015
- Bài viết
- 0
Threads Started by User in Postbit & Profile - Hiện Tổng số bài viết của thành viên
First of all this is a fixed version of Threads Started by User in Postbit and Profile for 3.5.4 by Boofo. I would like to thanks to Boofo for giving me the permission of releasing this.
Originally Posted by Boofo Go for it, if it is totally tested and working
As this product is the original work of Boofo. So I’m going to use his description as well. All I did is fixed one error related to DB query & remove the MySQL version check as vBulletin 3.6.x already requires MySQL 4.3.3.
Description:
This product counts the threads started by a user and displays it in the postbit and the profile. It will also display the threads per day in the profile. The thread count is automatically updated hourly via cron job. New threads are added to the count in real time. No extra queries are run in the postbit or profile when getting the thread count, only when the cron job runs. This product has been tested on a live board with over 15,000 users and 40,000 threads and ran unnoticeably in the background in 0.3 seconds during the cron job update. This product only counts valid threads (not moderated or soft-deleted threads).
First of all this is a fixed version of Threads Started by User in Postbit and Profile for 3.5.4 by Boofo. I would like to thanks to Boofo for giving me the permission of releasing this.
Originally Posted by Boofo Go for it, if it is totally tested and working
As this product is the original work of Boofo. So I’m going to use his description as well. All I did is fixed one error related to DB query & remove the MySQL version check as vBulletin 3.6.x already requires MySQL 4.3.3.
Description:
This product counts the threads started by a user and displays it in the postbit and the profile. It will also display the threads per day in the profile. The thread count is automatically updated hourly via cron job. New threads are added to the count in real time. No extra queries are run in the postbit or profile when getting the thread count, only when the cron job runs. This product has been tested on a live board with over 15,000 users and 40,000 threads and ran unnoticeably in the background in 0.3 seconds during the cron job update. This product only counts valid threads (not moderated or soft-deleted threads).
Live Demo:
Golpo Community Forum
Install Instruction:- Import the product-thread_count_7272
- Edit the "postbit" & "MEMBERINFO" Template.
- Import the product-thread_count_7272. Don't forget to allow overwrite!
Import file product-thread_count_7272.xml
Mở template postbit tìm:
<div>
$vbphrase[posts]: $post[posts]
</div>
<div>
$vbphrase[threads]: $post[threads]
</div>
<legend>$vbphrase[posts]</legend>
<legend>$vbphrase[posts] & $vbphrase[threads] </legend>
<tr>
<td><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&e xactname=1&searchuser=$userinfo[urlusername]" rel="nofollow"><phrase 1="$userinfo[username]">$vbphrase[find_all_threads_started_by_x]</phrase></a></td>
</tr>
<tr>
<td>$vbphrase[total_threads]: <strong>$userinfo[threads]</strong> (<phrase 1="$threadsperday">$vbphrase[x_threads_per_day]</phrase>)</td>
</tr>Tải Về Với Pass congtruongit.com
Các Chủ đề tương tự
-
Boxed Postbit Information & Centered Postbit (Khung cho Thông tin thành viên)
Bởi mypham trong diễn đàn Công Nghệ WebTrả lời: 1Bài viết cuối: 12-02-2009, 11:53 AM -
[CTIT] User Postbit Background
Bởi zmyr0893 trong diễn đàn Design Template vBulletinTrả lời: 1Bài viết cuối: 06-13-2009, 05:12 AM -
Mod - Tự động Viết Bài Chúc Mừng Sinh Nhật Thành Viên
Bởi actech1 trong diễn đàn Design Template vBulletinTrả lời: 0Bài viết cuối: 03-03-2008, 02:05 AM