Comments (17)
When you delete a character, then its deleted only softly. That means the data stays in the database, just 'deleted' column in the database gets changes to '1'.
That means you can still preview that character on the website. You just can't login to that character.
What distro (ots server) are you using?
from myaac.
OTS server Naruto, TFS 0.4, I understand, according to the change he generates in the player table in the deleted column he assumed the value 1, he would like it to disappear from the view on the page, and in case he wants to recover the character he would contact the administration, but in the code he has a warning not to change anything, which I can change to not affect other functions?
from myaac.
If you delete a character, you should see this screen: https://prnt.sc/j0hlu2
It's something that you see?
from myaac.
Yes
from myaac.
So, what is the problem? ;)
Any screenshots?
from myaac.
as I said, I just want to remove the character from the page view, which I would change in the code, that's it
from myaac.
You want to delete this? http://prntscr.com/j614xt
from myaac.
yes
from myaac.
You use 0.7 or 0.8?
from myaac.
TFS? or MyAAC?
from myaac.
MyAAC. Did you ever hear about TFS 0.7 or 0.8? :D
from myaac.
MyAAC 0.7.10, on TFS only use 0.4 if other higher versions do not know
from myaac.
Edit system/templates/characters.html.twig
Change:
{% if not player.isHidden() %}
To:
{% if not player.isHidden() and not player.isDeleted() %}
I will add it, but only in MyAAC 0.8-dev.
from myaac.
alright, thx
from myaac.
worked?
from myaac.
equal to "https://prnt.sc/j614xt", did not stay, I thought it was the template I changed and did not display
from myaac.
Update: Showing deleted characters is now configurable.
Implemented in 0.8-dev (master) branch.
from myaac.
Related Issues (20)
- drop eval function HOT 8
- crash tfs 1.5 and crash edit player for myaac panel admin HOT 6
- removing log errors in some browsers HOT 1
- Stripe Integration HOT 2
- improvement: move FAQ to admin panel HOT 3
- Guild Accept Invite Does Not Work HOT 1
- Docker container support HOT 2
- Add a security policy HOT 3
- guildwar page error HOT 1
- Cannot find config.lua HOT 3
- Bug in forum HOT 6
- Online status HOT 9
- Guilds already invited - problem exception HOT 1
- Sample Characters should not show in Highscore lists HOT 2
- Error while create new character HOT 5
- Myaac v0.8.14 buttons error HOT 3
- The requested URL /admin/?p=gifts was not found on this server. HOT 9
- Error transferring 'machineIP/login.php - server replied: Internal Server Error
- Boosted Creatures
- creatures.php / monsters.php XSS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from myaac.