vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   horizontal threadbit | forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=275878)

downloadfound 12-23-2011 10:27 AM

horizontal threadbit | forumdisplay
 
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

Quote:

Originally Posted by kh99 (Post 2280415)
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


All times are GMT. The time now is 06:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00989 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete