vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Latest Threads On Forum Home (https://vborg.vbsupport.ru/showthread.php?t=83230)

dodjer42 09-08-2006 08:17 AM

Awesome mod, and thanks Tom for the info on how to change the title length.

MRGTB 09-08-2006 02:09 PM

I've just noticed somthing regarding W3C and CCS validation. While it validates OK in W3C. It doesn't in CSS.

The problem seems to be the use of this in the latestthreadbit template.

Code:

style="vertical-align: text-middle"
It's failing the validation, anybody got any idea what to use instead that will pass CSS

MRGTB 09-08-2006 02:20 PM

Here is the fix, change this:

Change this code to in the "forumhome_latestthreadbit" template.

Code:

<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />
To this:

Code:

<img style="vertical-align: middle;" src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" />
It will then be both W3C and CSS valid

------------------------------

You can also add this code in the same template &nbsp; to create a gap between the Thread Title and the Last Post details.

Look For:

Code:

<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>
Change to this:

Code:

<a href="showthread.php?t=$thread[threadid]" title="$thread[preview]"><strong>$thread[title]</strong></a>&nbsp;

Ninth Dimension 09-10-2006 03:05 AM

Hi there, I'm looking for a hack just like this, for vB3.6.0 - but rather than have the thread appear at the bottom of the forumhome page, I'd like them listed in a coloum down the right-hand side of the page... Would this hack be easy to change for that purpose?

Thank you

MRGTB 09-10-2006 03:10 AM

Quote:

Originally Posted by Ninth Dimension
Hi there, I'm looking for a hack just like this, for vB3.6.0 - but rather than have the thread appear at the bottom of the forumhome page, I'd like them listed in a coloum down the right-hand side of the page... Would this hack be easy to change for that purpose?

Thank you

This does work with vBulletin 6, I'm using it on my site. The problem with using it as a side column is the column width will not be wide enough to display all the details. So your better off sticking to a center block.

Ninth Dimension 09-10-2006 03:46 AM

Quote:

Originally Posted by Gary Bolton
This does work with vBulletin 6, I'm using it on my site.

That is good to hear :)
Quote:

The problem with using it as a side column is the column width will not be wide enough to display all the details. So your better off sticking to a center block.
But surely that's just a simple case of editing the html? Maybe start with the thread title, new line, date posted, new line, who posted, etc..

Maybe I'll have a play around with it tomorrow, see if I can get it working the way I want. :)

MRGTB 09-10-2006 11:05 AM

Yes, I guess you could just intruduce some <br /> into the lines.

Ninth Dimension 09-10-2006 10:27 PM

I've successfully been able to edit the templates to achieve what I want, you can see the result here: http://theice.co.uk/ :D

MRGTB 09-10-2006 10:39 PM

I see, well done. I'm thinking you have removed some of the fields. But I'm wondering why you just didn't add some "<br />" in the right places to make the information drop below each other on its own line, so you could have kept a lot more fields displayed in the narrow column. Or did you only want displayed what you have: IE- thread title, time, name.

Ninth Dimension 09-10-2006 10:47 PM

I decided that info such as number of views and posts were not that important. What was more important were details such as the thread title, when it was last updated, and who was the last to post to it, this would allow me to list more threads in the same ammount of space. I guess I could go back and add a 'title' tag to the title of the thread showing the number of posts and views.. *goes off to do that now*


All times are GMT. The time now is 10:32 PM.

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.01520 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete