Here is what I see in my ban list. (For Add a ban page)
that's very strange....was this a fresh install?
And have you Ctrl-F5 to reload the page ensuring it uses updated CSS?
I did. And yes it is a fresh install. I just installed three mods being Team page, SMF Media Gallery and Download System. Things that do not touch the ban page.
What version of Firefox?
Copied from my About dialog:
QuoteMozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
I do not get this problem on my site using FF 3.0.10 or 3.5.5 on WinXP.
Unable to reproduce on my end, too. [SAP]Francis, could you try re-uploading the admin.css file?
I re-uploaded my admin.css file, but still the same problem happens.
Did you then Ctrl-F5 while in the admin panel after doing that?
Yes I did. Still nothing as I stated.
Maybe try clearing the file cache? (Admin -> Maintenance -> Forum Maintenance -> Routine -> Empty the file cache)
Quote from: tyty1234 on November 12, 2009, 04:12:42 AM
Maybe try clearing the file cache? (Admin -> Maintenance -> Forum Maintenance -> Routine -> Empty the file cache)
Did that too before posting here. Nothing.
How does it look in a different browser?
Same thing with IE happens.
Try to change your viewing preferences to drop down by clicking those double arrows next to "main"
Quote from: hadesflames on November 12, 2009, 11:52:56 PM
Try to change your viewing preferences to drop down by clicking those double arrows next to "main"
Same thing, it appears in the same spot, above the dropdowns.
Well in that case, try re-uploading your ManageBans.template.php file.
Please PM an admin login for your site so I can attempt to re-produce the problem :)
Quote from: H on November 14, 2009, 08:28:12 AM
Please PM an admin login for your site so I can attempt to re-produce the problem :)
Will do.
I am having some odd template issues in the "Add A Ban" area in Admin Section of my forum.
I have attached two screenshots to show what is happening and have attached my ManageBans.template.php.
Screenshot one is showing some of the fields appearing just below the main menu and above the admin menu.
Screenshot two is showing the check box at the bottom of the "Add A Ban" area but nothing after it. The fields that are to be after it are appearing above the Admin area and below the main menu as seen in screenshot one.
I have played around with the code in ManageBans.template.php and cannot seem to get it correct. Any help would be appreciated.
Thank you,
Kratos
^-- That's the same problem as me.
That's what I thought, so I merged the two threads and moved them both into Bug Reports.
I confirmed the problem with your site however I also tested on my own test site and couldn't reproduce the problem there.
king kratos, which mods have you got installed? Perhaps you both have a the same mod that is causing the problem
Quote from: H on November 15, 2009, 10:55:52 AM
I confirmed the problem with your site however I also tested on my own test site and couldn't reproduce the problem there.
king kratos, which mods have you got installed? Perhaps you both have a the same mod that is causing the problem
Attached is a list of my mods. I also have downloaded a fresh copy of the full (new install) RC2 package and replaced my ManageBans.template.php with the new one.
Something very interesting that I just found is that when I disable hostname lookups through server settings, this issue goes away. See the screenshot addban_hostname_lookup_disabled.png to see what I am talking about. I took that screenshot after disabling hostname lookups. When I enable hostname lookups, the issue (see my first post on this thread) returns.
This tells me that the issue lies within the code for adding a ban on hostname. I just cannot figure out what part of that code is doing it. I've tried playing with that section of code every way I can think of and no fix.
Kratos
Seems like we have Download System in common.
Quote from: [SAP]Francis on November 15, 2009, 12:36:46 PM
Seems like we have Download System in common.
Yep, it just seems odd that none of these mods are touching ManageBans.template.php and yet we are seeing this issue. It also seems odd that others are not able to recreate this issue with their own forums.
Edit: I believe that the ban on hostname code is the culprit. I have removed that portion of the code and the issue went away. (By removed, I mean in the code, I literally deleted that section). The screenshot I posted in my second post is what happens when I remove this portion of code.
@ [SAP]Francis, can you disable hostname lookup from the server settings in admin cp and verify that this resolves the issue? Also, if you feel comfortable doing so, can you also remove that line of code in the file and see if that fixes this issue as well? If you don't feel comfortable editing the template file, please don't do it.
Kratos
Indeed, turning off the hostnames lookups fixes it. But I need hostnames lookup on on my forum. So I can't turn it off.
Ok, well, that gives the experts some more information. Let's wait to see what they have to say about this issue.
Thanks,
Kratos
Please try the fix here:
http://www.simplemachines.org/community/index.php?topic=351261.msg2383455#msg2383455
That fixed it perfectly! I cannot believe I missed that simple little </td>!!!!! Funny how one simple little error like that can make such a big difference in the final output.
Thanks for the help.
Kratos
Cheers, good to hear!