Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BYR): Level Requirements and userBaseInfo Getting #1683

Merged
merged 3 commits into from Dec 7, 2023

Conversation

brotherjie-win
Copy link

解决了关于BYRBT站的两个问题:
1、更新了不同等级拥有的权限内容。包括升级赠送邀请数量、购买/发送邀请等级和购买昵称特效等等。
2、新增了正确获取BYRBT用户信息的代码。原先提交了issue,原来代码上传/下载/发布数据和注册日期等获取错乱,时魔数据符合网站,经网站论坛用户wireshark抓包,并批评网站首页的信息调查发现原来的代码是从首页index.php获取用户信息,新的昵称特效功能导致插件获取到了目前购买第一个竞价置顶的用户的信息,所以所有用户才会获取到错误的信息。

Two fixes about PTPP issues #1682 related to BYRBT:

  1. Update level requirements level info: permissions owned by different levels (including invitation numbers given during upgrade, level required to buy/send an invitation and qualification to purchase nickname effects, etc.)
  2. Add codes to get correct user info from BYRBT. I have sent an issue BYRBT除时魔外其他数据获取错乱 #1682 , as user information obtained by PTPP is incorrect, including upload/download size, uploaded torrents numbers and so on excpet points per hour. An enthusiastic user from our fourm reminded that the original code of PTPP only gets user information from BYRBT's index page(index.php). However, BYRBT conducts an update and introduce nickname effects. Thus, by tracking network requests, we find that PTPP will get the info of the user who purchased the first slot of top bidding. That is the reason why every user from BYRBT excpet him get the unexpected user info, I think.

@fzlins fzlins merged commit e075162 into pt-plugins:dev Dec 7, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants