Topic posts inside of eachother for guests.

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
garfielder
Registered User
Posts: 4
Joined: Thu Nov 07, 2024 10:05 pm

Topic posts inside of eachother for guests.

Post by garfielder »

Hi, on my forum, the topic post divs are inside of eachother if you aren't logged in. I do not know what is causing this at all, and couldn't find anything about it online. What i mean by this is: The 2nd post is inside the 1st post, the 3rd post is inside the 2nd post, and so on. It only does this for guests, it works perfectly fine if logged in. Is there any way to fix this?
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2504
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Topic posts inside of eachother for guests.

Post by P_I »

Please fill out the Support Request Template and post it back here to enable us to assist you better.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
garfielder
Registered User
Posts: 4
Joined: Thu Nov 07, 2024 10:05 pm

Re: Topic posts inside of eachother for guests.

Post by garfielder »

Support Request Template
What version of phpBB are you using? phpBB 3.3.13
What is your board's URL? n/a (currently only on localhost)
Who do you host your board with? self host
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? No
Do you have any MODs installed? No
Do you have any extensions installed? No
What styles do you currently have installed? Custom edit of default prosilver style
What language(s) is your board currently using? British English
Which database type/version are you using? MariaDB
What is your level of experience? New to PHP and phpBB
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Edited the default CSS (though CSS cant put DIVs actually INSIDE of eachother in the HTML, so that doesnt really matter) & removed a bit of the HTML iirc, i dont see how any of that could cause this though
Please describe your problem. If the user is not logged in, then the topic posts are inside of eachother (p2 inside p1, p3 inside p2, so on)
Generated by SRT Generator
garfielder
Registered User
Posts: 4
Joined: Thu Nov 07, 2024 10:05 pm

Re: Topic posts inside of eachother for guests.

Post by garfielder »

Managed to fix it after messing with some stuff for a while, had to move the <!-- END postrow --> after a div. Odd, but whatever

UPDATE: nevermind, did not fix
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 6436
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.

Re: Topic posts inside of eachother for guests.

Post by thecoalman »

Try the HTML Validator. https://validator.w3.org/

You can ignore the warnings, your looking for error with missing tags.

If you can't find the error go back to stock template and reapply your edits.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
Mannix_
Registered User
Posts: 2029
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt

Re: Topic posts inside of eachother for guests.

Post by Mannix_ »

Undo whatever html changes you made and purge the cache in ACP. I'm 99% sure the cause of your issue is there. Specifically viewtopic_body.html file
Did I helped You? Consider a donation.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!

Return to “[3.3.x] Support Forum”