langningchen / XMOJ-Script

XMOJ增强脚本
https://web.xmoj-bbs.tech
GNU General Public License v3.0
5 stars 1 forks source link

[Feature Request] 允许付费用户添加Label #199

Closed langningchen closed 1 year ago

langningchen commented 1 year ago

检查项

描述

允许用户支付5RMB来增加Label

原因

~我没零花钱了~

PythonSmall-Q commented 1 year ago

我有label吗(?

PythonSmall-Q commented 1 year ago

我算付费吗?这样吧,那个autolog我算了。就当赞助吧(……

PythonSmall-Q commented 1 year ago

@langningchen 图片upload的bug修了

langningchen commented 1 year ago

@PythonSmall-Q 到时候给你算付费

langningchen commented 1 year ago

我可以给你加上管理员 label

langningchen commented 1 year ago

@PythonSmall-Q 需要吗?

langningchen commented 1 year ago

告诉你:直接修改文件 XMOJ.user.js ,将第32行加上你自己的名字就好了

https://github.com/langningchen/XMOJ-Script/blob/b2c420cd80bdf58943badd71099cd9b599887e8b/XMOJ.user.js#L32

PythonSmall-Q commented 1 year ago

好的呀

langningchen commented 1 year ago

你试试

PythonSmall-Q commented 1 year ago

好嘞我来试试

PythonSmall-Q commented 1 year ago

艹真行

langningchen commented 1 year ago

但是这只是有Label,没有实际权限

langningchen commented 1 year ago

你虽然能看到删除别人回复的按钮,但是按了以后会报错

langningchen commented 1 year ago

如果你想要有实际权限,改这里:

https://github.com/langningchen/XMOJ-Script/blob/b2c420cd80bdf58943badd71099cd9b599887e8b/Server/Source/Process.ts#L6

langningchen commented 1 year ago

改好了以后你可以提出PR,我帮你通过

langningchen commented 1 year ago

@PythonSmall-Q

PythonSmall-Q commented 1 year ago

我改dev还是master?

langningchen commented 1 year ago

dev,如果你交到master上面会被自动关闭

PythonSmall-Q commented 1 year ago

okay

langningchen commented 1 year ago

你好像要创建第200号PR

PythonSmall-Q commented 1 year ago

艹没有VPN好慢

PythonSmall-Q commented 1 year ago

我人麻了还在加载

PythonSmall-Q commented 1 year ago

之前早上都上不去。还是靠重启路由器

PythonSmall-Q commented 1 year ago

@langningchen 艹你看看哪里炸了

langningchen commented 1 year ago

@PythonSmall-Q Cloudflare pages

boomzero commented 1 year ago

可以加一下自定义label

langningchen commented 1 year ago

可以加一下自定义label

就是添加自定义Label

PythonSmall-Q commented 1 year ago

是不是就像我在xmojbbs上的“代码使用他”这种label

langningchen commented 1 year ago

对的

boomzero commented 1 year ago

需要找一个平台让用户打钱

boomzero commented 1 year ago

(https://opencollective.com/) ?

langningchen commented 1 year ago

(https://opencollective.com/) ?

我看看 @boomzero

langningchen commented 1 year ago

这个中国应该能访问吧?

langningchen commented 1 year ago

还有就是支持什么微信支付宝支付吗?

langningchen commented 1 year ago

image 我看了,这只支持 Paypal 和银行卡,但是我相信除了我大部分学生都没有 Paypal 账户

langningchen commented 1 year ago

我发现我有爱发电的账号 https://afdian.net/a/langningc2009 @boomzero

boomzero commented 1 year ago

image 我看了,这只支持 Paypal 和银行卡,但是我相信除了我大部分学生都没有 Paypal 账户

那是他配置的问题吧

boomzero commented 1 year ago

这个不扣钱

boomzero commented 1 year ago

不像爱发电扣除%6

langningchen commented 1 year ago

那是他配置的问题吧

谁的配置?我可以开启使用支付宝吗?

PythonSmall-Q commented 1 year ago

@langningchen 给我一下你的opencollective 注册邮箱

langningchen commented 1 year ago

@langningchen 给我一下你的opencollective 注册邮箱

我还没有注册

PythonSmall-Q commented 1 year ago

6

PythonSmall-Q commented 1 year ago

我邀请你了。jpxx哪个邮箱

PythonSmall-Q commented 1 year ago

那个

langningchen commented 1 year ago

好的

langningchen commented 1 year ago

我才发现我的Outlook一直没开……

langningchen commented 1 year ago

image

PythonSmall-Q commented 1 year ago

这个嘛?

langningchen commented 1 year ago

不是