Closed Kyle1264x closed 9 years ago
I'll move over my reply to here.
You'll need to replace all contents of the file, so your final file will look something like this
As for the nav bar, should it show up? Because you gave me a changed nav bar code.
Kyle
On May 28, 2015, at 6:17 AM, samerton notifications@github.com wrote:
I'll move over my reply to here.
You'll need to replace all contents of the file, so your final file will look something like this
— Reply to this email directly or view it on GitHub.
The Infractions link can be found in the bottom-right of the page, next to the copyright notice. You'll need to enable it in the Pages section of the admin panel first though. Would you like a modified navbar which includes the Infractions link up there, instead of in the footer?
Nah. That's fine. Leme get to school and I'll add the code Kyle
On May 28, 2015, at 7:16 AM, samerton notifications@github.com wrote:
The Infractions link can be found in the bottom-right of the page, next to the copyright notice. You'll need to enable it in the Pages section of the admin panel first though. Would you like a modified navbar which includes the Infractions link up there, instead of in the footer?
— Reply to this email directly or view it on GitHub.
Testing now
Added the code, Infractions page does work. But it seems as if its only registering the "who the staff is" if theyre opp'd or console. http://prntscr.com/7ac6ps
Also for the overview in the mod cp, you should have it show like Applications: #
Denied Open Accepted Reports:#
I think the missing staff members are caused by the package being unable to query Mojang's servers to get the username from their UUID. This won't happen if they've already registered on the website, however I'll look into it.
As for the ModCP overview, I'll add that.
All my staff have registered on my website, Ive made sure of that.
And the few that havent i've registered them for them. It also looks like theyre switched around, Some of my staff are getting kicked instead of doing the kicking. and such
Strange, I'll continue to look into it.
Sounds good
Kyle
On May 28, 2015, at 8:30 AM, samerton notifications@github.com wrote:
Strange, I'll continue to look into it.
— Reply to this email directly or view it on GitHub.
http://apexnetwork.org/infractions/
Looks like that fixed it, I'll continue looking for bugs
The pagination on that page seems pretty broken, I'll fix that now.
I just banned myself http://prntscr.com/7adu01 says im unbanned when im banned
Can you replace the contents of inc/classes/Infractions.php with this code for debugging purposes; it doesn't contain any fixes.
My staff found a bug on the website If they're in the moderator group their picture of their head doesn't load
Kyle
On May 28, 2015, at 10:43 AM, samerton notifications@github.com wrote:
Can you replace the contents of inc/classes/Infractions.php with this code for debugging purposes; it doesn't contain any fixes.
— Reply to this email directly or view it on GitHub.
Can't reproduce the issue with your moderator heads missing. Can you temporarily enable custom displaynames (at the bottom of the "General Settings" AdminCP tab), navigate to the Users tab in the AdminCP, edit a user whose avatar isn't working, and check their "Minecraft Username" field is filled in.
Just replaced the contents, same problem as before, Marking them as unbanned when their banned. Just tested on an online user and they also tried to join back http://prntscr.com/7aelld http://prntscr.com/7aely5
Just tested with the username thing, whenever theyre put into the Moderator group it removes their name it seems. And it sets as their display name
All bans are an issue, someone was just temp banned, http://prntscr.com/7aephf same issue, should be a week
The debug code I sent you earlier showed that your database value is different to mine; how recent is your LiteBans version?
the most recent version
Just re-updated the plugin, i'll try now
Still showing as unbanned
The problem is your database value for "active" seems to be empty, whereas it should be either 0 or 1. I'll send some more code over soon.
Here are the tables in my database http://prntscr.com/7aesmd
Can you replace the contents of your inc/classes/Infractions.php with this code
Would you like my database for this? I can download it off phpmyadmin or send you snippets
Could you take a screenshot of the bans table within your database?
here are the most recent bans: http://prntscr.com/7aeyxt
heres the bar: http://prntscr.com/7aez2p
The issue here seems to be with the database values; your "active" values are set as 0 when they should be 1, which means they're set as unbanned.
They are banned though. Like if they try to join in, it says theyre banned http://prntscr.com/7af416 http://prntscr.com/7af462 http://prntscr.com/7af49y
If i need to i can just flush my database
Im guessing debugging?
Banned two people permanently
http://prntscr.com/7af6ro from the table
Interestingly, the database shows an active value as "1" whereas the query isn't picking up any value at all. Can you navigate to the Bans table "structure" tab in phpMyAdmin and let me know what the "type" is set to for the "active" column?
Added, what would you like from those?
Wondering if that would have fixed the issue, however I think I may know what's happening. The problem is, the querying library in the package doesn't support the database query I'll need. I'll keep working on it though.
Got it, just let me know if you need me to do anything
If you need me to, i can drop the database and start from a clean slate
http://www.spigotmc.org/conversations/litebans-integration.49689/
Move this here, for email notifications