PDA

View Full Version : horizontal threadbit | forumdisplay


downloadfound
12-23-2011, 10:27 AM
Hey, I want to display threads horizontally on forumdisplay. I have found out it's way more complex than I initially anticipated. Clearly the layout of the outputted information is hard coded!

I attached a pic below to show what happens when I remove all the styling from the templates and just display the raw output data.

So, my question is where do I start? What files would have to be modified to change how threads are listed? I want to list threads in columns with my thumbnails instead of vertically.

https://vborg.vbsupport.ru/external/2011/12/18.jpg

kh99
12-23-2011, 01:45 PM
It depends on what you mean by "hard coded". There's no html or css in the php code.

I don't know much about doing that kind of thing, but there's this article: https://vborg.vbsupport.ru/showthread.php?t=228484 It's about two-column forums and not threads, but it might be useful. But it does go across rows then down, as opposed to down one column then down the next. To do that you'd have to do some php coding (for threads I think it would be in forumdisplay.php).

downloadfound
12-23-2011, 02:24 PM
It depends on what you mean by "hard coded". There's no html or css in the php code.

I don't know much about doing that kind of thing, but there's this article: https://vborg.vbsupport.ru/showthread.php?t=228484 It's about two-column forums and not threads, but it might be useful. But it does go across rows then down, as opposed to down one column then down the next. To do that you'd have to do some php coding (for threads I think it would be in forumdisplay.php).

Thanks for replying man! Yes, you're right it wasn't hard coded. I pretty much got it with the exception of some minor alignment issues. Everything works though!

https://vborg.vbsupport.ru/external/2011/12/17.jpg