Addon Sonnb Up Thread v1.4.9 - VNXF

  • Thread starter Minh Bảo
  • Ngày gửi
M

Minh Bảo

Khách VNXF

Đính kèm

  • [Add On] Sonnb.Up.Thread.v1.4.9.zip
    60.9 KB · Lượt xem: 294

THB

Founder
Thành viên BQT
Tham gia
25/02/2015
Bài viết
6,651
Được Like
3,934
chép về cho ae tham khảo luôn. chú ý cái giá nha.o_O
What is this?
Imagine that you are managing a big classified forum or your forum have some classified nodes that have a lot of topic per day.
So how could you prevent users from filling their threads with full of "up" messages? How many server have you rent more to handle these kinds of threads in database?

Just forget it, addon "Up Thread" was born to resolve this headache. This addon would allow you to enable "Up" button for your classified nodes and allow users to use this button to up their threads instead of replying to those threads.

So what can this addon do?
- Allow you enable this addon for specified nodes and for specified user groups.
- Allow user to use Up button to bring their threads to the top of the thread_list.
- Also allow you to:
  • Set limitation for the Up function
    • Total Up times per thread per day
    • Total Up times per user per day
    • Total threads could be created per user per day (In case of users reach the limitation and want to spam the new threads).
    • Max scheduled threads: Only allow configured amount of threads to be Auto-Up at a time for specified groups. You should configure this carefully to reduce server load. Recommended value is 5. If users enabled more than this limitation, the rest would be ignored.
    • Minimum Time Between Up (Could be disabled for specified groups in Group Permission).
    • Minimum Time Between Up Base On: Wherever we should check for the time, base on Global or Each Thread.
    • Added "Scheduled Threads Life Time" option: If you do not enter the value here, the scheduled threads would be Up-ed day by day even that thread was dead or the owner does not care about it anymore. After threads were configured life time for this duration, they should be deleted from schedule table.
  • Limitation could be based on:
    • Global: Up times or thread creating times would be counted globally for all enabled nodes.
    • Each node: Up times or thread creating times would be counted based on the TOP node. For example: A has child-node: B - C. B has child-node: D-E. The times from whatever node inside A would be the total times of A.
  • Disable threads come up on reply: Enable this function would allow the threads only could be bring to TOP of thread_list if it was Up-ed. Reply as normal would not bring it to TOP if that thread was not Up-ed.
  • Disable reply inside threads: Some boards want to disable reply inside threads and only allow to post thread then use Up function to reduce spam message.
  • Enable Override Node Permission: Enable this one to make Up function available even if that thread was closed otherwise Up function would not available.
  • Disable Up if thread is closed: If you closed thread and do not want it to be Up-able, you should check this option.
  • Auto Up Schedule. This function allow users to set auto Up schedule for their threads. The Up times for those threads would be calculated based on group permission as normal. Once Up times limit reached, the Up schedule for that thread would be disabled and would be enabled automatically in the next day.
  • Cron Job for Auto Up Schedule. You should change its configuration to match your requirements and server's performance.
  • Up Thread Logs inside ACP
  • General Information tab inside Account page, this would let user check their remain times for Up and Thread creating. Users are able to access this page from Visitor Navigation Popup
  • Scheduled Thread Management in Account Page - that would be used to manage scheduled threads for each users
User's Permission Changing:
It use cache to save user's information to save server's resources. In case you changed user's permission and limitation, please go to Tools -> Rebuild Up Thread Cache to rebuild its cache.
Performance advice:
You should enable caching system in XF to optimize this addon performance. Wherever you enabled the cache, it would use cache to save information to save query to database.

Err, Why the button is not shown up in my forum?
This is because your style version is older than 1.1.2 or they are cutomized style, so some XF's hook is not available or was removed. To resolve this, please look at the Attached template images and check the highlighted hook. Add them if you are lacking them.


That's great. So how could I customize this?
- For "Up Thread", the phrase is: sonnb_up_thread_button
- For "Configure Auto-Up", the phrase is: sonnb_up_schedule_button
- For "Thread daily Up limit" message, the phrase is: sonnb_up_thread_daily_thread_limit
- For "Total daily Up limit" message, the phrase is: sonnb_up_thread_daily_total_limit
- For "Thread creating limit" the template was used for easier to customize the style. The template is: sonnb_up_thread_daily_thread_create_limit
- For "Thread schedule" . The template is: sonnb_up_thread_post_edit
- To change style for Up Button, you can change the CSS class:
  • Thread List
    • Up button: UpButtonList
    • Schedule button: ScheduleButtonList
  • Thread View: ControlButtonView.
More Information:
- The basic idea is belong to me.
- Some extra limitation options idea are belong to: Dinh Thanh

So what could I have in the next version?
- Probably: Donate for Up times for: daily, weekly, monthly, permanent.
 
  • Like
Reactions: NDK

NDK

MasterSergeant
Tham gia
16/03/2015
Bài viết
829
Được Like
742
xin cám ơn ạ ! ad ở đây mau lẹ gớm :)
 
  • Like
Reactions: THB

THB

Founder
Thành viên BQT
Tham gia
25/02/2015
Bài viết
6,651
Được Like
3,934
nhanh, chính xác, nhiệt tình,chia sẽ là mục tiêu của 4rum mà.o_O
hii. thanks bác. hy vọng sẽ hữu ích cho bạn.
 

laviepc12

Gefreiter
Tham gia
17/03/2015
Bài viết
60
Được Like
72
ủa thấy ở xenforo 1.48 mà ở đây 1.49 luôn ta

Thế là sao ?
 
  • Like
Reactions: THB

letuan4u

Gefreiter
Tham gia
07/05/2015
Bài viết
65
Được Like
66
Đang bị lỗi không repply được, không biết cấu hình ra sao
 
  • Like
Reactions: THB

chimcanh

MasterCorporal
Tham gia
12/05/2015
Bài viết
235
Được Like
183
bãn này có cả tính năng đặt chế độ tự động up bài cũng hay
 

PVS

Super Moderator
Thành viên BQT
Tham gia
28/02/2015
Bài viết
17,142
Được Like
12,745
bạn vui lòng trỏ chuột vào 2 ô bên dưới hình facebook và g+ nha, click vào like của 1 trong 2 ô đó sẽ hiện ra file đính kèm :), good luck ;)
 

download

Private
Tham gia
30/07/2015
Bài viết
1
Được Like
0
Bản này lổi time ! thời gian chờ đợi hiện nút Up không giống với time chờ up
mong ad nâng lên 1.4.11 để có thể được fix lỗi
 

sonnb

Private
Tham gia
04/08/2015
Bài viết
1
Được Like
2
Thảo nào mãi chẳng ai ủng hộ. Hóa ra các bác share hết tất cả các addon ở đây :=S. Nhiều bác liên hệ được giá khuyến mãi mà :=S
 

KHUCTHUYDU

MasterCorporal
Tham gia
24/06/2015
Bài viết
320
Được Like
223
Thảo nào mãi chẳng ai ủng hộ. Hóa ra các bác share hết tất cả các addon ở đây :S. Nhiều bác liên hệ được giá khuyến mãi mà :S

Đề nghị anh em ngưng share addon Việt và bác sonnb bán giảm giá 30-50% là tốt rồi. Ai cũng dùng hàng free sao bác ấy làm các version sau tốt hơn version trước được.
 
X

xfvietnam

Khách VNXF
Chuẩn luôn vnxf việt nam nhưng toàn share addons **** của coder việt nam
 

Top Bottom