vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Turn off 'last post' in forumhome ? (https://vborg.vbsupport.ru/showthread.php?t=224101)

z0diac 09-28-2009 11:06 AM

Turn off 'last post' in forumhome ?
 
I was told on .com to check here at .org about this :

Is there a way to NOT show the last post "by: username <date below>" from the Last Post column in forum home ?

I wish to have thread only shown there. (I'm trying to tighted up the forumhome listing vertically a bit)

I listed all options, searched for "last post" but couldn't find any toggle to turn it off. ( ? )

Lynne 09-28-2009 02:48 PM

You would have to edit your templates to take it out.

To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source.

I think I have seen tutorials on vb.com on how to move the Last Post column. You can probably read that and remove the column instead of moving it.

agitated 09-28-2009 03:34 PM

One quick and dirty way is to edit the template

forumhome_lastpostby

find and remove this code.........

Code:

        <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
remember to save in history for future reference.

z0diac 09-28-2009 06:49 PM

Thanks both for your replies! Hehe, I forgot to save in history and that I was really screwed, but luckily there's a "show default" link that got me the original back. 'Turns out my forum icons are holding the rows spaced out still so I'll have to work on resizing those when I have more time.

Thanks again!


All times are GMT. The time now is 01:03 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.01162 seconds
  • Memory Usage 1,711KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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