vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Home Enhancements - Latest X Threads on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=165830)

pjaco 05-17-2009 07:22 PM

Thanks:D

Michael Biddle 05-18-2009 03:53 AM

Glad you like it.

ErnestA 06-25-2009 04:04 AM

Looks like a great mod? Will you be making a version for vBulletin 3.8?

Michael Biddle 07-01-2009 01:28 AM

This should be compatible with 3.8.

prolific_one 09-07-2009 03:28 PM

I have looked through forumhome and forumhome_latestthreadbit trying to find how I can make my cell rows only one row of text. right now the 'latest x posts' column lists the thread title/time on one line then the text preview on the next line. I'd like that all on one line. Is this a simple fix that i just don't see?

Michael Biddle 09-07-2009 09:20 PM

Quote:

Originally Posted by prolific_one (Post 1881152)
I have looked through forumhome and forumhome_latestthreadbit trying to find how I can make my cell rows only one row of text. right now the 'latest x posts' column lists the thread title/time on one line then the text preview on the next line. I'd like that all on one line. Is this a simple fix that i just don't see?

In the template: forumhome_latest_thread_bit

Find:

HTML Code:

<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$threadid" class="smallfont">$threadtitle</a>
        <if condition="$vboptions['latest_thread_time']"><span class="smallfont">$date $time</span></if>
        <if condition="$vboptions['latest_thread_cut'] != '0'"><div class="smallfont">$pagetext</div></if>

You can make it something like:

HTML Code:

<a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$threadid" class="smallfont">$threadtitle</a>
        <if condition="$vboptions['latest_thread_time']"><span class="smallfont">$date $time</span></if>
        <if condition="$vboptions['latest_thread_cut'] != '0'"><span class="smallfont">$pagetext</span></if>


Zi55 09-08-2009 01:00 AM

Michale Thanks for this nice hack , but can you make it use datastore or cache , so we can save MySQL cpu usage .
Thanks ,
Zi55

Michael Biddle 09-08-2009 03:08 AM

It is only one query on the forumhome page, it really does not have usage at all.

royong 11-14-2009 12:09 AM

Installed and works on 3.8.x ... good mod ... and easy to install ... thanks.

I made some modifications on forumhome_latest_thread_bit and I have my display now as

<date><time><thread01><forum><author>
<date><time><thread02><forum><author>
<date><time><thread03><forum><author>
<date><time><thread04><forum><author>
<date><time><thread05><forum><author>
<date><time><thread06><forum><author>

Question ... I would like to change to

<date><time><thread01>...<date><time><thread04>
<date><time><thread02>...<date><time><thread05>
<date><time><thread03>...<date><time><thread06>

thereby removing the display of <forum> and <author> but using the space in the row to display another thread...

any advice?

many thanks in advance!


All times are GMT. The time now is 08:53 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.01937 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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