vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Home Enhancements - Remove Last Post Time in ForumHome (https://vborg.vbsupport.ru/showthread.php?t=149971)

Mackenzie s 06-17-2007 09:00 PM

Remove Last Post Time in ForumHome
 
Description: I find the default latest thread display quite crowded. Do people really need to know when the last post was made? I think not. Therefore this modification is aimed to get rid of it and effectively uncrowd it. (See Before and After Pictures for more info)



Instructions:

1) Find
Code:

        <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
                <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
        </div>
        <div align="$stylevar[right]">
                $lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
                <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>

2) Replace with
Code:

        <div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
                <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
                <a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>

2) Enjoy!



Please support by clicking INSTALLED.

UltimateOreo! 06-18-2007 03:53 AM

Eh, they added that feature for a reason. A person doesn't wan't to look at the same thing 5 times thinking there are new posts. Eventually, they will stop looking in that forum, even if there are new posts that happen to be by the same person.

Mackenzie s 06-18-2007 03:54 AM

Well most forums don't allow double posters, so if the name of the last poster stays the same most normal people assume that it's the same post. That's the case for my forum and it might be for others. ;)

UltimateOreo! 06-18-2007 05:09 AM

There is a time limit for double posts, if i'm not mistaken.

Xplorer4x4 06-19-2007 03:26 AM

Like UltimateOreo! I am not to keen on it but good work none the less.

YLP1 06-22-2007 01:52 PM

Thank You, Thank You!!!

Mackenzie s 09-17-2007 10:56 PM

Glad you guys enjoy it. Let's have some more feedback guys!

fishmaster 03-02-2008 04:10 PM

Good modification


All times are GMT. The time now is 11:25 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.01561 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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