I'll add more
How do I make a site-wide announcement. A post that is stickied on the front page of my phuks site? I went to the admin page but didn't see any option either. Where do I do this?
I've Allowed users to flair their own posts but they never see the flair post link. So it's me who always has to flair the post. Is it just my site or this feature isn't working for now i.e. users can't flair their post yet but admins have to flair the post?
Do pics always have to be direct links. E.g. https://imgur.com/gallery/PWBGDzv doesn't work but https://imgur.com/gallery/PWBGDzv.jpg works.
My site is for a small community so it'll take usesr to achieve the Scores years to achieve the badges. How and where do I make these changes? I noticed the scores in the badges.py file and tried lowering the scores but it doesn't seem to work :-/
PS: I ran npm run build && killall -HUP gunicorn
I've tried had to remove this rectangled area (see pic) in the submit and some other pages but I just can't get it work. I looked at the CSS and layout.html file but couldn't find it > https://i.imgur.com/K2rnnfc.png. Any pointers here would really help.
Nothing happens when clicking Report link isn't working.
I'm in Ubuntu and running the following command doesn't work to set a sub as default. I run them as app in the throat/scripts folder.
python3 defaults.py --add SOMESUB
Other alternatives I tried
python3 defaults.py -add SOMESUB
python defaults.py --add SOMESUB
Here's the error.
Traceback (most recent call last):
File "defaults.py", line 60, in <module>
addSub(args.subname)
File "defaults.py", line 34, in addSub
isSub, sid = getSid(subname)
File "defaults.py", line 26, in getSid
sub = Sub.get(fn.Lower(Sub.name) == subname.lower())
NameError: name 'fn' is not defined
- For adding someone as admin, I get the following error.
Script I run python3 admins.py --add USERNAME
Error
Traceback (most recent call last):
File "admins.py", line 27, in <module>
user = User.get(fn.Lower(User.name) == args.add.lower())
NameError: name 'fn' is not defined
5 comments